coqPackages.bbv: init at 1.5

This commit is contained in:
Pierre Roux 2024-08-01 15:53:33 +02:00 committed by Vincent Laporte
parent 59429f63d1
commit 1a638589b3
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{ lib, mkCoqDerivation, coq, version ? null }:
mkCoqDerivation {
pname = "bbv";
owner = "mit-plv";
inherit version;
defaultVersion = let inherit (lib.versions) range; in
lib.switch coq.coq-version [
{ case = range "8.16" "8.19"; out = "1.5"; }
] null;
release = {
"1.5".sha256 = "sha256-8/VPsfhNpuYpLmLC/hWszDhgvS6n8m7BRxUlea8PSUw=";
};
releaseRev = v: "v${v}";
meta = {
description = "An implementation of bitvectors in Coq.";
license = lib.licenses.mit;
};
}

View File

@ -22,6 +22,7 @@ let
async-test = callPackage ../development/coq-modules/async-test {};
atbr = callPackage ../development/coq-modules/atbr {};
autosubst = callPackage ../development/coq-modules/autosubst {};
bbv = callPackage ../development/coq-modules/bbv {};
bignums = if lib.versionAtLeast coq.coq-version "8.6"
then callPackage ../development/coq-modules/bignums {}
else null;