nixpkgs/pkgs/development/coq-modules/gaia-hydras/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-28 16:17:24 +02:00
{ lib, mkCoqDerivation, coq, hydra-battles, gaia,
mathcomp-zify, mathcomp, version ? null }:
2021-10-18 11:42:52 +02:00
mkCoqDerivation rec {
2021-10-18 11:42:52 +02:00
pname = "gaia-hydras";
repo = "hydra-battles";
release."0.5".sha256 = "121pcbn6v59l0c165ha9n00whbddpy11npx2y9cn7g879sfk2nqk";
release."0.6".sha256 = "1dri4sisa7mhclf8w4kw7ixs5zxm8xyjr034r1377p96rdk3jj0j";
2021-10-18 11:42:52 +02:00
releaseRev = (v: "v${v}");
inherit version;
defaultVersion = with lib.versions; lib.switch [coq.coq-version mathcomp.version] [
{ cases = [ (range "8.14" "8.16") (isGe "1.12.0") ]; out = "0.6"; }
2021-10-28 16:17:24 +02:00
{ cases = [ (range "8.13" "8.14") (isGe "1.12.0") ]; out = "0.5"; }
2021-10-18 11:42:52 +02:00
] null;
propagatedBuildInputs = [
hydra-battles
gaia
mathcomp-zify
];
useDune = true;
2021-10-18 11:42:52 +02:00
meta = with lib; {
2021-10-18 11:42:52 +02:00
description = "Comparison between ordinals in Gaia and Hydra battles";
longDescription = ''
The Gaia and Hydra battles projects develop different notions of ordinals.
This development bridges the different notions.
'';
maintainers = with maintainers; [ Zimmi48 ];
license = licenses.mit;
platforms = platforms.unix;
};
}