From f06be1bcf9582015dcfdfad84fa77279ff54009f Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Thu, 14 Jan 2021 01:24:20 +0100 Subject: [PATCH] coqPackages.mathcomp-abel: init at 1.0.0 --- .../coq-modules/mathcomp-abel/default.nix | 23 +++++++++++++++++++ pkgs/top-level/coq-packages.nix | 1 + 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/coq-modules/mathcomp-abel/default.nix diff --git a/pkgs/development/coq-modules/mathcomp-abel/default.nix b/pkgs/development/coq-modules/mathcomp-abel/default.nix new file mode 100644 index 000000000000..2a8c006b27cb --- /dev/null +++ b/pkgs/development/coq-modules/mathcomp-abel/default.nix @@ -0,0 +1,23 @@ +{ coq, mkCoqDerivation, mathcomp, mathcomp-real-closed, lib, version ? null }: + +mkCoqDerivation { + + namePrefix = [ "coq" "mathcomp" ]; + pname = "abel"; + owner = "math-comp"; + + release."1.0.0".sha256 = "190jd8hb8anqsvr9ysr514pm5sh8qhw4030ddykvwxx9d9q6rbp3"; + + inherit version; + defaultVersion = with lib; with versions; switch [ coq.version mathcomp.version ] [ + { cases = [ (range "8.10" "8.13") (range "1.11.0" "1.12.0") ]; out = "1.0.0"; } + ] null; + + propagatedBuildInputs = [ mathcomp.field mathcomp-real-closed ]; + + meta = with lib; { + description = "Abel - Galois and Abel - Ruffini Theorems"; + license = licenses.cecill-b; + maintainers = [ maintainers.cohencyril ]; + }; +} diff --git a/pkgs/top-level/coq-packages.nix b/pkgs/top-level/coq-packages.nix index c67d489de628..1ded50ce7632 100644 --- a/pkgs/top-level/coq-packages.nix +++ b/pkgs/top-level/coq-packages.nix @@ -50,6 +50,7 @@ let mathcomp-solvable = self.mathcomp.solvable; mathcomp-field = self.mathcomp.field; mathcomp-character = self.mathcomp.character; + mathcomp-abel = callPackage ../development/coq-modules/mathcomp-abel {}; mathcomp-analysis = callPackage ../development/coq-modules/mathcomp-analysis {}; mathcomp-finmap = callPackage ../development/coq-modules/mathcomp-finmap {}; mathcomp-bigenough = callPackage ../development/coq-modules/mathcomp-bigenough {};