nixpkgs/pkgs/development/ocaml-modules/gen/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
672 B
Nix
Raw Normal View History

2022-11-28 10:57:36 +00:00
{ lib, buildDunePackage, fetchFromGitHub, ocaml
, dune-configurator
, seq
, qcheck, ounit2
}:
2016-02-17 17:53:48 +00:00
2022-11-28 10:57:36 +00:00
buildDunePackage rec {
version = "1.0";
pname = "gen";
minimalOCamlVersion = "4.03";
2016-02-17 17:53:48 +00:00
src = fetchFromGitHub {
owner = "c-cube";
repo = "gen";
2022-11-28 10:57:36 +00:00
rev = "v${version}";
hash = "sha256-YWoVcl2TQoMIgU1LoKL16ia31zJjwAMwuphtSXnhtvw=";
2016-02-17 17:53:48 +00:00
};
2022-11-28 10:57:36 +00:00
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ seq ];
checkInputs = [ qcheck ounit2 ];
2017-11-12 08:28:24 +00:00
doCheck = lib.versionAtLeast ocaml.version "4.08";
2016-02-17 17:53:48 +00:00
meta = {
homepage = "https://github.com/c-cube/gen";
2016-02-17 17:53:48 +00:00
description = "Simple, efficient iterators for OCaml";
license = lib.licenses.bsd3;
2016-02-17 17:53:48 +00:00
};
}