2020-08-28 22:05:46 +01:00
|
|
|
{ lib, mkCoqDerivation, coq, coq-ext-lib, version ? null }:
|
|
|
|
|
|
|
|
with lib; mkCoqDerivation {
|
|
|
|
pname = "simple-io";
|
|
|
|
owner = "Lysxia";
|
|
|
|
repo = "coq-simple-io";
|
|
|
|
inherit version;
|
2021-04-14 08:38:36 +01:00
|
|
|
defaultVersion = if versions.range "8.7" "8.13" coq.coq-version then "1.3.0" else null;
|
2020-08-28 22:05:46 +01:00
|
|
|
release."1.3.0".sha256 = "1yp7ca36jyl9kz35ghxig45x6cd0bny2bpmy058359p94wc617ax";
|
|
|
|
extraBuildInputs = (with coq.ocamlPackages; [ ocaml ocamlbuild ]);
|
2019-03-15 14:12:42 +00:00
|
|
|
propagatedBuildInputs = [ coq-ext-lib ];
|
|
|
|
|
|
|
|
doCheck = true;
|
2018-12-03 14:45:03 +00:00
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Purely functional IO for Coq";
|
2020-08-28 22:05:46 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2018-12-03 14:45:03 +00:00
|
|
|
};
|
|
|
|
}
|