coqPackages.hydra-battles: 0.5 -> 0.6

authored by Théo Zimmermann and committed by Vincent Laporte d0bb08b5 a2535f3f

+8 -6
+8 -6
pkgs/development/coq-modules/hydra-battles/default.nix
··· 1 - { lib, mkCoqDerivation, coq, equations, version ? null }: 1 + { lib, mkCoqDerivation, coq, equations, LibHyps, version ? null }: 2 2 with lib; 3 3 4 - mkCoqDerivation { 4 + (mkCoqDerivation { 5 5 pname = "hydra-battles"; 6 6 owner = "coq-community"; 7 7 8 8 release."0.4".sha256 = "1f7pc4w3kir4c9p0fjx5l77401bx12y72nmqxrqs3qqd3iynvqlp"; 9 9 release."0.5".sha256 = "121pcbn6v59l0c165ha9n00whbddpy11npx2y9cn7g879sfk2nqk"; 10 + release."0.6".sha256 = "1dri4sisa7mhclf8w4kw7ixs5zxm8xyjr034r1377p96rdk3jj0j"; 10 11 releaseRev = (v: "v${v}"); 11 12 12 13 inherit version; 13 14 defaultVersion = with versions; switch coq.coq-version [ 14 - { case = range "8.13" "8.14"; out = "0.5"; } 15 + { case = range "8.13" "8.15"; out = "0.6"; } 15 16 { case = range "8.11" "8.12"; out = "0.4"; } 16 17 ] null; 17 18 18 - propagatedBuildInputs = [ equations ]; 19 - 20 19 useDune2 = true; 21 20 22 21 meta = { ··· 32 31 license = licenses.mit; 33 32 platforms = platforms.unix; 34 33 }; 35 - } 34 + }).overrideAttrs(o: 35 + let inherit (o) version; in { 36 + propagatedBuildInputs = [ equations ] ++ optional (versions.isGe "0.6" version) LibHyps; 37 + })