treewide: remove global with lib; statements in pkgs/coq-modules

+209 -242
+2 -2
pkgs/development/coq-modules/Cheerios/default.nix
··· 1 { lib, mkCoqDerivation, coq, StructTact, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "cheerios"; 5 owner = "uwplse"; 6 inherit version; 7 - defaultVersion = if versions.range "8.6" "8.16" coq.version then "20200201" else null; 8 release."20200201".rev = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d"; 9 release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1"; 10
··· 1 { lib, mkCoqDerivation, coq, StructTact, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "cheerios"; 5 owner = "uwplse"; 6 inherit version; 7 + defaultVersion = if lib.versions.range "8.6" "8.16" coq.version then "20200201" else null; 8 release."20200201".rev = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d"; 9 release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1"; 10
+3 -3
pkgs/development/coq-modules/CoLoR/default.nix
··· 1 { lib, mkCoqDerivation, coq, bignums, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "color"; 5 owner = "fblanqui"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.version [ 8 {case = range "8.12" "8.16"; out = "1.8.2"; } 9 {case = range "8.10" "8.11"; out = "1.7.0"; } 10 {case = range "8.8" "8.9"; out = "1.6.0"; } ··· 26 meta = { 27 homepage = "https://github.com/fblanqui/color"; 28 description = "CoLoR is a library of formal mathematical definitions and proofs of theorems on rewriting theory and termination whose correctness has been mechanically checked by the Coq proof assistant."; 29 - maintainers = with maintainers; [ jpas jwiegley ]; 30 }; 31 }
··· 1 { lib, mkCoqDerivation, coq, bignums, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "color"; 5 owner = "fblanqui"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.version [ 8 {case = range "8.12" "8.16"; out = "1.8.2"; } 9 {case = range "8.10" "8.11"; out = "1.7.0"; } 10 {case = range "8.8" "8.9"; out = "1.6.0"; } ··· 26 meta = { 27 homepage = "https://github.com/fblanqui/color"; 28 description = "CoLoR is a library of formal mathematical definitions and proofs of theorems on rewriting theory and termination whose correctness has been mechanically checked by the Coq proof assistant."; 29 + maintainers = with lib.maintainers; [ jpas jwiegley ]; 30 }; 31 }
+3 -3
pkgs/development/coq-modules/HoTT/default.nix
··· 1 { lib, mkCoqDerivation, autoconf, automake, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "HoTT"; 5 repo = "Coq-HoTT"; 6 owner = "HoTT"; 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = range "8.14" "8.16"; out = coq.coq-version; } 10 ] null; 11 releaseRev = v: "V${v}"; ··· 20 meta = { 21 homepage = "http://homotopytypetheory.org/"; 22 description = "Homotopy type theory"; 23 - maintainers = with maintainers; [ siddharthist ]; 24 }; 25 }
··· 1 { lib, mkCoqDerivation, autoconf, automake, coq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "HoTT"; 5 repo = "Coq-HoTT"; 6 owner = "HoTT"; 7 inherit version; 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 { case = range "8.14" "8.16"; out = coq.coq-version; } 10 ] null; 11 releaseRev = v: "V${v}"; ··· 20 meta = { 21 homepage = "http://homotopytypetheory.org/"; 22 description = "Homotopy type theory"; 23 + maintainers = with lib.maintainers; [ siddharthist ]; 24 }; 25 }
+3 -3
pkgs/development/coq-modules/ITree/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null , paco, coq-ext-lib }: 2 3 - with lib; mkCoqDerivation rec { 4 pname = "InteractionTrees"; 5 owner = "DeepSpec"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.version [ 8 { case = range "8.10" "8.16"; out = "4.0.0"; } 9 ] null; 10 release."4.0.0".sha256 = "0h5rhndl8syc24hxq1gch86kj7mpmgr89bxp2hmf28fd7028ijsm"; ··· 12 propagatedBuildInputs = [ coq-ext-lib paco ]; 13 meta = { 14 description = "A Library for Representing Recursive and Impure Programs in Coq"; 15 - maintainers = with maintainers; [ larsr ]; 16 }; 17 }
··· 1 { lib, mkCoqDerivation, coq, version ? null , paco, coq-ext-lib }: 2 3 + mkCoqDerivation rec { 4 pname = "InteractionTrees"; 5 owner = "DeepSpec"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.version [ 8 { case = range "8.10" "8.16"; out = "4.0.0"; } 9 ] null; 10 release."4.0.0".sha256 = "0h5rhndl8syc24hxq1gch86kj7mpmgr89bxp2hmf28fd7028ijsm"; ··· 12 propagatedBuildInputs = [ coq-ext-lib paco ]; 13 meta = { 14 description = "A Library for Representing Recursive and Impure Programs in Coq"; 15 + maintainers = with lib.maintainers; [ larsr ]; 16 }; 17 }
+2 -3
pkgs/development/coq-modules/LibHyps/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; 4 mkCoqDerivation { 5 pname = "LibHyps"; 6 owner = "Matafou"; 7 inherit version; 8 - defaultVersion = if (versions.range "8.11" "8.16") coq.version then "2.0.4.1" else null; 9 release = { 10 "2.0.4.1".sha256 = "09p89701zhrfdmqlpxw3mziw8yylj1w1skb4b0xpbdwd1vsn4k3h"; 11 }; ··· 16 17 meta = { 18 description = "Hypotheses manipulation library"; 19 - license = licenses.mit; 20 }; 21 }
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 mkCoqDerivation { 4 pname = "LibHyps"; 5 owner = "Matafou"; 6 inherit version; 7 + defaultVersion = if (lib.versions.range "8.11" "8.16") coq.version then "2.0.4.1" else null; 8 release = { 9 "2.0.4.1".sha256 = "09p89701zhrfdmqlpxw3mziw8yylj1w1skb4b0xpbdwd1vsn4k3h"; 10 }; ··· 15 16 meta = { 17 description = "Hypotheses manipulation library"; 18 + license = lib.licenses.mit; 19 }; 20 }
+2 -2
pkgs/development/coq-modules/StructTact/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "StructTact"; 5 owner = "uwplse"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.6" "8.16"; out = "20210328"; } 9 { case = range "8.5" "8.13"; out = "20181102"; } 10 ] null;
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "StructTact"; 5 owner = "uwplse"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.6" "8.16"; out = "20210328"; } 9 { case = range "8.5" "8.13"; out = "20181102"; } 10 ] null;
+2 -4
pkgs/development/coq-modules/VST/default.nix
··· 1 { lib, mkCoqDerivation, coq, compcert, ITree, version ? null }: 2 3 - with lib; 4 - 5 # A few modules that are not built and installed by default 6 # but that may be useful to some users. 7 # They depend on ITree. ··· 11 "powerlater.v" 12 ] 13 # floyd/printf.v is broken in VST 2.9 14 - ++ optional (!versions.isGe "8.13" coq.coq-version) "printf.v" 15 ++ [ 16 "quickprogram.v" 17 ]; ··· 24 owner = "PrincetonUniversity"; 25 repo = "VST"; 26 inherit version; 27 - defaultVersion = with versions; switch coq.coq-version [ 28 { case = range "8.15" "8.16"; out = "2.11.1"; } 29 { case = range "8.14" "8.16"; out = "2.10"; } 30 { case = range "8.13" "8.15"; out = "2.9"; }
··· 1 { lib, mkCoqDerivation, coq, compcert, ITree, version ? null }: 2 3 # A few modules that are not built and installed by default 4 # but that may be useful to some users. 5 # They depend on ITree. ··· 9 "powerlater.v" 10 ] 11 # floyd/printf.v is broken in VST 2.9 12 + ++ lib.optional (!lib.versions.isGe "8.13" coq.coq-version) "printf.v" 13 ++ [ 14 "quickprogram.v" 15 ]; ··· 22 owner = "PrincetonUniversity"; 23 repo = "VST"; 24 inherit version; 25 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 26 { case = range "8.15" "8.16"; out = "2.11.1"; } 27 { case = range "8.14" "8.16"; out = "2.10"; } 28 { case = range "8.13" "8.15"; out = "2.9"; }
+2 -2
pkgs/development/coq-modules/Velisarios/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "Velisarios"; 5 owner = "vrahli"; 6 inherit version; 7 - defaultVersion = if versions.range "8.6" "8.8" coq.coq-version then "20180221" else null; 8 9 release."20180221".rev = "e1eee1f10d5d46331a560bd8565ac101229d0d6b"; 10 release."20180221".sha256 = "0l9885nxy0n955fj1gnijlxl55lyxiv9yjfmz8hmfrn9hl8vv1m2";
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "Velisarios"; 5 owner = "vrahli"; 6 inherit version; 7 + defaultVersion = if lib.versions.range "8.6" "8.8" coq.coq-version then "20180221" else null; 8 9 release."20180221".rev = "e1eee1f10d5d46331a560bd8565ac101229d0d6b"; 10 release."20180221".sha256 = "0l9885nxy0n955fj1gnijlxl55lyxiv9yjfmz8hmfrn9hl8vv1m2";
+2 -2
pkgs/development/coq-modules/Verdi/default.nix
··· 1 { lib, mkCoqDerivation, coq, Cheerios, InfSeqExt, ssreflect, version ? null }: 2 3 4 - with lib; mkCoqDerivation { 5 pname = "verdi"; 6 owner = "uwplse"; 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = range "8.7" "8.16"; out = "20211026"; } 10 { case = range "8.7" "8.14"; out = "20210524"; } 11 { case = range "8.7" "8.13"; out = "20200131"; }
··· 1 { lib, mkCoqDerivation, coq, Cheerios, InfSeqExt, ssreflect, version ? null }: 2 3 4 + mkCoqDerivation { 5 pname = "verdi"; 6 owner = "uwplse"; 7 inherit version; 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 { case = range "8.7" "8.16"; out = "20211026"; } 10 { case = range "8.7" "8.14"; out = "20210524"; } 11 { case = range "8.7" "8.13"; out = "20200131"; }
+2 -3
pkgs/development/coq-modules/aac-tactics/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "aac-tactics"; ··· 21 release."8.5.0".sha256 = "sha256-7yNxJn6CH5xS5w/zsXfcZYORa6e5/qS9v8PUq2o02h4="; 22 23 inherit version; 24 - defaultVersion = with versions; switch coq.coq-version [ 25 { case = "8.16"; out = "8.16.0"; } 26 { case = "8.15"; out = "8.15.1"; } 27 { case = "8.14"; out = "8.14.1"; } ··· 37 38 mlPlugin = true; 39 40 - meta = { 41 description = "Coq plugin providing tactics for rewriting universally quantified equations"; 42 longDescription = '' 43 This Coq plugin provides tactics for rewriting universally quantified
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 mkCoqDerivation { 4 pname = "aac-tactics"; ··· 20 release."8.5.0".sha256 = "sha256-7yNxJn6CH5xS5w/zsXfcZYORa6e5/qS9v8PUq2o02h4="; 21 22 inherit version; 23 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 24 { case = "8.16"; out = "8.16.0"; } 25 { case = "8.15"; out = "8.15.1"; } 26 { case = "8.14"; out = "8.14.1"; } ··· 36 37 mlPlugin = true; 38 39 + meta = with lib; { 40 description = "Coq plugin providing tactics for rewriting universally quantified equations"; 41 longDescription = '' 42 This Coq plugin provides tactics for rewriting universally quantified
+2 -3
pkgs/development/coq-modules/addition-chains/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp-ssreflect, mathcomp-algebra, mathcomp-fingroup, paramcoq 2 , version ? null }: 3 - with lib; 4 5 mkCoqDerivation { 6 pname = "addition-chains"; ··· 12 releaseRev = (v: "v${v}"); 13 14 inherit version; 15 - defaultVersion = with versions; switch coq.coq-version [ 16 { case = range "8.13" "8.16"; out = "0.6"; } 17 { case = range "8.11" "8.12"; out = "0.4"; } 18 ] null; ··· 21 22 useDune = true; 23 24 - meta = { 25 description = "Exponentiation algorithms following addition chains"; 26 longDescription = '' 27 Addition chains are algorithms for computations of the p-th
··· 1 { lib, mkCoqDerivation, coq, mathcomp-ssreflect, mathcomp-algebra, mathcomp-fingroup, paramcoq 2 , version ? null }: 3 4 mkCoqDerivation { 5 pname = "addition-chains"; ··· 11 releaseRev = (v: "v${v}"); 12 13 inherit version; 14 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 15 { case = range "8.13" "8.16"; out = "0.6"; } 16 { case = range "8.11" "8.12"; out = "0.4"; } 17 ] null; ··· 20 21 useDune = true; 22 23 + meta = with lib; { 24 description = "Exponentiation algorithms following addition chains"; 25 longDescription = '' 26 Addition chains are algorithms for computations of the p-th
+2 -3
pkgs/development/coq-modules/autosubst/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp-ssreflect, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "autosubst"; ··· 8 release."1.7".sha256 = "sha256-qoyteQ5W2Noxf12uACOVeHhPLvgmTzrvEo6Ts+FKTGI="; 9 10 inherit version; 11 - defaultVersion = with versions; switch coq.coq-version [ 12 { case = range "8.10" "8.16"; out = "1.7"; } 13 ] null; 14 15 propagatedBuildInputs = [ mathcomp-ssreflect ]; 16 17 - meta = { 18 homepage = "https://www.ps.uni-saarland.de/autosubst/"; 19 description = "Automation for de Bruijn syntax and substitution in Coq"; 20 maintainers = with maintainers; [ siraben jwiegley ];
··· 1 { lib, mkCoqDerivation, coq, mathcomp-ssreflect, version ? null }: 2 3 mkCoqDerivation { 4 pname = "autosubst"; ··· 7 release."1.7".sha256 = "sha256-qoyteQ5W2Noxf12uACOVeHhPLvgmTzrvEo6Ts+FKTGI="; 8 9 inherit version; 10 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 11 { case = range "8.10" "8.16"; out = "1.7"; } 12 ] null; 13 14 propagatedBuildInputs = [ mathcomp-ssreflect ]; 15 16 + meta = with lib; { 17 homepage = "https://www.ps.uni-saarland.de/autosubst/"; 18 description = "Automation for de Bruijn syntax and substitution in Coq"; 19 maintainers = with maintainers; [ siraben jwiegley ];
+3 -3
pkgs/development/coq-modules/bignums/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "bignums"; 5 owner = "coq"; 6 displayVersion = { bignums = ""; }; 7 inherit version; 8 - defaultVersion = if versions.isGe "8.6" coq.coq-version 9 then "${coq.coq-version}.0" else null; 10 11 release."8.17.0".sha256 = "sha256-MXYjqN86+3O4hT2ql62U83T5H03E/8ysH8erpvC/oyw="; ··· 25 26 mlPlugin = true; 27 28 - meta = { license = licenses.lgpl2; }; 29 }
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "bignums"; 5 owner = "coq"; 6 displayVersion = { bignums = ""; }; 7 inherit version; 8 + defaultVersion = if lib.versions.isGe "8.6" coq.coq-version 9 then "${coq.coq-version}.0" else null; 10 11 release."8.17.0".sha256 = "sha256-MXYjqN86+3O4hT2ql62U83T5H03E/8ysH8erpvC/oyw="; ··· 25 26 mlPlugin = true; 27 28 + meta = { license = lib.licenses.lgpl2; }; 29 }
+3 -3
pkgs/development/coq-modules/category-theory/default.nix
··· 1 { lib, mkCoqDerivation, coq, ssreflect, equations, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 5 pname = "category-theory"; 6 owner = "jwiegley"; ··· 16 release."20180709".sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs"; 17 18 inherit version; 19 - defaultVersion = with versions; switch coq.coq-version [ 20 { case = range "8.14" "8.16"; out = "1.0.0"; } 21 { case = range "8.10" "8.15"; out = "20211213"; } 22 { case = range "8.8" "8.9"; out = "20190414"; } ··· 28 29 meta = { 30 description = "A formalization of category theory in Coq for personal study and practical work"; 31 - maintainers = with maintainers; [ jwiegley ]; 32 }; 33 }
··· 1 { lib, mkCoqDerivation, coq, ssreflect, equations, version ? null }: 2 3 + mkCoqDerivation { 4 5 pname = "category-theory"; 6 owner = "jwiegley"; ··· 16 release."20180709".sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs"; 17 18 inherit version; 19 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 20 { case = range "8.14" "8.16"; out = "1.0.0"; } 21 { case = range "8.10" "8.15"; out = "20211213"; } 22 { case = range "8.8" "8.9"; out = "20190414"; } ··· 28 29 meta = { 30 description = "A formalization of category theory in Coq for personal study and practical work"; 31 + maintainers = with lib.maintainers; [ jwiegley ]; 32 }; 33 }
+2 -3
pkgs/development/coq-modules/ceres/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; 4 mkCoqDerivation { 5 6 pname = "ceres"; ··· 8 owner = "Lysxia"; 9 10 inherit version; 11 - defaultVersion = if versions.range "8.8" "8.16" coq.version then "0.4.0" else null; 12 release."0.4.0".sha256 = "sha256:0zwp3pn6fdj0qdig734zdczrls886al06mxqhhabms0jvvqijmbi"; 13 14 - meta = { 15 description = "Library for serialization to S-expressions"; 16 license = licenses.mit; 17 maintainers = with maintainers; [ Zimmi48 ];
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 mkCoqDerivation { 4 5 pname = "ceres"; ··· 7 owner = "Lysxia"; 8 9 inherit version; 10 + defaultVersion = if lib.versions.range "8.8" "8.16" coq.version then "0.4.0" else null; 11 release."0.4.0".sha256 = "sha256:0zwp3pn6fdj0qdig734zdczrls886al06mxqhhabms0jvvqijmbi"; 12 13 + meta = with lib; { 14 description = "Library for serialization to S-expressions"; 15 license = licenses.mit; 16 maintainers = with maintainers; [ Zimmi48 ];
+2 -4
pkgs/development/coq-modules/compcert/default.nix
··· 5 , version ? null 6 }: 7 8 - with lib; 9 - 10 let compcert = mkCoqDerivation rec { 11 12 pname = "compcert"; ··· 15 inherit version; 16 releaseRev = v: "v${v}"; 17 18 - defaultVersion = with versions; switch coq.version [ 19 { case = range "8.14" "8.16"; out = "3.11"; } 20 { case = isEq "8.13" ; out = "3.10"; } 21 { case = isEq "8.12" ; out = "3.9"; } ··· 84 }; in 85 compcert.overrideAttrs (o: 86 { 87 - patches = with versions; switch [ coq.version o.version ] [ 88 { cases = [ (range "8.12.2" "8.13.2") "3.8" ]; 89 out = [ 90 # Support for Coq 8.12.2
··· 5 , version ? null 6 }: 7 8 let compcert = mkCoqDerivation rec { 9 10 pname = "compcert"; ··· 13 inherit version; 14 releaseRev = v: "v${v}"; 15 16 + defaultVersion = with lib.versions; lib.switch coq.version [ 17 { case = range "8.14" "8.16"; out = "3.11"; } 18 { case = isEq "8.13" ; out = "3.10"; } 19 { case = isEq "8.12" ; out = "3.9"; } ··· 82 }; in 83 compcert.overrideAttrs (o: 84 { 85 + patches = with lib.versions; lib.switch [ coq.version o.version ] [ 86 { cases = [ (range "8.12.2" "8.13.2") "3.8" ]; 87 out = [ 88 # Support for Coq 8.12.2
+3 -3
pkgs/development/coq-modules/contribs/default.nix
··· 1 { lib, mkCoqDerivation, coq, callPackage }: 2 3 - with lib; let mkContrib = pname: coqs: param: 4 let contribVersion = {version ? null}: mkCoqDerivation ({ 5 inherit pname version; 6 owner = "coq-contribs"; 7 mlPlugin = true; 8 - } // optionalAttrs (builtins.elem coq.coq-version coqs) ({ 9 defaultVersion = param.version; 10 release = { "${param.version}" = { inherit (param) rev sha256; }; }; 11 } // (removeAttrs param [ "version" "rev" "sha256" ])) 12 ); in 13 - makeOverridable contribVersion {} ; in 14 { 15 aac-tactics = mkContrib "aac-tactics" [ "8.7" "8.8" ] { 16 "8.7" = {
··· 1 { lib, mkCoqDerivation, coq, callPackage }: 2 3 + let mkContrib = pname: coqs: param: 4 let contribVersion = {version ? null}: mkCoqDerivation ({ 5 inherit pname version; 6 owner = "coq-contribs"; 7 mlPlugin = true; 8 + } // lib.optionalAttrs (builtins.elem coq.coq-version coqs) ({ 9 defaultVersion = param.version; 10 release = { "${param.version}" = { inherit (param) rev sha256; }; }; 11 } // (removeAttrs param [ "version" "rev" "sha256" ])) 12 ); in 13 + lib.makeOverridable contribVersion {} ; in 14 { 15 aac-tactics = mkContrib "aac-tactics" [ "8.7" "8.8" ] { 16 "8.7" = {
+3 -3
pkgs/development/coq-modules/coq-bits/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "coq-bits"; 5 repo = "bits"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.10" "8.16"; out = "1.1.0"; } 9 { case = range "8.7" "8.15"; out = "1.0.0"; } 10 ] null; ··· 14 15 propagatedBuildInputs = [ mathcomp-algebra ]; 16 17 - meta = { 18 description = "A formalization of bitset operations in Coq"; 19 license = licenses.asl20; 20 maintainers = with maintainers; [ ptival ];
··· 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "coq-bits"; 5 repo = "bits"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.10" "8.16"; out = "1.1.0"; } 9 { case = range "8.7" "8.15"; out = "1.0.0"; } 10 ] null; ··· 14 15 propagatedBuildInputs = [ mathcomp-algebra ]; 16 17 + meta = with lib; { 18 description = "A formalization of bitset operations in Coq"; 19 license = licenses.asl20; 20 maintainers = with maintainers; [ ptival ];
+3 -3
pkgs/development/coq-modules/coq-ext-lib/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation rec { 4 pname = "coq-ext-lib"; 5 owner = "coq-ext-lib"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.11" "8.16"; out = "0.11.7"; } 9 { case = range "8.8" "8.16"; out = "0.11.6"; } 10 { case = range "8.8" "8.14"; out = "0.11.4"; } ··· 30 31 meta = { 32 description = "A collection of theories and plugins that may be useful in other Coq developments"; 33 - maintainers = with maintainers; [ jwiegley ptival ]; 34 }; 35 }
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation rec { 4 pname = "coq-ext-lib"; 5 owner = "coq-ext-lib"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.11" "8.16"; out = "0.11.7"; } 9 { case = range "8.8" "8.16"; out = "0.11.6"; } 10 { case = range "8.8" "8.14"; out = "0.11.4"; } ··· 30 31 meta = { 32 description = "A collection of theories and plugins that may be useful in other Coq developments"; 33 + maintainers = with lib.maintainers; [ jwiegley ptival ]; 34 }; 35 }
+3 -3
pkgs/development/coq-modules/coq-haskell/default.nix
··· 1 { lib, mkCoqDerivation, coq, ssreflect, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 5 pname = "coq-haskell"; 6 owner = "jwiegley"; 7 inherit version; 8 - defaultVersion = if versions.range "8.5" "8.8" coq.coq-version then "20171215" else null; 9 release."20171215".rev = "e2cf8b270c2efa3b56fab1ef6acc376c2c3de968"; 10 release."20171215".sha256 = "09dq1vvshhlhgjccrhqgbhnq2hrys15xryfszqq11rzpgvl2zgdv"; 11 ··· 16 17 meta = { 18 description = "A library for formalizing Haskell types and functions in Coq"; 19 - maintainers = with maintainers; [ jwiegley ]; 20 }; 21 }
··· 1 { lib, mkCoqDerivation, coq, ssreflect, version ? null }: 2 3 + mkCoqDerivation { 4 5 pname = "coq-haskell"; 6 owner = "jwiegley"; 7 inherit version; 8 + defaultVersion = if lib.versions.range "8.5" "8.8" coq.coq-version then "20171215" else null; 9 release."20171215".rev = "e2cf8b270c2efa3b56fab1ef6acc376c2c3de968"; 10 release."20171215".sha256 = "09dq1vvshhlhgjccrhqgbhnq2hrys15xryfszqq11rzpgvl2zgdv"; 11 ··· 16 17 meta = { 18 description = "A library for formalizing Haskell types and functions in Coq"; 19 + maintainers = with lib.maintainers; [ jwiegley ]; 20 }; 21 }
+3 -3
pkgs/development/coq-modules/coq-record-update/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation rec { 4 pname = "coq-record-update"; 5 owner = "tchajed"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.10" "8.16"; out = "0.3.1"; } 9 ] null; 10 release."0.3.1".sha256 = "sha256-DyGxO2tqmYZZluXN6Oy5Tw6fuLMyuyxonj8CCToWKkk="; ··· 13 buildFlags = [ "NO_TEST=1" ]; 14 meta = { 15 description = "Library to create Coq record update functions"; 16 - maintainers = with maintainers; [ ineol ]; 17 }; 18 }
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation rec { 4 pname = "coq-record-update"; 5 owner = "tchajed"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.10" "8.16"; out = "0.3.1"; } 9 ] null; 10 release."0.3.1".sha256 = "sha256-DyGxO2tqmYZZluXN6Oy5Tw6fuLMyuyxonj8CCToWKkk="; ··· 13 buildFlags = [ "NO_TEST=1" ]; 14 meta = { 15 description = "Library to create Coq record update functions"; 16 + maintainers = with lib.maintainers; [ ineol ]; 17 }; 18 }
+3 -5
pkgs/development/coq-modules/coqeal/default.nix
··· 2 mathcomp-real-closed, 3 lib, version ? null }: 4 5 - with lib; 6 - 7 (mkCoqDerivation { 8 9 pname = "CoqEAL"; 10 11 inherit version; 12 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 13 { cases = [ (range "8.13" "8.16") (isGe "1.13.0") ]; out = "1.1.1"; } 14 { cases = [ (range "8.10" "8.15") (isGe "1.12.0") ]; out = "1.1.0"; } 15 { cases = [ (isGe "8.10") (range "1.11.0" "1.12.0") ]; out = "1.0.5"; } ··· 28 29 meta = { 30 description = "CoqEAL - The Coq Effective Algebra Library"; 31 - license = licenses.mit; 32 }; 33 }).overrideAttrs (o: { 34 propagatedBuildInputs = o.propagatedBuildInputs 35 - ++ optional (versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed; 36 })
··· 2 mathcomp-real-closed, 3 lib, version ? null }: 4 5 (mkCoqDerivation { 6 7 pname = "CoqEAL"; 8 9 inherit version; 10 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 11 { cases = [ (range "8.13" "8.16") (isGe "1.13.0") ]; out = "1.1.1"; } 12 { cases = [ (range "8.10" "8.15") (isGe "1.12.0") ]; out = "1.1.0"; } 13 { cases = [ (isGe "8.10") (range "1.11.0" "1.12.0") ]; out = "1.0.5"; } ··· 26 27 meta = { 28 description = "CoqEAL - The Coq Effective Algebra Library"; 29 + license = lib.licenses.mit; 30 }; 31 }).overrideAttrs (o: { 32 propagatedBuildInputs = o.propagatedBuildInputs 33 + ++ lib.optional (lib.versions.isGe "1.1" o.version || o.version == "dev") mathcomp-real-closed; 34 })
+3 -3
pkgs/development/coq-modules/coqhammer/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 inherit version; 5 pname = "coqhammer"; 6 owner = "lukaszcz"; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = "8.15"; out = "1.3.2-coq8.15"; } 9 { case = "8.14"; out = "1.3.2-coq8.14"; } 10 { case = "8.13"; out = "1.3.2-coq8.13"; } ··· 57 58 mlPlugin = true; 59 60 - meta = { 61 homepage = "http://cl-informatik.uibk.ac.at/cek/coqhammer/"; 62 description = "Automation for Dependent Type Theory"; 63 license = licenses.lgpl21;
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation { 4 inherit version; 5 pname = "coqhammer"; 6 owner = "lukaszcz"; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = "8.15"; out = "1.3.2-coq8.15"; } 9 { case = "8.14"; out = "1.3.2-coq8.14"; } 10 { case = "8.13"; out = "1.3.2-coq8.13"; } ··· 57 58 mlPlugin = true; 59 60 + meta = with lib; { 61 homepage = "http://cl-informatik.uibk.ac.at/cek/coqhammer/"; 62 description = "Automation for Dependent Type Theory"; 63 license = licenses.lgpl21;
+2 -2
pkgs/development/coq-modules/coqide/default.nix
··· 8 , coq 9 , version ? null }: 10 11 - with lib; mkCoqDerivation rec { 12 pname = "coqide"; 13 inherit version; 14 15 inherit (coq) src; 16 release."${coq.version}" = {}; 17 18 - defaultVersion = if versions.isGe "8.14" coq.version then coq.version else null; 19 20 preConfigure = '' 21 patchShebangs dev/tools/
··· 8 , coq 9 , version ? null }: 10 11 + mkCoqDerivation rec { 12 pname = "coqide"; 13 inherit version; 14 15 inherit (coq) src; 16 release."${coq.version}" = {}; 17 18 + defaultVersion = if lib.versions.isGe "8.14" coq.version then coq.version else null; 19 20 preConfigure = '' 21 patchShebangs dev/tools/
+2 -2
pkgs/development/coq-modules/coqprime/default.nix
··· 1 { which, lib, mkCoqDerivation, coq, bignums, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 5 pname = "coqprime"; 6 owner = "thery"; 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = range "8.12" "8.16"; out = "8.15"; } 10 { case = range "8.10" "8.11"; out = "8.10"; } 11 { case = range "8.8" "8.9"; out = "8.8"; }
··· 1 { which, lib, mkCoqDerivation, coq, bignums, version ? null }: 2 3 + mkCoqDerivation { 4 5 pname = "coqprime"; 6 owner = "thery"; 7 inherit version; 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 { case = range "8.12" "8.16"; out = "8.15"; } 10 { case = range "8.10" "8.11"; out = "8.10"; } 11 { case = range "8.8" "8.9"; out = "8.8"; }
+2 -4
pkgs/development/coq-modules/coqtail-math/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; 4 - 5 mkCoqDerivation { 6 pname = "coqtail-math"; 7 owner = "coq-community"; 8 inherit version; 9 - defaultVersion = with versions; switch coq.coq-version [ 10 { case = range "8.11" "8.15"; out = "8.14"; } 11 { case = range "8.11" "8.13"; out = "20201124"; } 12 ] null; ··· 15 release."20201124".rev = "5c22c3d7dcd8cf4c47cf84a281780f5915488e9e"; 16 release."20201124".sha256 = "sha256-wd+Lh7dpAD4zfpyKuztDmSFEZo5ZiFrR8ti2jUCVvoQ="; 17 mlPlugin = true; 18 - meta = { 19 license = licenses.lgpl3Only; 20 maintainers = [ maintainers.siraben ]; 21 };
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 mkCoqDerivation { 4 pname = "coqtail-math"; 5 owner = "coq-community"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.11" "8.15"; out = "8.14"; } 9 { case = range "8.11" "8.13"; out = "20201124"; } 10 ] null; ··· 13 release."20201124".rev = "5c22c3d7dcd8cf4c47cf84a281780f5915488e9e"; 14 release."20201124".sha256 = "sha256-wd+Lh7dpAD4zfpyKuztDmSFEZo5ZiFrR8ti2jUCVvoQ="; 15 mlPlugin = true; 16 + meta = with lib; { 17 license = licenses.lgpl3Only; 18 maintainers = [ maintainers.siraben ]; 19 };
+3 -3
pkgs/development/coq-modules/coquelicot/default.nix
··· 1 { lib, mkCoqDerivation, autoconf, 2 coq, ssreflect, version ? null }: 3 4 - with lib; mkCoqDerivation { 5 pname = "coquelicot"; 6 owner = "coquelicot"; 7 domain = "gitlab.inria.fr"; 8 inherit version; 9 - defaultVersion = with versions; switch coq.coq-version [ 10 { case = range "8.8" "8.16"; out = "3.2.0"; } 11 { case = range "8.8" "8.13"; out = "3.1.0"; } 12 { case = range "8.5" "8.9"; out = "3.0.2"; } ··· 20 propagatedBuildInputs = [ ssreflect ]; 21 useMelquiondRemake.logpath = "Coquelicot"; 22 23 - meta = { 24 homepage = "http://coquelicot.saclay.inria.fr/"; 25 description = "A Coq library for Reals"; 26 license = licenses.lgpl3;
··· 1 { lib, mkCoqDerivation, autoconf, 2 coq, ssreflect, version ? null }: 3 4 + mkCoqDerivation { 5 pname = "coquelicot"; 6 owner = "coquelicot"; 7 domain = "gitlab.inria.fr"; 8 inherit version; 9 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 10 { case = range "8.8" "8.16"; out = "3.2.0"; } 11 { case = range "8.8" "8.13"; out = "3.1.0"; } 12 { case = range "8.5" "8.9"; out = "3.0.2"; } ··· 20 propagatedBuildInputs = [ ssreflect ]; 21 useMelquiondRemake.logpath = "Coquelicot"; 22 23 + meta = with lib; { 24 homepage = "http://coquelicot.saclay.inria.fr/"; 25 description = "A Coq library for Reals"; 26 license = licenses.lgpl3;
+3 -3
pkgs/development/coq-modules/corn/default.nix
··· 1 { lib, mkCoqDerivation, coq, bignums, math-classes, version ? null }: 2 3 - with lib; mkCoqDerivation rec { 4 pname = "corn"; 5 inherit version; 6 - defaultVersion = with versions; switch coq.coq-version [ 7 { case = "8.6"; out = "8.8.1"; } 8 { case = (range "8.11" "8.16"); out = "8.16.0"; } 9 { case = (range "8.7" "8.15"); out = "8.13.0"; } ··· 21 22 propagatedBuildInputs = [ bignums math-classes ]; 23 24 - meta = { 25 homepage = "http://c-corn.github.io/"; 26 license = licenses.gpl2; 27 description = "A Coq library for constructive analysis";
··· 1 { lib, mkCoqDerivation, coq, bignums, math-classes, version ? null }: 2 3 + mkCoqDerivation rec { 4 pname = "corn"; 5 inherit version; 6 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 7 { case = "8.6"; out = "8.8.1"; } 8 { case = (range "8.11" "8.16"); out = "8.16.0"; } 9 { case = (range "8.7" "8.15"); out = "8.13.0"; } ··· 21 22 propagatedBuildInputs = [ bignums math-classes ]; 23 24 + meta = with lib; { 25 homepage = "http://c-corn.github.io/"; 26 license = licenses.gpl2; 27 description = "A Coq library for constructive analysis";
+2 -3
pkgs/development/coq-modules/deriving/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null 2 , ssreflect 3 }: 4 - with lib; 5 6 mkCoqDerivation { 7 pname = "deriving"; 8 owner = "arthuraa"; 9 10 inherit version; 11 - defaultVersion = with versions; switch coq.coq-version [ 12 { case = range "8.11" "8.16"; out = "0.1.0"; } 13 ] null; 14 ··· 20 21 mlPlugin = true; 22 23 - meta = { 24 description = "Generic instances of MathComp classes"; 25 license = licenses.mit; 26 maintainers = [ maintainers.vbgl ];
··· 1 { lib, mkCoqDerivation, coq, version ? null 2 , ssreflect 3 }: 4 5 mkCoqDerivation { 6 pname = "deriving"; 7 owner = "arthuraa"; 8 9 inherit version; 10 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 11 { case = range "8.11" "8.16"; out = "0.1.0"; } 12 ] null; 13 ··· 19 20 mlPlugin = true; 21 22 + meta = with lib; { 23 description = "Generic instances of MathComp classes"; 24 license = licenses.mit; 25 maintainers = [ maintainers.vbgl ];
+5 -6
pkgs/development/coq-modules/dpdgraph/default.nix
··· 1 { lib, mkCoqDerivation, autoreconfHook, coq, version ? null }: 2 3 - with lib; 4 - let hasWarning = versionAtLeast coq.ocamlPackages.ocaml.version "4.08"; in 5 6 mkCoqDerivation { 7 pname = "dpdgraph"; 8 owner = "Karmaki"; 9 repo = "coq-dpdgraph"; 10 inherit version; 11 - defaultVersion = switch coq.coq-version [ 12 { case = "8.16"; out = "1.0+8.16"; } 13 { case = "8.15"; out = "1.0+8.15"; } 14 { case = "8.14"; out = "1.0+8.14"; } ··· 47 48 # dpd_compute.ml uses deprecated Pervasives.compare 49 # Versions prior to 0.6.5 do not have the WARN_ERR build flag 50 - preConfigure = optionalString hasWarning '' 51 substituteInPlace Makefile.in --replace "-warn-error +a " "" 52 ''; 53 54 - buildFlags = optional hasWarning "WARN_ERR="; 55 56 preInstall = '' 57 mkdir -p $out/bin ··· 59 60 extraInstallFlags = [ "BINDIR=$(out)/bin" ]; 61 62 - meta = { 63 description = "Build dependency graphs between Coq objects"; 64 license = licenses.lgpl21; 65 maintainers = with maintainers; [ vbgl ];
··· 1 { lib, mkCoqDerivation, autoreconfHook, coq, version ? null }: 2 3 + let hasWarning = lib.versionAtLeast coq.ocamlPackages.ocaml.version "4.08"; in 4 5 mkCoqDerivation { 6 pname = "dpdgraph"; 7 owner = "Karmaki"; 8 repo = "coq-dpdgraph"; 9 inherit version; 10 + defaultVersion = lib.switch coq.coq-version [ 11 { case = "8.16"; out = "1.0+8.16"; } 12 { case = "8.15"; out = "1.0+8.15"; } 13 { case = "8.14"; out = "1.0+8.14"; } ··· 46 47 # dpd_compute.ml uses deprecated Pervasives.compare 48 # Versions prior to 0.6.5 do not have the WARN_ERR build flag 49 + preConfigure = lib.optionalString hasWarning '' 50 substituteInPlace Makefile.in --replace "-warn-error +a " "" 51 ''; 52 53 + buildFlags = lib.optional hasWarning "WARN_ERR="; 54 55 preInstall = '' 56 mkdir -p $out/bin ··· 58 59 extraInstallFlags = [ "BINDIR=$(out)/bin" ]; 60 61 + meta = with lib; { 62 description = "Build dependency graphs between Coq objects"; 63 license = licenses.lgpl21; 64 maintainers = with maintainers; [ vbgl ];
+4 -4
pkgs/development/coq-modules/equations/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; (mkCoqDerivation { 4 pname = "equations"; 5 owner = "mattam82"; 6 repo = "Coq-Equations"; 7 inherit version; 8 - defaultVersion = switch coq.coq-version [ 9 { case = "8.16"; out = "1.3+8.16"; } 10 { case = "8.15"; out = "1.3+8.15"; } 11 { case = "8.14"; out = "1.3+8.14"; } ··· 57 58 mlPlugin = true; 59 60 - meta = { 61 homepage = "https://mattam82.github.io/Coq-Equations/"; 62 description = "A plugin for Coq to add dependent pattern-matching"; 63 maintainers = with maintainers; [ jwiegley ]; 64 }; 65 }).overrideAttrs (o: { 66 - preBuild = "coq_makefile -f _CoqProject -o Makefile${optionalString (versionAtLeast o.version "1.2.1" || o.version == "dev") ".coq"}"; 67 })
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + (mkCoqDerivation { 4 pname = "equations"; 5 owner = "mattam82"; 6 repo = "Coq-Equations"; 7 inherit version; 8 + defaultVersion = lib.switch coq.coq-version [ 9 { case = "8.16"; out = "1.3+8.16"; } 10 { case = "8.15"; out = "1.3+8.15"; } 11 { case = "8.14"; out = "1.3+8.14"; } ··· 57 58 mlPlugin = true; 59 60 + meta = with lib; { 61 homepage = "https://mattam82.github.io/Coq-Equations/"; 62 description = "A plugin for Coq to add dependent pattern-matching"; 63 maintainers = with maintainers; [ jwiegley ]; 64 }; 65 }).overrideAttrs (o: { 66 + preBuild = "coq_makefile -f _CoqProject -o Makefile${lib.optionalString (lib.versionAtLeast o.version "1.2.1" || o.version == "dev") ".coq"}"; 67 })
+3 -4
pkgs/development/coq-modules/extructures/default.nix
··· 2 , ssreflect 3 , deriving 4 }: 5 - with lib; 6 7 (mkCoqDerivation { 8 pname = "extructures"; 9 owner = "arthuraa"; 10 11 inherit version; 12 - defaultVersion = with versions; switch [coq.coq-version ssreflect.version] [ 13 { cases = [(range "8.11" "8.16") (isGe "1.12.0") ]; out = "0.3.1"; } 14 { cases = [(range "8.11" "8.14") (isLe "1.12.0") ]; out = "0.3.0"; } 15 { cases = [(range "8.10" "8.12") (isLe "1.12.0") ]; out = "0.2.2"; } ··· 23 24 propagatedBuildInputs = [ ssreflect ]; 25 26 - meta = { 27 description = "Finite data structures with extensional reasoning"; 28 license = licenses.mit; 29 maintainers = [ maintainers.vbgl ]; ··· 31 32 }).overrideAttrs (o: { 33 propagatedBuildInputs = o.propagatedBuildInputs 34 - ++ optional (versionAtLeast o.version "0.3.0") deriving; 35 })
··· 2 , ssreflect 3 , deriving 4 }: 5 6 (mkCoqDerivation { 7 pname = "extructures"; 8 owner = "arthuraa"; 9 10 inherit version; 11 + defaultVersion = with lib.versions; lib.switch [coq.coq-version ssreflect.version] [ 12 { cases = [(range "8.11" "8.16") (isGe "1.12.0") ]; out = "0.3.1"; } 13 { cases = [(range "8.11" "8.14") (isLe "1.12.0") ]; out = "0.3.0"; } 14 { cases = [(range "8.10" "8.12") (isLe "1.12.0") ]; out = "0.2.2"; } ··· 22 23 propagatedBuildInputs = [ ssreflect ]; 24 25 + meta = with lib; { 26 description = "Finite data structures with extensional reasoning"; 27 license = licenses.mit; 28 maintainers = [ maintainers.vbgl ]; ··· 30 31 }).overrideAttrs (o: { 32 propagatedBuildInputs = o.propagatedBuildInputs 33 + ++ lib.optional (lib.versionAtLeast o.version "0.3.0") deriving; 34 })
+2 -2
pkgs/development/coq-modules/fiat/HEAD.nix
··· 1 {lib, mkCoqDerivation, coq, python27, version ? null }: 2 3 - with lib; mkCoqDerivation rec { 4 pname = "fiat"; 5 owner = "mit-plv"; 6 repo = "fiat"; ··· 29 meta = { 30 homepage = "http://plv.csail.mit.edu/fiat/"; 31 description = "A library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications"; 32 - maintainers = with maintainers; [ jwiegley ]; 33 }; 34 }
··· 1 {lib, mkCoqDerivation, coq, python27, version ? null }: 2 3 + mkCoqDerivation rec { 4 pname = "fiat"; 5 owner = "mit-plv"; 6 repo = "fiat"; ··· 29 meta = { 30 homepage = "http://plv.csail.mit.edu/fiat/"; 31 description = "A library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications"; 32 + maintainers = with lib.maintainers; [ jwiegley ]; 33 }; 34 }
+3 -3
pkgs/development/coq-modules/flocq/default.nix
··· 1 { lib, bash, autoconf, automake, 2 mkCoqDerivation, coq, version ? null }: 3 4 - with lib; mkCoqDerivation { 5 pname = "flocq"; 6 owner = "flocq"; 7 domain = "gitlab.inria.fr"; 8 inherit version; 9 - defaultVersion = with versions; switch coq.coq-version [ 10 { case = range "8.14" "8.16"; out = "4.1.0"; } 11 { case = range "8.7" "8.15"; out = "3.4.3"; } 12 { case = range "8.5" "8.8"; out = "2.6.1"; } ··· 22 mlPlugin = true; 23 useMelquiondRemake.logpath = "Flocq"; 24 25 - meta = { 26 description = "A floating-point formalization for the Coq system"; 27 license = licenses.lgpl3; 28 maintainers = with maintainers; [ jwiegley ];
··· 1 { lib, bash, autoconf, automake, 2 mkCoqDerivation, coq, version ? null }: 3 4 + mkCoqDerivation { 5 pname = "flocq"; 6 owner = "flocq"; 7 domain = "gitlab.inria.fr"; 8 inherit version; 9 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 10 { case = range "8.14" "8.16"; out = "4.1.0"; } 11 { case = range "8.7" "8.15"; out = "3.4.3"; } 12 { case = range "8.5" "8.8"; out = "2.6.1"; } ··· 22 mlPlugin = true; 23 useMelquiondRemake.logpath = "Flocq"; 24 25 + meta = with lib; { 26 description = "A floating-point formalization for the Coq system"; 27 license = licenses.lgpl3; 28 maintainers = with maintainers; [ jwiegley ];
+3 -4
pkgs/development/coq-modules/fourcolor/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "fourcolor"; ··· 12 release."1.2.5".sha256 = "sha256-3qOPNCRjGK2UdHGMSqElpIXhAPVCklpeQgZwf9AFals="; 13 14 inherit version; 15 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 16 { cases = [ (isGe "8.11") (isGe "1.12") ]; out = "1.2.5"; } 17 { cases = [ (isGe "8.11") (range "1.11" "1.14") ]; out = "1.2.4"; } 18 - { cases = [ (isLe "8.13") (pred.inter (isGe "1.11.0") (isLt "1.13")) ]; out = "1.2.3"; } 19 ] null; 20 21 propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ]; 22 23 - meta = { 24 description = "Formal proof of the Four Color Theorem "; 25 maintainers = with maintainers; [ siraben ]; 26 license = licenses.cecill-b;
··· 1 { lib, mkCoqDerivation, coq, mathcomp, version ? null }: 2 3 mkCoqDerivation { 4 pname = "fourcolor"; ··· 11 release."1.2.5".sha256 = "sha256-3qOPNCRjGK2UdHGMSqElpIXhAPVCklpeQgZwf9AFals="; 12 13 inherit version; 14 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 15 { cases = [ (isGe "8.11") (isGe "1.12") ]; out = "1.2.5"; } 16 { cases = [ (isGe "8.11") (range "1.11" "1.14") ]; out = "1.2.4"; } 17 + { cases = [ (isLe "8.13") (lib.pred.inter (isGe "1.11.0") (isLt "1.13")) ]; out = "1.2.3"; } 18 ] null; 19 20 propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ]; 21 22 + meta = with lib; { 23 description = "Formal proof of the Four Color Theorem "; 24 maintainers = with maintainers; [ siraben ]; 25 license = licenses.cecill-b;
+3 -3
pkgs/development/coq-modules/gaia-hydras/default.nix
··· 1 { lib, mkCoqDerivation, coq, hydra-battles, gaia, 2 mathcomp-zify, mathcomp, version ? null }: 3 4 - with lib; mkCoqDerivation rec { 5 pname = "gaia-hydras"; 6 repo = "hydra-battles"; 7 ··· 10 releaseRev = (v: "v${v}"); 11 12 inherit version; 13 - defaultVersion = with versions; switch [coq.coq-version mathcomp.version] [ 14 { cases = [ (range "8.14" "8.16") (isGe "1.12.0") ]; out = "0.6"; } 15 { cases = [ (range "8.13" "8.14") (isGe "1.12.0") ]; out = "0.5"; } 16 ] null; ··· 23 24 useDune = true; 25 26 - meta = { 27 description = "Comparison between ordinals in Gaia and Hydra battles"; 28 longDescription = '' 29 The Gaia and Hydra battles projects develop different notions of ordinals.
··· 1 { lib, mkCoqDerivation, coq, hydra-battles, gaia, 2 mathcomp-zify, mathcomp, version ? null }: 3 4 + mkCoqDerivation rec { 5 pname = "gaia-hydras"; 6 repo = "hydra-battles"; 7 ··· 10 releaseRev = (v: "v${v}"); 11 12 inherit version; 13 + defaultVersion = with lib.versions; lib.switch [coq.coq-version mathcomp.version] [ 14 { cases = [ (range "8.14" "8.16") (isGe "1.12.0") ]; out = "0.6"; } 15 { cases = [ (range "8.13" "8.14") (isGe "1.12.0") ]; out = "0.5"; } 16 ] null; ··· 23 24 useDune = true; 25 26 + meta = with lib; { 27 description = "Comparison between ordinals in Gaia and Hydra battles"; 28 longDescription = '' 29 The Gaia and Hydra battles projects develop different notions of ordinals.
+3 -3
pkgs/development/coq-modules/gaia/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "gaia"; 5 6 release."1.11".sha256 = "sha256:0gwb0blf37sv9gb0qpn34dab71zdcx7jsnqm3j9p58qw65cgsqn5"; ··· 11 releaseRev = (v: "v${v}"); 12 13 inherit version; 14 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 15 { cases = [ (range "8.10" "8.16") (isGe "1.12.0") ]; out = "1.15"; } 16 { cases = [ (range "8.10" "8.12") "1.11.0" ]; out = "1.11"; } 17 ] null; ··· 19 propagatedBuildInputs = 20 [ mathcomp.ssreflect mathcomp.algebra mathcomp.fingroup ]; 21 22 - meta = { 23 description = "Implementation of books from Bourbaki's Elements of Mathematics in Coq"; 24 maintainers = with maintainers; [ Zimmi48 ]; 25 license = licenses.mit;
··· 1 { lib, mkCoqDerivation, coq, mathcomp, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "gaia"; 5 6 release."1.11".sha256 = "sha256:0gwb0blf37sv9gb0qpn34dab71zdcx7jsnqm3j9p58qw65cgsqn5"; ··· 11 releaseRev = (v: "v${v}"); 12 13 inherit version; 14 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 15 { cases = [ (range "8.10" "8.16") (isGe "1.12.0") ]; out = "1.15"; } 16 { cases = [ (range "8.10" "8.12") "1.11.0" ]; out = "1.11"; } 17 ] null; ··· 19 propagatedBuildInputs = 20 [ mathcomp.ssreflect mathcomp.algebra mathcomp.fingroup ]; 21 22 + meta = with lib; { 23 description = "Implementation of books from Bourbaki's Elements of Mathematics in Coq"; 24 maintainers = with maintainers; [ Zimmi48 ]; 25 license = licenses.mit;
+3 -3
pkgs/development/coq-modules/gappalib/default.nix
··· 1 { which, lib, mkCoqDerivation, autoconf, coq, flocq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "gappalib"; 5 repo = "coq"; 6 owner = "gappa"; 7 domain = "gitlab.inria.fr"; 8 inherit version; 9 - defaultVersion = if versions.range "8.8" "8.16" coq.coq-version then "1.5.2" else null; 10 release."1.5.2".sha256 = "sha256-A021Bhqz5r2CZBayfjIiWrCIfUlejcQAfbTmOaf6QTM="; 11 release."1.5.1".sha256 = "1806bq1z6q5rq2ma7d5kfbqfyfr755hjg0dq7b2llry8fx9cxjsg"; 12 release."1.5.0".sha256 = "1i1c0gakffxqqqqw064cbvc243yl325hxd50jmczr6mk18igk41n"; ··· 19 propagatedBuildInputs = [ flocq ]; 20 useMelquiondRemake.logpath = "Gappa"; 21 22 - meta = { 23 description = "Coq support library for Gappa"; 24 license = licenses.lgpl21; 25 maintainers = [ maintainers.vbgl ];
··· 1 { which, lib, mkCoqDerivation, autoconf, coq, flocq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "gappalib"; 5 repo = "coq"; 6 owner = "gappa"; 7 domain = "gitlab.inria.fr"; 8 inherit version; 9 + defaultVersion = if lib.versions.range "8.8" "8.16" coq.coq-version then "1.5.2" else null; 10 release."1.5.2".sha256 = "sha256-A021Bhqz5r2CZBayfjIiWrCIfUlejcQAfbTmOaf6QTM="; 11 release."1.5.1".sha256 = "1806bq1z6q5rq2ma7d5kfbqfyfr755hjg0dq7b2llry8fx9cxjsg"; 12 release."1.5.0".sha256 = "1i1c0gakffxqqqqw064cbvc243yl325hxd50jmczr6mk18igk41n"; ··· 19 propagatedBuildInputs = [ flocq ]; 20 useMelquiondRemake.logpath = "Gappa"; 21 22 + meta = with lib; { 23 description = "Coq support library for Gappa"; 24 license = licenses.lgpl21; 25 maintainers = [ maintainers.vbgl ];
+2 -3
pkgs/development/coq-modules/goedel/default.nix
··· 1 { lib, mkCoqDerivation, coq, hydra-battles, pocklington, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "goedel"; ··· 11 release."8.13.0".sha256 = "0sqqkmj6wsk4xmhrnqkhcsbsrqjzn2gnk67nqzgrmjpw5danz8y5"; 12 13 inherit version; 14 - defaultVersion = with versions; switch coq.coq-version [ 15 { case = range "8.11" "8.16"; out = "8.13.0"; } 16 ] null; 17 18 propagatedBuildInputs = [ hydra-battles pocklington ]; 19 20 - meta = { 21 description = "The Gödel-Rosser 1st incompleteness theorem in Coq"; 22 maintainers = with maintainers; [ siraben ]; 23 license = licenses.mit;
··· 1 { lib, mkCoqDerivation, coq, hydra-battles, pocklington, version ? null }: 2 3 mkCoqDerivation { 4 pname = "goedel"; ··· 10 release."8.13.0".sha256 = "0sqqkmj6wsk4xmhrnqkhcsbsrqjzn2gnk67nqzgrmjpw5danz8y5"; 11 12 inherit version; 13 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 14 { case = range "8.11" "8.16"; out = "8.13.0"; } 15 ] null; 16 17 propagatedBuildInputs = [ hydra-battles pocklington ]; 18 19 + meta = with lib; { 20 description = "The Gödel-Rosser 1st incompleteness theorem in Coq"; 21 maintainers = with maintainers; [ siraben ]; 22 license = licenses.mit;
+2 -4
pkgs/development/coq-modules/graph-theory/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, mathcomp-finmap, mathcomp-fingroup 2 , hierarchy-builder, version ? null }: 3 4 - with lib; 5 - 6 mkCoqDerivation { 7 pname = "graph-theory"; 8 ··· 11 releaseRev = v: "v${v}"; 12 13 inherit version; 14 - defaultVersion = with versions; switch coq.coq-version [ 15 { case = range "8.13" "8.16"; out = "0.9"; } 16 ] null; 17 18 propagatedBuildInputs = [ mathcomp-algebra mathcomp-finmap mathcomp-fingroup hierarchy-builder ]; 19 20 - meta = { 21 description = "Library of formalized graph theory results in Coq"; 22 longDescription = '' 23 A library of formalized graph theory results, including various
··· 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, mathcomp-finmap, mathcomp-fingroup 2 , hierarchy-builder, version ? null }: 3 4 mkCoqDerivation { 5 pname = "graph-theory"; 6 ··· 9 releaseRev = v: "v${v}"; 10 11 inherit version; 12 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 13 { case = range "8.13" "8.16"; out = "0.9"; } 14 ] null; 15 16 propagatedBuildInputs = [ mathcomp-algebra mathcomp-finmap mathcomp-fingroup hierarchy-builder ]; 17 18 + meta = with lib; { 19 description = "Library of formalized graph theory results in Coq"; 20 longDescription = '' 21 A library of formalized graph theory results, including various
+3 -3
pkgs/development/coq-modules/heq/default.nix
··· 5 url = "https://${domain}/${owner}/${repo}/download/${repo}-${rev}.zip"; 6 inherit sha256; 7 }; in 8 - with lib; mkCoqDerivation { 9 pname = "heq"; 10 repo = "Heq"; 11 owner = "gil.hur"; 12 domain = "sf.snu.ac.kr"; 13 inherit version fetcher; 14 - defaultVersion = if versions.isLt "8.8" coq.coq-version then "0.92" else null; 15 release."0.92".sha256 = "0cf8y6728n81wwlbpq3vi7l2dbzi7759klypld4gpsjjp1y1fj74"; 16 17 mlPlugin = true; ··· 22 meta = { 23 homepage = "https://ropas.snu.ac.kr/~gil.hur/Heq/"; 24 description = "Heq : a Coq library for Heterogeneous Equality"; 25 - maintainers = with maintainers; [ jwiegley ]; 26 }; 27 }
··· 5 url = "https://${domain}/${owner}/${repo}/download/${repo}-${rev}.zip"; 6 inherit sha256; 7 }; in 8 + mkCoqDerivation { 9 pname = "heq"; 10 repo = "Heq"; 11 owner = "gil.hur"; 12 domain = "sf.snu.ac.kr"; 13 inherit version fetcher; 14 + defaultVersion = if lib.versions.isLt "8.8" coq.coq-version then "0.92" else null; 15 release."0.92".sha256 = "0cf8y6728n81wwlbpq3vi7l2dbzi7759klypld4gpsjjp1y1fj74"; 16 17 mlPlugin = true; ··· 22 meta = { 23 homepage = "https://ropas.snu.ac.kr/~gil.hur/Heq/"; 24 description = "Heq : a Coq library for Heterogeneous Equality"; 25 + maintainers = with lib.maintainers; [ jwiegley ]; 26 }; 27 }
+5 -5
pkgs/development/coq-modules/hierarchy-builder/default.nix
··· 1 { lib, mkCoqDerivation, coq, coq-elpi, version ? null }: 2 3 - with lib; let hb = mkCoqDerivation { 4 pname = "hierarchy-builder"; 5 owner = "math-comp"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.15" "8.16"; out = "1.4.0"; } 9 { case = range "8.13" "8.14"; out = "1.2.0"; } 10 { case = range "8.12" "8.13"; out = "1.1.0"; } ··· 25 26 extraInstallFlags = [ "VFILES=structures.v" ]; 27 28 - meta = { 29 description = "High level commands to declare a hierarchy based on packed classes"; 30 maintainers = with maintainers; [ cohencyril siraben ]; 31 license = licenses.mit; 32 }; 33 }; in 34 hb.overrideAttrs (o: 35 - optionalAttrs (versions.isGe "1.2.0" o.version || o.version == "dev") 36 { buildPhase = "make build"; } 37 // 38 - optionalAttrs (versions.isGe "1.1.0" o.version || o.version == "dev") 39 { installFlags = [ "DESTDIR=$(out)" ] ++ o.installFlags; } 40 )
··· 1 { lib, mkCoqDerivation, coq, coq-elpi, version ? null }: 2 3 + let hb = mkCoqDerivation { 4 pname = "hierarchy-builder"; 5 owner = "math-comp"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.15" "8.16"; out = "1.4.0"; } 9 { case = range "8.13" "8.14"; out = "1.2.0"; } 10 { case = range "8.12" "8.13"; out = "1.1.0"; } ··· 25 26 extraInstallFlags = [ "VFILES=structures.v" ]; 27 28 + meta = with lib; { 29 description = "High level commands to declare a hierarchy based on packed classes"; 30 maintainers = with maintainers; [ cohencyril siraben ]; 31 license = licenses.mit; 32 }; 33 }; in 34 hb.overrideAttrs (o: 35 + lib.optionalAttrs (lib.versions.isGe "1.2.0" o.version || o.version == "dev") 36 { buildPhase = "make build"; } 37 // 38 + lib.optionalAttrs (lib.versions.isGe "1.1.0" o.version || o.version == "dev") 39 { installFlags = [ "DESTDIR=$(out)" ] ++ o.installFlags; } 40 )
+3 -4
pkgs/development/coq-modules/hydra-battles/default.nix
··· 1 { lib, mkCoqDerivation, coq, equations, LibHyps, version ? null }: 2 - with lib; 3 4 (mkCoqDerivation { 5 pname = "hydra-battles"; ··· 11 releaseRev = (v: "v${v}"); 12 13 inherit version; 14 - defaultVersion = with versions; switch coq.coq-version [ 15 { case = range "8.13" "8.16"; out = "0.6"; } 16 { case = range "8.11" "8.12"; out = "0.4"; } 17 ] null; 18 19 useDune = true; 20 21 - meta = { 22 description = "Exploration of some properties of Kirby and Paris' hydra battles, with the help of Coq"; 23 longDescription = '' 24 An exploration of some properties of Kirby and Paris' hydra ··· 33 }; 34 }).overrideAttrs(o: 35 let inherit (o) version; in { 36 - propagatedBuildInputs = [ equations ] ++ optional (versions.isGe "0.6" version || version == "dev") LibHyps; 37 })
··· 1 { lib, mkCoqDerivation, coq, equations, LibHyps, version ? null }: 2 3 (mkCoqDerivation { 4 pname = "hydra-battles"; ··· 10 releaseRev = (v: "v${v}"); 11 12 inherit version; 13 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 14 { case = range "8.13" "8.16"; out = "0.6"; } 15 { case = range "8.11" "8.12"; out = "0.4"; } 16 ] null; 17 18 useDune = true; 19 20 + meta = with lib; { 21 description = "Exploration of some properties of Kirby and Paris' hydra battles, with the help of Coq"; 22 longDescription = '' 23 An exploration of some properties of Kirby and Paris' hydra ··· 32 }; 33 }).overrideAttrs(o: 34 let inherit (o) version; in { 35 + propagatedBuildInputs = [ equations ] ++ lib.optional (lib.versions.isGe "0.6" version || version == "dev") LibHyps; 36 })
+3 -3
pkgs/development/coq-modules/iris/default.nix
··· 1 { lib, mkCoqDerivation, coq, stdpp, version ? null }: 2 3 - with lib; mkCoqDerivation rec { 4 pname = "iris"; 5 domain = "gitlab.mpi-sws.org"; 6 owner = "iris"; 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = range "8.13" "8.16"; out = "4.0.0"; } 10 { case = range "8.12" "8.14"; out = "3.5.0"; } 11 { case = range "8.11" "8.13"; out = "3.4.0"; } ··· 26 fi 27 ''; 28 29 - meta = { 30 description = "The Coq development of the Iris Project"; 31 license = licenses.bsd3; 32 maintainers = [ maintainers.vbgl ];
··· 1 { lib, mkCoqDerivation, coq, stdpp, version ? null }: 2 3 + mkCoqDerivation rec { 4 pname = "iris"; 5 domain = "gitlab.mpi-sws.org"; 6 owner = "iris"; 7 inherit version; 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 { case = range "8.13" "8.16"; out = "4.0.0"; } 10 { case = range "8.12" "8.14"; out = "3.5.0"; } 11 { case = range "8.11" "8.13"; out = "3.4.0"; } ··· 26 fi 27 ''; 28 29 + meta = with lib; { 30 description = "The Coq development of the Iris Project"; 31 license = licenses.bsd3; 32 maintainers = [ maintainers.vbgl ];
+2 -3
pkgs/development/coq-modules/itauto/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 4 mkCoqDerivation rec { 5 pname = "itauto"; ··· 11 release."8.14.0".sha256 = "sha256:1k6pqhv4dwpkwg81f2rlfg40wh070ks1gy9r0ravm2zhsbxqcfc9"; 12 release."8.13+no".sha256 = "sha256-gXoxtLcHPoyjJkt7WqvzfCMCQlh6kL2KtCGe3N6RC/A="; 13 inherit version; 14 - defaultVersion = with versions; switch coq.coq-version [ 15 { case = isEq "8.16"; out = "8.16.0"; } 16 { case = isEq "8.15"; out = "8.15.0"; } 17 { case = isEq "8.14"; out = "8.14.0"; } ··· 22 nativeBuildInputs = (with coq.ocamlPackages; [ ocamlbuild ]); 23 enableParallelBuilding = false; 24 25 - meta = { 26 description = "A reflexive SAT solver parameterised by a leaf tactic and Nelson-Oppen support"; 27 maintainers = with maintainers; [ siraben ]; 28 license = licenses.gpl3Plus;
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 mkCoqDerivation rec { 4 pname = "itauto"; ··· 10 release."8.14.0".sha256 = "sha256:1k6pqhv4dwpkwg81f2rlfg40wh070ks1gy9r0ravm2zhsbxqcfc9"; 11 release."8.13+no".sha256 = "sha256-gXoxtLcHPoyjJkt7WqvzfCMCQlh6kL2KtCGe3N6RC/A="; 12 inherit version; 13 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 14 { case = isEq "8.16"; out = "8.16.0"; } 15 { case = isEq "8.15"; out = "8.15.0"; } 16 { case = isEq "8.14"; out = "8.14.0"; } ··· 21 nativeBuildInputs = (with coq.ocamlPackages; [ ocamlbuild ]); 22 enableParallelBuilding = false; 23 24 + meta = with lib; { 25 description = "A reflexive SAT solver parameterised by a leaf tactic and Nelson-Oppen support"; 26 maintainers = with maintainers; [ siraben ]; 27 license = licenses.gpl3Plus;
+3 -3
pkgs/development/coq-modules/ltac2/default.nix
··· 1 { lib, mkCoqDerivation, which, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "ltac2"; 5 owner = "coq"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = "8.10"; out = "0.3"; } 9 { case = "8.9"; out = "0.2"; } 10 { case = "8.8"; out = "0.1"; } ··· 19 20 mlPlugin = true; 21 22 - meta = { 23 description = "A robust and expressive tactic language for Coq"; 24 maintainers = [ maintainers.vbgl ]; 25 license = licenses.lgpl21;
··· 1 { lib, mkCoqDerivation, which, coq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "ltac2"; 5 owner = "coq"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = "8.10"; out = "0.3"; } 9 { case = "8.9"; out = "0.2"; } 10 { case = "8.8"; out = "0.1"; } ··· 19 20 mlPlugin = true; 21 22 + meta = with lib; { 23 description = "A robust and expressive tactic language for Coq"; 24 maintainers = [ maintainers.vbgl ]; 25 license = licenses.lgpl21;
+3 -3
pkgs/development/coq-modules/math-classes/default.nix
··· 1 { lib, mkCoqDerivation, coq, bignums, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 5 pname = "math-classes"; 6 inherit version; 7 - defaultVersion = if versions.range "8.6" "8.16" coq.coq-version then "8.15.0" else null; 8 release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425"; 9 release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby"; 10 release."8.15.0".sha256 = "10w1hm537k6jx8a8vghq1yx12rsa0sjk2ipv3scgir71ln30hllw"; ··· 14 meta = { 15 homepage = "https://math-classes.github.io"; 16 description = "A library of abstract interfaces for mathematical structures in Coq."; 17 - maintainers = with maintainers; [ siddharthist jwiegley ]; 18 }; 19 }
··· 1 { lib, mkCoqDerivation, coq, bignums, version ? null }: 2 3 + mkCoqDerivation { 4 5 pname = "math-classes"; 6 inherit version; 7 + defaultVersion = if lib.versions.range "8.6" "8.16" coq.coq-version then "8.15.0" else null; 8 release."8.12.0".sha256 = "14nd6a08zncrl5yg2gzk0xf4iinwq4hxnsgm4fyv07ydbkxfb425"; 9 release."8.13.0".sha256 = "1ln7ziivfbxzbdvlhbvyg3v30jgblncmwcsam6gg3d1zz6r7cbby"; 10 release."8.15.0".sha256 = "10w1hm537k6jx8a8vghq1yx12rsa0sjk2ipv3scgir71ln30hllw"; ··· 14 meta = { 15 homepage = "https://math-classes.github.io"; 16 description = "A library of abstract interfaces for mathematical structures in Coq."; 17 + maintainers = with lib.maintainers; [ siddharthist jwiegley ]; 18 }; 19 }
+1 -1
pkgs/development/coq-modules/mathcomp-abel/default.nix
··· 7 owner = "math-comp"; 8 9 inherit version; 10 - defaultVersion = with lib; with versions; switch [ coq.version mathcomp.version ] [ 11 { cases = [ (range "8.10" "8.16") (range "1.12.0" "1.15.0") ]; out = "1.2.1"; } 12 { cases = [ (range "8.10" "8.15") (range "1.12.0" "1.14.0") ]; out = "1.2.0"; } 13 { cases = [ (range "8.10" "8.14") (range "1.11.0" "1.12.0") ]; out = "1.1.2"; }
··· 7 owner = "math-comp"; 8 9 inherit version; 10 + defaultVersion = with lib; with versions; lib.switch [ coq.version mathcomp.version ] [ 11 { cases = [ (range "8.10" "8.16") (range "1.12.0" "1.15.0") ]; out = "1.2.1"; } 12 { cases = [ (range "8.10" "8.15") (range "1.12.0" "1.14.0") ]; out = "1.2.0"; } 13 { cases = [ (range "8.10" "8.14") (range "1.11.0" "1.12.0") ]; out = "1.1.2"; }
+4 -4
pkgs/development/coq-modules/mathcomp-algebra-tactics/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, 2 coq-elpi, mathcomp-zify, version ? null }: 3 4 - with lib; mkCoqDerivation { 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "algebra-tactics"; 7 owner = "math-comp"; 8 inherit version; 9 10 - defaultVersion = with versions; 11 - switch [ coq.coq-version mathcomp-algebra.version ] [ 12 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.0.0"; } 13 ] null; 14 ··· 18 19 meta = { 20 description = "Ring and field tactics for Mathematical Components"; 21 - maintainers = with maintainers; [ cohencyril ]; 22 }; 23 }
··· 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, 2 coq-elpi, mathcomp-zify, version ? null }: 3 4 + mkCoqDerivation { 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "algebra-tactics"; 7 owner = "math-comp"; 8 inherit version; 9 10 + defaultVersion = with lib.versions; 11 + lib.switch [ coq.coq-version mathcomp-algebra.version ] [ 12 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.0.0"; } 13 ] null; 14 ··· 18 19 meta = { 20 description = "Ring and field tactics for Mathematical Components"; 21 + maintainers = with lib.maintainers; [ cohencyril ]; 22 }; 23 }
+2 -2
pkgs/development/coq-modules/mathcomp-analysis/default.nix
··· 21 release."0.3.1".sha256 = "1iad288yvrjv8ahl9v18vfblgqb1l5z6ax644w49w9hwxs93f2k8"; 22 release."0.2.3".sha256 = "0p9mr8g1qma6h10qf7014dv98ln90dfkwn76ynagpww7qap8s966"; 23 24 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 25 { cases = [ (isGe "8.14") (isGe "1.13.0") ]; out = "0.5.3"; } 26 { cases = [ (isGe "8.14") (range "1.13" "1.15") ]; out = "0.5.2"; } 27 { cases = [ (isGe "8.13") (range "1.13" "1.14") ]; out = "0.5.1"; } ··· 40 classical-deps = [ mathcomp.algebra mathcomp-finmap hierarchy-builder ]; 41 analysis-deps = [ mathcomp.field mathcomp-bigenough ]; 42 intra-deps = if package == "single" then [] 43 - else map mathcomp_ (head (splitList (pred.equal package) packages)); 44 pkgpath = if package == "single" then "." 45 else if package == "analysis" then "theories" else "${package}"; 46 pname = if package == "single" then "mathcomp-analysis-single"
··· 21 release."0.3.1".sha256 = "1iad288yvrjv8ahl9v18vfblgqb1l5z6ax644w49w9hwxs93f2k8"; 22 release."0.2.3".sha256 = "0p9mr8g1qma6h10qf7014dv98ln90dfkwn76ynagpww7qap8s966"; 23 24 + defaultVersion = with versions; lib.switch [ coq.version mathcomp.version ] [ 25 { cases = [ (isGe "8.14") (isGe "1.13.0") ]; out = "0.5.3"; } 26 { cases = [ (isGe "8.14") (range "1.13" "1.15") ]; out = "0.5.2"; } 27 { cases = [ (isGe "8.13") (range "1.13" "1.14") ]; out = "0.5.1"; } ··· 40 classical-deps = [ mathcomp.algebra mathcomp-finmap hierarchy-builder ]; 41 analysis-deps = [ mathcomp.field mathcomp-bigenough ]; 42 intra-deps = if package == "single" then [] 43 + else map mathcomp_ (head (splitList (lib.pred.equal package) packages)); 44 pkgpath = if package == "single" then "." 45 else if package == "analysis" then "theories" else "${package}"; 46 pname = if package == "single" then "mathcomp-analysis-single"
+3 -3
pkgs/development/coq-modules/mathcomp-bigenough/default.nix
··· 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "bigenough"; ··· 11 "1.0.1".sha256 = "sha256:02f4dv4rz72liciwxb2k7acwx6lgqz4381mqyq5854p3nbyn06aw"; 12 }; 13 inherit version; 14 - defaultVersion = with versions; switch coq.version [ 15 { case = range "8.10" "8.16"; out = "1.0.1"; } 16 { case = range "8.5" "8.14"; out = "1.0.0"; } 17 ] null; ··· 20 21 meta = { 22 description = "A small library to do epsilon - N reasonning"; 23 - license = licenses.cecill-b; 24 }; 25 }
··· 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 3 + mkCoqDerivation { 4 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "bigenough"; ··· 11 "1.0.1".sha256 = "sha256:02f4dv4rz72liciwxb2k7acwx6lgqz4381mqyq5854p3nbyn06aw"; 12 }; 13 inherit version; 14 + defaultVersion = with lib.versions; lib.switch coq.version [ 15 { case = range "8.10" "8.16"; out = "1.0.1"; } 16 { case = range "8.5" "8.14"; out = "1.0.0"; } 17 ] null; ··· 20 21 meta = { 22 description = "A small library to do epsilon - N reasonning"; 23 + license = lib.licenses.cecill-b; 24 }; 25 }
+3 -3
pkgs/development/coq-modules/mathcomp-finmap/default.nix
··· 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "finmap"; 7 owner = "math-comp"; 8 inherit version; 9 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 10 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.5.2"; } 11 { cases = [ (isGe "8.10") (isGe "1.11") ]; out = "1.5.1"; } 12 { cases = [ (range "8.7" "8.11") "1.11.0" ]; out = "1.5.0"; } ··· 33 34 meta = { 35 description = "A finset and finmap library"; 36 - license = licenses.cecill-b; 37 }; 38 }
··· 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 3 + mkCoqDerivation { 4 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "finmap"; 7 owner = "math-comp"; 8 inherit version; 9 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 10 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.5.2"; } 11 { cases = [ (isGe "8.10") (isGe "1.11") ]; out = "1.5.1"; } 12 { cases = [ (range "8.7" "8.11") "1.11.0" ]; out = "1.5.0"; } ··· 33 34 meta = { 35 description = "A finset and finmap library"; 36 + license = lib.licenses.cecill-b; 37 }; 38 }
+3 -3
pkgs/development/coq-modules/mathcomp-real-closed/default.nix
··· 1 { coq, mkCoqDerivation, mathcomp, mathcomp-bigenough, 2 lib, version ? null }: 3 4 - with lib; mkCoqDerivation { 5 6 namePrefix = [ "coq" "mathcomp" ]; 7 pname = "real-closed"; ··· 17 "1.0.1".sha256 = "0j81gkjbza5vg89v4n9z598mfdbql416963rj4b8fzm7dp2r4rxg"; 18 }; 19 20 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 21 { cases = [ (isGe "8.13") (isGe "1.12.0") ]; out = "1.1.3"; } 22 { cases = [ (isGe "8.10") (isGe "1.12.0") ]; out = "1.1.2"; } 23 { cases = [ (isGe "8.7") "1.11.0" ]; out = "1.1.1"; } ··· 37 38 meta = { 39 description = "Mathematical Components Library on real closed fields"; 40 - license = licenses.cecill-c; 41 }; 42 }
··· 1 { coq, mkCoqDerivation, mathcomp, mathcomp-bigenough, 2 lib, version ? null }: 3 4 + mkCoqDerivation { 5 6 namePrefix = [ "coq" "mathcomp" ]; 7 pname = "real-closed"; ··· 17 "1.0.1".sha256 = "0j81gkjbza5vg89v4n9z598mfdbql416963rj4b8fzm7dp2r4rxg"; 18 }; 19 20 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 21 { cases = [ (isGe "8.13") (isGe "1.12.0") ]; out = "1.1.3"; } 22 { cases = [ (isGe "8.10") (isGe "1.12.0") ]; out = "1.1.2"; } 23 { cases = [ (isGe "8.7") "1.11.0" ]; out = "1.1.1"; } ··· 37 38 meta = { 39 description = "Mathematical Components Library on real closed fields"; 40 + license = lib.licenses.cecill-c; 41 }; 42 }
+5 -4
pkgs/development/coq-modules/mathcomp-tarjan/default.nix
··· 1 { coq, mkCoqDerivation, mathcomp-ssreflect, mathcomp-fingroup, 2 lib, version ? null }@args: 3 - with lib; mkCoqDerivation { 4 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "tarjan"; 7 owner = "math-comp"; 8 9 inherit version; 10 - defaultVersion = with versions; 11 - switch [ coq.version mathcomp-ssreflect.version ] [{ 12 cases = [ (range "8.10" "8.16") (isGe "1.12.0") ]; out = "1.0.0"; 13 }] null; 14 release."1.0.0".sha256 = "sha256:0r459r0makshzwlygw6kd4lpvdjc43b3x5y9aa8x77f2z5gymjq1"; ··· 17 18 meta = { 19 description = "Proofs of Tarjan and Kosaraju connected components algorithms"; 20 - license = licenses.cecill-b; 21 }; 22 }
··· 1 { coq, mkCoqDerivation, mathcomp-ssreflect, mathcomp-fingroup, 2 lib, version ? null }@args: 3 + 4 + mkCoqDerivation { 5 6 namePrefix = [ "coq" "mathcomp" ]; 7 pname = "tarjan"; 8 owner = "math-comp"; 9 10 inherit version; 11 + defaultVersion = with lib.versions; 12 + lib.switch [ coq.version mathcomp-ssreflect.version ] [{ 13 cases = [ (range "8.10" "8.16") (isGe "1.12.0") ]; out = "1.0.0"; 14 }] null; 15 release."1.0.0".sha256 = "sha256:0r459r0makshzwlygw6kd4lpvdjc43b3x5y9aa8x77f2z5gymjq1"; ··· 18 19 meta = { 20 description = "Proofs of Tarjan and Kosaraju connected components algorithms"; 21 + license = lib.licenses.cecill-b; 22 }; 23 }
+2 -3
pkgs/development/coq-modules/mathcomp-word/default.nix
··· 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 3 - with lib; 4 mkCoqDerivation { 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "word"; ··· 15 release."1.0".sha256 = "sha256:0703m97rnivcbc7vvbd9rl2dxs6l8n52cbykynw61c6w9rhxspcg"; 16 17 inherit version; 18 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 19 { cases = [ (range "8.12" "8.16") (isGe "1.12") ]; out = "2.0"; } 20 ] null; 21 22 propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ]; 23 24 - meta = { 25 description = "Yet Another Coq Library on Machine Words"; 26 maintainers = [ maintainers.vbgl ]; 27 license = licenses.mit;
··· 1 { coq, mkCoqDerivation, mathcomp, lib, version ? null }: 2 3 mkCoqDerivation { 4 namePrefix = [ "coq" "mathcomp" ]; 5 pname = "word"; ··· 14 release."1.0".sha256 = "sha256:0703m97rnivcbc7vvbd9rl2dxs6l8n52cbykynw61c6w9rhxspcg"; 15 16 inherit version; 17 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 18 { cases = [ (range "8.12" "8.16") (isGe "1.12") ]; out = "2.0"; } 19 ] null; 20 21 propagatedBuildInputs = [ mathcomp.algebra mathcomp.ssreflect mathcomp.fingroup ]; 22 23 + meta = with lib; { 24 description = "Yet Another Coq Library on Machine Words"; 25 maintainers = [ maintainers.vbgl ]; 26 license = licenses.mit;
+4 -4
pkgs/development/coq-modules/mathcomp-zify/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, mathcomp-ssreflect, mathcomp-fingroup, version ? null }: 2 3 - with lib; mkCoqDerivation rec { 4 namePrefix = [ "coq" "mathcomp" ]; 5 pname = "zify"; 6 repo = "mczify"; 7 owner = "math-comp"; 8 inherit version; 9 10 - defaultVersion = with versions; 11 - switch [ coq.coq-version mathcomp-algebra.version ] [ 12 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.1.0+1.12+8.13"; } 13 ] null; 14 ··· 19 20 meta = { 21 description = "Micromega tactics for Mathematical Components"; 22 - maintainers = with maintainers; [ cohencyril ]; 23 }; 24 }
··· 1 { lib, mkCoqDerivation, coq, mathcomp-algebra, mathcomp-ssreflect, mathcomp-fingroup, version ? null }: 2 3 + mkCoqDerivation rec { 4 namePrefix = [ "coq" "mathcomp" ]; 5 pname = "zify"; 6 repo = "mczify"; 7 owner = "math-comp"; 8 inherit version; 9 10 + defaultVersion = with lib.versions; 11 + lib.switch [ coq.coq-version mathcomp-algebra.version ] [ 12 { cases = [ (range "8.13" "8.16") (isGe "1.12") ]; out = "1.1.0+1.12+8.13"; } 13 ] null; 14 ··· 19 20 meta = { 21 description = "Micromega tactics for Mathematical Components"; 22 + maintainers = with lib.maintainers; [ cohencyril ]; 23 }; 24 }
+2 -2
pkgs/development/coq-modules/mathcomp/default.nix
··· 18 repo = "math-comp"; 19 owner = "math-comp"; 20 withDoc = single && (args.withDoc or false); 21 - defaultVersion = with versions; switch coq.coq-version [ 22 { case = range "8.14" "8.16"; out = "1.15.0"; } 23 { case = range "8.11" "8.15"; out = "1.14.0"; } 24 { case = range "8.11" "8.15"; out = "1.13.0"; } ··· 50 51 mathcomp_ = package: let 52 mathcomp-deps = if package == "single" then [] 53 - else map mathcomp_ (head (splitList (pred.equal package) packages)); 54 pkgpath = if package == "single" then "mathcomp" else "mathcomp/${package}"; 55 pname = if package == "single" then "mathcomp" else "mathcomp-${package}"; 56 pkgallMake = ''
··· 18 repo = "math-comp"; 19 owner = "math-comp"; 20 withDoc = single && (args.withDoc or false); 21 + defaultVersion = with versions; lib.switch coq.coq-version [ 22 { case = range "8.14" "8.16"; out = "1.15.0"; } 23 { case = range "8.11" "8.15"; out = "1.14.0"; } 24 { case = range "8.11" "8.15"; out = "1.13.0"; } ··· 50 51 mathcomp_ = package: let 52 mathcomp-deps = if package == "single" then [] 53 + else map mathcomp_ (head (splitList (lib.pred.equal package) packages)); 54 pkgpath = if package == "single" then "mathcomp" else "mathcomp/${package}"; 55 pname = if package == "single" then "mathcomp" else "mathcomp-${package}"; 56 pkgallMake = ''
+2 -2
pkgs/development/coq-modules/metacoq/default.nix
··· 5 let 6 repo = "metacoq"; 7 owner = "MetaCoq"; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = "8.11"; out = "1.0-beta2-8.11"; } 10 { case = "8.12"; out = "1.0-beta2-8.12"; } 11 # Do not provide 8.13 because it does not compile with equations 1.3 provided by default (only 1.2.3) ··· 34 35 metacoq_ = package: let 36 metacoq-deps = if package == "single" then [] 37 - else map metacoq_ (head (splitList (pred.equal package) packages)); 38 pkgpath = if package == "single" then "./" else "./${package}"; 39 pname = if package == "all" then "metacoq" else "metacoq-${package}"; 40 pkgallMake = ''
··· 5 let 6 repo = "metacoq"; 7 owner = "MetaCoq"; 8 + defaultVersion = with versions; lib.switch coq.coq-version [ 9 { case = "8.11"; out = "1.0-beta2-8.11"; } 10 { case = "8.12"; out = "1.0-beta2-8.12"; } 11 # Do not provide 8.13 because it does not compile with equations 1.3 provided by default (only 1.2.3) ··· 34 35 metacoq_ = package: let 36 metacoq-deps = if package == "single" then [] 37 + else map metacoq_ (head (splitList (lib.pred.equal package) packages)); 38 pkgpath = if package == "single" then "./" else "./${package}"; 39 pname = if package == "all" then "metacoq" else "metacoq-${package}"; 40 pkgallMake = ''
+3 -3
pkgs/development/coq-modules/metalib/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "metalib"; 5 owner = "plclub"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.14" "8.16"; out = "8.15"; } 9 { case = range "8.10" "8.13"; out = "8.10"; } 10 ] null; ··· 14 15 sourceRoot = "source/Metalib"; 16 17 - meta = { 18 license = licenses.mit; 19 maintainers = [ maintainers.jwiegley ]; 20 };
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "metalib"; 5 owner = "plclub"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.14" "8.16"; out = "8.15"; } 9 { case = range "8.10" "8.13"; out = "8.10"; } 10 ] null; ··· 14 15 sourceRoot = "source/Metalib"; 16 17 + meta = with lib; { 18 license = licenses.mit; 19 maintainers = [ maintainers.jwiegley ]; 20 };
+5 -5
pkgs/development/coq-modules/multinomials/default.nix
··· 1 { coq, mkCoqDerivation, mathcomp, mathcomp-finmap, mathcomp-bigenough, 2 lib, version ? null, useDune ? false }@args: 3 - with lib; mkCoqDerivation { 4 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "multinomials"; ··· 8 owner = "math-comp"; 9 10 inherit version; 11 - defaultVersion = with versions; switch [ coq.version mathcomp.version ] [ 12 { cases = [ (isGe "8.10") (isGe "1.12.0") ]; out = "1.5.5"; } 13 { cases = [ (range "8.10" "8.12") "1.12.0" ]; out = "1.5.3"; } 14 { cases = [ (range "8.7" "8.12") "1.11.0" ]; out = "1.5.2"; } ··· 31 "1.0".sha256 = "1qmbxp1h81cy3imh627pznmng0kvv37k4hrwi2faa101s6bcx55m"; 32 }; 33 34 - useDuneifVersion = v: versions.isGe "1.5.3" v || v == "dev"; 35 36 preConfigure = '' 37 patchShebangs configure || true ··· 42 43 meta = { 44 description = "A Coq/SSReflect Library for Monoidal Rings and Multinomials"; 45 - license = licenses.cecill-c; 46 }; 47 } 48 - // optionalAttrs (args?useDune) { inherit useDune; }
··· 1 { coq, mkCoqDerivation, mathcomp, mathcomp-finmap, mathcomp-bigenough, 2 lib, version ? null, useDune ? false }@args: 3 + mkCoqDerivation { 4 5 namePrefix = [ "coq" "mathcomp" ]; 6 pname = "multinomials"; ··· 8 owner = "math-comp"; 9 10 inherit version; 11 + defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [ 12 { cases = [ (isGe "8.10") (isGe "1.12.0") ]; out = "1.5.5"; } 13 { cases = [ (range "8.10" "8.12") "1.12.0" ]; out = "1.5.3"; } 14 { cases = [ (range "8.7" "8.12") "1.11.0" ]; out = "1.5.2"; } ··· 31 "1.0".sha256 = "1qmbxp1h81cy3imh627pznmng0kvv37k4hrwi2faa101s6bcx55m"; 32 }; 33 34 + useDuneifVersion = v: lib.versions.isGe "1.5.3" v || v == "dev"; 35 36 preConfigure = '' 37 patchShebangs configure || true ··· 42 43 meta = { 44 description = "A Coq/SSReflect Library for Monoidal Rings and Multinomials"; 45 + license = lib.licenses.cecill-c; 46 }; 47 } 48 + // lib.optionalAttrs (args?useDune) { inherit useDune; }
+2 -3
pkgs/development/coq-modules/odd-order/default.nix
··· 1 { lib, mkCoqDerivation, mathcomp, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "odd-order"; ··· 11 releaseRev = v: "mathcomp-odd-order.${v}"; 12 13 inherit version; 14 - defaultVersion = with versions; switch mathcomp.character.version [ 15 { case = (range "1.13.0" "1.15.0"); out = "1.14.0"; } 16 { case = (range "1.12.0" "1.14.0"); out = "1.13.0"; } 17 { case = (range "1.10.0" "1.12.0"); out = "1.12.0"; } ··· 27 mathcomp.all 28 ]; 29 30 - meta = { 31 description = "Formal proof of the Odd Order Theorem"; 32 maintainers = with maintainers; [ siraben ]; 33 license = licenses.cecill-b;
··· 1 { lib, mkCoqDerivation, mathcomp, version ? null }: 2 3 mkCoqDerivation { 4 pname = "odd-order"; ··· 10 releaseRev = v: "mathcomp-odd-order.${v}"; 11 12 inherit version; 13 + defaultVersion = with lib.versions; lib.switch mathcomp.character.version [ 14 { case = (range "1.13.0" "1.15.0"); out = "1.14.0"; } 15 { case = (range "1.12.0" "1.14.0"); out = "1.13.0"; } 16 { case = (range "1.10.0" "1.12.0"); out = "1.12.0"; } ··· 26 mathcomp.all 27 ]; 28 29 + meta = with lib; { 30 description = "Formal proof of the Odd Order Theorem"; 31 maintainers = with maintainers; [ siraben ]; 32 license = licenses.cecill-b;
+3 -3
pkgs/development/coq-modules/paco/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "paco"; 5 owner = "snu-sf"; 6 inherit version; 7 - defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.12" "8.16"; out = "4.1.2"; } 9 { case = range "8.9" "8.13"; out = "4.1.1"; } 10 { case = range "8.6" "8.13"; out = "4.0.2"; } ··· 27 meta = { 28 homepage = "http://plv.mpi-sws.org/paco/"; 29 description = "A Coq library implementing parameterized coinduction"; 30 - maintainers = with maintainers; [ jwiegley ptival ]; 31 }; 32 }
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "paco"; 5 owner = "snu-sf"; 6 inherit version; 7 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 8 { case = range "8.12" "8.16"; out = "4.1.2"; } 9 { case = range "8.9" "8.13"; out = "4.1.1"; } 10 { case = range "8.6" "8.13"; out = "4.0.2"; } ··· 27 meta = { 28 homepage = "http://plv.mpi-sws.org/paco/"; 29 description = "A Coq library implementing parameterized coinduction"; 30 + maintainers = with lib.maintainers; [ jwiegley ptival ]; 31 }; 32 }
+3 -3
pkgs/development/coq-modules/paramcoq/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "paramcoq"; 5 inherit version; 6 - defaultVersion = with versions; switch coq.version [ 7 { case = range "8.10" "8.16"; out = "1.1.3+coq${coq.coq-version}"; } 8 { case = range "8.7" "8.13"; out = "1.1.2+coq${coq.coq-version}"; } 9 ] null; ··· 24 release."1.1.2+coq8.7".sha256 = "09n0ky7ldb24by7yf5j3hv410h85x50ksilf7qacl7xglj4gy5hj"; 25 releaseRev = v: "v${v}"; 26 mlPlugin = true; 27 - meta = { 28 description = "Coq plugin for parametricity"; 29 license = licenses.mit; 30 maintainers = [ maintainers.vbgl ];
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "paramcoq"; 5 inherit version; 6 + defaultVersion = with lib.versions; lib.switch coq.version [ 7 { case = range "8.10" "8.16"; out = "1.1.3+coq${coq.coq-version}"; } 8 { case = range "8.7" "8.13"; out = "1.1.2+coq${coq.coq-version}"; } 9 ] null; ··· 24 release."1.1.2+coq8.7".sha256 = "09n0ky7ldb24by7yf5j3hv410h85x50ksilf7qacl7xglj4gy5hj"; 25 releaseRev = v: "v${v}"; 26 mlPlugin = true; 27 + meta = with lib; { 28 description = "Coq plugin for parametricity"; 29 license = licenses.mit; 30 maintainers = [ maintainers.vbgl ];
+2 -3
pkgs/development/coq-modules/parsec/default.nix
··· 1 { lib, mkCoqDerivation, coq, ceres, coq-ext-lib, version ? null }: 2 3 - with lib; 4 mkCoqDerivation { 5 6 pname = "parsec"; ··· 11 releaseRev = (v: "v${v}"); 12 13 inherit version; 14 - defaultVersion = with versions; switch coq.version [ 15 { case = range "8.12" "8.16"; out = "0.1.1"; } 16 { case = range "8.12" "8.13"; out = "0.1.0"; } 17 ] null; 18 release."0.1.1".sha256 = "sha256:1c0l18s68pzd4c8i3jimh2yz0pqm4g38pca4bm7fr18r8xmqf189"; 19 release."0.1.0".sha256 = "sha256:01avfcqirz2b9wjzi9iywbhz9szybpnnj3672dgkfsimyg9jgnsr"; 20 21 - meta = { 22 description = "Library for serialization to S-expressions"; 23 license = licenses.bsd3; 24 maintainers = with maintainers; [ Zimmi48 ];
··· 1 { lib, mkCoqDerivation, coq, ceres, coq-ext-lib, version ? null }: 2 3 mkCoqDerivation { 4 5 pname = "parsec"; ··· 10 releaseRev = (v: "v${v}"); 11 12 inherit version; 13 + defaultVersion = with lib.versions; lib.switch coq.version [ 14 { case = range "8.12" "8.16"; out = "0.1.1"; } 15 { case = range "8.12" "8.13"; out = "0.1.0"; } 16 ] null; 17 release."0.1.1".sha256 = "sha256:1c0l18s68pzd4c8i3jimh2yz0pqm4g38pca4bm7fr18r8xmqf189"; 18 release."0.1.0".sha256 = "sha256:01avfcqirz2b9wjzi9iywbhz9szybpnnj3672dgkfsimyg9jgnsr"; 19 20 + meta = with lib; { 21 description = "Library for serialization to S-expressions"; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ Zimmi48 ];
+2 -3
pkgs/development/coq-modules/pocklington/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "pocklington"; ··· 9 release."8.12.0".sha256 = "sha256-0xBrw9+4g14niYdNqp0nx00fPJoSSnaDSDEaIVpPfjs="; 10 11 inherit version; 12 - defaultVersion = with versions; switch coq.coq-version [ 13 { case = isGe "8.7"; out = "8.12.0"; } 14 ] null; 15 16 - meta = { 17 description = "Pocklington's criterion for primality in Coq"; 18 maintainers = with maintainers; [ siraben ]; 19 license = licenses.mit;
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 mkCoqDerivation { 4 pname = "pocklington"; ··· 8 release."8.12.0".sha256 = "sha256-0xBrw9+4g14niYdNqp0nx00fPJoSSnaDSDEaIVpPfjs="; 9 10 inherit version; 11 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 12 { case = isGe "8.7"; out = "8.12.0"; } 13 ] null; 14 15 + meta = with lib; { 16 description = "Pocklington's criterion for primality in Coq"; 17 maintainers = with maintainers; [ siraben ]; 18 license = licenses.mit;
+2 -3
pkgs/development/coq-modules/reglang/default.nix
··· 1 { lib, mkCoqDerivation, coq, ssreflect, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "reglang"; ··· 9 release."1.1.2".sha256 = "sha256-SEnMilLNxh6a3oiDNGLaBr8quQ/nO2T9Fwdf/1il2Yk="; 10 11 inherit version; 12 - defaultVersion = with versions; switch coq.coq-version [ 13 { case = range "8.10" "8.16"; out = "1.1.2"; } 14 ] null; 15 16 17 propagatedBuildInputs = [ ssreflect ]; 18 19 - meta = { 20 description = "Regular Language Representations in Coq"; 21 maintainers = with maintainers; [ siraben ]; 22 license = licenses.cecill-b;
··· 1 { lib, mkCoqDerivation, coq, ssreflect, version ? null }: 2 3 mkCoqDerivation { 4 pname = "reglang"; ··· 8 release."1.1.2".sha256 = "sha256-SEnMilLNxh6a3oiDNGLaBr8quQ/nO2T9Fwdf/1il2Yk="; 9 10 inherit version; 11 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 12 { case = range "8.10" "8.16"; out = "1.1.2"; } 13 ] null; 14 15 16 propagatedBuildInputs = [ ssreflect ]; 17 18 + meta = with lib; { 19 description = "Regular Language Representations in Coq"; 20 maintainers = with maintainers; [ siraben ]; 21 license = licenses.cecill-b;
+3 -4
pkgs/development/coq-modules/relation-algebra/default.nix
··· 1 { lib, mkCoqDerivation, coq, aac-tactics, mathcomp, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "relation-algebra"; 6 owner = "damien-pous"; 7 8 releaseRev = v: 9 - if versions.isGe "1.7.6" v 10 then "v.${v}" 11 else "v${v}"; 12 ··· 20 release."1.7.1".sha256 = "sha256-WWVMcR6z8rT4wzZPb8SlaVWGe7NC8gScPqawd7bltQA="; 21 22 inherit version; 23 - defaultVersion = with versions; switch coq.coq-version [ 24 { case = isEq "8.16"; out = "1.7.8"; } 25 { case = isEq "8.15"; out = "1.7.7"; } 26 { case = isEq "8.14"; out = "1.7.6"; } ··· 35 36 propagatedBuildInputs = [ aac-tactics mathcomp.ssreflect ]; 37 38 - meta = { 39 description = "Relation algebra library for Coq"; 40 maintainers = with maintainers; [ siraben ]; 41 license = licenses.gpl3Plus;
··· 1 { lib, mkCoqDerivation, coq, aac-tactics, mathcomp, version ? null }: 2 3 mkCoqDerivation { 4 pname = "relation-algebra"; 5 owner = "damien-pous"; 6 7 releaseRev = v: 8 + if lib.versions.isGe "1.7.6" v 9 then "v.${v}" 10 else "v${v}"; 11 ··· 19 release."1.7.1".sha256 = "sha256-WWVMcR6z8rT4wzZPb8SlaVWGe7NC8gScPqawd7bltQA="; 20 21 inherit version; 22 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 23 { case = isEq "8.16"; out = "1.7.8"; } 24 { case = isEq "8.15"; out = "1.7.7"; } 25 { case = isEq "8.14"; out = "1.7.6"; } ··· 34 35 propagatedBuildInputs = [ aac-tactics mathcomp.ssreflect ]; 36 37 + meta = with lib; { 38 description = "Relation algebra library for Coq"; 39 maintainers = with maintainers; [ siraben ]; 40 license = licenses.gpl3Plus;
+2 -3
pkgs/development/coq-modules/semantics/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 4 mkCoqDerivation rec { 5 pname = "semantics"; ··· 15 release."8.6.0".sha256 = "sha256-GltkGQ3tJqUPAbdDkqqvKLLhMOap50XvGaCkjshiNdY="; 16 17 inherit version; 18 - defaultVersion = with versions; switch coq.coq-version [ 19 { case = range "8.10" "8.16"; out = "8.14.0"; } 20 { case = "8.9"; out = "8.9.0"; } 21 { case = "8.8"; out = "8.8.0"; } ··· 34 done 35 ''; 36 37 - meta = { 38 description = "A survey of programming language semantics styles in Coq"; 39 longDescription = '' 40 A survey of semantics styles in Coq, from natural semantics through
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 mkCoqDerivation rec { 4 pname = "semantics"; ··· 14 release."8.6.0".sha256 = "sha256-GltkGQ3tJqUPAbdDkqqvKLLhMOap50XvGaCkjshiNdY="; 15 16 inherit version; 17 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 18 { case = range "8.10" "8.16"; out = "8.14.0"; } 19 { case = "8.9"; out = "8.9.0"; } 20 { case = "8.8"; out = "8.8.0"; } ··· 33 done 34 ''; 35 36 + meta = with lib; { 37 description = "A survey of programming language semantics styles in Coq"; 38 longDescription = '' 39 A survey of semantics styles in Coq, from natural semantics through
+1 -1
pkgs/development/coq-modules/serapi/default.nix
··· 17 inherit version release; 18 19 defaultVersion = with versions; 20 - switch coq.version [ 21 { case = isEq "8.16"; out = "8.16.0+0.16.0"; } 22 { case = isEq "8.15"; out = "8.15.0+0.15.0"; } 23 { case = isEq "8.14"; out = "8.14.0+0.14.0"; }
··· 17 inherit version release; 18 19 defaultVersion = with versions; 20 + lib.switch coq.version [ 21 { case = isEq "8.16"; out = "8.16.0+0.16.0"; } 22 { case = isEq "8.15"; out = "8.15.0+0.15.0"; } 23 { case = isEq "8.14"; out = "8.14.0+0.14.0"; }
+3 -3
pkgs/development/coq-modules/simple-io/default.nix
··· 1 { lib, callPackage, mkCoqDerivation, coq, coq-ext-lib, version ? null }: 2 3 - with lib; mkCoqDerivation { 4 pname = "simple-io"; 5 owner = "Lysxia"; 6 repo = "coq-simple-io"; 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = range "8.11" "8.16"; out = "1.7.0"; } 10 { case = range "8.7" "8.13"; out = "1.3.0"; } 11 ] null; ··· 21 22 passthru.tests.HelloWorld = callPackage ./test.nix {}; 23 24 - meta = { 25 description = "Purely functional IO for Coq"; 26 license = licenses.mit; 27 maintainers = [ maintainers.vbgl ];
··· 1 { lib, callPackage, mkCoqDerivation, coq, coq-ext-lib, version ? null }: 2 3 + mkCoqDerivation { 4 pname = "simple-io"; 5 owner = "Lysxia"; 6 repo = "coq-simple-io"; 7 inherit version; 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 { case = range "8.11" "8.16"; out = "1.7.0"; } 10 { case = range "8.7" "8.13"; out = "1.3.0"; } 11 ] null; ··· 21 22 passthru.tests.HelloWorld = callPackage ./test.nix {}; 23 24 + meta = with lib; { 25 description = "Purely functional IO for Coq"; 26 license = licenses.mit; 27 maintainers = [ maintainers.vbgl ];
+2 -3
pkgs/development/coq-modules/smpl/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "smpl"; ··· 13 releaseRev = v: "v${v}"; 14 15 inherit version; 16 - defaultVersion = with versions; switch coq.version [ 17 { case = isEq "8.15"; out = "8.15"; } 18 { case = isEq "8.14"; out = "8.14"; } 19 { case = "8.13.2"; out = "8.13"; } ··· 23 24 mlPlugin = true; 25 26 - meta = { 27 description = "A Coq plugin providing an extensible tactic similar to first"; 28 maintainers = with maintainers; [ siraben ]; 29 license = licenses.mit;
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 mkCoqDerivation { 4 pname = "smpl"; ··· 12 releaseRev = v: "v${v}"; 13 14 inherit version; 15 + defaultVersion = with lib.versions; lib.switch coq.version [ 16 { case = isEq "8.15"; out = "8.15"; } 17 { case = isEq "8.14"; out = "8.14"; } 18 { case = "8.13.2"; out = "8.13"; } ··· 22 23 mlPlugin = true; 24 25 + meta = with lib; { 26 description = "A Coq plugin providing an extensible tactic similar to first"; 27 maintainers = with maintainers; [ siraben ]; 28 license = licenses.mit;
+2 -3
pkgs/development/coq-modules/smtcoq/default.nix
··· 1 { lib, stdenv, gcc10StdenvCompat, pkgs, mkCoqDerivation, coq, trakt, veriT, zchaff, fetchurl, version ? null }: 2 - with lib; 3 4 let 5 # version of veriT that works with SMTCoq ··· 23 release."2021-09-17".sha256 = "sha256-bF7ES+tXraaAJwVEwAMx3CUESpNlAUerQjr4d2eaGJQ="; 24 25 inherit version; 26 - defaultVersion = with versions; switch coq.version [ 27 { case = isEq "8.13"; out = "2021-09-17"; } 28 ] null; 29 ··· 34 # This is meant to ease future troubleshooting of cvc4 build failures 35 passthru = { inherit cvc4; }; 36 37 - meta = { 38 description = "Communication between Coq and SAT/SMT solvers "; 39 maintainers = with maintainers; [ siraben ]; 40 license = licenses.cecill-b;
··· 1 { lib, stdenv, gcc10StdenvCompat, pkgs, mkCoqDerivation, coq, trakt, veriT, zchaff, fetchurl, version ? null }: 2 3 let 4 # version of veriT that works with SMTCoq ··· 22 release."2021-09-17".sha256 = "sha256-bF7ES+tXraaAJwVEwAMx3CUESpNlAUerQjr4d2eaGJQ="; 23 24 inherit version; 25 + defaultVersion = with lib.versions; lib.switch coq.version [ 26 { case = isEq "8.13"; out = "2021-09-17"; } 27 ] null; 28 ··· 33 # This is meant to ease future troubleshooting of cvc4 build failures 34 passthru = { inherit cvc4; }; 35 36 + meta = with lib; { 37 description = "Communication between Coq and SAT/SMT solvers "; 38 maintainers = with maintainers; [ siraben ]; 39 license = licenses.cecill-b;
+3 -3
pkgs/development/coq-modules/stdpp/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; mkCoqDerivation rec { 4 pname = "stdpp"; 5 inherit version; 6 domain = "gitlab.mpi-sws.org"; 7 owner = "iris"; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = range "8.13" "8.16"; out = "1.8.0"; } 10 { case = range "8.12" "8.14"; out = "1.6.0"; } 11 { case = range "8.11" "8.13"; out = "1.5.0"; } ··· 24 fi 25 ''; 26 27 - meta = { 28 description = "An extended “Standard Library” for Coq"; 29 license = licenses.bsd3; 30 maintainers = [ maintainers.vbgl ];
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + mkCoqDerivation rec { 4 pname = "stdpp"; 5 inherit version; 6 domain = "gitlab.mpi-sws.org"; 7 owner = "iris"; 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 { case = range "8.13" "8.16"; out = "1.8.0"; } 10 { case = range "8.12" "8.14"; out = "1.6.0"; } 11 { case = range "8.11" "8.13"; out = "1.5.0"; } ··· 24 fi 25 ''; 26 27 + meta = with lib; { 28 description = "An extended “Standard Library” for Coq"; 29 license = licenses.bsd3; 30 maintainers = [ maintainers.vbgl ];
+4 -4
pkgs/development/coq-modules/tlc/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 - with lib; (mkCoqDerivation { 4 pname = "tlc"; 5 owner = "charguer"; 6 inherit version; 7 displayVersion = { tlc = false; }; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = range "8.13" "8.16"; out = "20211215"; } 10 { case = range "8.12" "8.13"; out = "20210316"; } 11 { case = range "8.10" "8.12"; out = "20200328"; } ··· 16 release."20200328".sha256 = "16vzild9gni8zhgb3qhmka47f8zagdh03k6nssif7drpim8233lx"; 17 release."20181116".sha256 = "032lrbkxqm9d3fhf6nv1kq2z0mqd3czv3ijlbsjwnfh12xck4vpl"; 18 19 - meta = { 20 homepage = "http://www.chargueraud.org/softs/tlc/"; 21 description = "A non-constructive library for Coq"; 22 license = licenses.free; 23 maintainers = [ maintainers.vbgl ]; 24 }; 25 }).overrideAttrs (x: 26 - if versionAtLeast x.version "20210316" 27 then {} 28 else { 29 installFlags = [ "CONTRIB=$(out)/lib/coq/${coq.coq-version}/user-contrib" ];
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 + (mkCoqDerivation { 4 pname = "tlc"; 5 owner = "charguer"; 6 inherit version; 7 displayVersion = { tlc = false; }; 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 { case = range "8.13" "8.16"; out = "20211215"; } 10 { case = range "8.12" "8.13"; out = "20210316"; } 11 { case = range "8.10" "8.12"; out = "20200328"; } ··· 16 release."20200328".sha256 = "16vzild9gni8zhgb3qhmka47f8zagdh03k6nssif7drpim8233lx"; 17 release."20181116".sha256 = "032lrbkxqm9d3fhf6nv1kq2z0mqd3czv3ijlbsjwnfh12xck4vpl"; 18 19 + meta = with lib; { 20 homepage = "http://www.chargueraud.org/softs/tlc/"; 21 description = "A non-constructive library for Coq"; 22 license = licenses.free; 23 maintainers = [ maintainers.vbgl ]; 24 }; 25 }).overrideAttrs (x: 26 + if lib.versionAtLeast x.version "20210316" 27 then {} 28 else { 29 installFlags = [ "CONTRIB=$(out)/lib/coq/${coq.coq-version}/user-contrib" ];
+3 -4
pkgs/development/coq-modules/topology/default.nix
··· 1 { lib, mkCoqDerivation, coq, mathcomp, zorns-lemma, version ? null }: 2 - with lib; 3 4 mkCoqDerivation rec { 5 pname = "topology"; ··· 15 release."8.6.0".sha256 = "sha256-eu/dBEFo3y6vnXlJljUD4hds6+qgAPQVvsuspyGHcj8="; 16 17 inherit version; 18 - defaultVersion = with versions; switch coq.coq-version [ 19 { case = range "8.10" "8.16"; out = "9.0.0"; } 20 { case = "8.9"; out = "8.9.0"; } 21 { case = "8.8"; out = "8.8.0"; } ··· 25 26 propagatedBuildInputs = [ zorns-lemma ]; 27 28 - useDuneifVersion = versions.isGe "9.0"; 29 30 - meta = { 31 description = "General topology in Coq"; 32 longDescription = '' 33 This library develops some of the basic concepts and results of
··· 1 { lib, mkCoqDerivation, coq, mathcomp, zorns-lemma, version ? null }: 2 3 mkCoqDerivation rec { 4 pname = "topology"; ··· 14 release."8.6.0".sha256 = "sha256-eu/dBEFo3y6vnXlJljUD4hds6+qgAPQVvsuspyGHcj8="; 15 16 inherit version; 17 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 18 { case = range "8.10" "8.16"; out = "9.0.0"; } 19 { case = "8.9"; out = "8.9.0"; } 20 { case = "8.8"; out = "8.8.0"; } ··· 24 25 propagatedBuildInputs = [ zorns-lemma ]; 26 27 + useDuneifVersion = lib.versions.isGe "9.0"; 28 29 + meta = with lib; { 30 description = "General topology in Coq"; 31 longDescription = '' 32 This library develops some of the basic concepts and results of
+2 -3
pkgs/development/coq-modules/trakt/default.nix
··· 1 { lib, mkCoqDerivation, coq, coq-elpi, version ? null }: 2 - with lib; 3 4 mkCoqDerivation { 5 pname = "trakt"; ··· 9 release."1.0".sha256 = "sha256-Qhw5fWFYxUFO2kIWWz/og+4fuy9aYG27szfNk3IglhY="; 10 11 inherit version; 12 - defaultVersion = with versions; switch [ coq.version ] [ 13 { cases = [ (range "8.13" "8.16") ]; out = "1.0"; } 14 ] null; 15 16 propagatedBuildInputs = [ coq-elpi ]; 17 18 - meta = { 19 description = "A generic goal preprocessing tool for proof automation tactics in Coq"; 20 maintainers = with maintainers; [ siraben ]; 21 license = licenses.cecill-b;
··· 1 { lib, mkCoqDerivation, coq, coq-elpi, version ? null }: 2 3 mkCoqDerivation { 4 pname = "trakt"; ··· 8 release."1.0".sha256 = "sha256-Qhw5fWFYxUFO2kIWWz/og+4fuy9aYG27szfNk3IglhY="; 9 10 inherit version; 11 + defaultVersion = with lib.versions; lib.switch [ coq.version ] [ 12 { cases = [ (range "8.13" "8.16") ]; out = "1.0"; } 13 ] null; 14 15 propagatedBuildInputs = [ coq-elpi ]; 16 17 + meta = with lib; { 18 description = "A generic goal preprocessing tool for proof automation tactics in Coq"; 19 maintainers = with maintainers; [ siraben ]; 20 license = licenses.cecill-b;
+4 -5
pkgs/development/coq-modules/zorns-lemma/default.nix
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 - with lib; 3 4 (mkCoqDerivation { 5 pname = "zorns-lemma"; ··· 16 release."8.5.0".sha256 = "sha256-mH/v02ObMjbVPYx2H+Jhz+Xp0XRKN67iMAdA1VNFzso="; 17 18 inherit version; 19 - defaultVersion = with versions; switch coq.coq-version [ 20 { case = range "8.10" "8.16"; out = "9.0.0"; } 21 { case = "8.9"; out = "8.9.0"; } 22 { case = "8.8"; out = "8.8.0"; } ··· 25 { case = "8.5"; out = "8.5.0"; } 26 ] null; 27 28 - useDuneifVersion = versions.isGe "9.0"; 29 30 - meta = { 31 description = "Development of basic set theory"; 32 longDescription = '' 33 This Coq library develops some basic set theory. The main ··· 37 maintainers = with maintainers; [ siraben ]; 38 license = licenses.lgpl21Plus; 39 }; 40 - }).overrideAttrs({version, ...}: if versions.isGe "9.0" version then { repo = "topology"; } else {})
··· 1 { lib, mkCoqDerivation, coq, version ? null }: 2 3 (mkCoqDerivation { 4 pname = "zorns-lemma"; ··· 15 release."8.5.0".sha256 = "sha256-mH/v02ObMjbVPYx2H+Jhz+Xp0XRKN67iMAdA1VNFzso="; 16 17 inherit version; 18 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 19 { case = range "8.10" "8.16"; out = "9.0.0"; } 20 { case = "8.9"; out = "8.9.0"; } 21 { case = "8.8"; out = "8.8.0"; } ··· 24 { case = "8.5"; out = "8.5.0"; } 25 ] null; 26 27 + useDuneifVersion = lib.versions.isGe "9.0"; 28 29 + meta = with lib; { 30 description = "Development of basic set theory"; 31 longDescription = '' 32 This Coq library develops some basic set theory. The main ··· 36 maintainers = with maintainers; [ siraben ]; 37 license = licenses.lgpl21Plus; 38 }; 39 + }).overrideAttrs({version, ...}: if lib.versions.isGe "9.0" version then { repo = "topology"; } else {})