ocamlPackages.sqlexpr: remove at 0.9.0

This commit is contained in:
Vincent Laporte
2020-12-18 21:03:56 +01:00
committed by Vincent Laporte
parent 365fc52cd1
commit 8274fec350
3 changed files with 0 additions and 49 deletions
@@ -1,26 +0,0 @@
{ stdenv, fetchurl, buildDunePackage, ocaml_lwt
, lwt_ppx, ocaml-migrate-parsetree, ppx_tools_versioned, csv, ocaml_sqlite3
}:
buildDunePackage rec {
pname = "sqlexpr";
version = "0.9.0";
src = fetchurl {
url = "https://github.com/mfp/ocaml-sqlexpr/releases/download/${version}/ocaml-sqlexpr-${version}.tar.gz";
sha256 = "0z0bkzi1mh0m39alzr2ds7hjpfxffx6azpfsj2wpaxrg64ks8ypd";
};
buildInputs = [ lwt_ppx ocaml-migrate-parsetree ppx_tools_versioned ];
propagatedBuildInputs = [ ocaml_lwt csv ocaml_sqlite3 ];
doCheck = true;
preBuild = "rm META.sqlexpr";
meta = {
description = "Type-safe, convenient SQLite database access";
homepage = "https://github.com/mfp/ocaml-sqlexpr";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.vbgl ];
};
}
@@ -1,17 +0,0 @@
{ buildDunePackage, sqlexpr, ounit
, ppxlib, ppx_tools_versioned, re, lwt_ppx
}:
buildDunePackage {
pname = "ppx_sqlexpr";
inherit (sqlexpr) version src meta;
minimumOCamlVersion = "4.06";
postPatch = ''
substituteInPlace src/ppx/jbuild --replace ppx_core ppxlib
'';
buildInputs = [ sqlexpr ounit ppxlib ppx_tools_versioned re lwt_ppx ];
doCheck = true;
}