nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 597 B view raw
1{ 2 lib, 3 mkCoqDerivation, 4 coq, 5 stdlib, 6 version ? null, 7}: 8 9mkCoqDerivation { 10 pname = "bbv"; 11 owner = "mit-plv"; 12 inherit version; 13 defaultVersion = 14 let 15 inherit (lib.versions) range; 16 in 17 lib.switch coq.coq-version [ 18 { 19 case = range "8.16" "8.19"; 20 out = "1.5"; 21 } 22 ] null; 23 release = { 24 "1.5".sha256 = "sha256-8/VPsfhNpuYpLmLC/hWszDhgvS6n8m7BRxUlea8PSUw="; 25 }; 26 releaseRev = v: "v${v}"; 27 28 propagatedBuildInputs = [ stdlib ]; 29 30 meta = { 31 description = "Implementation of bitvectors in Coq"; 32 license = lib.licenses.mit; 33 }; 34}