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

31 lines
893 B
Nix
Raw Normal View History

2015-05-08 17:35:00 +01:00
{stdenv, fetchgit, coq, coqPackages}:
2015-08-18 20:28:33 +01:00
let revision = "b73a594af5460567dc233b2f2e7b0f781ae0490d"; in
2015-05-08 17:35:00 +01:00
stdenv.mkDerivation rec {
name = "coq-QuickChick-${coq.coq-version}-${version}";
2015-08-18 20:28:33 +01:00
version = "20150605-${builtins.substring 0 7 revision}";
2015-05-08 17:35:00 +01:00
src = fetchgit {
url = git://github.com/QuickChick/QuickChick.git;
2015-08-18 20:28:33 +01:00
rev = revision;
sha256 = "1prlihkgi2yvgzd62x80fsnxp5w1n0wyk7zrd6zwa8dbqx9pbr09";
2015-05-08 17:35:00 +01:00
};
2015-08-18 20:28:33 +01:00
buildInputs = [ coq.ocaml coq.camlp5 ];
propagatedBuildInputs = [ coq coqPackages.ssreflect ];
2015-05-08 17:35:00 +01: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;
};
}