nixpkgs/pkgs/development/coq-modules/mathcomp-abel/default.nix
2022-02-02 08:56:55 +01:00

28 lines
958 B
Nix

{ coq, mkCoqDerivation, mathcomp, mathcomp-real-closed, lib, version ? null }:
mkCoqDerivation {
namePrefix = [ "coq" "mathcomp" ];
pname = "abel";
owner = "math-comp";
inherit version;
defaultVersion = with lib; with versions; switch [ coq.version mathcomp.version ] [
{ cases = [ (range "8.10" "8.15") (isGe "1.12.0") ]; out = "1.2.0"; }
{ cases = [ (range "8.10" "8.14") (range "1.11.0" "1.12.0") ]; out = "1.1.2"; }
] null;
release."1.2.0".sha256 = "1picd4m85ipj22j3b84cv8ab3330radzrhd6kp0gpxq14dhv02c2";
release."1.1.2".sha256 = "0565w713z1cwxvvdlqws2z5lgdys8lddf0vpwfdj7bpd7pq9hwxg";
release."1.0.0".sha256 = "190jd8hb8anqsvr9ysr514pm5sh8qhw4030ddykvwxx9d9q6rbp3";
propagatedBuildInputs = [ mathcomp.field mathcomp-real-closed ];
meta = with lib; {
description = "Abel - Galois and Abel - Ruffini Theorems";
license = licenses.cecill-b;
maintainers = [ maintainers.cohencyril ];
};
}