mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 07:04:28 +00:00
2923bd5d06
coqPackages.QuickChick: 1.0.2 -> 20190311
35 lines
863 B
Nix
35 lines
863 B
Nix
{ stdenv, fetchFromGitHub, coq, coq-ext-lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.0.0";
|
|
name = "coq${coq.coq-version}-simple-io-${version}";
|
|
src = fetchFromGitHub {
|
|
owner = "Lysxia";
|
|
repo = "coq-simple-io";
|
|
rev = version;
|
|
sha256 = "06gnbl8chv6ig18rlxnp8gg0np6863kxd7j15h46q0v1cnpx84lp";
|
|
};
|
|
|
|
buildInputs = [ coq ] ++ (with coq.ocamlPackages; [ ocaml ocamlbuild ]);
|
|
|
|
propagatedBuildInputs = [ coq-ext-lib ];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
|
|
|
|
meta = {
|
|
description = "Purely functional IO for Coq";
|
|
inherit (src.meta) homepage;
|
|
inherit (coq.meta) platforms;
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
};
|
|
|
|
passthru = {
|
|
compatibleCoqVersions = v: stdenv.lib.versionAtLeast v "8.7";
|
|
};
|
|
|
|
}
|