lol

coqPackages.mathcomp*: update stdlib dependencies

authored by

Pierre Roux and committed by
Vincent Laporte
873cceaf 39d921ec

+20 -35
-2
pkgs/development/coq-modules/fourcolor/default.nix
··· 3 mkCoqDerivation, 4 coq, 5 mathcomp, 6 - stdlib, 7 version ? null, 8 }: 9 ··· 68 mathcomp.algebra 69 mathcomp.ssreflect 70 mathcomp.fingroup 71 - stdlib 72 ]; 73 74 meta = with lib; {
··· 3 mkCoqDerivation, 4 coq, 5 mathcomp, 6 version ? null, 7 }: 8 ··· 67 mathcomp.algebra 68 mathcomp.ssreflect 69 mathcomp.fingroup 70 ]; 71 72 meta = with lib; {
+1 -1
pkgs/development/coq-modules/hierarchy-builder/default.nix
··· 49 else 50 { installFlags = [ "VFILES=structures.v" ] ++ o.installFlags; }) 51 // 52 - lib.optionalAttrs (lib.versions.isLe "1.8.1" o.version) 53 { propagatedBuildInputs = o.propagatedBuildInputs ++ [ stdlib ]; } 54 )
··· 49 else 50 { installFlags = [ "VFILES=structures.v" ] ++ o.installFlags; }) 51 // 52 + lib.optionalAttrs (o.version != null && o.version == "1.8.1") 53 { propagatedBuildInputs = o.propagatedBuildInputs ++ [ stdlib ]; } 54 )
+2
pkgs/development/coq-modules/jasmin/default.nix
··· 3 mkCoqDerivation, 4 coq, 5 mathcomp, 6 mathcomp-word, 7 version ? null, 8 }: ··· 23 release."2024.07.2".sha256 = "sha256-aF8SYY5jRxQ6iEr7t6mRN3BEmIDhJ53PGhuZiJGB+i8="; 24 25 propagatedBuildInputs = [ 26 mathcomp-word 27 ]; 28
··· 3 mkCoqDerivation, 4 coq, 5 mathcomp, 6 + mathcomp-algebra-tactics, 7 mathcomp-word, 8 version ? null, 9 }: ··· 24 release."2024.07.2".sha256 = "sha256-aF8SYY5jRxQ6iEr7t6mRN3BEmIDhJ53PGhuZiJGB+i8="; 25 26 propagatedBuildInputs = [ 27 + mathcomp-algebra-tactics 28 mathcomp-word 29 ]; 30
+12 -21
pkgs/development/coq-modules/mathcomp-analysis/default.nix
··· 5 mathcomp-finmap, 6 mathcomp-bigenough, 7 hierarchy-builder, 8 single ? false, 9 coqPackages, 10 coq, ··· 176 ]; 177 intra-deps = lib.optionals (package != "single") (map mathcomp_ packages.${package}); 178 pkgpath = lib.switch package [ 179 - { 180 - case = "single"; 181 - out = "."; 182 - } 183 - { 184 - case = "analysis"; 185 - out = "theories"; 186 - } 187 - { 188 - case = "experimental-reals"; 189 - out = "experimental_reals"; 190 - } 191 - { 192 - case = "reals-stdlib"; 193 - out = "reals_stdlib"; 194 - } 195 - { 196 - case = "analysis-stdlib"; 197 - out = "analysis_stdlib"; 198 - } 199 ] package; 200 pname = if package == "single" then "mathcomp-analysis-single" else "mathcomp-${package}"; 201 derivation = mkCoqDerivation ({ ··· 226 ++ lib.optionals (lib.elem package [ 227 "analysis" 228 "single" 229 - ]) analysis-deps; 230 231 preBuild = '' 232 cd ${pkgpath}
··· 5 mathcomp-finmap, 6 mathcomp-bigenough, 7 hierarchy-builder, 8 + stdlib, 9 single ? false, 10 coqPackages, 11 coq, ··· 177 ]; 178 intra-deps = lib.optionals (package != "single") (map mathcomp_ packages.${package}); 179 pkgpath = lib.switch package [ 180 + { case = "single"; out = "."; } 181 + { case = "analysis"; out = "theories"; } 182 + { case = "experimental-reals"; out = "experimental_reals"; } 183 + { case = "reals-stdlib"; out = "reals_stdlib"; } 184 + { case = "analysis-stdlib"; out = "analysis_stdlib"; } 185 ] package; 186 pname = if package == "single" then "mathcomp-analysis-single" else "mathcomp-${package}"; 187 derivation = mkCoqDerivation ({ ··· 212 ++ lib.optionals (lib.elem package [ 213 "analysis" 214 "single" 215 + ]) analysis-deps 216 + ++ lib.optional (lib.elem package [ 217 + "reals-stdlib" 218 + "analysis-stdlib" 219 + "single" 220 + ]) stdlib; 221 222 preBuild = '' 223 cd ${pkgpath}
+1 -2
pkgs/development/coq-modules/mathcomp-finmap/default.nix
··· 2 coq, 3 mkCoqDerivation, 4 mathcomp, 5 - stdlib, 6 lib, 7 version ? null, 8 }: ··· 108 "1.0.0".sha256 = "0sah7k9qm8sw17cgd02f0x84hki8vj8kdz7h15i7rmz08rj0whpa"; 109 }; 110 111 - propagatedBuildInputs = [ mathcomp.ssreflect stdlib ]; 112 113 meta = { 114 description = "Finset and finmap library";
··· 2 coq, 3 mkCoqDerivation, 4 mathcomp, 5 lib, 6 version ? null, 7 }: ··· 107 "1.0.0".sha256 = "0sah7k9qm8sw17cgd02f0x84hki8vj8kdz7h15i7rmz08rj0whpa"; 108 }; 109 110 + propagatedBuildInputs = [ mathcomp.ssreflect ]; 111 112 meta = { 113 description = "Finset and finmap library";
-2
pkgs/development/coq-modules/mathcomp-real-closed/default.nix
··· 3 mkCoqDerivation, 4 mathcomp, 5 mathcomp-bigenough, 6 - stdlib, 7 lib, 8 version ? null, 9 }: ··· 116 mathcomp.fingroup 117 mathcomp.solvable 118 mathcomp-bigenough 119 - stdlib 120 ]; 121 122 meta = {
··· 3 mkCoqDerivation, 4 mathcomp, 5 mathcomp-bigenough, 6 lib, 7 version ? null, 8 }: ··· 115 mathcomp.fingroup 116 mathcomp.solvable 117 mathcomp-bigenough 118 ]; 119 120 meta = {
-2
pkgs/development/coq-modules/mathcomp-tarjan/default.nix
··· 3 mkCoqDerivation, 4 mathcomp-ssreflect, 5 mathcomp-fingroup, 6 - stdlib, 7 lib, 8 version ? null, 9 }@args: ··· 53 propagatedBuildInputs = [ 54 mathcomp-ssreflect 55 mathcomp-fingroup 56 - stdlib 57 ]; 58 59 meta = {
··· 3 mkCoqDerivation, 4 mathcomp-ssreflect, 5 mathcomp-fingroup, 6 lib, 7 version ? null, 8 }@args: ··· 52 propagatedBuildInputs = [ 53 mathcomp-ssreflect 54 mathcomp-fingroup 55 ]; 56 57 meta = {
+2
pkgs/development/coq-modules/mathcomp-word/default.nix
··· 3 coq, 4 mkCoqDerivation, 5 mathcomp, 6 lib, 7 version ? null, 8 }: ··· 80 mathcomp.algebra 81 mathcomp.ssreflect 82 mathcomp.fingroup 83 ]; 84 85 meta = with lib; {
··· 3 coq, 4 mkCoqDerivation, 5 mathcomp, 6 + stdlib, 7 lib, 8 version ? null, 9 }: ··· 81 mathcomp.algebra 82 mathcomp.ssreflect 83 mathcomp.fingroup 84 + stdlib 85 ]; 86 87 meta = with lib; {
+2 -3
pkgs/development/coq-modules/mathcomp/default.nix
··· 80 mlPlugin = lib.versions.isLe "8.6" coq.coq-version; 81 nativeBuildInputs = lib.optionals withDoc [ graphviz lua ]; 82 buildInputs = [ ncurses ]; 83 - propagatedBuildInputs = [ stdlib ] ++ mathcomp-deps; 84 85 buildFlags = lib.optional withDoc "doc"; 86 ··· 144 } 145 ); 146 patched-derivation4 = patched-derivation3.overrideAttrs (o: 147 - lib.optionalAttrs (o.version != null 148 - && lib.versions.isLe "2.3.0" o.version) 149 { 150 propagatedBuildInputs = o.propagatedBuildInputs ++ [ stdlib ]; 151 }
··· 80 mlPlugin = lib.versions.isLe "8.6" coq.coq-version; 81 nativeBuildInputs = lib.optionals withDoc [ graphviz lua ]; 82 buildInputs = [ ncurses ]; 83 + propagatedBuildInputs = mathcomp-deps; 84 85 buildFlags = lib.optional withDoc "doc"; 86 ··· 144 } 145 ); 146 patched-derivation4 = patched-derivation3.overrideAttrs (o: 147 + lib.optionalAttrs (o.version != null && o.version == "2.3.0") 148 { 149 propagatedBuildInputs = o.propagatedBuildInputs ++ [ stdlib ]; 150 }
-2
pkgs/development/coq-modules/odd-order/default.nix
··· 2 lib, 3 mkCoqDerivation, 4 mathcomp, 5 - stdlib, 6 version ? null, 7 }: 8 ··· 46 mathcomp.solvable 47 mathcomp.field 48 mathcomp.all 49 - stdlib 50 ]; 51 52 meta = with lib; {
··· 2 lib, 3 mkCoqDerivation, 4 mathcomp, 5 version ? null, 6 }: 7 ··· 45 mathcomp.solvable 46 mathcomp.field 47 mathcomp.all 48 ]; 49 50 meta = with lib; {