nixpkgs/pkgs/development/coq-modules/QuickChick/default.nix

31 lines
893 B
Nix
Raw Normal View History

2015-05-08 16:35:00 +00:00
{stdenv, fetchgit, coq, coqPackages}:
2015-08-18 19:28:33 +00:00
let revision = "b73a594af5460567dc233b2f2e7b0f781ae0490d"; in
2015-05-08 16:35:00 +00:00
stdenv.mkDerivation rec {
name = "coq-QuickChick-${coq.coq-version}-${version}";
2015-08-18 19:28:33 +00:00
version = "20150605-${builtins.substring 0 7 revision}";
2015-05-08 16:35:00 +00:00
src = fetchgit {
url = git://github.com/QuickChick/QuickChick.git;
2015-08-18 19:28:33 +00:00
rev = revision;
sha256 = "1yql40x1zbrc6wzfafvfaxzhw57v1n468lxdv1rvsjd7gyyf74y7";
2015-05-08 16:35:00 +00:00
};
2015-08-18 19:28:33 +00:00
buildInputs = [ coq.ocaml coq.camlp5 ];
propagatedBuildInputs = [ coq coqPackages.ssreflect ];
2015-05-08 16:35:00 +00:00
enableParallelBuilding = true;
installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
meta = with stdenv.lib; {
homepage = git://github.com/QuickChick/QuickChick.git;
description = "Randomized property-based testing plugin for Coq; a clone of Haskell QuickCheck";
maintainers = with maintainers; [ jwiegley ];
platforms = coq.meta.platforms;
};
}