From 8797af5eb7d2df20ca6447c29a8e8a96ba84d9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Zimmermann?= Date: Mon, 18 Oct 2021 11:42:52 +0200 Subject: [PATCH] coqPackages.gaia-hydras: init at 0.5 --- .../coq-modules/gaia-hydras/default.nix | 33 +++++++++++++++++++ pkgs/top-level/coq-packages.nix | 1 + 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/coq-modules/gaia-hydras/default.nix diff --git a/pkgs/development/coq-modules/gaia-hydras/default.nix b/pkgs/development/coq-modules/gaia-hydras/default.nix new file mode 100644 index 000000000000..c20c503d73ba --- /dev/null +++ b/pkgs/development/coq-modules/gaia-hydras/default.nix @@ -0,0 +1,33 @@ +{ lib, mkCoqDerivation, coq, hydra-battles, gaia, mathcomp-zify, version ? null }: + +with lib; mkCoqDerivation rec { + pname = "gaia-hydras"; + repo = "hydra-battles"; + + release."0.5".sha256 = "121pcbn6v59l0c165ha9n00whbddpy11npx2y9cn7g879sfk2nqk"; + releaseRev = (v: "v${v}"); + + inherit version; + defaultVersion = with versions; switch coq.coq-version [ + { case = range "8.13" "8.14"; out = "0.5"; } + ] null; + + propagatedBuildInputs = [ + hydra-battles + gaia + mathcomp-zify + ]; + + useDune2 = true; + + meta = { + 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; + }; +} diff --git a/pkgs/top-level/coq-packages.nix b/pkgs/top-level/coq-packages.nix index dc657ab1df5b..b8c0926a8639 100644 --- a/pkgs/top-level/coq-packages.nix +++ b/pkgs/top-level/coq-packages.nix @@ -43,6 +43,7 @@ let flocq = callPackage ../development/coq-modules/flocq {}; fourcolor = callPackage ../development/coq-modules/fourcolor {}; gaia = callPackage ../development/coq-modules/gaia {}; + gaia-hydras = callPackage ../development/coq-modules/gaia-hydras {}; gappalib = callPackage ../development/coq-modules/gappalib {}; goedel = callPackage ../development/coq-modules/goedel {}; graph-theory = callPackage ../development/coq-modules/graph-theory {};