From 7fa2a7232d1105501e498d0846828c3b82ab4c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Zimmermann?= Date: Thu, 3 Feb 2022 14:21:13 +0100 Subject: [PATCH] coqPackages.LibHyps: init at 2.0.4.1 --- .../coq-modules/LibHyps/default.nix | 21 +++++++++++++++++++ pkgs/top-level/coq-packages.nix | 1 + 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/coq-modules/LibHyps/default.nix diff --git a/pkgs/development/coq-modules/LibHyps/default.nix b/pkgs/development/coq-modules/LibHyps/default.nix new file mode 100644 index 000000000000..36272ff207f5 --- /dev/null +++ b/pkgs/development/coq-modules/LibHyps/default.nix @@ -0,0 +1,21 @@ +{ lib, mkCoqDerivation, coq, version ? null }: + +with lib; +mkCoqDerivation { + pname = "LibHyps"; + owner = "Matafou"; + inherit version; + defaultVersion = if (versions.range "8.11" "8.15") coq.version then "2.0.4.1" else null; + release = { + "2.0.4.1".sha256 = "09p89701zhrfdmqlpxw3mziw8yylj1w1skb4b0xpbdwd1vsn4k3h"; + }; + + configureScript = "./configure.sh"; + + releaseRev = (v: "libhyps-${v}"); + + meta = { + description = "Hypotheses manipulation library"; + license = licenses.mit; + }; +} diff --git a/pkgs/top-level/coq-packages.nix b/pkgs/top-level/coq-packages.nix index c1a29b60306f..b5b7158de647 100644 --- a/pkgs/top-level/coq-packages.nix +++ b/pkgs/top-level/coq-packages.nix @@ -58,6 +58,7 @@ let iris = callPackage ../development/coq-modules/iris {}; itauto = callPackage ../development/coq-modules/itauto { }; ITree = callPackage ../development/coq-modules/ITree { }; + LibHyps = callPackage ../development/coq-modules/LibHyps {}; ltac2 = callPackage ../development/coq-modules/ltac2 {}; math-classes = callPackage ../development/coq-modules/math-classes { }; mathcomp = callPackage ../development/coq-modules/mathcomp {};