nixpkgs-suyu/pkgs/development/ocaml-modules/sequence/default.nix

33 lines
901 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildDunePackage, qtest, result }:
2016-02-17 18:54:23 +01:00
buildDunePackage rec {
pname = "sequence";
version = "1.1";
minimumOCamlVersion = "4.02";
2016-02-17 18:54:23 +01:00
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
2017-07-08 11:14:16 +02:00
rev = version;
sha256 = "08j37nldw47syq3yw4mzhhvya43knl0d7biddp0q9hwbaxhzgi44";
2016-02-17 18:54:23 +01:00
};
buildInputs = [ qtest ];
propagatedBuildInputs = [ result ];
2016-02-17 18:54:23 +01:00
doCheck = 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;
};
}