@@ -0,0 +1,23 @@
1+{ coq, mkCoqDerivation, mathcomp, mathcomp-real-closed, lib, version ? null }:
2+
3+mkCoqDerivation {
4+
5+ namePrefix = [ "coq" "mathcomp" ];
6+ pname = "abel";
7+ owner = "math-comp";
8+
9+ release."1.0.0".sha256 = "190jd8hb8anqsvr9ysr514pm5sh8qhw4030ddykvwxx9d9q6rbp3";
10+
11+ inherit version;
12+ defaultVersion = with lib; with versions; switch [ coq.version mathcomp.version ] [
13+ { cases = [ (range "8.10" "8.13") (range "1.11.0" "1.12.0") ]; out = "1.0.0"; }
14+ ] null;
15+
16+ propagatedBuildInputs = [ mathcomp.field mathcomp-real-closed ];
17+
18+ meta = with lib; {
19+ description = "Abel - Galois and Abel - Ruffini Theorems";
20+ license = licenses.cecill-b;
21+ maintainers = [ maintainers.cohencyril ];
22+ };
23+}