coqPackages.mathcomp-word: init at 1.0

This commit is contained in:
Vincent Laporte 2021-12-17 10:02:55 +01:00 committed by Vincent Laporte
parent 761b57221e
commit e99619604d
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ 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;
};
}

View File

@ -73,6 +73,7 @@ let
mathcomp-finmap = callPackage ../development/coq-modules/mathcomp-finmap {};
mathcomp-bigenough = callPackage ../development/coq-modules/mathcomp-bigenough {};
mathcomp-real-closed = callPackage ../development/coq-modules/mathcomp-real-closed {};
mathcomp-word = callPackage ../development/coq-modules/mathcomp-word {};
mathcomp-zify = callPackage ../development/coq-modules/mathcomp-zify {};
mathcomp-tarjan = callPackage ../development/coq-modules/mathcomp-tarjan {};
metalib = callPackage ../development/coq-modules/metalib { };