ocamlPackages.stdcompat: init at 15
This commit is contained in:
parent
bac6826dd3
commit
759d05ce9e
24
pkgs/development/ocaml-modules/stdcompat/default.nix
Normal file
24
pkgs/development/ocaml-modules/stdcompat/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, lib, fetchurl
|
||||||
|
, ocaml, findlib
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "ocaml${ocaml.version}-stdcompat";
|
||||||
|
version = "15";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/thierry-martinez/stdcompat/releases/download/v${version}/stdcompat-${version}.tar.gz";
|
||||||
|
sha256 = "1xcwb529m4lg9cbnxa9m3x2nnl9nxzz1x5lxpvdfflg4zxl6yx2y";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib ];
|
||||||
|
|
||||||
|
configureFlags = "--libdir=$(OCAMLFIND_DESTDIR)";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/thierry-martinez/stdcompat";
|
||||||
|
license = lib.licenses.bsd2;
|
||||||
|
maintainers = [ lib.maintainers.vbgl ];
|
||||||
|
inherit (ocaml.meta) platforms;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1169,6 +1169,8 @@ let
|
||||||
|
|
||||||
ssl = callPackage ../development/ocaml-modules/ssl { };
|
ssl = callPackage ../development/ocaml-modules/ssl { };
|
||||||
|
|
||||||
|
stdcompat = callPackage ../development/ocaml-modules/stdcompat { };
|
||||||
|
|
||||||
stdlib-shims = callPackage ../development/ocaml-modules/stdlib-shims { };
|
stdlib-shims = callPackage ../development/ocaml-modules/stdlib-shims { };
|
||||||
|
|
||||||
stog = callPackage ../applications/misc/stog { };
|
stog = callPackage ../applications/misc/stog { };
|
||||||
|
|
Loading…
Reference in a new issue