mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
7e20e9039e
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
28 lines
733 B
Nix
28 lines
733 B
Nix
{ coq, mkCoqDerivation, mathcomp, lib, version ? null }:
|
|
|
|
with lib;
|
|
mkCoqDerivation {
|
|
namePrefix = [ "coq" "mathcomp" ];
|
|
pname = "word";
|
|
owner = "jasmin-lang";
|
|
repo = "coqword";
|
|
useDune2 = true;
|
|
|
|
releaseRev = v: "v${v}";
|
|
|
|
release."1.0".sha256 = "sha256:0703m97rnivcbc7vvbd9rl2dxs6l8n52cbykynw61c6w9rhxspcg";
|
|
|
|
inherit version;
|
|
defaultVersion = with versions; switch [ coq.version mathcomp.version ] [
|
|
{ cases = [ (range "8.12" "8.14") (isGe "1.12") ]; out = "1.0"; }
|
|
] null;
|
|
|
|
propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ];
|
|
|
|
meta = {
|
|
description = "Yet Another Coq Library on Machine Words";
|
|
maintainers = [ maintainers.vbgl ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|