depot/third_party/nixpkgs/pkgs/development/coq-modules/mathcomp-word/default.nix
Default email 74492c8629 Project import generated by Copybara.
GitOrigin-RevId: cb372c3b8880e504b06946e8fb2ca9777c685505
2021-12-25 13:07:40 +08:00

27 lines
704 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") (range "1.12" "1.13") ]; out = "1.0"; }
] null;
propagatedBuildInputs = [ mathcomp.algebra ];
meta = {
description = "Yet Another Coq Library on Machine Words";
maintainers = [ maintainers.vbgl ];
license = licenses.mit;
};
}