Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 27 lines 915 B view raw
1{ lib, mkCoqDerivation, coq, interval, compcert, flocq, bignums, version ? null }: 2 3let self = mkCoqDerivation { 4 pname = "vcfloat"; 5 owner = "VeriNum"; 6 inherit version; 7 sourceRoot = "${self.src.name}/vcfloat"; 8 postPatch = '' 9 coq_makefile -o Makefile -f _CoqProject *.v 10 ''; 11 defaultVersion = with lib.versions; lib.switch coq.coq-version [ 12 { case = isEq "8.19"; out = "2.2"; } 13 { case = range "8.16" "8.18"; out = "2.1.1"; } 14 ] null; 15 release."2.2".sha256 = "sha256-PyMm84ZYh+dOnl8Kk2wlYsQ+S/d1Hsp6uv2twTedEPg="; 16 release."2.1.1".sha256 = "sha256-bd/XSQhyFUAnSm2bhZEZBWB6l4/Ptlm9JrWu6w9BOpw="; 17 releaseRev = v: "v${v}"; 18 19 propagatedBuildInputs = [ interval compcert flocq bignums ]; 20 21 meta = { 22 description = "Tool for Coq proofs about floating-point round-off error"; 23 maintainers = with lib.maintainers; [ quinn-dougherty ]; 24 license = lib.licenses.lgpl3Plus; 25 }; 26}; 27in self