2021-12-06 16:07:01 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, hydra-battles, gaia,
|
|
|
|
mathcomp-zify, mathcomp, version ? null }:
|
2021-10-28 06:52:43 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkCoqDerivation rec {
|
2021-10-28 06:52:43 +00:00
|
|
|
pname = "gaia-hydras";
|
|
|
|
repo = "hydra-battles";
|
|
|
|
|
|
|
|
release."0.5".sha256 = "121pcbn6v59l0c165ha9n00whbddpy11npx2y9cn7g879sfk2nqk";
|
2022-02-21 08:47:16 +00:00
|
|
|
release."0.6".sha256 = "1dri4sisa7mhclf8w4kw7ixs5zxm8xyjr034r1377p96rdk3jj0j";
|
2024-01-02 11:29:13 +00:00
|
|
|
release."0.9".sha256 = "sha256-wlK+154owQD/03FB669KCjyQlL2YOXLCi0KLSo0DOwc=";
|
2021-10-28 06:52:43 +00:00
|
|
|
releaseRev = (v: "v${v}");
|
|
|
|
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch [coq.coq-version mathcomp.version] [
|
2024-01-02 11:29:13 +00:00
|
|
|
{ cases = [ (range "8.13" "8.16") (range "1.12.0" "1.18.0") ]; out = "0.9"; }
|
|
|
|
{ cases = [ (range "8.13" "8.14") (range "1.12.0" "1.18.0") ]; out = "0.5"; }
|
2021-10-28 06:52:43 +00:00
|
|
|
] null;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
hydra-battles
|
|
|
|
gaia
|
|
|
|
mathcomp-zify
|
|
|
|
];
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
useDune = true;
|
2021-10-28 06:52:43 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2021-10-28 06:52:43 +00: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;
|
|
|
|
};
|
|
|
|
}
|