ocamlPackages.seq: init at 0.1

This commit is contained in:
Vincent Laporte 2018-09-05 17:12:13 +00:00
parent e480328bcd
commit f0a0ccabcc
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
stdenv.mkDerivation rec {
version = "0.1";
name = "ocaml${ocaml.version}-seq-${version}";
src = fetchFromGitHub {
owner = "c-cube";
repo = "seq";
rev = version;
sha256 = "1cjpsc7q76yfgq9iyvswxgic4kfq2vcqdlmxjdjgd4lx87zvcwrv";
};
buildInputs = [ ocaml findlib ocamlbuild ];
createFindlibDestdir = true;
meta = {
description = "Compatibility package for OCamls standard iterator type starting from 4.07";
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
};
}

View File

@ -564,6 +564,8 @@ let
result = callPackage ../development/ocaml-modules/ocaml-result { }; result = callPackage ../development/ocaml-modules/ocaml-result { };
seq = callPackage ../development/ocaml-modules/seq { };
sequence = callPackage ../development/ocaml-modules/sequence { }; sequence = callPackage ../development/ocaml-modules/sequence { };
spacetime_lib = callPackage ../development/ocaml-modules/spacetime_lib { }; spacetime_lib = callPackage ../development/ocaml-modules/spacetime_lib { };