2021-12-25 05:07:40 +00:00
|
|
|
{ coq, mkCoqDerivation, mathcomp, lib, version ? null }:
|
|
|
|
|
|
|
|
mkCoqDerivation {
|
|
|
|
namePrefix = [ "coq" "mathcomp" ];
|
|
|
|
pname = "word";
|
|
|
|
owner = "jasmin-lang";
|
|
|
|
repo = "coqword";
|
2022-10-06 18:32:54 +00:00
|
|
|
useDune = true;
|
2021-12-25 05:07:40 +00:00
|
|
|
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
release."2.1".sha256 = "sha256-oN/zvnePq64Nt7l/zIDLdhb4t9ayKxnZCsn+pzqS030=";
|
2022-10-06 18:32:54 +00:00
|
|
|
release."2.0".sha256 = "sha256-x9AEFadlYiIIOxAhjv4Vc/dxdRZC7AdWQ6AByvLOFDk=";
|
2022-04-27 09:35:20 +00:00
|
|
|
release."1.1".sha256 = "sha256:0jb28vgkr4xpg9d6k85rq7abpx5ch612iw9ps5w8q80q1jpjlc4z";
|
2021-12-25 05:07:40 +00:00
|
|
|
release."1.0".sha256 = "sha256:0703m97rnivcbc7vvbd9rl2dxs6l8n52cbykynw61c6w9rhxspcg";
|
|
|
|
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
|
2023-07-15 17:15:38 +00:00
|
|
|
{ cases = [ (range "8.12" "8.17") (isGe "1.12") ]; out = "2.1"; }
|
2021-12-25 05:07:40 +00:00
|
|
|
] null;
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ];
|
2021-12-25 05:07:40 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2021-12-25 05:07:40 +00:00
|
|
|
description = "Yet Another Coq Library on Machine Words";
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|