nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
1ae6d3d0 7b23f869

+870 -592
+6 -2
nixos/doc/manual/configuration/ipv6-config.xml
··· 7 7 8 8 <para> 9 9 IPv6 is enabled by default. Stateless address autoconfiguration is used to 10 - automatically assign IPv6 addresses to all interfaces. You can disable IPv6 11 - support globally by setting: 10 + automatically assign IPv6 addresses to all interfaces, and Privacy 11 + Extensions (RFC 4946) are enabled by default. You can adjust the default 12 + for this by setting <xref linkend="opt-networking.tempAddresses"/>. 13 + This option may be overridden on a per-interface basis by 14 + <xref linkend="opt-networking.interfaces._name_.tempAddress"/>. 15 + You can disable IPv6 support globally by setting: 12 16 <programlisting> 13 17 <xref linkend="opt-networking.enableIPv6"/> = false; 14 18 </programlisting>
+23 -5
nixos/modules/services/continuous-integration/hercules-ci-agent/common.nix
··· 37 37 description = '' 38 38 Number of tasks to perform simultaneously. 39 39 40 - A task is a single derivation build or an evaluation. 40 + A task is a single derivation build, an evaluation or an effect run. 41 41 At minimum, you need 2 concurrent tasks for <literal>x86_64-linux</literal> 42 42 in your cluster, to allow for import from derivation. 43 43 44 44 <literal>concurrentTasks</literal> can be around the CPU core count or lower if memory is 45 45 the bottleneck. 46 + 47 + The optimal value depends on the resource consumption characteristics of your workload, 48 + including memory usage and in-task parallelism. This is typically determined empirically. 49 + 50 + When scaling, it is generally better to have a double-size machine than two machines, 51 + because each split of resources causes inefficiencies; particularly with regards 52 + to build latency because of extra downloads. 46 53 ''; 47 - type = types.int; 48 - default = 4; 54 + type = types.either types.ints.positive (types.enum [ "auto" ]); 55 + default = "auto"; 49 56 }; 50 57 workDirectory = mkOption { 51 58 description = '' ··· 193 186 # even shortly after the previous lookup. This *also* applies to the daemon. 194 187 narinfo-cache-negative-ttl = 0 195 188 ''; 196 - services.hercules-ci-agent.tomlFile = 197 - format.generate "hercules-ci-agent.toml" cfg.settings; 189 + services.hercules-ci-agent = { 190 + tomlFile = 191 + format.generate "hercules-ci-agent.toml" cfg.settings; 192 + 193 + settings.labels = { 194 + agent.source = 195 + if options.services.hercules-ci-agent.package.highestPrio == (lib.modules.mkOptionDefault { }).priority 196 + then "nixpkgs" 197 + else lib.mkOptionDefault "override"; 198 + pkgs.version = pkgs.lib.version; 199 + lib.version = lib.version; 200 + }; 201 + }; 198 202 }; 199 203 }
+17 -1
nixos/modules/services/continuous-integration/hercules-ci-agent/default.nix
··· 68 68 # Trusted user allows simplified configuration and better performance 69 69 # when operating in a cluster. 70 70 nix.trustedUsers = [ config.systemd.services.hercules-ci-agent.serviceConfig.User ]; 71 - services.hercules-ci-agent.settings.nixUserIsTrusted = true; 71 + services.hercules-ci-agent = { 72 + settings = { 73 + nixUserIsTrusted = true; 74 + labels = 75 + let 76 + mkIfNotNull = x: mkIf (x != null) x; 77 + in 78 + { 79 + nixos.configurationRevision = mkIfNotNull config.system.configurationRevision; 80 + nixos.release = config.system.nixos.release; 81 + nixos.label = mkIfNotNull config.system.nixos.label; 82 + nixos.codeName = config.system.nixos.codeName; 83 + nixos.tags = config.system.nixos.tags; 84 + nixos.systemName = mkIfNotNull config.system.name; 85 + }; 86 + }; 87 + }; 72 88 73 89 users.users.hercules-ci-agent = { 74 90 home = cfg.settings.baseDirectory;
+5 -14
nixos/modules/services/databases/couchdb.nix
··· 4 4 5 5 let 6 6 cfg = config.services.couchdb; 7 - useVersion2 = strings.versionAtLeast (strings.getVersion cfg.package) "2.0"; 8 7 configFile = pkgs.writeText "couchdb.ini" ( 9 8 '' 10 9 [couchdb] 11 10 database_dir = ${cfg.databaseDir} 12 11 uri_file = ${cfg.uriFile} 13 12 view_index_dir = ${cfg.viewIndexDir} 14 - '' + (if cfg.adminPass != null then 15 - '' 13 + '' + (optionalString (cfg.adminPass != null) '' 16 14 [admins] 17 15 ${cfg.adminUser} = ${cfg.adminPass} 18 - '' else 19 - "") + (if useVersion2 then 20 - '' 16 + '' + '' 21 17 [chttpd] 22 - '' else 23 - '' 24 - [httpd] 25 18 '') + 26 19 '' 27 20 port = ${toString cfg.port} ··· 23 30 [log] 24 31 file = ${cfg.logFile} 25 32 ''); 26 - executable = if useVersion2 then "${cfg.package}/bin/couchdb" 27 - else ''${cfg.package}/bin/couchdb -a ${configFile} -a ${pkgs.writeText "couchdb-extra.ini" cfg.extraConfig} -a ${cfg.configFile}''; 33 + executable = "${cfg.package}/bin/couchdb"; 28 34 29 35 in { 30 36 ··· 169 177 170 178 environment.systemPackages = [ cfg.package ]; 171 179 172 - services.couchdb.configFile = mkDefault 173 - (if useVersion2 then "/var/lib/couchdb/local.ini" else "/var/lib/couchdb/couchdb.ini"); 180 + services.couchdb.configFile = mkDefault "/var/lib/couchdb/local.ini"; 174 181 175 182 systemd.tmpfiles.rules = [ 176 183 "d '${dirOf cfg.uriFile}' - ${cfg.user} ${cfg.group} - -" ··· 186 195 touch ${cfg.configFile} 187 196 ''; 188 197 189 - environment = mkIf useVersion2 { 198 + environment = { 190 199 # we are actually specifying 4 configuration files: 191 200 # 1. the preinstalled default.ini 192 201 # 2. the module configuration
+61 -33
nixos/modules/tasks/network-interfaces.nix
··· 144 144 }; 145 145 146 146 tempAddress = mkOption { 147 - type = types.enum [ "default" "enabled" "disabled" ]; 148 - default = if cfg.enableIPv6 then "default" else "disabled"; 149 - defaultText = literalExample ''if cfg.enableIPv6 then "default" else "disabled"''; 147 + type = types.enum (lib.attrNames tempaddrValues); 148 + default = cfg.tempAddresses; 149 + defaultText = literalExample ''config.networking.tempAddresses''; 150 150 description = '' 151 151 When IPv6 is enabled with SLAAC, this option controls the use of 152 - temporary address (aka privacy extensions). This is used to reduce tracking. 153 - The three possible values are: 152 + temporary address (aka privacy extensions) on this 153 + interface. This is used to reduce tracking. 154 154 155 - <itemizedlist> 156 - <listitem> 157 - <para> 158 - <literal>"default"</literal> to generate temporary addresses and use 159 - them by default; 160 - </para> 161 - </listitem> 162 - <listitem> 163 - <para> 164 - <literal>"enabled"</literal> to generate temporary addresses but keep 165 - using the standard EUI-64 ones by default; 166 - </para> 167 - </listitem> 168 - <listitem> 169 - <para> 170 - <literal>"disabled"</literal> to completely disable temporary addresses. 171 - </para> 172 - </listitem> 173 - </itemizedlist> 155 + See also the global option 156 + <xref linkend="opt-networking.tempAddresses"/>, which 157 + applies to all interfaces where this is not set. 158 + 159 + Possible values are: 160 + ${tempaddrDoc} 174 161 ''; 175 162 }; 176 163 ··· 352 365 hexChars = stringToCharacters "0123456789abcdef"; 353 366 354 367 isHexString = s: all (c: elem c hexChars) (stringToCharacters (toLower s)); 368 + 369 + tempaddrValues = { 370 + disabled = { 371 + sysctl = "0"; 372 + description = "completely disable IPv6 temporary addresses"; 373 + }; 374 + enabled = { 375 + sysctl = "1"; 376 + description = "generate IPv6 temporary addresses but still use EUI-64 addresses as source addresses"; 377 + }; 378 + default = { 379 + sysctl = "2"; 380 + description = "generate IPv6 temporary addresses and use these as source addresses in routing"; 381 + }; 382 + }; 383 + tempaddrDoc = '' 384 + <itemizedlist> 385 + ${concatStringsSep "\n" (mapAttrsToList (name: { description, ... }: '' 386 + <listitem> 387 + <para> 388 + <literal>"${name}"</literal> to ${description}; 389 + </para> 390 + </listitem> 391 + '') tempaddrValues)} 392 + </itemizedlist> 393 + ''; 355 394 356 395 in 357 396 ··· 1052 1039 ''; 1053 1040 }; 1054 1041 1042 + networking.tempAddresses = mkOption { 1043 + default = if cfg.enableIPv6 then "default" else "disabled"; 1044 + type = types.enum (lib.attrNames tempaddrValues); 1045 + description = '' 1046 + Whether to enable IPv6 Privacy Extensions for interfaces not 1047 + configured explicitly in 1048 + <xref linkend="opt-networking.interfaces._name_.tempAddress" />. 1049 + 1050 + This sets the ipv6.conf.*.use_tempaddr sysctl for all 1051 + interfaces. Possible values are: 1052 + 1053 + ${tempaddrDoc} 1054 + ''; 1055 + }; 1056 + 1055 1057 }; 1056 1058 1057 1059 ··· 1126 1098 // listToAttrs (forEach interfaces 1127 1099 (i: let 1128 1100 opt = i.tempAddress; 1129 - val = { disabled = 0; enabled = 1; default = 2; }.${opt}; 1101 + val = tempaddrValues.${opt}.sysctl; 1130 1102 in nameValuePair "net.ipv6.conf.${replaceChars ["."] ["/"] i.name}.use_tempaddr" val)); 1131 1103 1132 1104 # Capabilities won't work unless we have at-least a 4.3 Linux ··· 1231 1203 (pkgs.writeTextFile rec { 1232 1204 name = "ipv6-privacy-extensions.rules"; 1233 1205 destination = "/etc/udev/rules.d/98-${name}"; 1234 - text = '' 1206 + text = let 1207 + sysctl-value = tempaddrValues.${cfg.tempAddresses}.sysctl; 1208 + in '' 1235 1209 # enable and prefer IPv6 privacy addresses by default 1236 - ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.bash}/bin/sh -c 'echo 2 > /proc/sys/net/ipv6/conf/%k/use_tempaddr'" 1210 + ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.bash}/bin/sh -c 'echo ${sysctl-value} > /proc/sys/net/ipv6/conf/%k/use_tempaddr'" 1237 1211 ''; 1238 1212 }) 1239 1213 (pkgs.writeTextFile rec { ··· 1244 1214 text = concatMapStrings (i: 1245 1215 let 1246 1216 opt = i.tempAddress; 1247 - val = if opt == "disabled" then 0 else 1; 1248 - msg = if opt == "disabled" 1249 - then "completely disable IPv6 privacy addresses" 1250 - else "enable IPv6 privacy addresses but prefer EUI-64 addresses"; 1217 + val = tempaddrValues.${opt}.sysctl; 1218 + msg = tempaddrValues.${opt}.description; 1251 1219 in 1252 1220 '' 1253 1221 # override to ${msg} for ${i.name} 1254 - ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.procps}/bin/sysctl net.ipv6.conf.${replaceChars ["."] ["/"] i.name}.use_tempaddr=${toString val}" 1255 - '') (filter (i: i.tempAddress != "default") interfaces); 1222 + ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.procps}/bin/sysctl net.ipv6.conf.${replaceChars ["."] ["/"] i.name}.use_tempaddr=${val}" 1223 + '') (filter (i: i.tempAddress != cfg.tempAddresses) interfaces); 1256 1224 }) 1257 1225 ] ++ lib.optional (cfg.wlanInterfaces != {}) 1258 1226 (pkgs.writeTextFile {
-38
nixos/tests/couchdb.nix
··· 24 24 }; 25 25 26 26 nodes = { 27 - couchdb1 = makeNode pkgs.couchdb testuser testpass; 28 - couchdb2 = makeNode pkgs.couchdb2 testuser testpass; 29 27 couchdb3 = makeNode pkgs.couchdb3 testuser testpass; 30 28 }; 31 29 ··· 38 40 ''; 39 41 in '' 40 42 start_all() 41 - 42 - couchdb1.wait_for_unit("couchdb.service") 43 - couchdb1.wait_until_succeeds( 44 - "${curlJqCheck "" "GET" "" ".couchdb" "Welcome"}" 45 - ) 46 - couchdb1.wait_until_succeeds( 47 - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "2"}" 48 - ) 49 - couchdb1.succeed("${curlJqCheck testlogin "PUT" "foo" ".ok" "true"}") 50 - couchdb1.succeed( 51 - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "3"}" 52 - ) 53 - couchdb1.succeed( 54 - "${curlJqCheck testlogin "DELETE" "foo" ".ok" "true"}" 55 - ) 56 - couchdb1.succeed( 57 - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "2"}" 58 - ) 59 - 60 - couchdb2.wait_for_unit("couchdb.service") 61 - couchdb2.wait_until_succeeds( 62 - "${curlJqCheck "" "GET" "" ".couchdb" "Welcome"}" 63 - ) 64 - couchdb2.wait_until_succeeds( 65 - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "0"}" 66 - ) 67 - couchdb2.succeed("${curlJqCheck testlogin "PUT" "foo" ".ok" "true"}") 68 - couchdb2.succeed( 69 - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "1"}" 70 - ) 71 - couchdb2.succeed( 72 - "${curlJqCheck testlogin "DELETE" "foo" ".ok" "true"}" 73 - ) 74 - couchdb2.succeed( 75 - "${curlJqCheck "" "GET" "_all_dbs" ". | length" "0"}" 76 - ) 77 43 78 44 couchdb3.wait_for_unit("couchdb.service") 79 45 couchdb3.wait_until_succeeds(
+60 -21
nixos/tests/ipv6.nix
··· 8 8 }; 9 9 10 10 nodes = 11 - # Remove the interface configuration provided by makeTest so that the 12 - # interfaces are all configured implicitly 13 - { client = { ... }: { networking.interfaces = lib.mkForce {}; }; 11 + { 12 + # We use lib.mkForce here to remove the interface configuration 13 + # provided by makeTest, so that the interfaces are all configured 14 + # implicitly. 15 + 16 + # This client should use privacy extensions fully, having a 17 + # completely-default network configuration. 18 + client_defaults.networking.interfaces = lib.mkForce {}; 19 + 20 + # Both of these clients should obtain temporary addresses, but 21 + # not use them as the default source IP. We thus run the same 22 + # checks against them — but the configuration resulting in this 23 + # behaviour is different. 24 + 25 + # Here, by using an altered default value for the global setting... 26 + client_global_setting = { 27 + networking.interfaces = lib.mkForce {}; 28 + networking.tempAddresses = "enabled"; 29 + }; 30 + # and here, by setting this on the interface explicitly. 31 + client_interface_setting = { 32 + networking.tempAddresses = "disabled"; 33 + networking.interfaces = lib.mkForce { 34 + eth1.tempAddress = "enabled"; 35 + }; 36 + }; 14 37 15 38 server = 16 - { ... }: 17 39 { services.httpd.enable = true; 18 40 services.httpd.adminAddr = "foo@example.org"; 19 41 networking.firewall.allowedTCPPorts = [ 80 ]; ··· 62 40 # Start the router first so that it respond to router solicitations. 63 41 router.wait_for_unit("radvd") 64 42 43 + clients = [client_defaults, client_global_setting, client_interface_setting] 44 + 65 45 start_all() 66 46 67 - client.wait_for_unit("network.target") 47 + for client in clients: 48 + client.wait_for_unit("network.target") 68 49 server.wait_for_unit("network.target") 69 50 server.wait_for_unit("httpd.service") 70 51 ··· 89 64 90 65 91 66 with subtest("Loopback address can be pinged"): 92 - client.succeed("ping -c 1 ::1 >&2") 93 - client.fail("ping -c 1 ::2 >&2") 67 + client_defaults.succeed("ping -c 1 ::1 >&2") 68 + client_defaults.fail("ping -c 1 2001:db8:: >&2") 94 69 95 70 with subtest("Local link addresses can be obtained and pinged"): 96 - client_ip = wait_for_address(client, "eth1", "link") 97 - server_ip = wait_for_address(server, "eth1", "link") 98 - client.succeed(f"ping -c 1 {client_ip}%eth1 >&2") 99 - client.succeed(f"ping -c 1 {server_ip}%eth1 >&2") 71 + for client in clients: 72 + client_ip = wait_for_address(client, "eth1", "link") 73 + server_ip = wait_for_address(server, "eth1", "link") 74 + client.succeed(f"ping -c 1 {client_ip}%eth1 >&2") 75 + client.succeed(f"ping -c 1 {server_ip}%eth1 >&2") 100 76 101 77 with subtest("Global addresses can be obtained, pinged, and reached via http"): 102 - client_ip = wait_for_address(client, "eth1", "global") 103 - server_ip = wait_for_address(server, "eth1", "global") 104 - client.succeed(f"ping -c 1 {client_ip} >&2") 105 - client.succeed(f"ping -c 1 {server_ip} >&2") 106 - client.succeed(f"curl --fail -g http://[{server_ip}]") 107 - client.fail(f"curl --fail -g http://[{client_ip}]") 78 + for client in clients: 79 + client_ip = wait_for_address(client, "eth1", "global") 80 + server_ip = wait_for_address(server, "eth1", "global") 81 + client.succeed(f"ping -c 1 {client_ip} >&2") 82 + client.succeed(f"ping -c 1 {server_ip} >&2") 83 + client.succeed(f"curl --fail -g http://[{server_ip}]") 84 + client.fail(f"curl --fail -g http://[{client_ip}]") 108 85 109 - with subtest("Privacy extensions: Global temporary address can be obtained and pinged"): 110 - ip = wait_for_address(client, "eth1", "global", temporary=True) 86 + with subtest( 87 + "Privacy extensions: Global temporary address is used as default source address" 88 + ): 89 + ip = wait_for_address(client_defaults, "eth1", "global", temporary=True) 111 90 # Default route should have "src <temporary address>" in it 112 - client.succeed(f"ip r g ::2 | grep {ip}") 91 + client_defaults.succeed(f"ip route get 2001:db8:: | grep 'src {ip}'") 113 92 114 - # TODO: test reachability of a machine on another network. 93 + for client, setting_desc in ( 94 + (client_global_setting, "global"), 95 + (client_interface_setting, "interface"), 96 + ): 97 + with subtest(f'Privacy extensions: "enabled" through {setting_desc} setting)'): 98 + # We should be obtaining both a temporary address and an EUI-64 address... 99 + ip = wait_for_address(client, "eth1", "global") 100 + assert "ff:fe" in ip 101 + ip_temp = wait_for_address(client, "eth1", "global", temporary=True) 102 + # But using the EUI-64 one. 103 + client.succeed(f"ip route get 2001:db8:: | grep 'src {ip}'") 115 104 ''; 116 105 })
+2
pkgs/applications/audio/audacity/default.nix
··· 15 15 , lilv 16 16 , serd 17 17 , sord 18 + , sqlite 18 19 , sratom 19 20 , suil 20 21 , alsaLib ··· 131 130 sord 132 131 soundtouch 133 132 soxr 133 + sqlite 134 134 sratom 135 135 suil 136 136 twolame
+3 -3
pkgs/applications/blockchains/turbo-geth.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "turbo-geth"; 5 - version = "2021.04.05"; 5 + version = "2021.05.01"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ledgerwatch"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-RTPNJASNFyZ6tDJj0WOqALyxRsOLJzPy0qA1c2sSxys="; 11 + sha256 = "sha256-zvxtBK0/6fShxAZfU4gTV0XiP6TzhKFNsADSZA9gv0Y="; 12 12 }; 13 13 14 - vendorSha256 = "01c7lb6n00ws60dfybir0z5dbn6h68p5s4hbq0ga2g7drf3l3y0p"; 14 + vendorSha256 = "0c8p6djs0zcci8sh4zgzky89155mr4cfqlax025618x8vngrsxf2"; 15 15 runVend = true; 16 16 17 17 subPackages = [
+2 -2
pkgs/applications/editors/zile/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "zile"; 16 - version = "2.6.1"; 16 + version = "2.6.2"; 17 17 18 18 src = fetchurl { 19 19 url = "mirror://gnu/zile/${pname}-${version}.tar.gz"; 20 - hash = "sha256-v7rN33aOORc6J0Z5JP5AmZCj6XvjYyoCl5hl+7mvAnc="; 20 + hash = "sha256-d+t9r/PJi9yI2qGsBA3MynK4HcMvwxZuB53Xpj5Cx0E="; 21 21 }; 22 22 23 23 buildInputs = [
+2 -2
pkgs/applications/graphics/solvespace/default.nix
··· 3 3 }: 4 4 stdenv.mkDerivation rec { 5 5 pname = "solvespace"; 6 - version = "v3.0.rc2"; 6 + version = "v3.0"; 7 7 src = fetchFromGitHub { 8 8 owner = pname; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "1z0873gwcr0hybrpqy4hwislir6k2zb4s62lbsivq5nbkizy7gjm"; 11 + sha256 = "04aympdsjp37vp0p13mb8nwkc080hp9cdrjpyy5m1mhwkm8jm9k9"; 12 12 fetchSubmodules = true; 13 13 }; 14 14
+1 -1
pkgs/applications/misc/dbeaver/default.nix
··· 17 17 }: 18 18 19 19 stdenv.mkDerivation rec { 20 - pname = "dbeaver-ce"; 20 + pname = "dbeaver"; 21 21 version = "21.0.4"; # When updating also update fetchedMavenDeps.sha256 22 22 23 23 src = fetchFromGitHub {
+6 -2
pkgs/applications/networking/browsers/brave/default.nix
··· 90 90 91 91 stdenv.mkDerivation rec { 92 92 pname = "brave"; 93 - version = "1.23.71"; 93 + version = "1.24.82"; 94 94 95 95 src = fetchurl { 96 96 url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; 97 - sha256 = "17ajn1vx5xwlp2yvjf1hr8vw3b7hiribv5gaipyb37zrhkff241h"; 97 + sha256 = "iWUJ5yLWWQvg510Atf+Pd9ya/1NnMNW2Sp/RVFn4PCc="; 98 98 }; 99 99 100 100 dontConfigure = true; ··· 109 109 unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner"; 110 110 111 111 installPhase = '' 112 + runHook preInstall 113 + 112 114 mkdir -p $out $out/bin 113 115 114 116 cp -R usr/share $out ··· 150 148 # Replace xdg-settings and xdg-mime 151 149 ln -sf ${xdg-utils}/bin/xdg-settings $out/opt/brave.com/brave/xdg-settings 152 150 ln -sf ${xdg-utils}/bin/xdg-mime $out/opt/brave.com/brave/xdg-mime 151 + 152 + runHook postInstall 153 153 ''; 154 154 155 155 installCheckPhase = ''
+2
pkgs/applications/networking/browsers/chromium/common.nix
··· 20 20 , pipewire 21 21 , libva 22 22 , libdrm, wayland, mesa, libxkbcommon # Ozone 23 + , curl 23 24 24 25 # optional dependencies 25 26 , libgcrypt ? null # gnomeSupport || cupsSupport ··· 156 155 pipewire 157 156 libva 158 157 libdrm wayland mesa.drivers libxkbcommon 158 + curl 159 159 ] ++ optional gnomeKeyringSupport libgnome-keyring3 160 160 ++ optionals gnomeSupport [ gnome.GConf libgcrypt ] 161 161 ++ optionals cupsSupport [ libgcrypt cups ]
+4 -3
pkgs/applications/networking/browsers/lagrange/default.nix
··· 10 10 , pcre 11 11 , SDL2 12 12 , AppKit 13 + , zlib 13 14 }: 14 15 15 16 stdenv.mkDerivation rec { 16 17 pname = "lagrange"; 17 - version = "1.3.4"; 18 + version = "1.4.0"; 18 19 19 20 src = fetchFromGitHub { 20 21 owner = "skyjake"; 21 22 repo = "lagrange"; 22 23 rev = "v${version}"; 23 - sha256 = "sha256-hPNqyTH2oMPytvYAF9sjEQ9ibaJYDODA33ZrDuWnloU="; 24 + sha256 = "sha256-l8k81w+ilkOk8iQTc46+HK40JQZ0dCYVAvkGTrEpZSQ="; 24 25 fetchSubmodules = true; 25 26 }; 26 27 27 28 nativeBuildInputs = [ cmake pkg-config ]; 28 29 29 - buildInputs = [ libunistring mpg123 openssl pcre SDL2 ] 30 + buildInputs = [ libunistring mpg123 openssl pcre SDL2 zlib ] 30 31 ++ lib.optional stdenv.isDarwin AppKit; 31 32 32 33 hardeningDisable = lib.optional (!stdenv.cc.isClang) "format";
+10 -4
pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix
··· 43 43 in 44 44 stdenv.mkDerivation rec { 45 45 pname = "mattermost-desktop"; 46 - version = "4.5.2"; 46 + version = "4.6.2"; 47 47 48 48 src = 49 49 if stdenv.hostPlatform.system == "x86_64-linux" then 50 50 fetchurl { 51 51 url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-x64.tar.gz"; 52 - sha256 = "0r9xmhzif1ia1m53yr59q6p3niyq3jv3vgv4703x68jmd46f91n6"; 52 + sha256 = "0i836bc0gx375a9fm2cdxg84k03zhpx1z6jqxndf2m8pkfsblc3x"; 53 53 } 54 54 else if stdenv.hostPlatform.system == "i686-linux" then 55 55 fetchurl { 56 56 url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-ia32.tar.gz"; 57 - sha256 = "1h8lw06p3cqz9dkgbhfmzcrzjsir5cfhx28xm4zrmvkj4yfzbcnv"; 57 + sha256 = "04jv9hkmkh0jipv0fjdprnp5kmkjvf3c0fah6ysi21wmnmp5ab3m"; 58 58 } 59 59 else 60 60 throw "Mattermost-Desktop is not currently supported on ${stdenv.hostPlatform.system}"; ··· 63 63 dontConfigure = true; 64 64 dontPatchELF = true; 65 65 66 - buildInputs = [ wrapGAppsHook gtk3 hicolor-icon-theme ]; 66 + nativeBuildInputs = [ wrapGAppsHook ]; 67 + 68 + buildInputs = [ gtk3 hicolor-icon-theme ]; 67 69 68 70 installPhase = '' 71 + runHook preInstall 72 + 69 73 mkdir -p $out/share/mattermost-desktop 70 74 cp -R . $out/share/mattermost-desktop 71 75 ··· 90 86 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 91 87 --set-rpath "${rpath}:$out/share/mattermost-desktop" \ 92 88 $out/share/mattermost-desktop/mattermost-desktop 89 + 90 + runHook postInstall 93 91 ''; 94 92 95 93 meta = with lib; {
+4 -4
pkgs/applications/office/libreoffice/src-fresh/download.nix
··· 637 637 md5name = "a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz"; 638 638 } 639 639 { 640 - name = "neon-0.31.1.tar.gz"; 641 - url = "https://dev-www.libreoffice.org/src/neon-0.31.1.tar.gz"; 642 - sha256 = "c9dfcee723050df37ce18ba449d7707b78e7ab8230f3a4c59d9112e17dc2718d"; 640 + name = "neon-0.31.2.tar.gz"; 641 + url = "https://dev-www.libreoffice.org/src/neon-0.31.2.tar.gz"; 642 + sha256 = "cf1ee3ac27a215814a9c80803fcee4f0ede8466ebead40267a9bd115e16a8678"; 643 643 md5 = ""; 644 - md5name = "c9dfcee723050df37ce18ba449d7707b78e7ab8230f3a4c59d9112e17dc2718d-neon-0.31.1.tar.gz"; 644 + md5name = "cf1ee3ac27a215814a9c80803fcee4f0ede8466ebead40267a9bd115e16a8678-neon-0.31.2.tar.gz"; 645 645 } 646 646 { 647 647 name = "nss-3.55-with-nspr-4.27.tar.gz";
+4 -4
pkgs/applications/office/libreoffice/src-fresh/primary.nix
··· 8 8 9 9 major = "7"; 10 10 minor = "1"; 11 - patch = "2"; 11 + patch = "3"; 12 12 tweak = "2"; 13 13 14 14 subdir = "${major}.${minor}.${patch}"; ··· 17 17 18 18 src = fetchurl { 19 19 url = "https://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz"; 20 - sha256 = "1y19p9701msf6jjzp9d5ighvmyjzj68qzhm2bk3l5p16ys8qk9bb"; 20 + sha256 = "1gr9c8kv7nc9kaag1sw9r36843pfba1my80afx7p0lxj0k8pzbrm"; 21 21 }; 22 22 23 23 # FIXME rename 24 24 translations = fetchSrc { 25 25 name = "translations"; 26 - sha256 = "1j5251lbc35d521d92w52lgps0v5pg8mhr8y3r6x2nl9p0gvw957"; 26 + sha256 = "09xkr6jmnwq55savw9xjsy8l8zcyflnsg4nfwhknvm3ls8sqj4w6"; 27 27 }; 28 28 29 29 # the "dictionaries" archive is not used for LO build because we already build hunspellDicts packages from ··· 31 31 32 32 help = fetchSrc { 33 33 name = "help"; 34 - sha256 = "1bsrkmzhhpyrmi7akmdfvz4zb543fc093az9965k14rp8l6rhnvf"; 34 + sha256 = "0dc981vmxfdwlyfgq84axkr99d8chm1ypknj39v0cmaqn56lpwg0"; 35 35 }; 36 36 }
+4 -3
pkgs/applications/version-management/git-and-tools/stgit/default.nix
··· 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "stgit"; 5 - version = "1.0"; 5 + version = "1.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "stacked-git"; 9 9 repo = "stgit"; 10 10 rev = "v${version}"; 11 - sha256 = "16q8994widg040n1ag4m82kbn3r02n39ah7dvwa7aixhw5y35vlm"; 11 + sha256 = "sha256-gfPf1yRmx1Mn1TyCBWmjQJBgXLlZrDcew32C9o6uNYk="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ installShellFiles ]; ··· 24 24 meta = with lib; { 25 25 description = "A patch manager implemented on top of Git"; 26 26 homepage = "https://stacked-git.github.io/"; 27 - license = licenses.gpl2; 27 + license = licenses.gpl2Only; 28 28 platforms = platforms.unix; 29 + maintainers = with maintainers; [ jshholland ]; 29 30 }; 30 31 }
+5 -4
pkgs/applications/video/jellyfin-media-player/default.nix
··· 26 26 27 27 mkDerivation rec { 28 28 pname = "jellyfin-media-player"; 29 - version = "1.5.0"; 29 + version = "1.6.0"; 30 30 31 31 src = fetchFromGitHub { 32 32 owner = "jellyfin"; 33 33 repo = "jellyfin-media-player"; 34 34 rev = "v${version}"; 35 - sha256 = "sha256-A3vo6678XFUV2RN1lcGYbIjCbBjR1oeORcidKZVnImg="; 35 + sha256 = "sha256-u19WJupSqIzA8W0QG9mue8Ticy+HxBAniuKIUFl7ONs="; 36 36 }; 37 37 38 38 jmpDist = fetchzip { 39 - url = "https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.2-3/dist.zip"; 40 - sha256 = "sha256-Rb0q3NFmnYkueq0JkIWkX0C/oL+gFrNOELCNfh9X/P4="; 39 + url = "https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.3/dist.zip"; 40 + sha256 = "sha256-P7WEYbVvpaVLwMgqC2e8QtMOaJclg0bX78J1fdGzcCU="; 41 41 }; 42 42 43 43 patches = [ ··· 106 106 license = with licenses; [ gpl2Only mit ]; 107 107 platforms = [ "x86_64-linux" "x86_64-darwin" ]; 108 108 maintainers = with maintainers; [ jojosch ]; 109 + mainProgram = "jellyfinmediaplayer"; 109 110 }; 110 111 }
+5 -17
pkgs/applications/window-managers/dwl/default.nix
··· 5 5 , libinput 6 6 , libxcb 7 7 , libxkbcommon 8 + , pixman 8 9 , wayland 9 10 , wayland-protocols 10 11 , wlroots ··· 17 16 }: 18 17 19 18 let 20 - # Add two patches to fix compile errors with wlroots 0.13: 21 - totalPatches = patches ++ [ 22 - # Fix the renamed constant WLR_KEY_PRESSED => WL_KEYBOARD_KEY_STATE_PRESSED 23 - # https://github.com/djpohly/dwl/pull/66 24 - (fetchpatch { 25 - url = "https://github.com/djpohly/dwl/commit/a42613db9d9f6debfa4fb2363d75af9457d238ed.patch"; 26 - sha256 = "0h76hx1fhazi07gqg7sljh13f91v6bvjy7m9qqmimhvqgfwdcc0j"; 27 - }) 28 - # Use the new signature for wlr_backend_autocreate, which removes an argument: 29 - # https://github.com/djpohly/dwl/pull/76 30 - (fetchpatch { 31 - url = "https://github.com/djpohly/dwl/commit/0ff13cf216056a36a261f4eed53c6a864989a9fb.patch"; 32 - sha256 = "18clpdb4il1vxf1b0cx0qrwild68s9dism8ab66zpmvxs5qag2dm"; 33 - }) 34 - ]; 19 + totalPatches = patches ++ [ ]; 35 20 in 36 21 37 22 stdenv.mkDerivation rec { 38 23 pname = "dwl"; 39 - version = "0.2"; 24 + version = "0.2.1"; 40 25 41 26 src = fetchFromGitHub { 42 27 owner = "djpohly"; 43 28 repo = pname; 44 29 rev = "v${version}"; 45 - sha256 = "gUaFTkpIQDswEubllMgvxPfCaEYFO7mODzjPyW7XsGQ="; 30 + sha256 = "sha256-lfUAymLA4+E9kULZIueA+9gyVZYgaVS0oTX0LJjsSEs="; 46 31 }; 47 32 48 33 nativeBuildInputs = [ pkg-config ]; ··· 36 49 libinput 37 50 libxcb 38 51 libxkbcommon 52 + pixman 39 53 wayland 40 54 wayland-protocols 41 55 wlroots
+2 -1
pkgs/development/compilers/ghc/8.10.2-binary.nix
··· 214 214 enableShared = true; 215 215 }; 216 216 217 - meta = { 217 + meta = rec { 218 218 homepage = "http://haskell.org/ghc"; 219 219 description = "The Glasgow Haskell Compiler"; 220 220 license = lib.licenses.bsd3; 221 221 platforms = ["x86_64-linux" "armv7l-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"]; 222 + hydraPlatforms = builtins.filter (p: minimal || p != "aarch64-linux") platforms; 222 223 maintainers = with lib.maintainers; [ lostnet ]; 223 224 }; 224 225 }
+5 -2
pkgs/development/compilers/ghc/8.6.5-binary.nix
··· 173 173 enableShared = true; 174 174 }; 175 175 176 - meta.license = lib.licenses.bsd3; 177 - meta.platforms = ["x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"]; 176 + meta = rec { 177 + license = lib.licenses.bsd3; 178 + platforms = ["x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"]; 179 + hydraPlatforms = builtins.filter (p: p != "aarch64-linux") platforms; 180 + }; 178 181 }
+3 -5
pkgs/development/compilers/kotlin/default.nix
··· 1 1 { lib, stdenv, fetchurl, makeWrapper, jre, unzip }: 2 2 3 - let 4 - version = "1.4.21"; 5 - in stdenv.mkDerivation { 6 - inherit version; 3 + stdenv.mkDerivation rec { 7 4 pname = "kotlin"; 5 + version = "1.4.32"; 8 6 9 7 src = fetchurl { 10 8 url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip"; 11 - sha256 = "1ixnwrvgs14f9160d9d69r7w2dfp5cdwiwpk1ky0ps8nly8hjwj6"; 9 + hash = "sha256-3+8ju4a9XzYWbU7BJnyN5Ts4J8RG1U6CMixrbarTWUw="; 12 10 }; 13 11 14 12 propagatedBuildInputs = [ jre ] ;
-79
pkgs/development/interpreters/spidermonkey/1.8.5.nix
··· 1 - { stdenv, lib, autoconf213, fetchurl, fetchpatch, pkg-config, nspr, perl, python2, zip }: 2 - 3 - stdenv.mkDerivation { 4 - pname = "spidermonkey"; 5 - version = "1.8.5"; 6 - 7 - src = fetchurl { 8 - url = "mirror://mozilla/js/js185-1.0.0.tar.gz"; 9 - sha256 = "5d12f7e1f5b4a99436685d97b9b7b75f094d33580227aa998c406bbae6f2a687"; 10 - }; 11 - 12 - propagatedBuildInputs = [ nspr ]; 13 - 14 - nativeBuildInputs = [ pkg-config ] ++ lib.optional stdenv.isAarch32 autoconf213; 15 - buildInputs = [ perl python2 zip ]; 16 - 17 - postUnpack = "sourceRoot=\${sourceRoot}/js/src"; 18 - 19 - preConfigure = '' 20 - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${nspr.dev}/include/nspr" 21 - export LIBXUL_DIST=$out 22 - ${lib.optionalString stdenv.isAarch32 "autoreconf --verbose --force"} 23 - ''; 24 - 25 - patches = [ 26 - (fetchpatch { 27 - name = "gcc6.patch"; 28 - url = "https://sources.debian.org/data/main/m/mozjs/1.8.5-1.0.0+dfsg-6/debian/patches/fix-811665.patch"; 29 - sha256 = "1q8477xqxiy5d8376k5902l45gd0qkd4nxmhl8vr6rr1pxfcny99"; 30 - }) 31 - ] ++ lib.optionals stdenv.isAarch32 [ 32 - # Explained below in configureFlags for ARM 33 - ./1.8.5-findvanilla.patch 34 - # Fix for hard float flags. 35 - ./1.8.5-arm-flags.patch 36 - ]; 37 - 38 - patchFlags = [ "-p3" ]; 39 - 40 - # fixes build on gcc8 41 - postPatch = '' 42 - substituteInPlace ./methodjit/MethodJIT.cpp \ 43 - --replace 'asm volatile' 'asm' 44 - ''; 45 - 46 - # On the Sheevaplug, ARM, its nanojit thing segfaults in japi-tests in 47 - # "make check". Disabling tracejit makes it work, but then it needs the 48 - # patch findvanilla.patch do disable a checker about allocator safety. In case 49 - # of polkit, which is what matters most, it does not override the allocator 50 - # so the failure of that test does not matter much. 51 - configureFlags = [ "--enable-threadsafe" "--with-system-nspr" ] ++ 52 - lib.optionals (stdenv.hostPlatform.system == "armv5tel-linux") [ 53 - "--with-cpu-arch=armv5t" 54 - "--disable-tracejit" ]; 55 - 56 - # hack around a make problem, see https://github.com/NixOS/nixpkgs/issues/1279#issuecomment-29547393 57 - preBuild = '' 58 - touch -- {.,shell,jsapi-tests}/{-lpthread,-ldl} 59 - ${if stdenv.isAarch32 then "rm -r jit-test/tests/jaeger/bug563000" else ""} 60 - ''; 61 - 62 - enableParallelBuilding = true; 63 - 64 - doCheck = true; 65 - 66 - preCheck = '' 67 - rm jit-test/tests/sunspider/check-date-format-tofte.js # https://bugzil.la/600522 68 - ''; 69 - 70 - meta = with lib; { 71 - description = "Mozilla's JavaScript engine written in C/C++"; 72 - homepage = "https://developer.mozilla.org/en/SpiderMonkey"; 73 - # TODO: MPL/GPL/LGPL tri-license. 74 - maintainers = [ maintainers.goibhniu ]; 75 - platforms = platforms.linux; 76 - broken = stdenv.isAarch64; # 2018-08-21, broken since 2017-03-08 77 - }; 78 - } 79 -
+2 -2
pkgs/development/libraries/libplacebo/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "libplacebo"; 19 - version = "3.120.2"; 19 + version = "3.120.3"; 20 20 21 21 src = fetchFromGitLab { 22 22 domain = "code.videolan.org"; 23 23 owner = "videolan"; 24 24 repo = pname; 25 25 rev = "v${version}"; 26 - sha256 = "0wh5w7bx789ynnzr27xi0csql4jaxq80csawg6znabw3ld54wb86"; 26 + sha256 = "02hiyhnjdz3zqnzks9bi7my62a85k9k9vfgmh9fy19snsbkd6l80"; 27 27 }; 28 28 29 29 nativeBuildInputs = [
+18 -12
pkgs/development/libraries/physics/fastnlo/default.nix pkgs/development/libraries/physics/fastnlo_toolkit/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 + , autoreconfHook 4 5 , boost 5 - , fastjet 6 6 , gfortran 7 7 , lhapdf 8 - , python2 9 - , root 8 + , ncurses 9 + , python 10 + , swig 10 11 , yoda 11 12 , zlib 13 + , withPython ? false 12 14 }: 13 15 14 16 stdenv.mkDerivation rec { 15 17 pname = "fastnlo_toolkit"; 16 - version = "2.3.1pre-2402"; 18 + version = "2.3.1pre-2411"; 17 19 18 20 src = fetchurl { 19 - url = "https://fastnlo.hepforge.org/code/v23/${pname}-${version}.tar.gz"; 20 - sha256 = "1h41xnqcz401x3zbs8i2dsb4xlhbv8i5ps0561p6y7gcyridgcbl"; 21 + urls = [ 22 + "https://fastnlo.hepforge.org/code/v23/${pname}-${version}.tar.gz" 23 + "https://sid.ethz.ch/debian/fastnlo/${pname}-${version}.tar.gz" 24 + ]; 25 + sha256 = "0fm9k732pmi3prbicj2yaq815nmcjll95fagjqzf542ng3swpqnb"; 21 26 }; 27 + 28 + nativeBuildInputs = lib.optional withPython autoreconfHook; 22 29 23 30 buildInputs = [ 24 31 boost 25 - fastjet 26 32 gfortran 27 33 gfortran.cc.lib 28 34 lhapdf 29 - python2 30 - root 31 35 yoda 32 - ]; 36 + ] ++ lib.optional withPython python 37 + ++ lib.optional (withPython && python.isPy3k) ncurses; 38 + 33 39 propagatedBuildInputs = [ 34 40 zlib 35 - ]; 41 + ] ++ lib.optional withPython swig; 36 42 37 43 preConfigure = '' 38 44 substituteInPlace ./fastnlotoolkit/Makefile.in \ ··· 47 41 48 42 configureFlags = [ 49 43 "--with-yoda=${yoda}" 50 - ]; 44 + ] ++ lib.optional withPython "--enable-pyext"; 51 45 52 46 enableParallelBuilding = true; 53 47
+18 -4
pkgs/development/python-modules/aiohue/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, aiohttp }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , aiohttp 5 + }: 2 6 3 7 buildPythonPackage rec { 4 8 pname = "aiohue"; 5 - version = "2.2.0"; 9 + version = "2.3.0"; 6 10 7 11 src = fetchPypi { 8 12 inherit pname version; 9 - sha256 = "35696d04d6eb0328b7031ea3c0a3cfe5d83dfcf62f920522e4767d165c6bc529"; 13 + sha256 = "1xinllv2cvxl9fxi15nayzw9lfzijb3m7i49gkkr46qr8xvsavyk"; 10 14 }; 11 15 12 - propagatedBuildInputs = [ aiohttp ]; 16 + propagatedBuildInputs = [ 17 + aiohttp 18 + ]; 19 + 20 + pythonImportsCheck = [ 21 + "aiohue" 22 + "aiohue.discovery" 23 + ]; 24 + 25 + # has no tests 26 + doCheck = false; 13 27 14 28 meta = with lib; { 15 29 description = "asyncio package to talk to Philips Hue";
+66
pkgs/development/python-modules/aiopvpc/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , async-timeout 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , fetchpatch 7 + , poetry-core 8 + , pytest-asyncio 9 + , pytest-timeout 10 + , pytestCheckHook 11 + , pythonOlder 12 + , pytz 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "aiopvpc"; 17 + version = "2.0.2"; 18 + disabled = pythonOlder "3.7"; 19 + format = "pyproject"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "azogue"; 23 + repo = pname; 24 + rev = "v${version}"; 25 + sha256 = "1ajs4kbdlfn4h7f3d6lwkp4yl1rl7zyvj997nhsz93jjwxbajkpv"; 26 + }; 27 + 28 + nativeBuildInputs = [ 29 + poetry-core 30 + ]; 31 + 32 + propagatedBuildInputs = [ 33 + aiohttp 34 + pytz 35 + async-timeout 36 + ]; 37 + 38 + checkInputs = [ 39 + pytest-asyncio 40 + pytest-timeout 41 + pytestCheckHook 42 + ]; 43 + 44 + patches = [ 45 + # Switch to poetry-core, https://github.com/azogue/aiopvpc/pull/10 46 + (fetchpatch { 47 + name = "use-peotry-core.patch"; 48 + url = "https://github.com/azogue/aiopvpc/commit/4bc2740ffd485a60acf579b4f3eb5ee6a353245c.patch"; 49 + sha256 = "0ynj7pqq3akdvdrvqcwnnslay3mn1q92qhk8fg95ppflzscixli6"; 50 + }) 51 + ]; 52 + 53 + postPatch = '' 54 + substituteInPlace pytest.ini --replace \ 55 + " --cov --cov-report term --cov-report html" "" 56 + ''; 57 + 58 + pythonImportsCheck = [ "aiopvpc" ]; 59 + 60 + meta = with lib; { 61 + description = "Python module to download Spanish electricity hourly prices (PVPC)"; 62 + homepage = "https://github.com/azogue/aiopvpc"; 63 + license = with licenses; [ mit ]; 64 + maintainers = with maintainers; [ fab ]; 65 + }; 66 + }
+38
pkgs/development/python-modules/asyncstdlib/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , typing-extensions 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "asyncstdlib"; 11 + version = "3.9.1"; 12 + disabled = pythonOlder "3.7"; 13 + format = "flit"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "maxfischer2781"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "13ranr7zi61w52vfrxwkf32bbhk88j0r5c5z2x2h5vw268001lk2"; 20 + }; 21 + 22 + propagatedBuildInputs = [ 23 + typing-extensions 24 + ]; 25 + 26 + checkInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + pythonImportsCheck = [ "asyncstdlib" ]; 31 + 32 + meta = with lib; { 33 + description = "Python library that extends the Python asyncio standard library"; 34 + homepage = "https://asyncstdlib.readthedocs.io/"; 35 + license = with licenses; [ mit ]; 36 + maintainers = with maintainers; [ fab ]; 37 + }; 38 + }
+2
pkgs/development/python-modules/chalice/default.nix
··· 7 7 , click 8 8 , enum-compat 9 9 , hypothesis 10 + , inquirer 10 11 , jmespath 11 12 , mock 12 13 , mypy-extensions ··· 36 35 botocore 37 36 click 38 37 enum-compat 38 + inquirer 39 39 jmespath 40 40 mypy-extensions 41 41 pip
+29 -11
pkgs/development/python-modules/denonavr/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, isPy27, requests, netifaces 2 - , pytestCheckHook, testtools, requests-mock }: 1 + { lib 2 + , asyncstdlib 3 + , attrs 4 + , buildPythonPackage 5 + , defusedxml 6 + , fetchFromGitHub 7 + , httpx 8 + , netifaces 9 + , pytest-asyncio 10 + , pytestCheckHook 11 + , pytest-httpx 12 + , pytest-timeout 13 + , pythonOlder 14 + }: 3 15 4 16 buildPythonPackage rec { 5 17 pname = "denonavr"; 6 - version = "0.9.10"; 7 - disabled = isPy27; 18 + version = "0.10.6"; 19 + disabled = pythonOlder "3.6"; 8 20 9 21 src = fetchFromGitHub { 10 22 owner = "scarface-4711"; 11 - repo = "denonavr"; 23 + repo = pname; 12 24 rev = version; 13 - sha256 = "sha256-3ap8F3ayBTpaR98md+gT0+hkIWlFBNxStTGWT5AL//A="; 25 + sha256 = "sha256-jcbjExcyZSE+qVPuYiMmuneugDMBoYz4apY/lz4JnMI="; 14 26 }; 15 27 16 28 propagatedBuildInputs = [ 17 - requests 29 + asyncstdlib 30 + attrs 31 + defusedxml 32 + httpx 18 33 netifaces 19 34 ]; 20 35 21 36 checkInputs = [ 37 + pytest-asyncio 22 38 pytestCheckHook 23 - testtools 24 - requests-mock 39 + pytest-httpx 40 + pytest-timeout 25 41 ]; 26 42 43 + pythonImportsCheck = [ "denonavr" ]; 44 + 27 45 meta = with lib; { 46 + description = "Automation Library for Denon AVR receivers"; 28 47 homepage = "https://github.com/scarface-4711/denonavr"; 29 - description = "Automation Library for Denon AVR receivers."; 30 - license = licenses.mit; 48 + license = with licenses; [ mit ]; 31 49 maintainers = with maintainers; [ colemickens ]; 32 50 }; 33 51 }
+9 -8
pkgs/development/python-modules/netdisco/default.nix
··· 1 - { lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, netifaces, pytest }: 1 + { lib, buildPythonPackage, isPy3k, fetchPypi, requests, zeroconf, pytestCheckHook }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "netdisco"; 5 - version = "2.8.2"; 5 + version = "2.8.3"; 6 6 7 7 disabled = !isPy3k; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "dcaabf83b204282aacfb213b18799eb7af2d5a6defe529487bbd0548036392fe"; 11 + sha256 = "sha256-4WS9PiErB6U7QuejTvbrOmnHetbE5S4zaUyhLCbyihM="; 12 12 }; 13 13 14 - propagatedBuildInputs = [ requests zeroconf netifaces ]; 14 + propagatedBuildInputs = [ requests zeroconf ]; 15 15 16 - checkInputs = [ pytest ]; 16 + checkInputs = [ pytestCheckHook ]; 17 17 18 - checkPhase = '' 19 - py.test 20 - ''; 18 + pythonImportsCheck = [ 19 + "netdisco" 20 + "netdisco.discovery" 21 + ]; 21 22 22 23 meta = with lib; { 23 24 description = "Python library to scan local network for services and devices";
+18 -7
pkgs/development/python-modules/pgspecial/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pytest, psycopg2, click, sqlparse }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytestCheckHook 5 + , psycopg2 6 + , click 7 + , configobj 8 + , sqlparse 9 + }: 2 10 3 11 buildPythonPackage rec { 4 12 pname = "pgspecial"; ··· 17 9 sha256 = "b68feb0005f57861573d3fbb82c5c777950decfbb2d1624af57aec825db02c02"; 18 10 }; 19 11 20 - checkInputs = [ pytest ]; 21 - propagatedBuildInputs = [ click sqlparse psycopg2 ]; 12 + propagatedBuildInputs = [ 13 + click 14 + sqlparse 15 + psycopg2 16 + ]; 22 17 23 - checkPhase = '' 24 - find tests -name \*.pyc -delete 25 - py.test tests 26 - ''; 18 + checkInputs = [ 19 + configobj 20 + pytestCheckHook 21 + ]; 27 22 28 23 meta = with lib; { 29 24 description = "Meta-commands handler for Postgres Database";
+2 -2
pkgs/development/python-modules/pyclimacell/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pyclimacell"; 12 - version = "0.18.0"; 12 + version = "0.18.2"; 13 13 disabled = pythonOlder "3.6"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "raman325"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "0pxlh3lwd1az6v7vbaz9kv6ngqxf34iddp7vr0d0p8apbvinwrha"; 19 + sha256 = "sha256-jWHjnebg4Aar48gid7bB7XYXOQtSqbmVmASsZd0YoPc="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pycm/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, isPy3k, numpy, pytest }: 1 + { lib, buildPythonPackage, fetchFromGitHub, isPy3k, matplotlib, numpy, pytest, seaborn }: 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pycm"; ··· 20 20 ''; 21 21 22 22 checkInputs = [ pytest ]; 23 - propagatedBuildInputs = [ numpy ]; 23 + propagatedBuildInputs = [ matplotlib numpy seaborn ]; 24 24 25 25 checkPhase = '' 26 26 pytest Test/
+1
pkgs/development/python-modules/pytest-annotate/default.nix
··· 31 31 doCheck = false; 32 32 33 33 meta = with lib; { 34 + broken = true; # unmaintained and incompatible with pytest>=6.0 34 35 homepage = "https://github.com/kensho-technologies/pytest-annotate"; 35 36 description = "Generate PyAnnotate annotations from your pytest tests"; 36 37 license = licenses.asl20;
+13 -8
pkgs/development/python-modules/python-redis-lock/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , redis 5 - , pytest 5 + , pytestCheckHook 6 6 , process-tests 7 7 , pkgs 8 8 , withDjango ? false, django_redis ··· 17 17 sha256 = "4265a476e39d476a8acf5c2766485c44c75f3a1bd6cf73bb195f3079153b8374"; 18 18 }; 19 19 20 - checkInputs = [ pytest process-tests pkgs.redis ]; 20 + propagatedBuildInputs = [ 21 + redis 22 + ] ++ lib.optional withDjango django_redis; 21 23 22 - checkPhase = '' 23 - pytest tests/ 24 - ''; 24 + checkInputs = [ 25 + pytestCheckHook 26 + process-tests 27 + pkgs.redis 28 + ]; 25 29 26 - propagatedBuildInputs = [ redis ] 27 - ++ lib.optional withDjango django_redis; 28 - 30 + disabledTests = [ 31 + # https://github.com/ionelmc/python-redis-lock/issues/86 32 + "test_no_overlap2" 33 + ]; 29 34 30 35 meta = with lib; { 31 36 homepage = "https://github.com/ionelmc/python-redis-lock";
-1
pkgs/development/python-modules/python-snap7/default.nix
··· 24 24 25 25 pythonImportsCheck = [ 26 26 "snap7" 27 - "snap7.six" 28 27 "snap7.util" 29 28 ]; 30 29
+3 -2
pkgs/development/python-modules/zeroconf/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "zeroconf"; 12 - version = "0.29.0"; 12 + version = "0.30.0"; 13 13 disabled = pythonOlder "3.6"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-eu+7ZYtFKx/X5REkNk+TjG9eQtbqiT+iVXvqjAbFQK8="; 17 + sha256 = "sha256-elpjZq4FpI2wTf1ciILumKE/LQ4fxtCaXxvQo9HRCcc="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ ifaddr ]; ··· 25 25 26 26 disabledTests = [ 27 27 # disable tests that expect some sort of networking in the build container 28 + "test_close_multiple_times" 28 29 "test_launch_and_close" 29 30 "test_launch_and_close_v4_v6" 30 31 "test_launch_and_close_v6_only"
+2 -2
pkgs/development/tools/analysis/flow/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "flow"; 5 - version = "0.150.0"; 5 + version = "0.150.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "facebook"; 9 9 repo = "flow"; 10 10 rev = "refs/tags/v${version}"; 11 - sha256 = "sha256-75QSM2v4xDCkDnxW6Qb2ZGiWClOSDCd0jSrUdupMXxY="; 11 + sha256 = "sha256-waQdS0HJVW2WFQFklmZJC0jr09JrDP5Fl7SxVS0dsgU="; 12 12 }; 13 13 14 14 installPhase = ''
+12 -4
pkgs/development/tools/continuous-integration/hercules-ci-agent/default.nix
··· 1 - { gnutar, gzip, git, haskell, haskellPackages, lib, makeWrapper, runc, stdenv }: 1 + { gnutar, gzip, git, haskell, haskellPackages, lib, makeWrapper, nixos, runc, stdenv }: 2 2 let 3 3 inherit (haskell.lib) overrideCabal addBuildDepends; 4 4 inherit (lib) makeBinPath; ··· 16 16 makeWrapper $out/libexec/hercules-ci-agent $out/bin/hercules-ci-agent --prefix PATH : ${makeBinPath bundledBins} 17 17 ''; 18 18 }); 19 - in pkg // { 20 - meta = pkg.meta // { 19 + in pkg.overrideAttrs (o: { 20 + meta = o.meta // { 21 21 position = toString ./default.nix + ":1"; 22 22 }; 23 - } 23 + passthru = o.passthru // { 24 + # Does not test the package, but evaluation of the related NixOS module. 25 + tests.nixos-minimal-config = nixos { 26 + boot.loader.grub.enable = false; 27 + fileSystems."/".device = "bogus"; 28 + services.hercules-ci-agent.enable = true; 29 + }; 30 + }; 31 + })
+2 -2
pkgs/development/tools/esbuild/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "esbuild"; 5 - version = "0.11.15"; 5 + version = "0.11.19"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "evanw"; 9 9 repo = "esbuild"; 10 10 rev = "v${version}"; 11 - sha256 = "1j6qli26i2hwkjqcigz7vyx6hg9daq4vlqigv7ddslw3h8hnp0md"; 11 + sha256 = "1cg1qjjsbqr9xbgh8m48vkcb52vf64ycd5x86px60apr068y9df9"; 12 12 }; 13 13 14 14 vendorSha256 = "1n5538yik72x94vzfq31qaqrkpxds5xys1wlibw2gn2am0z5c06q";
+2 -2
pkgs/development/tools/go-mockery/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "go-mockery"; 5 - version = "2.7.4"; 5 + version = "2.7.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "vektra"; 9 9 repo = "mockery"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-St8QgUZUU7THM9H8i7Z+bgKu9LhXhUqH/B14LGmDCn0="; 11 + sha256 = "sha256-RdXViEEJR8yud2coSmAUfIe1mTCHiZHALrcGRslNfEg="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-//V3ia3YP1hPgC1ipScURZ5uXU4A2keoG6dGuwaPBcA=";
+3 -3
pkgs/development/tools/misc/act/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "act"; 5 - version = "0.2.21"; 5 + version = "0.2.22"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "nektos"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-XDxG7F+oBatlb4ROBryt2Fop402riKmYoqZLJrUzBUQ="; 11 + sha256 = "sha256-a+yw7QSLNX3hO2GnFCifYMbPWYwtleUZS1AqPsxw9t8="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-PwVDMSl36m+6ISJQvyrkCjaL3xp5VkaZtfxyMpNn+KI="; 14 + vendorSha256 = "sha256-6jD+gY/TmO/Ot507IlTLNdWv7G4BHYlk/E9rVoRD65A="; 15 15 16 16 doCheck = false; 17 17
+3 -3
pkgs/development/tools/rust/cargo-watch/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-watch"; 5 - version = "7.7.2"; 5 + version = "7.8.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "passcod"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-ocibNgH2xw0BrJRmHCAahO6hPLmlDmwjjzo7mMWp9FU="; 11 + sha256 = "sha256-ZbVBwSg3roIMA+5LVP3omtTgbAJ7HAdJDXyAybWuRLw="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-6ztMEfVOlsyUtIeH+Qd/l7khC7XOHKc4bWsDd27RNu8="; 14 + cargoSha256 = "sha256-6aoi/CLla/yKa5RuVgn8RJ9AK1j1wtZeBn+6tpXrJvA="; 15 15 16 16 buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ]; 17 17
+2 -2
pkgs/development/tools/vultr-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "vultr-cli"; 5 - version = "2.4.0"; 5 + version = "2.4.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "vultr"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-TNytKq2LqLWxNrqesOJbNQUTirvPkxLMqJmtbmFq+0Y="; 11 + sha256 = "sha256:0qbsybs91v9vnkxj4kpwqhzk4hgpkq36wnixxjajg038x7slds4i"; 12 12 }; 13 13 14 14 vendorSha256 = null;
+10 -1
pkgs/games/colobot/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, boost, SDL2, SDL2_image, SDL2_ttf, libpng 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, SDL2, SDL2_image, SDL2_ttf, libpng 2 2 , glew, gettext, libsndfile, libvorbis, libogg, physfs, openal 3 3 , xmlstarlet, doxygen, python3, callPackage }: 4 4 ··· 17 17 rev = "colobot-gold-${version}"; 18 18 sha256 = "0viq5s4zqs33an7rdmc3anf74ml7mwwcwf60alhvp9hj5jr547s2"; 19 19 }; 20 + 21 + patches = [ 22 + # Fix issue with newer compilers, like used in nixpkgs 23 + # https://github.com/colobot/colobot/pull/1291 24 + (fetchpatch { 25 + url = "https://github.com/colobot/colobot/commit/fc2bd68876ac6302dbc8e91e8ffa33592db14b21.patch"; 26 + sha256 = "sha256-PKe8jeyHpTT86tprSafQhNqTYBrSonz+r2fL1lVJdfo="; 27 + }) 28 + ]; 20 29 21 30 nativeBuildInputs = [ cmake xmlstarlet doxygen python3 ]; 22 31 buildInputs = [ boost SDL2 SDL2_image SDL2_ttf libpng glew gettext libsndfile libvorbis libogg physfs openal ];
+2 -2
pkgs/games/cutemaze/default.nix
··· 2 2 3 3 mkDerivation rec { 4 4 pname = "cutemaze"; 5 - version = "1.2.6"; 5 + version = "1.3.0"; 6 6 7 7 src = fetchurl { 8 8 url = "https://gottcode.org/cutemaze/${pname}-${version}-src.tar.bz2"; 9 - sha256 = "0pw31j2i3ifndikhz9w684ia00r8zvcgnb66ign9w4lgs1zjgcrw"; 9 + sha256 = "sha256-h7+H2E37ZVSnlPa6ID+lNEvFtU5PfdMSlBjqBumojoU="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ qmake qttools ];
+2 -2
pkgs/misc/uboot/default.nix
··· 18 18 }: 19 19 20 20 let 21 - defaultVersion = "2021.01"; 21 + defaultVersion = "2021.04"; 22 22 defaultSrc = fetchurl { 23 23 url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2"; 24 - sha256 = "0m04glv9kn3bhs62sn675w60wkrl4m3a4hnbnnw67s3l198y21xl"; 24 + sha256 = "06p1vymf0dl6jc2xy5w7p42mpgppa46lmpm2ishmgsycnldqnhqd"; 25 25 }; 26 26 buildUBoot = { 27 27 version ? null
-10
pkgs/misc/vim-plugins/overrides.nix
··· 615 615 meta.platforms = lib.platforms.all; 616 616 }); 617 617 618 - vim-closer = super.vim-closer.overrideAttrs (old: { 619 - patches = [ 620 - # Fix duplicate tag in doc 621 - (fetchpatch { 622 - url = "https://github.com/rstacruz/vim-closer/commit/a504be8c7050e41b7dfc50c2362948e2cf7c5422.patch"; 623 - sha256 = "065q30d913fm3pc7r5y53wmnb7q7bhv21qxavm65bkb91242d409"; 624 - }) 625 - ]; 626 - }); 627 - 628 618 vim-codefmt = super.vim-codefmt.overrideAttrs (old: { 629 619 dependencies = with self; [ vim-maktaba ]; 630 620 });
+2 -2
pkgs/misc/vscode-extensions/default.nix
··· 496 496 mktplcRef = { 497 497 name = "todo-tree"; 498 498 publisher = "Gruntfuggly"; 499 - version = "0.0.211"; 500 - sha256 = "1di2v1bhlhl1yi9rrmbq0r9gypiydl8xvj24yw64vsnkqs9yxbp3"; 499 + version = "0.0.213"; 500 + sha256 = "0fj7vvaqdldhbzm9dqh2plqlhg34jv5khd690xd87h418sv8rk95"; 501 501 }; 502 502 meta = with lib; { 503 503 license = licenses.mit;
+2 -2
pkgs/servers/home-assistant/component-packages.nix
··· 2 2 # Do not edit! 3 3 4 4 { 5 - version = "2021.5.0"; 5 + version = "2021.5.1"; 6 6 components = { 7 7 "abode" = ps: with ps; [ abodepy ]; 8 8 "accuweather" = ps: with ps; [ accuweather ]; ··· 660 660 "pushover" = ps: with ps; [ pushover-complete ]; 661 661 "pushsafer" = ps: with ps; [ ]; 662 662 "pvoutput" = ps: with ps; [ jsonpath xmltodict ]; 663 - "pvpc_hourly_pricing" = ps: with ps; [ ]; # missing inputs: aiopvpc 663 + "pvpc_hourly_pricing" = ps: with ps; [ aiopvpc ]; 664 664 "pyload" = ps: with ps; [ ]; 665 665 "python_script" = ps: with ps; [ restrictedpython ]; 666 666 "qbittorrent" = ps: with ps; [ ]; # missing inputs: python-qbittorrent
+5 -2
pkgs/servers/home-assistant/default.nix
··· 105 105 extraBuildInputs = extraPackages py.pkgs; 106 106 107 107 # Don't forget to run parse-requirements.py after updating 108 - hassVersion = "2021.5.0"; 108 + hassVersion = "2021.5.1"; 109 109 110 110 in with py.pkgs; buildPythonApplication rec { 111 111 pname = "homeassistant"; ··· 124 124 owner = "home-assistant"; 125 125 repo = "core"; 126 126 rev = version; 127 - sha256 = "1kwx0bq2i76p9gbx5kkzkjxd88vzf2daccm0wf123693isk1nwzs"; 127 + sha256 = "0bipjfkz4zqhy84jgrn3qxvs4nxya3j08lcsq3xa31xfz8wnpxwj"; 128 128 }; 129 129 130 130 # leave this in, so users don't have to constantly update their downstream patch handling ··· 204 204 "calendar" 205 205 "camera" 206 206 "cast" 207 + "climacell" 207 208 "climate" 208 209 "cloud" 209 210 "comfoconnect" ··· 217 216 "deconz" 218 217 "default_config" 219 218 "demo" 219 + "denonavr" 220 220 "derivative" 221 221 "device_automation" 222 222 "device_sun_light_trigger" ··· 322 320 "prometheus" 323 321 "proximity" 324 322 "push" 323 + "pvpc_hourly_pricing" 325 324 "python_script" 326 325 "random" 327 326 "recorder"
-57
pkgs/servers/http/couchdb/2.0.0.nix
··· 1 - { lib, stdenv, fetchurl, erlang, icu, openssl, spidermonkey_1_8_5 2 - , coreutils, bash, makeWrapper, python3 }: 3 - 4 - stdenv.mkDerivation rec { 5 - pname = "couchdb"; 6 - version = "2.3.1"; 7 - 8 - 9 - # when updating this, please consider bumping the OTP version 10 - # in all-packages.nix 11 - src = fetchurl { 12 - url = "mirror://apache/couchdb/source/${version}/apache-${pname}-${version}.tar.gz"; 13 - sha256 = "0z926hjqyhxhyr65kqxwpmp80nyfqbig6d9dy8dqflpb87n8rss3"; 14 - }; 15 - 16 - nativeBuildInputs = [ makeWrapper ]; 17 - buildInputs = [ erlang icu openssl spidermonkey_1_8_5 (python3.withPackages(ps: with ps; [ requests ]))]; 18 - 19 - patches = [ ./jsapi.patch ]; 20 - postPatch = '' 21 - substituteInPlace src/couch/rebar.config.script --replace '-DHAVE_CURL -I/usr/local/include' "-DHAVE_CURL -I/usr/local/include $NIX_CFLAGS_COMPILE" 22 - 23 - patch bin/rebar <<EOF 24 - 1c1 25 - < #!/usr/bin/env escript 26 - --- 27 - > #!${coreutils}/bin/env escript 28 - EOF 29 - 30 - ''; 31 - 32 - # Configure a username. The build system would use "couchdb" as 33 - # default if none is provided. Note that it is unclear where this 34 - # username is actually used in the build, as any choice seems to be 35 - # working. 36 - configurePhase = '' 37 - ./configure -u nobody 38 - ''; 39 - 40 - buildPhase = '' 41 - make release 42 - ''; 43 - 44 - installPhase = '' 45 - mkdir -p $out 46 - cp -r rel/couchdb/* $out 47 - wrapProgram $out/bin/couchdb --suffix PATH : ${bash}/bin 48 - ''; 49 - 50 - meta = with lib; { 51 - description = "A database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API"; 52 - homepage = "http://couchdb.apache.org"; 53 - license = licenses.asl20; 54 - platforms = platforms.all; 55 - maintainers = with maintainers; [ ]; 56 - }; 57 - }
-39
pkgs/servers/http/couchdb/default.nix
··· 1 - { lib, stdenv, fetchurl, erlang, icu, openssl, spidermonkey_1_8_5, curl, help2man 2 - , sphinx, which, file, pkg-config, getopt }: 3 - 4 - stdenv.mkDerivation rec { 5 - pname = "couchdb"; 6 - version = "1.7.1"; 7 - 8 - src = fetchurl { 9 - url = "mirror://apache/couchdb/source/${version}/apache-${pname}-${version}.tar.gz"; 10 - sha256 = "1b9cbdrmh1i71mrwvhm17v4cf7lckpil1vvq7lpmxyn6zfk0l84i"; 11 - }; 12 - 13 - nativeBuildInputs = [ help2man which file pkg-config sphinx ]; 14 - buildInputs = [ erlang icu openssl spidermonkey_1_8_5 curl ]; 15 - 16 - postInstall = '' 17 - substituteInPlace $out/bin/couchdb --replace getopt "${getopt}/bin/getopt" 18 - ''; 19 - 20 - /* 21 - Versions of SpiderMonkey after the js185-1.0.0 release remove the optional 22 - enforcement of preventing anonymous functions in a statement context. This 23 - will most likely break your existing JavaScript code as well as render all 24 - example code invalid. 25 - 26 - If you wish to ignore this error pass --enable-js-trunk to ./configure. 27 - */ 28 - configureFlags = [ 29 - "--enable-js-trunk" 30 - ]; 31 - 32 - meta = with lib; { 33 - description = "A database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API"; 34 - homepage = "http://couchdb.apache.org"; 35 - license = licenses.asl20; 36 - platforms = platforms.all; 37 - maintainers = with maintainers; [ ]; 38 - }; 39 - }
-60
pkgs/servers/http/couchdb/jsapi.patch
··· 1 - diff -ru couch_js/http.c couch_js-patched/http.c 2 - --- apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c 2016-09-12 11:28:51.000000000 +0200 3 - +++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/http.c 2017-02-10 10:52:33.025854045 +0100 4 - @@ -15,7 +15,7 @@ 5 - #include <string.h> 6 - #include <sys/types.h> 7 - #include <sys/stat.h> 8 - -#include <jsapi.h> 9 - +#include <js/jsapi.h> 10 - #include "config.h" 11 - #include "utf8.h" 12 - #include "util.h" 13 - diff -ru couch_js/main.c couch_js-patched/main.c 14 - --- apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c 2016-09-12 11:28:51.000000000 +0200 15 - +++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/main.c 2017-02-10 10:52:33.001854154 +0100 16 - @@ -20,7 +20,7 @@ 17 - #include <unistd.h> 18 - #endif 19 - 20 - -#include <jsapi.h> 21 - +#include <js/jsapi.h> 22 - #include "config.h" 23 - #include "http.h" 24 - #include "utf8.h" 25 - diff -ru couch_js/utf8.c couch_js-patched/utf8.c 26 - --- apache-couchdb-2.0.0/src/couch/priv/couch_js/utf8.c 2016-09-12 11:28:51.000000000 +0200 27 - +++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/utf8.c 2017-02-10 10:52:33.009854117 +0100 28 - @@ -10,7 +10,7 @@ 29 - // License for the specific language governing permissions and limitations under 30 - // the License. 31 - 32 - -#include <jsapi.h> 33 - +#include <js/jsapi.h> 34 - #include "config.h" 35 - 36 - static int 37 - diff -ru couch_js/util.c couch_js-patched/util.c 38 - --- apache-couchdb-2.0.0/src/couch/priv/couch_js/util.c 2016-09-12 11:28:51.000000000 +0200 39 - +++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/util.c 2017-02-10 10:52:33.017854081 +0100 40 - @@ -13,7 +13,7 @@ 41 - #include <stdlib.h> 42 - #include <string.h> 43 - 44 - -#include <jsapi.h> 45 - +#include <js/jsapi.h> 46 - 47 - #include "help.h" 48 - #include "util.h" 49 - diff -ru couch_js/util.h couch_js-patched/util.h 50 - --- apache-couchdb-2.0.0/src/couch/priv/couch_js/util.h 2016-09-12 11:28:51.000000000 +0200 51 - +++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/util.h 2017-02-10 10:52:32.988854212 +0100 52 - @@ -13,7 +13,7 @@ 53 - #ifndef COUCHJS_UTIL_H 54 - #define COUCHJS_UTIL_H 55 - 56 - -#include <jsapi.h> 57 - +#include <js/jsapi.h> 58 - 59 - typedef struct { 60 - int no_eval;
+2 -2
pkgs/servers/jackett/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jackett"; 5 - version = "0.17.865"; 5 + version = "0.17.1027"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/Jackett/Jackett/releases/download/v${version}/Jackett.Binaries.Mono.tar.gz"; 9 - sha256 = "sha256-kjrch++WncedVkRm05RifUGEYlc5NFAss/E6fgPZWyQ="; 9 + sha256 = "sha256:1kmi4f1ghx82rfd8y4laggg8cs9apnhcdkakfi0mah7hqcnqmhm3"; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper ];
+122 -61
pkgs/servers/rt/default.nix
··· 1 - { lib, stdenv, buildEnv, fetchurl, perl, perlPackages, makeWrapper }: 1 + { lib, stdenv, autoreconfHook, buildEnv, fetchFromGitHub, perl, perlPackages, makeWrapper, gnupg, openssl }: 2 2 3 - # This package isn't extremely useful as it is, but is getting close. 4 - # After running: 5 - # 6 - # nix-build . -A rt 7 - # 8 - # I created a config file named myconfig.pm with: 9 - # 10 - # use utf8; 11 - # Set($rtname, '127.0.0.1'); 12 - # # These dirs need to be pre-created: 13 - # Set($MasonSessionDir, '/home/grahamc/foo/sessiondir/'); 14 - # Set($MasonDataDir, '/home/grahamc/foo/localstate/'); 15 - # Set($WebPort, 8080); 16 - # 17 - # Set($DatabaseType, "SQLite"); 18 - # Set( $DatabaseName, '/home/grahamc/projects/foo/my.db' ); 19 - # 20 - # 1; 21 - # 22 - # and ran 23 - # 24 - # RT_SITE_CONFIG=$(pwd)/myconfig.pm ./result/bin/rt-setup-database --action init 25 - # 26 - # Then: 27 - # 28 - # RT_SITE_CONFIG=$(pwd)/myconfig.pm ./result/bin/rt-server 29 - # 30 - # Make sure to check out result/etc/RT_Config.pm 31 - # 32 - # Good luck. 33 3 stdenv.mkDerivation rec { 34 4 pname = "rt"; 5 + version = "5.0.1"; 35 6 36 - version = "4.4.4"; 37 - 38 - src = fetchurl { 39 - url = "https://download.bestpractical.com/pub/rt/release/${pname}-${version}.tar.gz"; 40 - sha256 = "1108jhz1gvalcfnbzgpbk7fkxzxkkc7m74a3bnwyjzldlyj1dhrl"; 7 + src = fetchFromGitHub { 8 + repo = pname; 9 + rev = "${pname}-${version}"; 10 + owner = "bestpractical"; 11 + sha256 = "1qqh6w094x7dljz001va802v4s6mixs9lkhs2cs47lf5ph3vwq2q"; 41 12 }; 42 13 43 - patches = [ ./override-generated.patch ]; 14 + patches = [ 15 + ./dont-check-users_groups.patch # needed for "make testdeps" to work in the build 16 + ./override-generated.patch 17 + ]; 18 + 19 + nativeBuildInputs = [ 20 + autoreconfHook 21 + ]; 44 22 45 23 buildInputs = [ 46 24 makeWrapper ··· 26 48 (buildEnv { 27 49 name = "rt-perl-deps"; 28 50 paths = with perlPackages; (requiredPerlModules [ 29 - ApacheSession BusinessHours CGIEmulatePSGI CGIPSGI 30 - CSSMinifierXS CSSSquish ConvertColor CryptEksblowfish 31 - CryptSSLeay DBDSQLite DBDmysql DBIxSearchBuilder DataGUID 32 - DataICal DataPagePageset DateExtract DateManip 33 - DateTimeFormatNatural DevelGlobalDestruction EmailAddress 34 - EmailAddressList FCGI FCGIProcManager FileShareDir FileWhich 35 - GD GDGraph GnuPGInterface GraphViz HTMLFormatTextWithLinks 36 - HTMLFormatTextWithLinksAndTables HTMLMason 37 - HTMLMasonPSGIHandler HTMLQuoted HTMLRewriteAttributes 38 - HTMLScrubber IPCRun IPCRun3 JSON JavaScriptMinifierXS LWP 39 - LWPProtocolHttps LocaleMaketextFuzzy LocaleMaketextLexicon 40 - LogDispatch MIMETools MIMETypes MailTools ModuleRefresh 41 - ModuleVersionsReport MozillaCA NetCIDR NetIP PerlIOeol Plack 42 - RegexpCommon RegexpCommonnetCIDR RegexpIPv6 RoleBasic 43 - ScopeUpper Starlet SymbolGlobalName TermReadKey 44 - TextPasswordPronounceable TextQuoted TextTemplate 45 - TextWikiFormat TextWrapper TimeParseDate TreeSimple 46 - UNIVERSALrequire XMLRSS 51 + ApacheSession 52 + BusinessHours 53 + CGIEmulatePSGI 54 + CGIPSGI 55 + CSSMinifierXS 56 + CSSSquish 57 + ConvertColor 58 + CryptEksblowfish 59 + CryptSSLeay 60 + CryptX509 61 + DBDPg 62 + DBIxSearchBuilder 63 + DataGUID 64 + DataICal 65 + DataPage 66 + DataPagePageset 67 + DateExtract 68 + DateManip 69 + DateTimeFormatNatural 70 + DevelGlobalDestruction 71 + EmailAddress 72 + EmailAddressList 73 + EncodeDetect 74 + EncodeHanExtra 75 + FCGI 76 + FCGIProcManager 77 + FileShareDir 78 + FileWhich 79 + GD 80 + GDGraph 81 + GnuPGInterface 82 + GraphViz 83 + HTMLFormatExternal 84 + HTMLFormatTextWithLinks 85 + HTMLFormatTextWithLinksAndTables 86 + HTMLGumbo 87 + HTMLMason 88 + HTMLMasonPSGIHandler 89 + HTMLQuoted 90 + HTMLRewriteAttributes 91 + HTMLScrubber 92 + IPCRun 93 + IPCRun3 94 + JSON 95 + JavaScriptMinifierXS 96 + LWP 97 + LWPProtocolHttps 98 + LocaleMaketextFuzzy 99 + LocaleMaketextLexicon 100 + LogDispatch 101 + MIMETools 102 + MIMETypes 103 + MailTools 104 + ModulePath 105 + ModuleRefresh 106 + ModuleVersionsReport 107 + Moose 108 + MooseXNonMoose 109 + MooseXRoleParameterized 110 + MozillaCA 111 + NetCIDR 112 + NetIP 113 + PathDispatcher 114 + PerlIOeol 115 + Plack 116 + PodParser 117 + RegexpCommon 118 + RegexpCommonnetCIDR 119 + RegexpIPv6 120 + RoleBasic 121 + ScopeUpper 122 + Starlet 123 + Starman 124 + StringShellQuote 125 + SymbolGlobalName 126 + TermReadKey 127 + TextPasswordPronounceable 128 + TextQuoted 129 + TextTemplate 130 + TextWikiFormat 131 + TextWordDiff 132 + TextWrapper 133 + TimeParseDate 134 + TreeSimple 135 + UNIVERSALrequire 136 + WebMachine 137 + XMLRSS 138 + perlldap 47 139 ]); 48 140 }) 49 141 ]; 50 142 143 + preAutoreconf = '' 144 + substituteInPlace configure.ac \ 145 + --replace "rt-3.9.EXPORTED" "rt-${version}" 146 + ''; 51 147 preConfigure = '' 52 148 configureFlags="$configureFlags --with-web-user=$UID" 53 149 configureFlags="$configureFlags --with-web-group=$(id -g)" ··· 134 82 "--enable-graphviz" 135 83 "--enable-gd" 136 84 "--enable-gpg" 137 - "--with-db-type=SQLite" 85 + "--enable-smime" 86 + "--with-db-type=Pg" 138 87 ]; 139 88 140 89 buildPhase = '' 141 - make testdeps | grep -i missing | sort 90 + make testdeps 142 91 ''; 143 92 144 - preFixup = '' 145 - for i in $(find $out/bin -type f; find $out/sbin -type f); do 146 - wrapProgram $i \ 147 - --prefix PERL5LIB ':' $PERL5LIB 93 + postFixup = '' 94 + for i in $(find $out/bin -type f); do 95 + wrapProgram $i --prefix PERL5LIB ':' $PERL5LIB \ 96 + --prefix PATH ":" "${lib.makeBinPath [ openssl gnupg ]}" 148 97 done 98 + 99 + rm -r $out/var 100 + mkdir -p $out/var/data 101 + ln -s /var/log/rt $out/var/log 102 + ln -s /run/rt/mason_data $out/var/mason_data 103 + ln -s /var/lib/rt/shredder $out/var/data/RT-Shredder 104 + ln -s /var/lib/rt/smime $out/var/data/smime 105 + ln -s /var/lib/rt/gpg $out/var/data/gpg 149 106 ''; 150 107 151 108 meta = {
+12
pkgs/servers/rt/dont-check-users_groups.patch
··· 1 + diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in 2 + index e51feb197..d75b1bc4e 100644 3 + --- a/sbin/rt-test-dependencies.in 4 + +++ b/sbin/rt-test-dependencies.in 5 + @@ -423,6 +423,7 @@ sub check_perl_version { 6 + } 7 + 8 + sub check_users_groups { 9 + + return 0; 10 + section("users / groups"); 11 + 12 + my $fails = 0;
+2 -2
pkgs/tools/admin/fioctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "fioctl"; 5 - version = "0.15"; 5 + version = "0.16"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "foundriesio"; 9 9 repo = "fioctl"; 10 10 rev = "v${version}"; 11 - sha256 = "0gmh32h9j6wpkdxxg7vj158lsaxq30x7hjsc9gwpip3bff278hw4"; 11 + sha256 = "1mm62piih7x2886wpgqd8ks22vpmrjgxs4alskiqz61bgshks9vw"; 12 12 }; 13 13 14 14 vendorSha256 = "170z5a1iwwcpz890nficqnz7rr7yzdxr5jx9pa7s31z17lr8kbz9";
+11 -3
pkgs/tools/admin/trivy/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "trivy"; 5 - version = "0.17.1"; 5 + version = "0.17.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "aquasecurity"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-5TOKYxH1Tnsd1t2yoUflFUSW0QGS9l5+0JtS2Fo6vL0="; 11 + sha256 = "sha256-Ub3rIiOJUh3vNCC+82rCSzKSovMnRW2jo8HbI02ouws="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-zVe1bTTLOHxfdbb6VcztOCWMbCbzT6igNpvPytktMWs="; 14 + vendorSha256 = "sha256-xL0wqKFMQksaLkTAxV72SWh0PPTbOqWcd6deJ9RVeEA="; 15 15 16 16 excludedPackages = "misc"; 17 17 18 18 preBuild = '' 19 19 buildFlagsArray+=("-ldflags" "-s -w -X main.version=v${version}") 20 + ''; 21 + 22 + doInstallCheck = true; 23 + installCheckPhase = '' 24 + runHook preInstallCheck 25 + $out/bin/trivy --help 26 + $out/bin/trivy --version | grep "v${version}" 27 + runHook postInstallCheck 20 28 ''; 21 29 22 30 meta = with lib; {
+7 -1
pkgs/tools/misc/hdf5/1.10.nix
··· 3 3 , removeReferencesTo 4 4 , zlib ? null 5 5 , enableShared ? !stdenv.hostPlatform.isStatic 6 + , javaSupport ? false 7 + , jdk 6 8 }: 7 9 8 10 let inherit (lib) optional optionals; in ··· 19 17 20 18 outputs = [ "out" "dev" ]; 21 19 20 + buildInputs = optional javaSupport jdk; 21 + 22 22 nativeBuildInputs = [ removeReferencesTo ]; 23 23 24 24 propagatedBuildInputs = optional (zlib != null) zlib; 25 25 26 - configureFlags = optional enableShared "--enable-shared"; 26 + configureFlags = [] 27 + ++ optional enableShared "--enable-shared" 28 + ++ optional javaSupport "--enable-java"; 27 29 28 30 patches = [ 29 31 ./bin-mv.patch
+4 -4
pkgs/tools/networking/boundary/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "boundary"; 5 - version = "0.2.0"; 5 + version = "0.2.1"; 6 6 7 7 src = 8 8 let ··· 18 18 }; 19 19 in 20 20 fetchsrc version { 21 - x86_64-linux = "sha256-4h1Lx+Et1AfX75Cn0YUhV4MkEtzP6ICqAHVKex3PBpg="; 22 - aarch64-linux = "sha256-i7gzv8GdDgikPT1tMia4xltEYiIZ/VNRbAiGF2o8oKA="; 23 - x86_64-darwin = "sha256-tleIY1loPE61n59Qc9CJeropRUvTBbcIA8xmB1SaMt8="; 21 + x86_64-linux = "sha256-DDrsgZlnDF+WlBKyDi1McqcXEe5mAxoq5WW60p5qFQ8="; 22 + aarch64-linux = "sha256-z9puhWmWf6G2C9PItKD4KL742UjVyVE/TDIu0gpOKd4="; 23 + x86_64-darwin = "sha256-hDZPKi5R0seLbkHe7V4Vm+FarI6HrSZJF9JBJBa9O2Y="; 24 24 }; 25 25 26 26 dontConfigure = true;
+2 -2
pkgs/tools/security/expliot/default.nix
··· 22 22 23 23 buildPythonApplication rec { 24 24 pname = "expliot"; 25 - version = "0.9.7"; 25 + version = "0.9.8"; 26 26 disabled = pythonOlder "3.7"; 27 27 28 28 src = fetchFromGitLab { 29 29 owner = "expliot_framework"; 30 30 repo = pname; 31 31 rev = version; 32 - sha256 = "sha256-k43PvH9BXcvxe7O5iCGzLuxv/WkB9YelH/d/1S7BpU0="; 32 + sha256 = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY="; 33 33 }; 34 34 35 35 propagatedBuildInputs = [
+4
pkgs/top-level/aliases.nix
··· 121 121 conntrack_tools = conntrack-tools; # added 2018-05 122 122 cool-old-term = cool-retro-term; # added 2015-01-31 123 123 coprthr = throw "coprthr has been removed."; # added 2019-12-08 124 + couchdb = throw "couchdb was removed from nixpkgs, use couchdb3 instead"; # added 2021-03-03 125 + couchdb2 = throw "couchdb2 was removed from nixpkgs, use couchdb3 instead"; # added 2021-03-03 124 126 corebird = throw "corebird was deprecated 2019-10-02: See https://www.patreon.com/posts/corebirds-future-18921328. Please use Cawbird as replacement."; 125 127 coredumper = throw "coredumper has been removed: abandoned by upstream."; # added 2019-11-16 126 128 cpp_ethereum = throw "cpp_ethereum has been removed; abandoned upstream."; # added 2020-11-30 ··· 197 195 exfat-utils = exfat; # 2015-09-11 198 196 facette = throw "facette has been removed."; # added 2020-01-06 199 197 fast-neural-doodle = throw "fast-neural-doodle has been removed, as the upstream project has been abandoned"; # added 2020-03-28 198 + fastnlo = fastnlo_toolkit; # added 2021-04-24 200 199 fedora-coreos-config-transpiler = throw "fedora-coreos-config-transpiler has been renamed to 'butane'."; # added 2021-04-13 201 200 fetchFromGithub = throw "You meant fetchFromGitHub, with a capital H."; 202 201 ffadoFull = ffado; # added 2018-05-01 ··· 752 749 speedtest_cli = speedtest-cli; # added 2015-02-17 753 750 spice_gtk = spice-gtk; # added 2018-02-25 754 751 spice_protocol = spice-protocol; # added 2018-02-25 752 + spidermonkey_1_8_5 = throw "spidermonkey_1_8_5 has been removed, because it is based on Firefox 4.0 from 2011."; # added 2021-05-03 755 753 spidermonkey_38 = throw "spidermonkey_38 has been removed. Please use spidermonkey_78 instead."; # added 2021-03-21 756 754 spidermonkey_52 = throw "spidermonkey_52 has been removed. Please use spidermonkey_78 instead."; # added 2019-10-16 757 755 spidermonkey_60 = throw "spidermonkey_60 has been removed. Please use spidermonkey_78 instead."; # added 2021-03-21
+4 -12
pkgs/top-level/all-packages.nix
··· 5463 5463 5464 5464 hdf5-blosc = callPackage ../development/libraries/hdf5-blosc { }; 5465 5465 5466 - hdfview = callPackage ../tools/misc/hdfview { }; 5466 + hdfview = callPackage ../tools/misc/hdfview { 5467 + hdf5 = hdf5_1_10; 5468 + }; 5467 5469 5468 5470 hecate = callPackage ../applications/editors/hecate { }; 5469 5471 ··· 12212 12210 12213 12211 sparkleshare = callPackage ../applications/version-management/sparkleshare { }; 12214 12212 12215 - spidermonkey_1_8_5 = callPackage ../development/interpreters/spidermonkey/1.8.5.nix { }; 12216 12213 spidermonkey_68 = callPackage ../development/interpreters/spidermonkey/68.nix { }; 12217 12214 spidermonkey_78 = callPackage ../development/interpreters/spidermonkey/78.nix { }; 12218 12215 ··· 18614 18613 }; 18615 18614 18616 18615 clickhouse-cli = with python3Packages; toPythonApplication clickhouse-cli; 18617 - 18618 - couchdb = callPackage ../servers/http/couchdb { 18619 - sphinx = python27Packages.sphinx; 18620 - erlang = erlangR19; 18621 - }; 18622 - 18623 - couchdb2 = callPackage ../servers/http/couchdb/2.0.0.nix { 18624 - erlang = erlangR21; 18625 - }; 18626 18616 18627 18617 couchdb3 = callPackage ../servers/http/couchdb/3.nix { 18628 18618 erlang = erlangR22; ··· 29720 29728 29721 29729 fastjet-contrib = callPackage ../development/libraries/physics/fastjet-contrib { }; 29722 29730 29723 - fastnlo = callPackage ../development/libraries/physics/fastnlo { }; 29731 + fastnlo_toolkit = callPackage ../development/libraries/physics/fastnlo_toolkit { }; 29724 29732 29725 29733 geant4 = libsForQt5.callPackage ../development/libraries/physics/geant4 { }; 29726 29734
+5 -1
pkgs/top-level/haskell-packages.nix
··· 76 76 llvmPackages = pkgs.llvmPackages_9; 77 77 }; 78 78 ghc901 = callPackage ../development/compilers/ghc/9.0.1.nix { 79 - bootPkgs = packages.ghc8102Binary; 79 + # aarch64 ghc8102Binary exceeds max output size on hydra 80 + bootPkgs = if stdenv.isAarch64 || stdenv.isAarch32 then 81 + packages.ghc8102BinaryMinimal 82 + else 83 + packages.ghc8102Binary; 80 84 inherit (buildPackages.python3Packages) sphinx; 81 85 buildLlvmPackages = buildPackages.llvmPackages_10; 82 86 llvmPackages = pkgs.llvmPackages_10;
+180
pkgs/top-level/perl-packages.nix
··· 174 174 propagatedBuildInputs = [ AlgorithmDiff ]; 175 175 }; 176 176 177 + AlienBaseModuleBuild = buildPerlModule { 178 + pname = "Alien-Base-ModuleBuild"; 179 + version = "1.15"; 180 + src = fetchurl { 181 + url = "mirror://cpan/authors/id/P/PL/PLICEASE/Alien-Base-ModuleBuild-1.15.tar.gz"; 182 + sha256 = "13c9432cf41b34cb14df2454a03e540e2bd5dc9eb9c82824b6ad0f4c67793afd"; 183 + }; 184 + buildInputs = [ Test2Suite ]; 185 + propagatedBuildInputs = [ AlienBuild ArchiveExtract CaptureTiny Filechdir PathTiny ShellConfigGenerate ShellGuess SortVersions URI ]; 186 + meta = { 187 + homepage = https://metacpan.org/pod/Alien::Base::ModuleBuild; 188 + description = "A Module::Build subclass for building Alien:: modules and their libraries"; 189 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 190 + }; 191 + }; 192 + 177 193 AlienBuild = buildPerlPackage { 178 194 pname = "Alien-Build"; 179 195 version = "2.37"; ··· 217 201 meta = { 218 202 description = "Alien package for the GNU Multiple Precision library."; 219 203 license = with lib.licenses; [ lgpl3Plus ]; 204 + }; 205 + }; 206 + 207 + AlienLibGumbo = buildPerlModule { 208 + pname = "Alien-LibGumbo"; 209 + version = "0.05"; 210 + src = fetchurl { 211 + url = "mirror://cpan/authors/id/R/RU/RUZ/Alien-LibGumbo-0.05.tar.gz"; 212 + sha256 = "0fbe916ab11f680e5c28cd1ac800372323e2a0e06affc6c8b36279fc64d76517"; 213 + }; 214 + buildInputs = [ AlienBaseModuleBuild ]; 215 + propagatedBuildInputs = [ AlienBuild FileShareDir PathClass ]; 216 + meta = { 217 + description = "Gumbo parser library"; 218 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 220 219 }; 221 220 }; 222 221 ··· 4634 4603 meta = { 4635 4604 description = "Crypto toolkit"; 4636 4605 license = with lib.licenses; [ artistic1 gpl1Plus ]; 4606 + }; 4607 + }; 4608 + 4609 + CryptX509 = buildPerlPackage { 4610 + pname = "Crypt-X509"; 4611 + version = "0.53"; 4612 + src = fetchurl { 4613 + url = "mirror://cpan/authors/id/M/MR/MRSCOTTY/Crypt-X509-0.53.tar.gz"; 4614 + sha256 = "d2ff614f9457dc87ab277b81bced3532c3ed309b73b9a61aaefbe9488c9e660f"; 4615 + }; 4616 + propagatedBuildInputs = [ ConvertASN1 ]; 4617 + meta = { 4618 + description = "Parse a X.509 certificate"; 4637 4619 }; 4638 4620 }; 4639 4621 ··· 9515 9471 }; 9516 9472 }; 9517 9473 9474 + HTMLFormatExternal = buildPerlPackage { 9475 + pname = "HTML-FormatExternal"; 9476 + version = "26"; 9477 + src = fetchurl { 9478 + url = "mirror://cpan/authors/id/K/KR/KRYDE/HTML-FormatExternal-26.tar.gz"; 9479 + sha256 = "3c59f233d0b10686a85aed0c994011cec68626da0128dea90b5c4fdc1746cfc3"; 9480 + }; 9481 + propagatedBuildInputs = [ IPCRun URI constant-defer ]; 9482 + meta = { 9483 + homepage = http://user42.tuxfamily.org/html-formatexternal/index.html; 9484 + description = "HTML to text formatting using external programs"; 9485 + license = lib.licenses.gpl3Plus; 9486 + }; 9487 + }; 9488 + 9518 9489 HTMLFormatTextWithLinks = buildPerlModule { 9519 9490 pname = "HTML-FormatText-WithLinks"; 9520 9491 version = "0.15"; ··· 9601 9542 propagatedBuildInputs = [ CryptBlowfish CryptCBC DataClone DateTimeFormatStrptime EmailValid HTMLTree JSONMaybeXS MooseXGetopt MooseXTypesCommon MooseXTypesLoadableClass aliased ]; 9602 9543 meta = { 9603 9544 description = "HTML forms using Moose"; 9545 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 9546 + }; 9547 + }; 9548 + 9549 + HTMLGumbo = buildPerlModule { 9550 + pname = "HTML-Gumbo"; 9551 + version = "0.18"; 9552 + src = fetchurl { 9553 + url = "mirror://cpan/authors/id/R/RU/RUZ/HTML-Gumbo-0.18.tar.gz"; 9554 + sha256 = "bf50b61c24656cc3fc958602d80a9c7d017247af38d8dbfa0e9dec5b75425d5f"; 9555 + }; 9556 + propagatedBuildInputs = [ AlienLibGumbo ]; 9557 + meta = { 9558 + description = "HTML5 parser based on gumbo C library"; 9604 9559 license = with lib.licenses; [ artistic1 gpl1Plus ]; 9605 9560 }; 9606 9561 }; ··· 9980 9907 description = "WebDAV client library."; 9981 9908 }; 9982 9909 propagatedBuildInputs = [ XMLDOM ]; 9910 + }; 9911 + 9912 + HTTPHeadersActionPack = buildPerlPackage { 9913 + pname = "HTTP-Headers-ActionPack"; 9914 + version = "0.09"; 9915 + src = fetchurl { 9916 + url = "mirror://cpan/authors/id/D/DR/DROLSKY/HTTP-Headers-ActionPack-0.09.tar.gz"; 9917 + sha256 = "c78111ab857e48c69824903d4b6ce8293feffc6b5d670db550a767f853acc7da"; 9918 + }; 9919 + buildInputs = [ TestFatal TestWarnings ]; 9920 + propagatedBuildInputs = [ HTTPDate HTTPMessage ModuleRuntime SubExporter URI ]; 9921 + meta = { 9922 + description = "HTTP Action, Adventure and Excitement"; 9923 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 9924 + }; 9983 9925 }; 9984 9926 9985 9927 HTTPHeaderParserXS = buildPerlPackage { ··· 14137 14049 }; 14138 14050 }; 14139 14051 14052 + MooXTypeTiny = buildPerlPackage { 14053 + pname = "MooX-TypeTiny"; 14054 + version = "0.002003"; 14055 + src = fetchurl { 14056 + url = "mirror://cpan/authors/id/H/HA/HAARG/MooX-TypeTiny-0.002003.tar.gz"; 14057 + sha256 = "d81e26ff6f8db10261f0087f96dc54367dcb49a9f3de8d53238f834ece19624b"; 14058 + }; 14059 + buildInputs = [ TestFatal ]; 14060 + propagatedBuildInputs = [ Moo TypeTiny ]; 14061 + meta = { 14062 + description = "Optimized type checks for Moo + Type::Tiny"; 14063 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 14064 + }; 14065 + }; 14066 + 14140 14067 MooseAutobox = buildPerlModule { 14141 14068 pname = "Moose-Autobox"; 14142 14069 version = "0.16"; ··· 16584 16481 }; 16585 16482 meta = { 16586 16483 description = "Cross-platform path specification manipulation"; 16484 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 16485 + }; 16486 + }; 16487 + 16488 + PathDispatcher = buildPerlPackage { 16489 + pname = "Path-Dispatcher"; 16490 + version = "1.08"; 16491 + src = fetchurl { 16492 + url = "mirror://cpan/authors/id/E/ET/ETHER/Path-Dispatcher-1.08.tar.gz"; 16493 + sha256 = "79a9f61c27408b4fd1ed234dac246974ddeafa7fe635a18fe41ec7783130ae2a"; 16494 + }; 16495 + buildInputs = [ ModuleBuildTiny TestFatal ]; 16496 + propagatedBuildInputs = [ Moo MooXTypeTiny TryTiny TypeTiny ]; 16497 + meta = { 16498 + homepage = https://github.com/karenetheridge/Path-Dispatcher; 16499 + description = "Flexible and extensible dispatch"; 16587 16500 license = with lib.licenses; [ artistic1 gpl1Plus ]; 16588 16501 }; 16589 16502 }; ··· 19180 19061 src = fetchurl { 19181 19062 url = "mirror://cpan/authors/id/F/FL/FLORA/Shell-Command-0.06.tar.gz"; 19182 19063 sha256 = "1lgc2rb3b5a4lxvbq0cbg08qk0n2i88srxbsz93bwi3razpxxr7k"; 19064 + }; 19065 + }; 19066 + 19067 + ShellConfigGenerate = buildPerlPackage { 19068 + pname = "Shell-Config-Generate"; 19069 + version = "0.34"; 19070 + src = fetchurl { 19071 + url = "mirror://cpan/authors/id/P/PL/PLICEASE/Shell-Config-Generate-0.34.tar.gz"; 19072 + sha256 = "84f451f22215dd68e9c18aa3f7ddb03a82007d166cfada003d0f166f571e0562"; 19073 + }; 19074 + buildInputs = [ Test2Suite ]; 19075 + propagatedBuildInputs = [ ShellGuess ]; 19076 + meta = { 19077 + homepage = https://metacpan.org/pod/Shell::Config::Generate; 19078 + description = "Portably generate config for any shell"; 19079 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 19080 + }; 19081 + }; 19082 + 19083 + ShellGuess = buildPerlPackage { 19084 + pname = "Shell-Guess"; 19085 + version = "0.09"; 19086 + src = fetchurl { 19087 + url = "mirror://cpan/authors/id/P/PL/PLICEASE/Shell-Guess-0.09.tar.gz"; 19088 + sha256 = "4069fa2637e443118ed956d710231d166823d23b2a64eb87b8a46872e865a12b"; 19089 + }; 19090 + meta = { 19091 + homepage = https://metacpan.org/pod/Shell::Guess; 19092 + description = "Make an educated guess about the shell in use"; 19093 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 19183 19094 }; 19184 19095 }; 19185 19096 ··· 22364 22215 propagatedBuildInputs = [ URI ]; 22365 22216 }; 22366 22217 22218 + TextWordDiff = buildPerlPackage { 22219 + pname = "Text-WordDiff"; 22220 + version = "0.09"; 22221 + src = fetchurl { 22222 + url = "mirror://cpan/authors/id/T/TI/TIMK/Text-WordDiff-0.09.tar.gz"; 22223 + sha256 = "fee699ca763adca2f4e18f4a8a836fd2102bc2820af708f8eb43356d5ae0d50e"; 22224 + }; 22225 + propagatedBuildInputs = [ AlgorithmDiff HTMLParser ]; 22226 + meta = { 22227 + homepage = https://metacpan.org/release/Text-WordDiff; 22228 + description = "Track changes between documents"; 22229 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 22230 + }; 22231 + }; 22232 + 22367 22233 TextWrapI18N = buildPerlPackage { 22368 22234 pname = "Text-WrapI18N"; 22369 22235 version = "0.06"; ··· 24011 23847 buildInputs = [ TestDeep TestWarn ]; 24012 23848 meta = { 24013 23849 description = "YAML Framework"; 23850 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 23851 + }; 23852 + }; 23853 + 23854 + WebMachine = buildPerlPackage { 23855 + pname = "Web-Machine"; 23856 + version = "0.17"; 23857 + src = fetchurl { 23858 + url = "mirror://cpan/authors/id/D/DR/DROLSKY/Web-Machine-0.17.tar.gz"; 23859 + sha256 = "f139d2b3114c549e91847daaab8b75cb699e57daf5bbf0dbd13293f33fe5e22a"; 23860 + }; 23861 + buildInputs = [ NetHTTP TestFailWarnings TestFatal ]; 23862 + propagatedBuildInputs = [ HTTPHeadersActionPack HTTPMessage HashMultiValue IOHandleUtil ModuleRuntime Plack SubExporter TryTiny ]; 23863 + meta = { 23864 + homepage = http://metacpan.org/release/Web-Machine; 23865 + description = "A Perl port of Webmachine"; 24014 23866 license = with lib.licenses; [ artistic1 gpl1Plus ]; 24015 23867 }; 24016 23868 };
+9
pkgs/top-level/python-packages.nix
··· 315 315 316 316 aiopulse = callPackage ../development/python-modules/aiopulse { }; 317 317 318 + aiopvpc = callPackage ../development/python-modules/aiopvpc { }; 319 + 318 320 aiopylgtv = callPackage ../development/python-modules/aiopylgtv { }; 319 321 320 322 aiorecollect = callPackage ../development/python-modules/aiorecollect { }; ··· 556 554 asyncpg = callPackage ../development/python-modules/asyncpg { }; 557 555 558 556 asyncssh = callPackage ../development/python-modules/asyncssh { }; 557 + 558 + asyncstdlib = callPackage ../development/python-modules/asyncstdlib { }; 559 559 560 560 async_stagger = callPackage ../development/python-modules/async_stagger { }; 561 561 ··· 2308 2304 fastimport = callPackage ../development/python-modules/fastimport { }; 2309 2305 2310 2306 fastjsonschema = callPackage ../development/python-modules/fastjsonschema { }; 2307 + 2308 + fastnlo_toolkit = toPythonModule (pkgs.fastnlo_toolkit.override { 2309 + withPython = true; 2310 + inherit python; 2311 + }); 2311 2312 2312 2313 fastpair = callPackage ../development/python-modules/fastpair { }; 2313 2314