ocamlPackages.sequence: init at 0.6
This commit is contained in:
parent
e20b978708
commit
a1e96c7cbe
38
pkgs/development/ocaml-modules/sequence/default.nix
Normal file
38
pkgs/development/ocaml-modules/sequence/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, ocaml, findlib, qtest, ounit }:
|
||||||
|
|
||||||
|
let version = "0.6"; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml-sequence-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "c-cube";
|
||||||
|
repo = "sequence";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "0mky5qas3br2x4y14dzcky212z624ydqnx8mw8w00x0c1xjpafkb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib qtest ounit ];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-tests"
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkTarget = "test";
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/c-cube/sequence;
|
||||||
|
description = "Simple sequence (iterator) datatype and combinators";
|
||||||
|
longDescription = ''
|
||||||
|
Simple sequence datatype, intended to transfer a finite number of
|
||||||
|
elements from one data structure to another. Some transformations on sequences,
|
||||||
|
like `filter`, `map`, `take`, `drop` and `append` can be performed before the
|
||||||
|
sequence is iterated/folded on.
|
||||||
|
'';
|
||||||
|
license = stdenv.lib.licenses.bsd2;
|
||||||
|
platforms = ocaml.meta.platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -4842,6 +4842,8 @@ let
|
|||||||
|
|
||||||
re2 = callPackage ../development/ocaml-modules/re2 { };
|
re2 = callPackage ../development/ocaml-modules/re2 { };
|
||||||
|
|
||||||
|
sequence = callPackage ../development/ocaml-modules/sequence { };
|
||||||
|
|
||||||
tuntap = callPackage ../development/ocaml-modules/tuntap { };
|
tuntap = callPackage ../development/ocaml-modules/tuntap { };
|
||||||
|
|
||||||
tyxml = callPackage ../development/ocaml-modules/tyxml { };
|
tyxml = callPackage ../development/ocaml-modules/tyxml { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user