lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 34 lines 1.0 kB view raw
1{ lib, fetchFromGitHub, buildDunePackage, ocaml, dune-configurator 2, result, seq 3, mdx, ounit2, qcheck-core 4}: 5 6buildDunePackage rec { 7 pname = "iter"; 8 version = "1.6"; 9 10 src = fetchFromGitHub { 11 owner = "c-cube"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-FbM/Vk/h4wkrBjyf9/QXTvTOA0nNqsdHP1mDnVkg1is="; 15 }; 16 17 buildInputs = [ dune-configurator ]; 18 propagatedBuildInputs = [ result seq ]; 19 20 doCheck = lib.versionAtLeast ocaml.version "4.08"; 21 checkInputs = [ mdx.bin ounit2 qcheck-core ]; 22 23 meta = { 24 homepage = "https://github.com/c-cube/sequence"; 25 description = "Simple sequence (iterator) datatype and combinators"; 26 longDescription = '' 27 Simple sequence datatype, intended to transfer a finite number of 28 elements from one data structure to another. Some transformations on sequences, 29 like `filter`, `map`, `take`, `drop` and `append` can be performed before the 30 sequence is iterated/folded on. 31 ''; 32 license = lib.licenses.bsd2; 33 }; 34}