nixpkgs/pkgs/development/ocaml-modules/oseq/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

33 lines
652 B
Nix

{ lib, fetchFromGitHub, buildDunePackage
, seq
, containers, qcheck
}:
buildDunePackage rec {
version = "0.4";
pname = "oseq";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = "v${version}";
hash = "sha256-FoCBvvPwa/dUCrgDEd0clEKAO7EcpedjaO4v+yUO874=";
};
propagatedBuildInputs = [ seq ];
duneVersion = "3";
doCheck = true;
nativeCheckInputs = [
containers
qcheck
];
meta = {
homepage = "https://c-cube.github.io/oseq/";
description = "Purely functional iterators compatible with standard `seq`";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}