Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 32 lines 901 B view raw
1{ stdenv, fetchFromGitHub, buildDunePackage, qtest, result }: 2 3buildDunePackage rec { 4 pname = "sequence"; 5 version = "1.1"; 6 7 minimumOCamlVersion = "4.02"; 8 9 src = fetchFromGitHub { 10 owner = "c-cube"; 11 repo = pname; 12 rev = version; 13 sha256 = "08j37nldw47syq3yw4mzhhvya43knl0d7biddp0q9hwbaxhzgi44"; 14 }; 15 16 buildInputs = [ qtest ]; 17 propagatedBuildInputs = [ result ]; 18 19 doCheck = true; 20 21 meta = { 22 homepage = https://github.com/c-cube/sequence; 23 description = "Simple sequence (iterator) datatype and combinators"; 24 longDescription = '' 25 Simple sequence datatype, intended to transfer a finite number of 26 elements from one data structure to another. Some transformations on sequences, 27 like `filter`, `map`, `take`, `drop` and `append` can be performed before the 28 sequence is iterated/folded on. 29 ''; 30 license = stdenv.lib.licenses.bsd2; 31 }; 32}