mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
ocamlPackages.sqlexpr: remove at 0.9.0
This commit is contained in:
parent
365fc52cd1
commit
8274fec350
@ -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;
|
||||
}
|
@ -826,10 +826,6 @@ let
|
||||
|
||||
spacetime_lib = callPackage ../development/ocaml-modules/spacetime_lib { };
|
||||
|
||||
sqlexpr = callPackage ../development/ocaml-modules/sqlexpr {
|
||||
ocaml-migrate-parsetree = ocaml-migrate-parsetree-2-1;
|
||||
};
|
||||
|
||||
tsort = callPackage ../development/ocaml-modules/tsort { };
|
||||
|
||||
tuntap = callPackage ../development/ocaml-modules/tuntap { };
|
||||
@ -901,8 +897,6 @@ let
|
||||
ppx_irmin = callPackage ../development/ocaml-modules/irmin/ppx.nix {
|
||||
};
|
||||
|
||||
ppx_sqlexpr = callPackage ../development/ocaml-modules/sqlexpr/ppx.nix {};
|
||||
|
||||
ppx_tools =
|
||||
if lib.versionAtLeast ocaml.version "4.02"
|
||||
then callPackage ../development/ocaml-modules/ppx_tools {}
|
||||
|
Loading…
Reference in New Issue
Block a user