vacuum-go: 0.16.1 -> 0.16.2 (#380231)
[NixPkgs.git] / pkgs / development / ocaml-modules / iter / default.nix
blobdf5316286b8b30ff96093027c7648fa23edd31ee
2   lib,
3   fetchurl,
4   buildDunePackage,
5   mdx,
6   ounit2,
7   qcheck-core,
8 }:
10 buildDunePackage rec {
11   pname = "iter";
12   version = "1.8";
14   minimalOCamlVersion = "4.08";
16   src = fetchurl {
17     url = "https://github.com/c-cube/iter/releases/download/v${version}/iter-${version}.tbz";
18     hash = "sha256-+HOcoFrpxLqKogwNQZfnRAnytlmhfxJzDUKvH9n0MCM=";
19   };
21   doCheck = true;
22   nativeCheckInputs = [ mdx.bin ];
23   checkInputs = [
24     ounit2
25     qcheck-core
26   ];
28   meta = {
29     homepage = "https://github.com/c-cube/sequence";
30     description = "Simple sequence (iterator) datatype and combinators";
31     longDescription = ''
32       Simple sequence datatype, intended to transfer a finite number of
33       elements from one data structure to another. Some transformations on sequences,
34       like `filter`, `map`, `take`, `drop` and `append` can be performed before the
35       sequence is iterated/folded on.
36     '';
37     license = lib.licenses.bsd2;
38   };