forked from mirrors/nixpkgs
ocamlPackages.oseq: init at 0.4
This commit is contained in:
parent
339c7867b8
commit
9f7b13abc5
33
pkgs/development/ocaml-modules/oseq/default.nix
Normal file
33
pkgs/development/ocaml-modules/oseq/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage
|
||||
, seq
|
||||
, containers, qcheck
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
version = "0.4";
|
||||
pname = "oseq";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "c-cube";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FoCBvvPwa/dUCrgDEd0clEKAO7EcpedjaO4v+yUO874=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ seq ];
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
containers
|
||||
qcheck
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://c-cube.github.io/oseq/";
|
||||
description = "Purely functional iterators compatible with standard `seq`";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
|
@ -1116,6 +1116,8 @@ let
|
|||
|
||||
ordering = callPackage ../development/ocaml-modules/ordering { };
|
||||
|
||||
oseq = callPackage ../development/ocaml-modules/oseq { };
|
||||
|
||||
otfm = callPackage ../development/ocaml-modules/otfm { };
|
||||
|
||||
otoml = callPackage ../development/ocaml-modules/otoml { };
|
||||
|
|
Loading…
Reference in a new issue