Merge branch 'master' into staging-next

+3241 -2043
+4
doc/builders/fetchers.chapter.md
··· 72 72 73 73 A number of fetcher functions wrap part of `fetchurl` and `fetchzip`. They are mainly convenience functions intended for commonly used destinations of source code in Nixpkgs. These wrapper fetchers are listed below. 74 74 75 + ## `fetchFromGitea` {#fetchfromgitea} 76 + 77 + `fetchFromGitea` expects five arguments. `domain` is the gitea server name. `owner` is a string corresponding to the Gitea user or organization that controls this repository. `repo` corresponds to the name of the software repository. These are located at the top of every Gitea HTML page as `owner`/`repo`. `rev` corresponds to the Git commit hash or tag (e.g `v1.0`) that will be downloaded from Git. Finally, `sha256` corresponds to the hash of the extracted directory. Again, other hash algorithms are also available but `sha256` is currently preferred. 78 + 75 79 ## `fetchFromGitHub` {#fetchfromgithub} 76 80 77 81 `fetchFromGitHub` expects four arguments. `owner` is a string corresponding to the GitHub user or organization that controls this repository. `repo` corresponds to the name of the software repository. These are located at the top of every GitHub HTML page as `owner`/`repo`. `rev` corresponds to the Git commit hash or tag (e.g `v1.0`) that will be downloaded from Git. Finally, `sha256` corresponds to the hash of the extracted directory. Again, other hash algorithms are also available but `sha256` is currently preferred.
+1 -1
doc/languages-frameworks/texlive.section.md
··· 6 6 7 7 - For basic usage just pull `texlive.combined.scheme-basic` for an environment with basic LaTeX support. 8 8 9 - - It typically won't work to use separately installed packages together. Instead, you can build a custom set of packages like this: 9 + - It typically won't work to use separately installed packages together. Instead, you can build a custom set of packages like this. Most CTAN packages should be available: 10 10 11 11 ```nix 12 12 texlive.combine {
+3 -2
lib/default.nix
··· 68 68 bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max 69 69 importJSON importTOML warn warnIf throwIfNot checkListOfEnum 70 70 info showWarnings nixpkgsVersion version isInOldestRelease 71 - mod compare splitByAndCompare functionArgs setFunctionArgs isFunction 71 + mod compare splitByAndCompare 72 + functionArgs setFunctionArgs isFunction toFunction 72 73 toHexString toBaseDigits; 73 74 inherit (self.fixedPoints) fix fix' converge extends composeExtensions 74 75 composeManyExtensions makeExtensible makeExtensibleWithCustomName; ··· 113 114 commitIdFromGitRepo cleanSourceWith pathHasContext 114 115 canCleanSource pathIsRegularFile pathIsGitRepo; 115 116 inherit (self.modules) evalModules setDefaultModuleLocation 116 - unifyModuleSyntax applyIfFunction mergeModules 117 + unifyModuleSyntax applyModuleArgsIfFunction mergeModules 117 118 mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions 118 119 pushDownProperties dischargeProperties filterOverrides 119 120 sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride
+3 -3
lib/modules.nix
··· 282 282 # Like unifyModuleSyntax, but also imports paths and calls functions if necessary 283 283 loadModule = args: fallbackFile: fallbackKey: m: 284 284 if isFunction m || isAttrs m then 285 - unifyModuleSyntax fallbackFile fallbackKey (applyIfFunction fallbackKey m args) 285 + unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgsIfFunction fallbackKey m args) 286 286 else if isList m then 287 287 let defs = [{ file = fallbackFile; value = m; }]; in 288 288 throw "Module imports can't be nested lists. Perhaps you meant to remove one level of lists? Definitions: ${showDefs defs}" 289 - else unifyModuleSyntax (toString m) (toString m) (applyIfFunction (toString m) (import m) args); 289 + else unifyModuleSyntax (toString m) (toString m) (applyModuleArgsIfFunction (toString m) (import m) args); 290 290 291 291 /* 292 292 Collects all modules recursively into the form ··· 383 383 config = addFreeformType (addMeta (removeAttrs m ["_file" "key" "disabledModules" "require" "imports" "freeformType"])); 384 384 }; 385 385 386 - applyIfFunction = key: f: args@{ config, options, lib, ... }: if isFunction f then 386 + applyModuleArgsIfFunction = key: f: args@{ config, options, lib, ... }: if isFunction f then 387 387 let 388 388 # Module arguments are resolved in a strict manner when attribute set 389 389 # deconstruction is used. As the arguments are now defined with the
+19
lib/trivial.nix
··· 441 441 isFunction = f: builtins.isFunction f || 442 442 (f ? __functor && isFunction (f.__functor f)); 443 443 444 + /* 445 + Turns any non-callable values into constant functions. 446 + Returns callable values as is. 447 + 448 + Example: 449 + 450 + nix-repl> lib.toFunction 1 2 451 + 1 452 + 453 + nix-repl> lib.toFunction (x: x + 1) 2 454 + 3 455 + */ 456 + toFunction = 457 + # Any value 458 + v: 459 + if isFunction v 460 + then v 461 + else k: v; 462 + 444 463 /* Convert the given positive integer to a string of its hexadecimal 445 464 representation. For example: 446 465
+6 -1
maintainers/maintainer-list.nix
··· 4241 4241 githubId = 119691; 4242 4242 name = "Michael Gough"; 4243 4243 }; 4244 - 4244 + freax13 = { 4245 + email = "erbse.13@gmx.de"; 4246 + github = "freax13"; 4247 + githubId = 14952658; 4248 + name = "Tom Dohrmann"; 4249 + }; 4245 4250 fredeb = { 4246 4251 email = "im@fredeb.dev"; 4247 4252 github = "fredeeb";
+9
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 480 480 </listitem> 481 481 <listitem> 482 482 <para> 483 + <literal>services.ipfs.extraFlags</literal> is now escaped 484 + with <literal>utils.escapeSystemdExecArgs</literal>. If you 485 + rely on systemd interpolating <literal>extraFlags</literal> in 486 + the service <literal>ExecStart</literal>, this will no longer 487 + work. 488 + </para> 489 + </listitem> 490 + <listitem> 491 + <para> 483 492 The <literal>matrix-synapse</literal> service 484 493 (<literal>services.matrix-synapse</literal>) has been 485 494 converted to use the <literal>settings</literal> option
+2
nixos/doc/manual/release-notes/rl-2205.section.md
··· 161 161 162 162 - The `mailpile` email webclient (`services.mailpile`) has been removed due to its reliance on python2. 163 163 164 + - `services.ipfs.extraFlags` is now escaped with `utils.escapeSystemdExecArgs`. If you rely on systemd interpolating `extraFlags` in the service `ExecStart`, this will no longer work. 165 + 164 166 - The `matrix-synapse` service (`services.matrix-synapse`) has been converted to use the `settings` option defined in RFC42. 165 167 This means that options that are part of your `homeserver.yaml` configuration, and that were specified at the top-level of the 166 168 module (`services.matrix-synapse`) now need to be moved into `services.matrix-synapse.settings`. And while not all options you
+14 -16
nixos/lib/testing-python.nix
··· 146 146 147 147 # Make a full-blown test 148 148 makeTest = 149 - { testScript 149 + { machine ? null 150 + , nodes ? {} 151 + , testScript 150 152 , enableOCR ? false 151 153 , name ? "unnamed" 152 154 # Skip linting (mainly intended for faster dev cycles) 153 155 , skipLint ? false 154 156 , passthru ? {} 157 + , meta ? {} 155 158 , # For meta.position 156 159 pos ? # position used in error messages and for meta.position 157 - (if t.meta.description or null != null 158 - then builtins.unsafeGetAttrPos "description" t.meta 160 + (if meta.description or null != null 161 + then builtins.unsafeGetAttrPos "description" meta 159 162 else builtins.unsafeGetAttrPos "testScript" t) 160 - , ... 161 163 } @ t: 162 164 let 163 - nodes = qemu_pkg: 165 + mkNodes = qemu_pkg: 164 166 let 165 167 testScript' = 166 168 # Call the test script with the computed nodes. 167 169 if lib.isFunction testScript 168 - then testScript { nodes = nodes qemu_pkg; } 170 + then testScript { nodes = mkNodes qemu_pkg; } 169 171 else testScript; 170 172 171 173 build-vms = import ./build-vms.nix { ··· 205 207 }; 206 208 in 207 209 build-vms.buildVirtualNetwork ( 208 - t.nodes or (if t ? machine then { machine = t.machine; } else { }) 210 + nodes // lib.optionalAttrs (machine != null) { inherit machine; } 209 211 ); 210 212 211 213 driver = setupDriverForTest { 212 214 inherit testScript enableOCR skipLint passthru; 213 215 testName = name; 214 216 qemu_pkg = pkgs.qemu_test; 215 - nodes = nodes pkgs.qemu_test; 217 + nodes = mkNodes pkgs.qemu_test; 216 218 }; 217 219 driverInteractive = setupDriverForTest { 218 220 inherit testScript enableOCR skipLint passthru; 219 221 testName = name; 220 222 qemu_pkg = pkgs.qemu; 221 - nodes = nodes pkgs.qemu; 223 + nodes = mkNodes pkgs.qemu; 222 224 interactive = true; 223 225 }; 224 226 225 - test = 226 - let 227 - passMeta = drv: drv // lib.optionalAttrs (t ? meta) { 228 - meta = (drv.meta or { }) // t.meta; 229 - }; 230 - in passMeta (runTests { inherit driver pos driverInteractive; }); 227 + test = lib.addMetaAttrs meta (runTests { inherit driver pos driverInteractive; }); 231 228 232 229 in 233 230 test // { 234 - inherit test driver driverInteractive nodes; 231 + inherit test driver driverInteractive; 232 + inherit (driver) nodes; 235 233 }; 236 234 237 235 abortForFunction = functionName: abort ''The ${functionName} function was
+1 -1
nixos/modules/installer/tools/tools.nix
··· 117 117 ''; 118 118 }; 119 119 120 - config = lib.mkIf (!config.system.disableInstallerTools) { 120 + config = lib.mkIf (config.nix.enable && !config.system.disableInstallerTools) { 121 121 122 122 system.nixos-generate-config.configuration = mkDefault '' 123 123 # Edit this configuration file to define what should be installed on
+1
nixos/modules/module-list.nix
··· 777 777 ./services/networking/headscale.nix 778 778 ./services/networking/hostapd.nix 779 779 ./services/networking/htpdate.nix 780 + ./services/networking/https-dns-proxy.nix 780 781 ./services/networking/hylafax/default.nix 781 782 ./services/networking/i2pd.nix 782 783 ./services/networking/i2p.nix
+1 -1
nixos/modules/services/logging/graylog.nix
··· 132 132 description = "Graylog server daemon user"; 133 133 }; 134 134 }; 135 - users.groups = mkIf (cfg.user == "graylog") {}; 135 + users.groups = mkIf (cfg.user == "graylog") { graylog = {}; }; 136 136 137 137 systemd.tmpfiles.rules = [ 138 138 "d '${cfg.messageJournalDir}' - ${cfg.user} - - -"
+40
nixos/modules/services/misc/moonraker.nix
··· 79 79 for supported values. 80 80 ''; 81 81 }; 82 + 83 + allowSystemControl = mkOption { 84 + type = types.bool; 85 + default = false; 86 + description = '' 87 + Whether to allow Moonraker to perform system-level operations. 88 + 89 + Moonraker exposes APIs to perform system-level operations, such as 90 + reboot, shutdown, and management of systemd units. See the 91 + <link xlink:href="https://moonraker.readthedocs.io/en/latest/web_api/#machine-commands">documentation</link> 92 + for details on what clients are able to do. 93 + ''; 94 + }; 82 95 }; 83 96 }; 84 97 85 98 config = mkIf cfg.enable { 86 99 warnings = optional (cfg.settings ? update_manager) 87 100 ''Enabling update_manager is not supported on NixOS and will lead to non-removable warnings in some clients.''; 101 + 102 + assertions = [ 103 + { 104 + assertion = cfg.allowSystemControl -> config.security.polkit.enable; 105 + message = "services.moonraker.allowSystemControl requires polkit to be enabled (security.polkit.enable)."; 106 + } 107 + ]; 88 108 89 109 users.users = optionalAttrs (cfg.user == "moonraker") { 90 110 moonraker = { ··· 128 148 exec ${pkg}/bin/moonraker -c ${cfg.configDir}/moonraker-temp.cfg 129 149 ''; 130 150 151 + # Needs `ip` command 152 + path = [ pkgs.iproute2 ]; 153 + 131 154 serviceConfig = { 132 155 WorkingDirectory = cfg.stateDir; 133 156 Group = cfg.group; 134 157 User = cfg.user; 135 158 }; 136 159 }; 160 + 161 + security.polkit.extraConfig = lib.optionalString cfg.allowSystemControl '' 162 + // nixos/moonraker: Allow Moonraker to perform system-level operations 163 + // 164 + // This was enabled via services.moonraker.allowSystemControl. 165 + polkit.addRule(function(action, subject) { 166 + if ((action.id == "org.freedesktop.systemd1.manage-units" || 167 + action.id == "org.freedesktop.login1.power-off" || 168 + action.id == "org.freedesktop.login1.power-off-multiple-sessions" || 169 + action.id == "org.freedesktop.login1.reboot" || 170 + action.id == "org.freedesktop.login1.reboot-multiple-sessions" || 171 + action.id.startsWith("org.freedesktop.packagekit.")) && 172 + subject.user == "${cfg.user}") { 173 + return polkit.Result.YES; 174 + } 175 + }); 176 + ''; 137 177 }; 138 178 }
+7 -1
nixos/modules/services/misc/nix-gc.nix
··· 81 81 ###### implementation 82 82 83 83 config = { 84 + assertions = [ 85 + { 86 + assertion = cfg.automatic -> config.nix.enable; 87 + message = ''nix.gc.automatic requires nix.enable''; 88 + } 89 + ]; 84 90 85 - systemd.services.nix-gc = { 91 + systemd.services.nix-gc = lib.mkIf config.nix.enable { 86 92 description = "Nix Garbage Collector"; 87 93 script = "exec ${config.nix.package.out}/bin/nix-collect-garbage ${cfg.options}"; 88 94 startAt = optional cfg.automatic cfg.dates;
+7 -1
nixos/modules/services/misc/nix-optimise.nix
··· 37 37 ###### implementation 38 38 39 39 config = { 40 + assertions = [ 41 + { 42 + assertion = cfg.automatic -> config.nix.enable; 43 + message = ''nix.optimise.automatic requires nix.enable''; 44 + } 45 + ]; 40 46 41 - systemd.services.nix-optimise = 47 + systemd.services.nix-optimise = lib.mkIf config.nix.enable 42 48 { description = "Nix Store Optimiser"; 43 49 # No point this if the nix daemon (and thus the nix store) is outside 44 50 unitConfig.ConditionPathIsReadWrite = "/nix/var/nix/daemon-socket";
+9 -8
nixos/modules/services/network-filesystems/ipfs.nix
··· 1 - { config, lib, pkgs, options, ... }: 1 + { config, lib, pkgs, options, utils, ... }: 2 2 with lib; 3 3 let 4 4 cfg = config.services.ipfs; 5 5 opt = options.services.ipfs; 6 6 7 - ipfsFlags = toString ([ 8 - (optionalString cfg.autoMount "--mount") 9 - (optionalString cfg.enableGC "--enable-gc") 10 - (optionalString (cfg.serviceFdlimit != null) "--manage-fdlimit=false") 11 - (optionalString (cfg.defaultMode == "offline") "--offline") 12 - (optionalString (cfg.defaultMode == "norouting") "--routing=none") 13 - ] ++ cfg.extraFlags); 7 + ipfsFlags = utils.escapeSystemdExecArgs ( 8 + optional cfg.autoMount "--mount" ++ 9 + optional cfg.enableGC "--enable-gc" ++ 10 + optional (cfg.serviceFdlimit != null) "--manage-fdlimit=false" ++ 11 + optional (cfg.defaultMode == "offline") "--offline" ++ 12 + optional (cfg.defaultMode == "norouting") "--routing=none" ++ 13 + cfg.extraFlags 14 + ); 14 15 15 16 profile = 16 17 if cfg.localDiscovery
+128
nixos/modules/services/networking/https-dns-proxy.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + let 4 + inherit (lib) 5 + concatStringsSep 6 + mkEnableOption mkIf mkOption types; 7 + 8 + cfg = config.services.https-dns-proxy; 9 + 10 + providers = { 11 + cloudflare = { 12 + ips = [ "1.1.1.1" "1.0.0.1" ]; 13 + url = "https://cloudflare-dns.com/dns-query"; 14 + }; 15 + google = { 16 + ips = [ "8.8.8.8" "8.8.4.4" ]; 17 + url = "https://dns.google/dns-query"; 18 + }; 19 + quad9 = { 20 + ips = [ "9.9.9.9" "149.112.112.112" ]; 21 + url = "https://dns.quad9.net/dns-query"; 22 + }; 23 + }; 24 + 25 + defaultProvider = "quad9"; 26 + 27 + providerCfg = 28 + let 29 + isCustom = cfg.provider.kind == "custom"; 30 + in 31 + lib.concatStringsSep " " [ 32 + "-b" 33 + (concatStringsSep "," (if isCustom then cfg.provider.ips else providers."${cfg.provider.kind}".ips)) 34 + "-r" 35 + (if isCustom then cfg.provider.url else providers."${cfg.provider.kind}".url) 36 + ]; 37 + 38 + in 39 + { 40 + meta.maintainers = with lib.maintainers; [ peterhoeg ]; 41 + 42 + ###### interface 43 + 44 + options.services.https-dns-proxy = { 45 + enable = mkEnableOption "https-dns-proxy daemon"; 46 + 47 + address = mkOption { 48 + description = "The address on which to listen"; 49 + type = types.str; 50 + default = "127.0.0.1"; 51 + }; 52 + 53 + port = mkOption { 54 + description = "The port on which to listen"; 55 + type = types.port; 56 + default = 5053; 57 + }; 58 + 59 + provider = { 60 + kind = mkOption { 61 + description = '' 62 + The upstream provider to use or custom in case you do not trust any of 63 + the predefined providers or just want to use your own. 64 + 65 + The default is ${defaultProvider} and there are privacy and security trade-offs 66 + when using any upstream provider. Please consider that before using any 67 + of them. 68 + 69 + If you pick a custom provider, you will need to provide the bootstrap 70 + IP addresses as well as the resolver https URL. 71 + ''; 72 + type = types.enum ((builtins.attrNames providers) ++ [ "custom" ]); 73 + default = defaultProvider; 74 + }; 75 + 76 + ips = mkOption { 77 + description = "The custom provider IPs"; 78 + type = types.listOf types.str; 79 + }; 80 + 81 + url = mkOption { 82 + description = "The custom provider URL"; 83 + type = types.str; 84 + }; 85 + }; 86 + 87 + preferIPv4 = mkOption { 88 + description = '' 89 + https_dns_proxy will by default use IPv6 and fail if it is not available. 90 + To play it safe, we choose IPv4. 91 + ''; 92 + type = types.bool; 93 + default = true; 94 + }; 95 + 96 + extraArgs = mkOption { 97 + description = "Additional arguments to pass to the process."; 98 + type = types.listOf types.str; 99 + default = [ "-v" ]; 100 + }; 101 + }; 102 + 103 + ###### implementation 104 + 105 + config = lib.mkIf cfg.enable { 106 + systemd.services.https-dns-proxy = { 107 + description = "DNS to DNS over HTTPS (DoH) proxy"; 108 + after = [ "network.target" ]; 109 + wantedBy = [ "multi-user.target" ]; 110 + serviceConfig = rec { 111 + Type = "exec"; 112 + DynamicUser = true; 113 + ExecStart = lib.concatStringsSep " " ( 114 + [ 115 + "${pkgs.https-dns-proxy}/bin/https_dns_proxy" 116 + "-a ${toString cfg.address}" 117 + "-p ${toString cfg.port}" 118 + "-l -" 119 + providerCfg 120 + ] 121 + ++ lib.optional cfg.preferIPv4 "-4" 122 + ++ cfg.extraArgs 123 + ); 124 + Restart = "on-failure"; 125 + }; 126 + }; 127 + }; 128 + }
+77 -21
nixos/modules/services/system/earlyoom.nix
··· 5 5 6 6 inherit (lib) 7 7 mkDefault mkEnableOption mkIf mkOption types 8 - mkRemovedOptionModule 9 - concatStringsSep optional; 8 + mkRemovedOptionModule literalExpression 9 + escapeShellArg concatStringsSep optional optionalString; 10 10 11 11 in 12 12 { ··· 17 17 type = types.ints.between 1 100; 18 18 default = 10; 19 19 description = '' 20 - Minimum of availabe memory (in percent). 21 - If the free memory falls below this threshold and the analog is true for 22 - <option>services.earlyoom.freeSwapThreshold</option> 23 - the killing begins. 20 + Minimum available memory (in percent). 21 + 22 + If the available memory falls below this threshold (and the analog is true for 23 + <option>freeSwapThreshold</option>) the killing begins. 24 + SIGTERM is sent first to the process that uses the most memory; then, if the available 25 + memory falls below <option>freeMemKillThreshold</option> (and the analog is true for 26 + <option>freeSwapKillThreshold</option>), SIGKILL is sent. 27 + 28 + See <link xlink:href="https://github.com/rfjakob/earlyoom#command-line-options">README</link> for details. 29 + ''; 30 + }; 31 + 32 + freeMemKillThreshold = mkOption { 33 + type = types.nullOr (types.ints.between 1 100); 34 + default = null; 35 + description = '' 36 + Minimum available memory (in percent) before sending SIGKILL. 37 + If unset, this defaults to half of <option>freeMemThreshold</option>. 38 + 39 + See the description of <xref linkend="opt-services.earlyoom.freeMemThreshold"/>. 24 40 ''; 25 41 }; 26 42 ··· 28 44 type = types.ints.between 1 100; 29 45 default = 10; 30 46 description = '' 31 - Minimum of availabe swap space (in percent). 32 - If the available swap space falls below this threshold and the analog 33 - is true for <option>services.earlyoom.freeMemThreshold</option> 34 - the killing begins. 47 + Minimum free swap space (in percent) before sending SIGTERM. 48 + 49 + See the description of <xref linkend="opt-services.earlyoom.freeMemThreshold"/>. 35 50 ''; 36 51 }; 37 52 38 - # TODO: remove or warn after 1.7 (https://github.com/rfjakob/earlyoom/commit/7ebc4554) 39 - ignoreOOMScoreAdjust = mkOption { 40 - type = types.bool; 41 - default = false; 53 + freeSwapKillThreshold = mkOption { 54 + type = types.nullOr (types.ints.between 1 100); 55 + default = null; 42 56 description = '' 43 - Ignore oom_score_adjust values of processes. 57 + Minimum free swap space (in percent) before sending SIGKILL. 58 + If unset, this defaults to half of <option>freeSwapThreshold</option>. 59 + 60 + See the description of <xref linkend="opt-services.earlyoom.freeMemThreshold"/>. 44 61 ''; 45 62 }; 46 63 ··· 63 80 local user to DoS your session by spamming notifications. 64 81 65 82 To actually see the notifications in your GUI session, you need to have 66 - <literal>systembus-notify</literal> running as your user which this 67 - option handles. 83 + <literal>systembus-notify</literal> running as your user, which this 84 + option handles by enabling <option>services.systembus-notify</option>. 68 85 69 86 See <link xlink:href="https://github.com/rfjakob/earlyoom#notifications">README</link> for details. 70 87 ''; 71 88 }; 89 + 90 + killHook = mkOption { 91 + type = types.nullOr types.path; 92 + default = null; 93 + example = literalExpression '' 94 + pkgs.writeShellScript "earlyoom-kill-hook" ''' 95 + echo "Process $EARLYOOM_NAME ($EARLYOOM_PID) was killed" >> /path/to/log 96 + ''' 97 + ''; 98 + description = '' 99 + An absolute path to an executable to be run for each process killed. 100 + Some environment variables are available, see 101 + <link xlink:href="https://github.com/rfjakob/earlyoom#notifications">README</link> and 102 + <link xlink:href="https://github.com/rfjakob/earlyoom/blob/master/MANPAGE.md#-n-pathtoscript">the man page</link> 103 + for details. 104 + ''; 105 + }; 106 + 107 + reportInterval = mkOption { 108 + type = types.int; 109 + default = 3600; 110 + example = 0; 111 + description = "Interval (in seconds) at which a memory report is printed (set to 0 to disable)."; 112 + }; 113 + 114 + extraArgs = mkOption { 115 + type = types.listOf types.str; 116 + default = []; 117 + example = [ "-g" "--prefer '(^|/)(java|chromium)$'" ]; 118 + description = "Extra command-line arguments to be passed to earlyoom."; 119 + }; 72 120 }; 73 121 74 122 imports = [ ··· 76 124 This option is deprecated and ignored by earlyoom since 1.2. 77 125 '') 78 126 (mkRemovedOptionModule [ "services" "earlyoom" "notificationsCommand" ] '' 79 - This option is deprecated and ignored by earlyoom since 1.6. 127 + This option was removed in earlyoom 1.6, but was reimplemented in 1.7 128 + and is available as the new option `services.earlyoom.killHook`. 129 + '') 130 + (mkRemovedOptionModule [ "services" "earlyoom" "ignoreOOMScoreAdjust" ] '' 131 + This option is deprecated and ignored by earlyoom since 1.7. 80 132 '') 81 133 ]; 82 134 ··· 91 143 StandardError = "journal"; 92 144 ExecStart = concatStringsSep " " ([ 93 145 "${pkgs.earlyoom}/bin/earlyoom" 94 - "-m ${toString cfg.freeMemThreshold}" 95 - "-s ${toString cfg.freeSwapThreshold}" 146 + ("-m ${toString cfg.freeMemThreshold}" 147 + + optionalString (cfg.freeMemKillThreshold != null) ",${toString cfg.freeMemKillThreshold}") 148 + ("-s ${toString cfg.freeSwapThreshold}" 149 + + optionalString (cfg.freeSwapKillThreshold != null) ",${toString cfg.freeSwapKillThreshold}") 150 + "-r ${toString cfg.reportInterval}" 96 151 ] 97 - ++ optional cfg.ignoreOOMScoreAdjust "-i" 98 152 ++ optional cfg.enableDebugInfo "-d" 99 153 ++ optional cfg.enableNotifications "-n" 154 + ++ optional (cfg.killHook != null) "-N ${escapeShellArg cfg.killHook}" 155 + ++ cfg.extraArgs 100 156 ); 101 157 }; 102 158 };
+2 -2
nixos/modules/services/x11/desktop-managers/plasma5.nix
··· 519 519 with plasma5; with kdeApplications; with kdeFrameworks; 520 520 [ 521 521 # Basic packages without which Plasma Mobile fails to work properly. 522 - plasma-phone-components 522 + plasma-mobile 523 523 plasma-nano 524 524 pkgs.maliit-framework 525 525 pkgs.maliit-keyboard ··· 573 573 }; 574 574 }; 575 575 576 - services.xserver.displayManager.sessionPackages = [ pkgs.libsForQt5.plasma5.plasma-phone-components ]; 576 + services.xserver.displayManager.sessionPackages = [ pkgs.libsForQt5.plasma5.plasma-mobile ]; 577 577 }) 578 578 ]; 579 579 }
+2
nixos/modules/tasks/network-interfaces-scripted.nix
··· 535 535 createGreDevice = n: v: nameValuePair "${n}-netdev" 536 536 (let 537 537 deps = deviceDependency v.dev; 538 + ttlarg = if lib.hasPrefix "ip6" v.type then "hoplimit" else "ttl"; 538 539 in 539 540 { description = "GRE Tunnel Interface ${n}"; 540 541 wantedBy = [ "network-setup.service" (subsystemDevice n) ]; ··· 551 552 ip link add name "${n}" type ${v.type} \ 552 553 ${optionalString (v.remote != null) "remote \"${v.remote}\""} \ 553 554 ${optionalString (v.local != null) "local \"${v.local}\""} \ 555 + ${optionalString (v.ttl != null) "${ttlarg} ${toString v.ttl}"} \ 554 556 ${optionalString (v.dev != null) "dev \"${v.dev}\""} 555 557 ip link set "${n}" up 556 558 '';
+2
nixos/modules/tasks/network-interfaces-systemd.nix
··· 318 318 Remote = gre.remote; 319 319 }) // (optionalAttrs (gre.local != null) { 320 320 Local = gre.local; 321 + }) // (optionalAttrs (gre.ttl != null) { 322 + TTL = gre.ttl; 321 323 }); 322 324 }; 323 325 networks = mkIf (gre.dev != null) {
+11
nixos/modules/tasks/network-interfaces.nix
··· 1020 1020 local = "10.0.0.22"; 1021 1021 dev = "enp4s0f0"; 1022 1022 type = "tap"; 1023 + ttl = 255; 1023 1024 }; 1024 1025 gre6Tunnel = { 1025 1026 remote = "fd7a:5634::1"; 1026 1027 local = "fd7a:5634::2"; 1027 1028 dev = "enp4s0f0"; 1028 1029 type = "tun6"; 1030 + ttl = 255; 1029 1031 }; 1030 1032 } 1031 1033 ''; ··· 1060 1062 example = "enp4s0f0"; 1061 1063 description = '' 1062 1064 The underlying network device on which the tunnel resides. 1065 + ''; 1066 + }; 1067 + 1068 + ttl = mkOption { 1069 + type = types.nullOr types.int; 1070 + default = null; 1071 + example = 255; 1072 + description = '' 1073 + The time-to-live/hoplimit of the connection to the remote tunnel endpoint. 1063 1074 ''; 1064 1075 }; 1065 1076
+1 -1
nixos/modules/virtualisation/qemu-vm.nix
··· 796 796 # allow `system.build.toplevel' to be included. (If we had a direct 797 797 # reference to ${regInfo} here, then we would get a cyclic 798 798 # dependency.) 799 - boot.postBootCommands = 799 + boot.postBootCommands = lib.mkIf config.nix.enable 800 800 '' 801 801 if [[ "$(cat /proc/cmdline)" =~ regInfo=([^ ]*) ]]; then 802 802 ${config.nix.package.out}/bin/nix-store --load-db < ''${BASH_REMATCH[1]}
+2
nixos/tests/all-tests.nix
··· 132 132 domination = handleTest ./domination.nix {}; 133 133 dovecot = handleTest ./dovecot.nix {}; 134 134 drbd = handleTest ./drbd.nix {}; 135 + earlyoom = handleTestOn ["x86_64-linux"] ./earlyoom.nix {}; 135 136 ec2-config = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-config or {}; 136 137 ec2-nixops = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-nixops or {}; 137 138 ecryptfs = handleTest ./ecryptfs.nix {}; ··· 308 309 molly-brown = handleTest ./molly-brown.nix {}; 309 310 mongodb = handleTest ./mongodb.nix {}; 310 311 moodle = handleTest ./moodle.nix {}; 312 + moonraker = handleTest ./moonraker.nix {}; 311 313 morty = handleTest ./morty.nix {}; 312 314 mosquitto = handleTest ./mosquitto.nix {}; 313 315 moosefs = handleTest ./moosefs.nix {};
-1
nixos/tests/boot.nix
··· 38 38 } // extraConfig); 39 39 in 40 40 makeTest { 41 - inherit iso; 42 41 name = "boot-" + name; 43 42 nodes = { }; 44 43 testScript =
+3 -3
nixos/tests/caddy.nix
··· 7 7 nodes = { 8 8 webserver = { pkgs, lib, ... }: { 9 9 services.caddy.enable = true; 10 - services.caddy.config = '' 10 + services.caddy.extraConfig = '' 11 11 http://localhost { 12 12 encode gzip 13 13 ··· 22 22 ''; 23 23 24 24 specialisation.etag.configuration = { 25 - services.caddy.config = lib.mkForce '' 25 + services.caddy.extraConfig = lib.mkForce '' 26 26 http://localhost { 27 27 encode gzip 28 28 ··· 38 38 }; 39 39 40 40 specialisation.config-reload.configuration = { 41 - services.caddy.config = '' 41 + services.caddy.extraConfig = '' 42 42 http://localhost:8080 { 43 43 } 44 44 '';
+1 -1
nixos/tests/ceph-multi-node.nix
··· 48 48 sudo 49 49 ceph 50 50 xfsprogs 51 - netcat-openbsd 51 + libressl.nc 52 52 ]; 53 53 54 54 boot.kernelModules = [ "xfs" ];
+20 -18
nixos/tests/chromium.nix
··· 15 15 with import ../lib/testing-python.nix { inherit system pkgs; }; 16 16 with pkgs.lib; 17 17 18 - mapAttrs (channel: chromiumPkg: makeTest rec { 19 - name = "chromium-${channel}"; 20 - meta = { 21 - maintainers = with maintainers; [ aszlig primeos ]; 22 - # https://github.com/NixOS/hydra/issues/591#issuecomment-435125621 23 - inherit (chromiumPkg.meta) timeout; 24 - }; 25 - 26 - enableOCR = true; 27 - 18 + let 28 19 user = "alice"; 29 - 30 - machine.imports = [ ./common/user-account.nix ./common/x11.nix ]; 31 - machine.virtualisation.memorySize = 2047; 32 - machine.test-support.displayManager.auto.user = user; 33 - machine.environment = { 34 - systemPackages = [ chromiumPkg ]; 35 - variables."XAUTHORITY" = "/home/alice/.Xauthority"; 36 - }; 37 20 38 21 startupHTML = pkgs.writeText "chromium-startup.html" '' 39 22 <!DOCTYPE html> ··· 50 33 </body> 51 34 </html> 52 35 ''; 36 + in 37 + 38 + mapAttrs (channel: chromiumPkg: makeTest { 39 + name = "chromium-${channel}"; 40 + meta = { 41 + maintainers = with maintainers; [ aszlig primeos ]; 42 + # https://github.com/NixOS/hydra/issues/591#issuecomment-435125621 43 + inherit (chromiumPkg.meta) timeout; 44 + }; 45 + 46 + enableOCR = true; 47 + 48 + machine.imports = [ ./common/user-account.nix ./common/x11.nix ]; 49 + machine.virtualisation.memorySize = 2047; 50 + machine.test-support.displayManager.auto.user = user; 51 + machine.environment = { 52 + systemPackages = [ chromiumPkg ]; 53 + variables."XAUTHORITY" = "/home/alice/.Xauthority"; 54 + }; 53 55 54 56 testScript = let 55 57 xdo = name: text: let
+1 -1
nixos/tests/cri-o.nix
··· 1 1 # This test runs CRI-O and verifies via critest 2 2 import ./make-test-python.nix ({ pkgs, ... }: { 3 3 name = "cri-o"; 4 - maintainers = with pkgs.lib.maintainers; teams.podman.members; 4 + meta.maintainers = with pkgs.lib.maintainers; teams.podman.members; 5 5 6 6 nodes = { 7 7 crio = {
+16
nixos/tests/earlyoom.nix
··· 1 + import ./make-test-python.nix ({ lib, ... }: { 2 + name = "earlyoom"; 3 + meta = { 4 + maintainers = with lib.maintainers; [ ncfavier ]; 5 + }; 6 + 7 + machine = { 8 + services.earlyoom = { 9 + enable = true; 10 + }; 11 + }; 12 + 13 + testScript = '' 14 + machine.wait_for_unit("earlyoom.service") 15 + ''; 16 + })
+1 -1
nixos/tests/gitolite-fcgiwrap.nix
··· 20 20 nodes = { 21 21 22 22 server = 23 - { ... }: 23 + { config, ... }: 24 24 { 25 25 networking.firewall.allowedTCPPorts = [ 80 ]; 26 26
+2 -2
nixos/tests/jitsi-meet.nix
··· 21 21 forceSSL = true; 22 22 }; 23 23 24 - security.acme.email = "me@example.org"; 25 24 security.acme.acceptTerms = true; 26 - security.acme.server = "https://example.com"; # self-signed only 25 + security.acme.defaults.email = "me@example.org"; 26 + security.acme.defaults.server = "https://example.com"; # self-signed only 27 27 }; 28 28 }; 29 29
+3 -3
nixos/tests/misc.nix
··· 1 1 # Miscellaneous small tests that don't warrant their own VM run. 2 2 3 - import ./make-test-python.nix ({ pkgs, ...} : rec { 3 + import ./make-test-python.nix ({ pkgs, ...} : let 4 + foo = pkgs.writeText "foo" "Hello World"; 5 + in { 4 6 name = "misc"; 5 7 meta = with pkgs.lib.maintainers; { 6 8 maintainers = [ eelco ]; 7 9 }; 8 - 9 - foo = pkgs.writeText "foo" "Hello World"; 10 10 11 11 machine = 12 12 { lib, ... }:
+45
nixos/tests/moonraker.nix
··· 1 + import ./make-test-python.nix ({ pkgs, ...} : { 2 + name = "moonraker"; 3 + meta = with pkgs.lib.maintainers; { 4 + maintainers = [ zhaofengli ]; 5 + }; 6 + 7 + nodes = { 8 + printer = { config, pkgs, ... }: { 9 + security.polkit.enable = true; 10 + 11 + services.moonraker = { 12 + enable = true; 13 + allowSystemControl = true; 14 + 15 + settings = { 16 + authorization = { 17 + trusted_clients = [ "127.0.0.0/8" "::1/128" ]; 18 + }; 19 + }; 20 + }; 21 + 22 + services.klipper = { 23 + enable = true; 24 + 25 + user = "moonraker"; 26 + group = "moonraker"; 27 + 28 + # No mcu configured so won't even enter `ready` state 29 + settings = {}; 30 + }; 31 + }; 32 + }; 33 + 34 + testScript = '' 35 + printer.start() 36 + 37 + printer.wait_for_unit("klipper.service") 38 + printer.wait_for_unit("moonraker.service") 39 + printer.wait_until_succeeds("curl http://localhost:7125/printer/info | grep -v 'Not Found' >&2", timeout=30) 40 + 41 + with subtest("Check that we can perform system-level operations"): 42 + printer.succeed("curl -X POST http://localhost:7125/machine/services/stop?service=klipper | grep ok >&2") 43 + printer.wait_until_succeeds("systemctl --no-pager show klipper.service | grep ActiveState=inactive", timeout=10) 44 + ''; 45 + })
+12
nixos/tests/networking.nix
··· 514 514 local = "192.168.2.1"; 515 515 remote = "192.168.2.2"; 516 516 dev = "eth2"; 517 + ttl = 225; 517 518 type = "tap"; 518 519 }; 519 520 gre6Tunnel = { 520 521 local = "fd00:1234:5678:4::1"; 521 522 remote = "fd00:1234:5678:4::2"; 522 523 dev = "eth3"; 524 + ttl = 255; 523 525 type = "tun6"; 524 526 }; 525 527 }; ··· 548 550 local = "192.168.2.2"; 549 551 remote = "192.168.2.1"; 550 552 dev = "eth1"; 553 + ttl = 225; 551 554 type = "tap"; 552 555 }; 553 556 gre6Tunnel = { 554 557 local = "fd00:1234:5678:4::2"; 555 558 remote = "fd00:1234:5678:4::1"; 556 559 dev = "eth3"; 560 + ttl = 255; 557 561 type = "tun6"; 558 562 }; 559 563 }; ··· 573 577 ]; 574 578 testScript = { ... }: 575 579 '' 580 + import json 576 581 start_all() 577 582 578 583 with subtest("Wait for networking to be configured"): ··· 591 596 client1.wait_until_succeeds("ping -c 1 fc00::2") 592 597 593 598 client2.wait_until_succeeds("ping -c 1 fc00::1") 599 + 600 + with subtest("Test GRE tunnel TTL"): 601 + links = json.loads(client1.succeed("ip -details -json link show greTunnel")) 602 + assert links[0]['linkinfo']['info_data']['ttl'] == 225, "ttl not set for greTunnel" 603 + 604 + links = json.loads(client2.succeed("ip -details -json link show gre6Tunnel")) 605 + assert links[0]['linkinfo']['info_data']['ttl'] == 255, "ttl not set for gre6Tunnel" 594 606 ''; 595 607 }; 596 608 vlan = let
-6
nixos/tests/rstudio-server.nix
··· 14 14 }; 15 15 }; 16 16 17 - users.testuser = { 18 - uid = 1000; 19 - group = "testgroup"; 20 - }; 21 - groups.testgroup.gid = 1000; 22 - 23 17 testScript = '' 24 18 machine.wait_for_unit("rstudio-server.service") 25 19 machine.succeed("curl -f -vvv -s http://127.0.0.1:8787")
+2 -2
nixos/tests/step-ca.nix
··· 42 42 43 43 caclient = 44 44 { config, pkgs, ... }: { 45 - security.acme.server = "https://caserver:8443/acme/acme/directory"; 46 - security.acme.email = "root@example.org"; 45 + security.acme.defaults.server = "https://caserver:8443/acme/acme/directory"; 46 + security.acme.defaults.email = "root@example.org"; 47 47 security.acme.acceptTerms = true; 48 48 49 49 security.pki.certificateFiles = [ "${test-certificates}/root_ca.crt" ];
+10 -15
nixos/tests/tor.nix
··· 1 1 import ./make-test-python.nix ({ lib, ... }: with lib; 2 2 3 - rec { 3 + { 4 4 name = "tor"; 5 5 meta.maintainers = with maintainers; [ joachifm ]; 6 6 7 - common = 8 - { ... }: 9 - { boot.kernelParams = [ "audit=0" "apparmor=0" "quiet" ]; 10 - networking.firewall.enable = false; 11 - networking.useDHCP = false; 12 - }; 7 + nodes.client = { pkgs, ... }: { 8 + boot.kernelParams = [ "audit=0" "apparmor=0" "quiet" ]; 9 + networking.firewall.enable = false; 10 + networking.useDHCP = false; 13 11 14 - nodes.client = 15 - { pkgs, ... }: 16 - { imports = [ common ]; 17 - environment.systemPackages = with pkgs; [ netcat ]; 18 - services.tor.enable = true; 19 - services.tor.client.enable = true; 20 - services.tor.settings.ControlPort = 9051; 21 - }; 12 + environment.systemPackages = with pkgs; [ netcat ]; 13 + services.tor.enable = true; 14 + services.tor.client.enable = true; 15 + services.tor.settings.ControlPort = 9051; 16 + }; 22 17 23 18 testScript = '' 24 19 client.wait_for_unit("tor.service")
+15 -6
nixos/tests/without-nix.nix
··· 4 4 maintainers = [ ericson2314 ]; 5 5 }; 6 6 7 - nixpkgs.overlays = [ 8 - (self: super: { 9 - nix = throw "don't want to use this"; 10 - }) 11 - ]; 12 - 13 7 nodes.machine = { ... }: { 14 8 nix.enable = false; 9 + nixpkgs.overlays = [ 10 + (self: super: { 11 + nix = throw "don't want to use pkgs.nix"; 12 + nixVersions = lib.mapAttrs (k: throw "don't want to use pkgs.nixVersions.${k}") super.nixVersions; 13 + # aliases, some deprecated 14 + nix_2_3 = throw "don't want to use pkgs.nix_2_3"; 15 + nix_2_4 = throw "don't want to use pkgs.nix_2_4"; 16 + nix_2_5 = throw "don't want to use pkgs.nix_2_5"; 17 + nix_2_6 = throw "don't want to use pkgs.nix_2_6"; 18 + nixFlakes = throw "don't want to use pkgs.nixFlakes"; 19 + nixStable = throw "don't want to use pkgs.nixStable"; 20 + nixUnstable = throw "don't want to use pkgs.nixUnstable"; 21 + nixStatic = throw "don't want to use pkgs.nixStatic"; 22 + }) 23 + ]; 15 24 }; 16 25 17 26 testScript = ''
+2 -2
pkgs/applications/audio/airwave/default.nix
··· 3 3 }: 4 4 5 5 let 6 - 7 6 version = "1.3.3"; 8 7 9 8 airwave-src = fetchFromGitHub { ··· 38 37 in 39 38 40 39 multiStdenv.mkDerivation { 41 - name = "airwave-${version}"; 40 + pname = "airwave"; 41 + inherit version; 42 42 43 43 src = airwave-src; 44 44
+2 -3
pkgs/applications/audio/aj-snapshot/default.nix
··· 1 1 { lib, stdenv, fetchurl, alsa-lib, jack2, minixml, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = packageName + "-" + version ; 5 - packageName = "aj-snapshot" ; 4 + pname = "aj-snapshot" ; 6 5 version = "0.9.9"; 7 6 8 7 src = fetchurl { 9 - url = "mirror://sourceforge/${packageName}/${name}.tar.bz2"; 8 + url = "mirror://sourceforge/aj-snapshot/aj-snapshot-${version}.tar.bz2"; 10 9 sha256 = "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"; 11 10 }; 12 11
+1 -1
pkgs/applications/audio/ams/default.nix
··· 12 12 }: 13 13 14 14 stdenv.mkDerivation rec { 15 - name = "ams"; 15 + pname = "ams"; 16 16 version = "unstable-2019-04-27"; 17 17 18 18 src = fetchgit {
+1 -1
pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix
··· 2 2 pulseaudio }: 3 3 4 4 bitwig-studio1.overrideAttrs (oldAttrs: rec { 5 - name = "bitwig-studio-${version}"; 5 + pname = "bitwig-studio"; 6 6 version = "2.5"; 7 7 8 8 src = fetchurl {
+1 -1
pkgs/applications/audio/cardinal/default.nix
··· 22 22 }: 23 23 24 24 stdenv.mkDerivation rec { 25 - name = "cardinal-${version}"; 25 + pname = "cardinal"; 26 26 version = "22.02"; 27 27 28 28 src = fetchurl {
+2 -2
pkgs/applications/audio/cmt/default.nix
··· 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { 7 - name = "cmt"; 7 + pname = "cmt"; 8 8 version = "1.17"; 9 9 10 10 src = fetchurl { 11 - url = "http://www.ladspa.org/download/${name}_${version}.tgz"; 11 + url = "http://www.ladspa.org/download/cmt_${version}.tgz"; 12 12 sha256 = "07xd0xmwpa0j12813jpf87fr9hwzihii5l35mp8ady7xxfmxfmpb"; 13 13 }; 14 14
-1
pkgs/applications/audio/deadbeef/default.nix
··· 112 112 license = licenses.gpl2; 113 113 platforms = [ "x86_64-linux" "i686-linux" ]; 114 114 maintainers = [ maintainers.abbradar ]; 115 - repositories.git = "https://github.com/Alexey-Yakovenko/deadbeef"; 116 115 }; 117 116 }
+11
pkgs/applications/audio/gnome-podcasts/default.nix
··· 2 2 , lib 3 3 , rustPlatform 4 4 , fetchFromGitLab 5 + , fetchpatch 5 6 , meson 6 7 , ninja 7 8 , gettext ··· 30 31 rev = version; 31 32 sha256 = "00vy1qkkpn76jdpybsq9qp8s6fh1ih10j73p2x43sl97m5g8944h"; 32 33 }; 34 + 35 + patches = [ 36 + # Fix build with meson 0.61, can be removed on next release. 37 + # podcasts-gtk/resources/meson.build:5:0: ERROR: Function does not take positional arguments. 38 + # podcasts-gtk/resources/meson.build:30:0: ERROR: Function does not take positional arguments. 39 + (fetchpatch { 40 + url = "https://gitlab.gnome.org/World/podcasts/-/commit/6614bb62ecbec7c3b18ea7fe44beb50fe7942b27.patch"; 41 + sha256 = "3TVKFV9V6Ofdajgkdc+j+yxsU21C4JWSc6GjLExSM00="; 42 + }) 43 + ]; 33 44 34 45 cargoDeps = rustPlatform.fetchCargoTarball { 35 46 inherit src;
+1 -1
pkgs/applications/audio/jamin/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 version = "0.95.0"; 7 - name = "jamin-${version}"; 7 + pname = "jamin"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://sourceforge/jamin/jamin-${version}.tar.gz";
+1 -1
pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }: 2 2 stdenv.mkDerivation rec { 3 - name = "faustCompressors-v${version}"; 3 + pname = "faustCompressors"; 4 4 version = "1.2"; 5 5 6 6 src = fetchFromGitHub {
+7 -4
pkgs/applications/audio/mid2key/default.nix
··· 1 - { lib, stdenv, fetchurl, alsa-lib, libX11, libXi, libXtst, xorgproto }: 1 + { lib, stdenv, fetchFromGitHub, alsa-lib, libX11, libXi, libXtst, xorgproto }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "mid2key-r1"; 4 + pname = "mid2key"; 5 + version = "1"; 5 6 6 - src = fetchurl { 7 - url = "http://mid2key.googlecode.com/files/${name}.tar.gz"; 7 + src = fetchFromGitHub { 8 + owner = "dnschneid"; 9 + repo = "mid2key"; 10 + rev = "v${version}"; 8 11 sha256 = "0j2vsjvdgx51nd1qmaa18mcy0yw9pwrhbv2mdwnf913bwsk4y904"; 9 12 }; 10 13
+4 -5
pkgs/applications/audio/midas/generic.nix
··· 1 1 { stdenv, fetchurl, lib, libX11, libXext, alsa-lib, freetype, brand, type, version, homepage, url, sha256, ... }: 2 2 stdenv.mkDerivation rec { 3 - inherit type; 4 - baseName = "${type}-Edit"; 5 - name = "${lib.toLower baseName}-${version}"; 3 + pname = "${lib.toLower type}-edit"; 4 + inherit version; 6 5 7 6 src = fetchurl { 8 7 inherit url; ··· 15 14 16 15 installPhase = '' 17 16 mkdir -p $out/bin 18 - cp ${baseName} $out/bin 17 + cp ${pname} $out/bin 19 18 ''; 20 19 preFixup = let 21 20 # we prepare our library path in the let clause to avoid it become part of the input of mkDerivation ··· 30 29 patchelf \ 31 30 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 32 31 --set-rpath "${libPath}" \ 33 - $out/bin/${baseName} 32 + $out/bin/${pname} 34 33 ''; 35 34 36 35 meta = with lib; {
+6 -5
pkgs/applications/audio/mopidy/youtube.nix
··· 6 6 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "mopidy-youtube"; 9 - version = "3.4"; 10 - 11 - disabled = python3.pythonOlder "3.7"; 9 + version = "3.5"; 10 + format = "setuptools"; 12 11 13 12 src = fetchFromGitHub { 14 13 owner = "natumbri"; 15 14 repo = pname; 16 15 rev = "v${version}"; 17 - sha256 = "0lm6nn926qkrwzvj64yracdixfrnv5zk243msjskrnlzkhgk01rk"; 16 + hash = "sha256-hlokysFFgZZYY7flghgRq6wVG824kpcLkXxk6nMhxn4="; 18 17 }; 19 18 20 19 propagatedBuildInputs = with python3.pkgs; [ ··· 39 38 ]; 40 39 41 40 disabledTestPaths = [ 42 - # Fails with an import error 41 + # Disable tests which interact with Youtube 42 + "tests/test_api.py" 43 43 "tests/test_backend.py" 44 + "tests/test_youtube.py" 44 45 ]; 45 46 46 47 pythonImportsCheck = [
-1
pkgs/applications/audio/musescore/darwin.nix
··· 32 32 license = licenses.gpl2; 33 33 platforms = platforms.darwin; 34 34 maintainers = []; 35 - repositories.git = "https://github.com/musescore/MuseScore"; 36 35 }; 37 36 }
-1
pkgs/applications/audio/musescore/default.nix
··· 51 51 license = licenses.gpl2; 52 52 maintainers = with maintainers; [ vandenoever turion doronbehar ]; 53 53 platforms = platforms.linux; 54 - repositories.git = "https://github.com/musescore/MuseScore"; 55 54 }; 56 55 }
+2 -2
pkgs/applications/audio/qmidiarp/default.nix
··· 10 10 }: 11 11 12 12 stdenv.mkDerivation rec { 13 - name = "qmidiarp"; 13 + pname = "qmidiarp"; 14 14 version = "0.6.5"; 15 15 16 16 src = fetchgit { 17 17 url = "https://git.code.sf.net/p/qmidiarp/code"; 18 18 sha256 = "1g2143gzfbihqr2zi3k2v1yn1x3mwfbb2khmcd4m4cq3hcwhhlx9"; 19 - rev = "qmidiarp-0.6.5"; 19 + rev = "qmidiarp-${version}"; 20 20 }; 21 21 22 22 nativeBuildInputs = [
-1
pkgs/applications/audio/qmmp/default.nix
··· 58 58 license = licenses.gpl2Plus; 59 59 platforms = platforms.linux; 60 60 maintainers = [ maintainers.bjornfor ]; 61 - repositories.svn = "https://svn.code.sf.net/p/qmmp-dev/code"; 62 61 }; 63 62 }
+2 -2
pkgs/applications/audio/sisco.lv2/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, lv2, pkg-config, libGLU, libGL, cairo, pango, libjack2 }: 2 2 3 3 let 4 - name = "sisco.lv2-${version}"; 5 4 version = "0.7.0"; 6 5 7 6 robtkVersion = "80a2585253a861c81f0bfb7e4579c75f5c73af89"; ··· 22 21 }; 23 22 in 24 23 stdenv.mkDerivation rec { 25 - inherit name; 24 + pname = "sisco.lv2"; 25 + inherit version; 26 26 27 27 srcs = [ src robtkSrc ]; 28 28 sourceRoot = src.name;
+10
pkgs/applications/audio/sound-juicer/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 + , fetchpatch 4 5 , meson 5 6 , ninja 6 7 , pkg-config ··· 27 28 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 29 sha256 = "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf"; 29 30 }; 31 + 32 + patches = [ 33 + # Fix build with meson 0.61 34 + # data/meson.build:2:5: ERROR: Function does not take positional arguments. 35 + (fetchpatch { 36 + url = "https://gitlab.gnome.org/GNOME/sound-juicer/-/commit/9f97ca1faca396099f52264a9729aa355f8d122e.patch"; 37 + sha256 = "8JllVSQgI7KiBI5WP6QtXRiggYuD89NSJJp1hP4Dbao="; 38 + }) 39 + ]; 30 40 31 41 nativeBuildInputs = [ 32 42 meson
+1 -1
pkgs/applications/audio/soundkonverter/default.nix
··· 45 45 46 46 in 47 47 mkDerivation rec { 48 - name = "soundkonverter"; 48 + pname = "soundkonverter"; 49 49 version = "3.0.1"; 50 50 src = fetchFromGitHub { 51 51 owner = "dfaust";
+1 -1
pkgs/applications/blockchains/bitcoin-unlimited/default.nix
··· 6 6 with lib; 7 7 8 8 stdenv.mkDerivation rec { 9 - name = "bitcoin" + (toString (optional (!withGui) "d")) + "-unlimited-" + version; 9 + pname = "bitcoin" + optionalString (!withGui) "d" + "-unlimited"; 10 10 version = "1.9.2.0"; 11 11 12 12 src = fetchFromGitHub {
+1 -1
pkgs/applications/blockchains/dogecoin/default.nix
··· 6 6 7 7 with lib; 8 8 stdenv.mkDerivation rec { 9 - name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version; 9 + pname = "dogecoin" + optionalString (!withGui) "d"; 10 10 version = "1.14.5"; 11 11 12 12 src = fetchFromGitHub {
+1 -2
pkgs/applications/blockchains/litecoin/default.nix
··· 11 11 with lib; 12 12 13 13 mkDerivation rec { 14 - 15 - name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version; 14 + pname = "litecoin" + optionalString (!withGui) "d"; 16 15 version = "0.18.1"; 17 16 18 17 src = fetchFromGitHub {
+1 -1
pkgs/applications/blockchains/namecoin/default.nix
··· 3 3 4 4 with lib; 5 5 stdenv.mkDerivation rec { 6 + pname = "namecoin" + optionalString (!withGui) "d"; 6 7 version = "nc22.0"; 7 - name = "namecoin" + toString (optional (!withGui) "d") + "-" + version; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "namecoin";
+6 -6
pkgs/applications/editors/hexdino/default.nix
··· 1 1 { lib, fetchFromGitHub, rustPlatform, ncurses }: 2 2 3 - rustPlatform.buildRustPackage { 3 + rustPlatform.buildRustPackage rec { 4 4 pname = "hexdino"; 5 - version = "0.1.0"; 5 + version = "0.1.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Luz"; 9 - repo = "hexdino"; 10 - rev = "de5b5d7042129f57e0ab36416a06476126bce389"; 11 - sha256 = "11mz07735gxqfamjcjjmxya6swlvr1p77sgd377zjcmd6z54gwyf"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "1n8gizawx8h58hpyyqivp7vwy7yhn6scipl5rrbvkpnav8qpmk1r"; 12 12 }; 13 13 14 - cargoSha256 = "1hpndmpk1zlfvb4r95m13yvnsbjkwgw4pb9ala2d5yzfp38225nm"; 14 + cargoSha256 = "01869b1d7gbsprcxxj7h9z16pvnzb02j2hywh97gfq5x96gnmkz3"; 15 15 16 16 buildInputs = [ ncurses ]; 17 17
+2 -3
pkgs/applications/editors/jetbrains/darwin.nix
··· 5 5 }: 6 6 7 7 { meta 8 - , name 8 + , pname 9 9 , product 10 10 , productShort ? product 11 11 , src ··· 17 17 loname = lib.toLower productShort; 18 18 in 19 19 stdenvNoCC.mkDerivation { 20 - inherit meta src version; 20 + inherit pname meta src version; 21 21 desktopName = product; 22 22 installPhase = '' 23 23 runHook preInstall ··· 32 32 runHook postInstall 33 33 ''; 34 34 nativeBuildInputs = [ undmg ]; 35 - pname = lib.concatStringsSep "-" (lib.init (lib.splitString "-" name)); 36 35 sourceRoot = "."; 37 36 }
+32 -32
pkgs/applications/editors/jetbrains/default.nix
··· 24 24 25 25 # Sorted alphabetically 26 26 27 - buildClion = { name, version, src, license, description, wmClass, ... }: 27 + buildClion = { pname, version, src, license, description, wmClass, ... }: 28 28 (mkJetBrainsProduct { 29 - inherit name version src wmClass jdk; 29 + inherit pname version src wmClass jdk; 30 30 product = "CLion"; 31 31 meta = with lib; { 32 32 homepage = "https://www.jetbrains.com/clion/"; ··· 62 62 ''; 63 63 }); 64 64 65 - buildDataGrip = { name, version, src, license, description, wmClass, ... }: 65 + buildDataGrip = { pname, version, src, license, description, wmClass, ... }: 66 66 (mkJetBrainsProduct { 67 - inherit name version src wmClass jdk; 67 + inherit pname version src wmClass jdk; 68 68 product = "DataGrip"; 69 69 meta = with lib; { 70 70 homepage = "https://www.jetbrains.com/datagrip/"; ··· 78 78 }; 79 79 }); 80 80 81 - buildGoland = { name, version, src, license, description, wmClass, ... }: 81 + buildGoland = { pname, version, src, license, description, wmClass, ... }: 82 82 (mkJetBrainsProduct { 83 - inherit name version src wmClass jdk; 83 + inherit pname version src wmClass jdk; 84 84 product = "Goland"; 85 85 meta = with lib; { 86 86 homepage = "https://www.jetbrains.com/go/"; ··· 106 106 ''; 107 107 }); 108 108 109 - buildIdea = { name, version, src, license, description, wmClass, product, ... }: 109 + buildIdea = { pname, version, src, license, description, wmClass, product, ... }: 110 110 (mkJetBrainsProduct { 111 - inherit name version src wmClass jdk product; 111 + inherit pname version src wmClass jdk product; 112 112 productShort = "IDEA"; 113 113 extraLdPath = [ zlib ]; 114 114 extraWrapperArgs = [ ··· 129 129 }; 130 130 }); 131 131 132 - buildMps = { name, version, src, license, description, wmClass, product, ... }: 132 + buildMps = { pname, version, src, license, description, wmClass, product, ... }: 133 133 (mkJetBrainsProduct rec { 134 - inherit name version src wmClass jdk product; 134 + inherit pname version src wmClass jdk product; 135 135 productShort = "MPS"; 136 136 meta = with lib; { 137 137 homepage = "https://www.jetbrains.com/mps/"; ··· 146 146 }; 147 147 }); 148 148 149 - buildPhpStorm = { name, version, src, license, description, wmClass, ... }: 149 + buildPhpStorm = { pname, version, src, license, description, wmClass, ... }: 150 150 (mkJetBrainsProduct { 151 - inherit name version src wmClass jdk; 151 + inherit pname version src wmClass jdk; 152 152 product = "PhpStorm"; 153 153 meta = with lib; { 154 154 homepage = "https://www.jetbrains.com/phpstorm/"; ··· 162 162 }; 163 163 }); 164 164 165 - buildPycharm = { name, version, src, license, description, wmClass, product, ... }: 165 + buildPycharm = { pname, version, src, license, description, wmClass, product, ... }: 166 166 (mkJetBrainsProduct { 167 - inherit name version src wmClass jdk product; 167 + inherit pname version src wmClass jdk product; 168 168 productShort = "PyCharm"; 169 169 meta = with lib; { 170 170 homepage = "https://www.jetbrains.com/pycharm/"; ··· 186 186 }; 187 187 }); 188 188 189 - buildRider = { name, version, src, license, description, wmClass, ... }: 189 + buildRider = { pname, version, src, license, description, wmClass, ... }: 190 190 (mkJetBrainsProduct { 191 - inherit name version src wmClass jdk; 191 + inherit pname version src wmClass jdk; 192 192 product = "Rider"; 193 193 meta = with lib; { 194 194 homepage = "https://www.jetbrains.com/rider/"; ··· 211 211 ''); 212 212 }); 213 213 214 - buildRubyMine = { name, version, src, license, description, wmClass, ... }: 214 + buildRubyMine = { pname, version, src, license, description, wmClass, ... }: 215 215 (mkJetBrainsProduct { 216 - inherit name version src wmClass jdk; 216 + inherit pname version src wmClass jdk; 217 217 product = "RubyMine"; 218 218 meta = with lib; { 219 219 homepage = "https://www.jetbrains.com/ruby/"; ··· 223 223 }; 224 224 }); 225 225 226 - buildWebStorm = { name, version, src, license, description, wmClass, ... }: 226 + buildWebStorm = { pname, version, src, license, description, wmClass, ... }: 227 227 (mkJetBrainsProduct { 228 - inherit name version src wmClass jdk; 228 + inherit pname version src wmClass jdk; 229 229 product = "WebStorm"; 230 230 meta = with lib; { 231 231 homepage = "https://www.jetbrains.com/webstorm/"; ··· 251 251 # Sorted alphabetically 252 252 253 253 clion = buildClion rec { 254 - name = "clion-${version}"; 254 + pname = "clion"; 255 255 version = products.clion.version; 256 256 description = "C/C++ IDE. New. Intelligent. Cross-platform"; 257 257 license = lib.licenses.unfree; ··· 264 264 }; 265 265 266 266 datagrip = buildDataGrip rec { 267 - name = "datagrip-${version}"; 267 + pname = "datagrip"; 268 268 version = products.datagrip.version; 269 269 description = "Your Swiss Army Knife for Databases and SQL"; 270 270 license = lib.licenses.unfree; ··· 277 277 }; 278 278 279 279 goland = buildGoland rec { 280 - name = "goland-${version}"; 280 + pname = "goland"; 281 281 version = products.goland.version; 282 282 description = "Up and Coming Go IDE"; 283 283 license = lib.licenses.unfree; ··· 290 290 }; 291 291 292 292 idea-community = buildIdea rec { 293 - name = "idea-community-${version}"; 293 + pname = "idea-community"; 294 294 product = "IntelliJ IDEA CE"; 295 295 version = products.idea-community.version; 296 296 description = "Integrated Development Environment (IDE) by Jetbrains, community edition"; ··· 304 304 }; 305 305 306 306 idea-ultimate = buildIdea rec { 307 - name = "idea-ultimate-${version}"; 307 + pname = "idea-ultimate"; 308 308 product = "IntelliJ IDEA"; 309 309 version = products.idea-ultimate.version; 310 310 description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license"; ··· 318 318 }; 319 319 320 320 mps = buildMps rec { 321 - name = "mps-${version}"; 321 + pname = "mps"; 322 322 product = "MPS ${products.mps.version-major-minor}"; 323 323 version = products.mps.version; 324 324 description = "Create your own domain-specific language"; ··· 332 332 }; 333 333 334 334 phpstorm = buildPhpStorm rec { 335 - name = "phpstorm-${version}"; 335 + pname = "phpstorm"; 336 336 version = products.phpstorm.version; 337 337 description = "Professional IDE for Web and PHP developers"; 338 338 license = lib.licenses.unfree; ··· 345 345 }; 346 346 347 347 pycharm-community = buildPycharm rec { 348 - name = "pycharm-community-${version}"; 348 + pname = "pycharm-community"; 349 349 product = "PyCharm CE"; 350 350 version = products.pycharm-community.version; 351 351 description = "PyCharm Community Edition"; ··· 359 359 }; 360 360 361 361 pycharm-professional = buildPycharm rec { 362 - name = "pycharm-professional-${version}"; 362 + pname = "pycharm-professional"; 363 363 product = "PyCharm"; 364 364 version = products.pycharm-professional.version; 365 365 description = "PyCharm Professional Edition"; ··· 373 373 }; 374 374 375 375 rider = buildRider rec { 376 - name = "rider-${version}"; 376 + pname = "rider"; 377 377 version = products.rider.version; 378 378 description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper"; 379 379 license = lib.licenses.unfree; ··· 386 386 }; 387 387 388 388 ruby-mine = buildRubyMine rec { 389 - name = "ruby-mine-${version}"; 389 + pname = "ruby-mine"; 390 390 version = products.ruby-mine.version; 391 391 description = "The Most Intelligent Ruby and Rails IDE"; 392 392 license = lib.licenses.unfree; ··· 399 399 }; 400 400 401 401 webstorm = buildWebStorm rec { 402 - name = "webstorm-${version}"; 402 + pname = "webstorm"; 403 403 version = products.webstorm.version; 404 404 description = "Professional IDE for Web and JavaScript development"; 405 405 license = lib.licenses.unfree;
+12 -13
pkgs/applications/editors/jetbrains/linux.nix
··· 3 3 , vmopts ? null 4 4 }: 5 5 6 - { name, product, productShort ? product, version, src, wmClass, jdk, meta, extraLdPath ? [], extraWrapperArgs ? [] }@args: 6 + { pname, product, productShort ? product, version, src, wmClass, jdk, meta, extraLdPath ? [], extraWrapperArgs ? [] }@args: 7 7 8 8 with lib; 9 9 10 10 let loName = toLower productShort; 11 11 hiName = toUpper productShort; 12 - mainProgram = concatStringsSep "-" (init (splitString "-" name)); 13 12 vmoptsName = loName 14 13 + lib.optionalString stdenv.hostPlatform.is64bit "64" 15 14 + ".vmoptions"; 16 15 in 17 16 18 17 with stdenv; lib.makeOverridable mkDerivation (rec { 19 - inherit name src; 20 - meta = args.meta // { inherit mainProgram; }; 18 + inherit pname version src; 19 + meta = args.meta // { mainProgram = pname; }; 21 20 22 21 desktopItem = makeDesktopItem { 23 - name = mainProgram; 24 - exec = mainProgram; 22 + name = pname; 23 + exec = pname; 25 24 comment = lib.replaceChars ["\n"] [" "] meta.longDescription; 26 25 desktopName = product; 27 26 genericName = meta.description; 28 27 categories = [ "Development" ]; 29 - icon = mainProgram; 28 + icon = pname; 30 29 startupWMClass = wmClass; 31 30 }; 32 31 ··· 62 61 installPhase = '' 63 62 runHook preInstall 64 63 65 - mkdir -p $out/{bin,$name,share/pixmaps,libexec/${name}} 66 - cp -a . $out/$name 67 - ln -s $out/$name/bin/${loName}.png $out/share/pixmaps/${mainProgram}.png 68 - mv bin/fsnotifier* $out/libexec/${name}/. 64 + mkdir -p $out/{bin,$pname,share/pixmaps,libexec/${pname}} 65 + cp -a . $out/$pname 66 + ln -s $out/$pname/bin/${loName}.png $out/share/pixmaps/${pname}.png 67 + mv bin/fsnotifier* $out/libexec/${pname}/. 69 68 70 69 jdk=${jdk.home} 71 70 item=${desktopItem} 72 71 73 - makeWrapper "$out/$name/bin/${loName}.sh" "$out/bin/${mainProgram}" \ 74 - --prefix PATH : "$out/libexec/${name}:${lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ 72 + makeWrapper "$out/$pname/bin/${loName}.sh" "$out/bin/${pname}" \ 73 + --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ 75 74 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([ 76 75 # Some internals want libstdc++.so.6 77 76 stdenv.cc.cc.lib libsecret e2fsprogs
+2 -1
pkgs/applications/editors/jupyter-kernels/octave/default.nix
··· 32 32 ''; 33 33 34 34 sizedLogo = size: stdenv.mkDerivation { 35 - name = ''octave-logo-${octave.version}-${size}x${size}.png''; 35 + pname = "octave-logo-${size}x${size}.png"; 36 + inherit (octave) version; 36 37 37 38 src = octave.src; 38 39
+3 -1
pkgs/applications/editors/micro/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, installShellFiles }: 1 + { lib, buildGoModule, fetchFromGitHub, installShellFiles, callPackage }: 2 2 3 3 buildGoModule rec { 4 4 pname = "micro"; ··· 23 23 installManPage assets/packaging/micro.1 24 24 install -Dt $out/share/applications assets/packaging/micro.desktop 25 25 ''; 26 + 27 + passthru.tests.expect = callPackage ./test-with-expect.nix {}; 26 28 27 29 meta = with lib; { 28 30 homepage = "https://micro-editor.github.io";
+30
pkgs/applications/editors/micro/test-with-expect.nix
··· 1 + { micro, expect, runCommand, writeScript, runtimeShell }: 2 + 3 + let expect-script = writeScript "expect-script" '' 4 + #!${expect}/bin/expect -f 5 + 6 + spawn micro file.txt 7 + expect "file.txt" 8 + 9 + send "Hello world!" 10 + expect "Hello world!" 11 + 12 + # Send ctrl-q (exit) 13 + send "\021" 14 + 15 + expect "Save changes to file.txt before closing?" 16 + send "y" 17 + 18 + expect eof 19 + ''; in 20 + runCommand "micro-test-expect" 21 + { 22 + nativeBuildInputs = [ micro expect ]; 23 + passthru = { inherit expect-script; }; 24 + } '' 25 + # Micro really wants a writable $HOME for its config directory. 26 + export HOME=$(pwd) 27 + expect -f ${expect-script} 28 + grep "Hello world!" file.txt 29 + touch $out 30 + ''
+1 -1
pkgs/applications/editors/qxmledit/default.nix
··· 2 2 qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml, qtquick1, libGLU }: 3 3 4 4 stdenv.mkDerivation rec { 5 - name = "qxmledit-${version}" ; 5 + pname = "qxmledit" ; 6 6 version = "0.9.15" ; 7 7 src = fetchFromGitHub ( lib.importJSON ./qxmledit.json ) ; 8 8 nativeBuildInputs = [ qmake ] ;
+2 -2
pkgs/applications/emulators/fceux/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fceux"; 5 - version = "2.6.3"; 5 + version = "2.6.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "TASEmulators"; 9 9 repo = pname; 10 10 rev = "${pname}-${version}"; 11 - sha256 = "sha256-jNR9AB8s2S9ehYsompkV2GOLsaXIQzldeQ1WRCxdDG0="; 11 + sha256 = "sha256-Q6r/iBlmi0z40+U6OLZCahS0io4IBBGZMP1mJH7szRM="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
+3 -3
pkgs/applications/emulators/ryujinx/default.nix
··· 17 17 18 18 buildDotnetModule rec { 19 19 pname = "ryujinx"; 20 - version = "1.1.76"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml 20 + version = "1.1.77"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "Ryujinx"; 24 24 repo = "Ryujinx"; 25 - rev = "e2ffa5a125fcbe8a25c73d8e04c08c08ef378860"; 26 - sha256 = "1rmiyjqwlsbzh9q7d12n72ka9adaby2rfcbn75sf47p5857yi3p9"; 25 + rev = "df70442c46e7ee133b1fb79dc23ddd134e618085"; 26 + sha256 = "1m9msp7kxsj7251l2yjcfzrb4k1lisk9sip7acm22pxmi1a7gw73"; 27 27 }; 28 28 29 29 dotnet-sdk = dotnetCorePackages.sdk_6_0;
+4 -4
pkgs/applications/emulators/wine/base.nix
··· 1 1 { stdenv, lib, pkgArches, callPackage, makeSetupHook, 2 - name, version, src, mingwGccs, monos, geckos, platforms, 2 + pname, version, src, mingwGccs, monos, geckos, platforms, 3 3 bison, flex, fontforge, makeWrapper, pkg-config, 4 4 autoconf, hexdump, perl, nixosTests, 5 5 supportFlags, ··· 13 13 14 14 let 15 15 patches' = patches; 16 - prevName = name; 16 + prevName = pname; 17 17 prevPlatforms = platforms; 18 18 prevConfigFlags = configureFlags; 19 19 setupHookDarwin = makeSetupHook { ··· 42 42 make loader/wine64-preloader NIX_LDFLAGS="" NIX_LDFLAGS_${stdenv.cc.suffixSalt}="" 43 43 ''; 44 44 }) // rec { 45 - inherit src; 45 + inherit version src; 46 46 47 - name = if supportFlags.waylandSupport then "${prevName}-wayland" else prevName; 47 + pname = prevName + lib.optionalString supportFlags.waylandSupport "wayland"; 48 48 49 49 # Fixes "Compiler cannot create executables" building wineWow with mingwSupport 50 50 strictDeps = true;
+3 -3
pkgs/applications/emulators/wine/packages.nix
··· 9 9 vkd3d_i686 = pkgsi686Linux.callPackage ./vkd3d.nix { inherit moltenvk; }; 10 10 in with src; { 11 11 wine32 = pkgsi686Linux.callPackage ./base.nix { 12 - name = "wine-${version}"; 12 + pname = "wine"; 13 13 inherit src version supportFlags patches moltenvk; 14 14 pkgArches = [ pkgsi686Linux ]; 15 15 vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d_i686 ]; ··· 19 19 platforms = [ "i686-linux" "x86_64-linux" ]; 20 20 }; 21 21 wine64 = callPackage ./base.nix { 22 - name = "wine64-${version}"; 22 + pname = "wine64"; 23 23 inherit src version supportFlags patches moltenvk; 24 24 pkgArches = [ pkgs ]; 25 25 vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d ]; ··· 30 30 platforms = [ "x86_64-linux" "x86_64-darwin" ]; 31 31 }; 32 32 wineWow = callPackage ./base.nix { 33 - name = "wine-wow-${version}"; 33 + pname = "wine-wow"; 34 34 inherit src version supportFlags patches moltenvk; 35 35 stdenv = stdenv_32bit; 36 36 pkgArches = [ pkgs pkgsi686Linux ];
+1 -1
pkgs/applications/gis/grass/default.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 - name = "grass"; 8 + pname = "grass"; 9 9 version = "7.8.6"; 10 10 11 11 src = with lib; fetchFromGitHub {
+2 -2
pkgs/applications/graphics/drawio/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "drawio"; 14 - version = "16.5.1"; 14 + version = "17.2.1"; 15 15 16 16 src = fetchurl { 17 17 url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/drawio-x86_64-${version}.rpm"; 18 - sha256 = "a8ebf2560820d2d05677b9b16fc863f555dde8235b3e34acd7916eee3544eaa9"; 18 + sha256 = "28019774a18f6e74c0d126346ae3551b5eb9c73aae13fe87f6d49120c183697a"; 19 19 }; 20 20 21 21 nativeBuildInputs = [
-1
pkgs/applications/graphics/gpicview/default.nix
··· 23 23 meta = with lib; { 24 24 description = "A simple and fast image viewer for X"; 25 25 homepage = "http://lxde.sourceforge.net/gpicview/"; 26 - repositories.git = "git://lxde.git.sourceforge.net/gitroot/lxde/gpicview"; 27 26 license = licenses.gpl2; 28 27 maintainers = with maintainers; [ lovek323 ]; 29 28 platforms = platforms.unix;
+2 -2
pkgs/applications/graphics/inkscape/extensions.nix
··· 9 9 applytransforms = callPackage ./extensions/applytransforms { }; 10 10 11 11 hexmap = stdenv.mkDerivation { 12 - name = "hexmap"; 13 - version = "2020-06-06"; 12 + pname = "hexmap"; 13 + version = "unstable-2020-06-06"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "lifelike";
+3 -5
pkgs/applications/graphics/mtpaint/default.nix
··· 4 4 }: 5 5 6 6 stdenv.mkDerivation rec { 7 - p_name = "mtPaint"; 8 - ver_maj = "3.50"; 9 - ver_min = "01"; 10 - name = "${p_name}-${ver_maj}.${ver_min}"; 7 + pname = "mtPaint"; 8 + version = "3.50.01"; 11 9 12 10 src = fetchFromGitHub { 13 11 owner = "wjaguar"; 14 - repo = p_name; 12 + repo = "mtPaint"; 15 13 rev = "a4675ff5cd9fcd57d291444cb9f332b48f11243f"; 16 14 sha256 = "04wqxz8i655gz5rnz90cksy8v6m2jhcn1j8rzhqpp5xhawlmq24y"; 17 15 };
-1
pkgs/applications/graphics/nomacs/default.nix
··· 66 66 description = "Qt-based image viewer"; 67 67 maintainers = with lib.maintainers; [ mindavi ]; 68 68 license = licenses.gpl3Plus; 69 - repositories.git = "https://github.com/nomacs/nomacs.git"; 70 69 inherit (qtbase.meta) platforms; 71 70 }; 72 71 }
+107
pkgs/applications/graphics/unigine-heaven/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , makeWrapper 5 + , libX11 6 + , libXext 7 + , libXrandr 8 + , freetype 9 + , fontconfig 10 + , libXrender 11 + , libXinerama 12 + , autoPatchelfHook 13 + , libglvnd 14 + , openal 15 + , imagemagick 16 + , makeDesktopItem 17 + }: 18 + let 19 + version = "4.0"; 20 + 21 + arch = 22 + if stdenv.hostPlatform.system == "x86_64-linux" then 23 + "x64" 24 + else if stdenv.hostPlatform.system == "i686-linux" then 25 + "x86" 26 + else 27 + throw "Unsupported platform ${stdenv.hostPlatform.system}"; 28 + 29 + desktopItem = makeDesktopItem { 30 + name = "Heaven"; 31 + exec = "heaven"; 32 + genericName = "A GPU Stress test tool from the UNIGINE"; 33 + icon = "Heaven"; 34 + desktopName = "Heaven Benchmark"; 35 + }; 36 + in 37 + stdenv.mkDerivation 38 + { 39 + pname = "unigine-heaven"; 40 + inherit version; 41 + 42 + src = fetchurl { 43 + url = "https://assets.unigine.com/d/Unigine_Heaven-${version}.run"; 44 + sha256 = "19rndwwxnb9k2nw9h004hyrmr419471s0fp25yzvvc6rkd521c0v"; 45 + }; 46 + 47 + installPhase = 48 + '' 49 + sh $src --target $name 50 + 51 + mkdir -p $out/lib/unigine/heaven/bin 52 + mkdir -p $out/bin 53 + mkdir -p $out/share/applications/ 54 + mkdir -p $out/share/icons/hicolor 55 + 56 + install -m 0755 $name/bin/browser_${arch} $out/lib/unigine/heaven/bin 57 + install -m 0755 $name/bin/libApp{Stereo,Surround,Wall}_${arch}.so $out/lib/unigine/heaven/bin 58 + install -m 0755 $name/bin/libGPUMonitor_${arch}.so $out/lib/unigine/heaven/bin 59 + install -m 0755 $name/bin/libQt{Core,Gui,Network,WebKit,Xml}Unigine_${arch}.so.4 $out/lib/unigine/heaven/bin 60 + install -m 0755 $name/bin/libUnigine_${arch}.so $out/lib/unigine/heaven/bin 61 + install -m 0755 $name/bin/heaven_${arch} $out/lib/unigine/heaven/bin 62 + install -m 0755 $name/heaven $out/bin/heaven 63 + 64 + cp -R $name/data $name/documentation $out/lib/unigine/heaven 65 + 66 + wrapProgram $out/bin/heaven --prefix LD_LIBRARY_PATH : ${libglvnd}/lib:$out/bin:${openal}/lib --run "cd $out/lib/unigine/heaven/" 67 + 68 + convert $out/lib/unigine/heaven/data/launcher/icon.png -resize 128x128 $out/share/icons/Heaven.png 69 + for RES in 16 24 32 48 64 128 256 70 + do 71 + mkdir -p $out/share/icons/hicolor/"$RES"x"$RES"/apps 72 + convert $out/lib/unigine/heaven/data/launcher/icon.png -resize "$RES"x"$RES" $out/share/icons/hicolor/"$RES"x"$RES"/apps/Heaven.png 73 + done 74 + 75 + ln -s ${desktopItem}/share/applications/* $out/share/applications 76 + ''; 77 + 78 + nativeBuildInputs = 79 + [ 80 + autoPatchelfHook 81 + makeWrapper 82 + imagemagick 83 + ]; 84 + 85 + buildInputs = 86 + [ 87 + libX11 88 + stdenv.cc.cc 89 + libXext 90 + libXrandr 91 + freetype 92 + fontconfig 93 + libXrender 94 + libXinerama 95 + ]; 96 + 97 + dontUnpack = true; 98 + 99 + meta = 100 + { 101 + description = "The Unigine Heaven GPU benchmarking tool"; 102 + homepage = "https://benchmark.unigine.com/heaven"; 103 + license = lib.licenses.unfree; 104 + maintainers = [ lib.maintainers.BarinovMaxim ]; 105 + platforms = [ "x86_64-linux" "i686-linux" ]; 106 + }; 107 + }
+3 -3
pkgs/applications/graphics/xournal/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 version = "0.4.8.2016"; 13 - name = "xournal-" + version; 13 + pname = "xournal"; 14 14 src = fetchurl { 15 - url = "mirror://sourceforge/xournal/${name}.tar.gz"; 15 + url = "mirror://sourceforge/xournal/xournal-${version}.tar.gz"; 16 16 sha256 = "09i88v3wacmx7f96dmq0l3afpyv95lh6jrx16xzm0jd1szdrhn5j"; 17 17 }; 18 18 ··· 30 30 + lib.optionalString (!isGdkQuartzBackend) " -lX11"; 31 31 32 32 desktopItem = makeDesktopItem { 33 - name = name; 33 + name = "xournal-${version}"; 34 34 exec = "xournal"; 35 35 icon = "xournal"; 36 36 desktopName = "Xournal";
+5 -4
pkgs/applications/misc/avrdudess/default.nix
··· 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "avrdudess"; 5 - version = "2.2.20140102"; 5 + version = "2.13"; 6 6 7 7 src = fetchurl { 8 - url = "http://blog.zakkemble.co.uk/download/avrdudess_20140102.zip"; 9 - sha256 = "18llpvjsfhypzijrvfbzmcg3g141f307mzsrg11wcdxh9syxqak6"; 8 + url = "https://github.com/ZakKemble/AVRDUDESS/releases/download/v2.13/AVRDUDESS-2.13-portable.zip"; 9 + sha256 = "0fpvc19fb14ppqfb2yg821szmhyanxcp5chfldf8yh51f64zihv9"; 10 10 }; 11 11 12 12 nativeBuildInputs = [ unzip ]; ··· 36 36 37 37 meta = with lib; { 38 38 description = "GUI for AVRDUDE (AVR microcontroller programmer)"; 39 - homepage = "https://github.com/zkemble/AVRDUDESS"; 39 + homepage = "https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/"; 40 + changelog = "https://github.com/ZakKemble/AVRDUDESS/blob/v${version}/Changelog.txt"; 40 41 license = licenses.gpl3; 41 42 platforms = platforms.linux; 42 43 maintainers = [ maintainers.bjornfor ];
+2 -4
pkgs/applications/misc/gosmore/default.nix
··· 1 1 { lib, stdenv, fetchsvn, libxml2, gtk2, curl, pkg-config } : 2 2 3 - let 3 + stdenv.mkDerivation rec { 4 + pname = "gosmore"; 4 5 version = "31801"; 5 - in 6 - stdenv.mkDerivation { 7 - name = "gosmore-r${version}"; 8 6 # the gosmore svn repository does not lock revision numbers of its externals 9 7 # so we explicitly disable them to avoid breaking the hash 10 8 # especially as the externals appear to be unused
+2 -2
pkgs/applications/misc/lighthouse/default.nix
··· 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "lighthouse-${date}"; 7 - date = "2016-07-20"; 6 + pname = "lighthouse"; 7 + version = "unstable-2016-07-20"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "emgram769";
+4 -4
pkgs/applications/misc/mucommander/default.nix
··· 2 2 3 3 let 4 4 version = "0.9.3-3"; 5 - name = "mucommander-${version}"; 6 5 7 6 src = fetchFromGitHub { 8 7 owner = "mucommander"; ··· 34 33 35 34 # fake build to pre-download deps into fixed-output derivation 36 35 deps = stdenv.mkDerivation { 37 - name = "${name}-deps"; 38 - inherit src postPatch; 36 + pname = "mucommander-deps"; 37 + inherit version src postPatch; 39 38 nativeBuildInputs = [ gradle_6 perl ]; 40 39 buildPhase = '' 41 40 export GRADLE_USER_HOME=$(mktemp -d) ··· 53 52 }; 54 53 55 54 in stdenv.mkDerivation { 56 - inherit name src postPatch; 55 + pname = "mucommander"; 56 + inherit version src postPatch; 57 57 nativeBuildInputs = [ gradle_6 perl makeWrapper ]; 58 58 59 59 buildPhase = ''
-1
pkgs/applications/misc/mupdf/1.17.nix
··· 82 82 83 83 meta = with lib; { 84 84 homepage = "https://mupdf.com"; 85 - repositories.git = "git://git.ghostscript.com/mupdf.git"; 86 85 description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C"; 87 86 license = licenses.agpl3Plus; 88 87 maintainers = with maintainers; [ vrthra fpletz ];
-1
pkgs/applications/misc/mupdf/default.nix
··· 111 111 112 112 meta = with lib; { 113 113 homepage = "https://mupdf.com"; 114 - repositories.git = "git://git.ghostscript.com/mupdf.git"; 115 114 description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C"; 116 115 license = licenses.agpl3Plus; 117 116 maintainers = with maintainers; [ vrthra fpletz ];
-1
pkgs/applications/misc/nut/default.nix
··· 49 49 It uses a layered approach to connect all of the parts. 50 50 ''; 51 51 homepage = "https://networkupstools.org/"; 52 - repositories.git = "https://github.com/networkupstools/nut.git"; 53 52 platforms = platforms.linux; 54 53 maintainers = [ maintainers.pierron ]; 55 54 license = with licenses; [ gpl1Plus gpl2Plus gpl3Plus ];
+2 -1
pkgs/applications/misc/obsidian/default.nix
··· 49 49 desktopName = "Obsidian"; 50 50 comment = "Knowledge base"; 51 51 icon = "obsidian"; 52 - exec = "obsidian"; 52 + exec = "obsidian %u"; 53 53 categories = [ "Office" ]; 54 + mimeTypes = [ "x-scheme-handler/obsidian" ]; 54 55 }; 55 56 56 57 inherit pname version src;
+42 -1
pkgs/applications/misc/octoprint/default.nix
··· 34 34 (mkOverride "markdown" "3.1.1" "2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a") 35 35 (mkOverride "markupsafe" "1.1.1" "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b") 36 36 37 + # black uses hash, not sha256 identifier. Newer black version requires newer click version 38 + ( 39 + self: super: { 40 + black = super.black.overridePythonAttrs (oldAttrs: rec { 41 + version = "21.12b0"; 42 + src = oldAttrs.src.override { 43 + inherit version; 44 + hash = "sha256-d7gPaTpWni5SeVhFljTxjfmwuiYluk4MLV2lvkLm8rM="; 45 + }; 46 + doCheck = false; 47 + }); 48 + } 49 + ) 50 + 51 + # tests need network 52 + ( 53 + self: super: { 54 + curio = super.curio.overridePythonAttrs (oldAttrs: rec { 55 + disabledTests = [ 56 + "test_timeout" 57 + "test_ssl_outgoing" 58 + ]; 59 + }); 60 + } 61 + ) 62 + 63 + # tests need network 64 + ( 65 + self: super: { 66 + trio = super.trio.overridePythonAttrs (oldAttrs: rec { 67 + disabledTests = [ 68 + "test_local_address_real" 69 + ]; 70 + disabledTestPaths = [ 71 + "trio/tests/test_exports.py" 72 + "trio/tests/test_socket.py" 73 + ]; 74 + }); 75 + } 76 + ) 77 + 37 78 # Requires flask<2, cannot mkOverride because tests need to be disabled 38 79 ( 39 80 self: super: { ··· 400 441 homepage = "https://octoprint.org/"; 401 442 description = "The snappy web interface for your 3D printer"; 402 443 license = licenses.agpl3Only; 403 - maintainers = with maintainers; [ abbradar gebner WhittlesJr ]; 444 + maintainers = with maintainers; [ abbradar gebner WhittlesJr gador ]; 404 445 }; 405 446 }; 406 447 }
+3 -5
pkgs/applications/misc/pdfdiff/default.nix
··· 1 1 { lib, python2Packages, fetchurl, xpdf }: 2 - let 3 - py = python2Packages; 4 - in 5 - py.buildPythonApplication rec { 6 - name = "pdfdiff-${version}"; 2 + 3 + python2Packages.buildPythonApplication rec { 4 + pname = "pdfdiff"; 7 5 version = "0.92"; 8 6 9 7 src = fetchurl {
+3 -4
pkgs/applications/misc/pdfpc/default.nix
··· 3 3 , webkitgtk, discount, json-glib }: 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "${product}-${version}"; 7 - product = "pdfpc"; 6 + pname = "pdfpc"; 8 7 version = "4.5.0"; 9 8 10 9 src = fetchFromGitHub { 11 - repo = product; 12 - owner = product; 10 + repo = "pdfpc"; 11 + owner = "pdfpc"; 13 12 rev = "v${version}"; 14 13 sha256 = "0bmy51w6ypz927hxwp5g7wapqvzqmsi3w32rch6i3f94kg1152ck"; 15 14 };
+2 -3
pkgs/applications/misc/qmetro/default.nix
··· 1 1 { lib, stdenv, fetchurl, qmake4Hook, unzip, qt4 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "${project}-${version}"; 5 - project = "qmetro"; 4 + pname = "qmetro"; 6 5 version = "0.7.1"; 7 6 8 7 src = fetchurl { 9 - url = "mirror://sourceforge/${project}/${name}.zip"; 8 + url = "mirror://sourceforge/qmetro/qmetro-${version}.zip"; 10 9 sha256 = "1zdj87lzcr43gr2h05g17z31pd22n5kxdwbvx7rx656rmhv0sjq5"; 11 10 }; 12 11
+2 -4
pkgs/applications/misc/sleepyhead/default.nix
··· 1 1 { lib, stdenv, mkDerivation, fetchgit, zlib, libGLU, libX11, qtbase, qtwebkit, qtserialport, wrapQtAppsHook }: 2 2 3 - let 4 - name = "sleepyhead-${version}"; 3 + mkDerivation { 4 + pname = "sleepyhead"; 5 5 version = "1.0.0-beta-git"; 6 - in mkDerivation { 7 - inherit name; 8 6 9 7 src = fetchgit { 10 8 url = "https://gitlab.com/sleepyhead/sleepyhead-code.git";
+10 -21
pkgs/applications/misc/slmenu/default.nix
··· 1 1 {lib, stdenv, fetchhg}: 2 - let 3 - s = 4 - rec { 5 - baseName = "slmenu"; 6 - version = "hg-${date}"; 7 - date = "2012-02-01"; 8 - name = "${baseName}-${version}"; 2 + 3 + stdenv.mkDerivation { 4 + pname = "slmenu"; 5 + version = "hg-2012-02-01"; 6 + 7 + src = fetchhg { 9 8 url = "https://bitbucket.org/rafaelgg/slmenu/"; 10 9 rev = "7e74fa5db73e8b018da48d50dbbaf11cb5c62d13"; 11 10 sha256 = "0zb7mm8344d3xmvrl62psazcabfk75pp083jqkmywdsrikgjagv6"; 12 11 }; 13 - buildInputs = [ 14 - ]; 15 - in 16 - stdenv.mkDerivation { 17 - inherit (s) name version; 18 - inherit buildInputs; 19 - src = fetchhg { 20 - inherit (s) url sha256; 21 - }; 22 12 makeFlags = [ "PREFIX=$(out)" ]; 23 - meta = { 24 - inherit (s) version; 13 + meta = with lib; { 25 14 description = "A console dmenu-like tool"; 26 - license = lib.licenses.mit; 27 - maintainers = [lib.maintainers.raskin]; 28 - platforms = lib.platforms.linux; 15 + license = licenses.mit; 16 + maintainers = with maintainers; [ raskin ]; 17 + platforms = platforms.linux; 29 18 }; 30 19 }
+3 -3
pkgs/applications/misc/tuhi/default.nix
··· 13 13 }: 14 14 15 15 python3Packages.buildPythonApplication rec { 16 - name = "tuhi"; 16 + pname = "tuhi"; 17 17 version = "0.5"; 18 18 19 19 format = "other"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "tuhiproject"; 23 - repo = name; 24 - rev = "${version}"; 23 + repo = "tuhi"; 24 + rev = version; 25 25 sha256 = "17kggm9c423vj7irxx248fjc8sxvkp9w1mgawlx1snrii817p3db"; 26 26 }; 27 27
+5 -5
pkgs/applications/misc/urlview/default.nix
··· 1 1 { lib, stdenv, fetchurl, ncurses, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "0.9"; 4 + pname = "urlview"; 5 + _version = "0.9"; 5 6 patchLevel = "19"; 6 - 7 - name = "urlview-${version}-${patchLevel}"; 7 + version = "${_version}-${patchLevel}"; 8 8 9 9 urlBase = "mirror://debian/pool/main/u/urlview/"; 10 10 11 11 src = fetchurl { 12 - url = urlBase + "urlview_${version}.orig.tar.gz"; 12 + url = urlBase + "urlview_${_version}.orig.tar.gz"; 13 13 sha256 = "746ff540ccf601645f500ee7743f443caf987d6380e61e5249fc15f7a455ed42"; 14 14 }; 15 15 ··· 25 25 ''; 26 26 27 27 debianPatches = fetchurl { 28 - url = urlBase + "urlview_${version}-${patchLevel}.diff.gz"; 28 + url = urlBase + "urlview_${_version}-${patchLevel}.diff.gz"; 29 29 sha256 = "056883c17756f849fb9235596d274fbc5bc0d944fcc072bdbb13d1e828301585"; 30 30 }; 31 31
+1 -1
pkgs/applications/misc/xmr-stak/default.nix
··· 11 11 in 12 12 13 13 stdenv'.mkDerivation rec { 14 - name = "xmr-stak-${version}"; 14 + pname = "xmr-stak"; 15 15 version = "2.10.8"; 16 16 17 17 src = fetchFromGitHub {
+3 -3
pkgs/applications/misc/zscroll/default.nix
··· 1 1 { lib, python3, python3Packages, fetchFromGitHub }: 2 2 3 - let version = "1.0"; in 3 + python3Packages.buildPythonApplication rec { 4 + pname = "zscroll"; 5 + version = "1.0"; 4 6 5 - python3Packages.buildPythonApplication { 6 - name = "zscroll-${version}"; 7 7 # don't prefix with python version 8 8 namePrefix = ""; 9 9
+1 -1
pkgs/applications/networking/browsers/chromium/common.nix
··· 114 114 }; 115 115 116 116 base = rec { 117 - name = "${packageName}-unwrapped-${version}"; 117 + pname = "${packageName}-unwrapped"; 118 118 inherit (upstream-info) version; 119 119 inherit packageName buildType buildPath; 120 120
+2 -2
pkgs/applications/networking/browsers/chromium/default.nix
··· 157 157 else browser; 158 158 159 159 in stdenv.mkDerivation { 160 - name = lib.optionalString ungoogled "ungoogled-" 161 - + "chromium${suffix}-${version}"; 160 + pname = lib.optionalString ungoogled "ungoogled-" 161 + + "chromium${suffix}"; 162 162 inherit version; 163 163 164 164 nativeBuildInputs = [
+6 -6
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 19 19 } 20 20 }, 21 21 "beta": { 22 - "version": "100.0.4896.46", 23 - "sha256": "1qx22vadv9yd3n52pjn2sr153w70k3sxi2i8f99fdpil0kin8jkx", 24 - "sha256bin64": "1g4xygj3946322aill7lk1qf0hi07bjn3awa17pkn1sgbl3gm8nr", 22 + "version": "100.0.4896.56", 23 + "sha256": "0vdyddxhmkw9bqwx5j19h69swx9ysiipsmcc1sjl0qv8bn8f790z", 24 + "sha256bin64": "09h4fxsx0q5b0gn258xnmk11qz7ql8flpn4mq5x201abmv29y856", 25 25 "deps": { 26 26 "gn": { 27 27 "version": "2022-01-21", ··· 32 32 } 33 33 }, 34 34 "dev": { 35 - "version": "101.0.4947.0", 36 - "sha256": "176bby8xis0j3ifvxxxjgklvs7yd7v71c5lc18qdjkgzv5qdx0sy", 37 - "sha256bin64": "1rkpc25ff8vf1p7znpmaljj8gwcym34qg28b4anv8x9zvwn7w21s", 35 + "version": "101.0.4951.7", 36 + "sha256": "0xnvbiqi50hgky35qaivcyzfp05nnwfwqrd50dksqkzycl8avb4z", 37 + "sha256bin64": "19my3zr9d3w2ypl9cm1xa15vhyv9add1f283alb9fmh2qwhl4scg", 38 38 "deps": { 39 39 "gn": { 40 40 "version": "2022-03-14",
+1 -1
pkgs/applications/networking/browsers/firefox-bin/default.nix
··· 188 188 ln -s ${policiesJson} "$out/lib/firefox-bin-${version}/distribution/policies.json"; 189 189 ''; 190 190 191 - passthru.applicationName = "firefox"; 191 + passthru.binaryName = "firefox"; 192 192 passthru.libName = "firefox-bin-${version}"; 193 193 passthru.execdir = "/bin"; 194 194 passthru.ffmpegSupport = true;
+203 -169
pkgs/applications/networking/browsers/firefox/common.nix
··· 1 - { pname, version, meta, updateScript ? null 2 - , binaryName ? "firefox", application ? "browser" 3 - , src, unpackPhase ? null, patches ? [] 4 - , extraNativeBuildInputs ? [], extraConfigureFlags ? [], extraMakeFlags ? [], tests ? [] 5 - , extraPostPatch ? "", extraPassthru ? {} }: 1 + { pname 2 + , version 3 + , meta 4 + , updateScript ? null 5 + , binaryName ? "firefox" 6 + , application ? "browser" 7 + , src 8 + , unpackPhase ? null 9 + , extraPatches ? [] 10 + , extraPostPatch ? "" 11 + , extraNativeBuildInputs ? [] 12 + , extraConfigureFlags ? [] 13 + , extraBuildInputs ? [] 14 + , extraMakeFlags ? [] 15 + , extraPassthru ? {} 16 + , tests ? [] 17 + }: 18 + 19 + 20 + { lib 21 + , stdenv 22 + , fetchpatch 23 + 24 + # build time 25 + , autoconf 26 + , cargo 27 + , gnused 28 + , makeWrapper 29 + , nodejs 30 + , perl 31 + , pkg-config 32 + , pkgsCross # wasm32 rlbox 33 + , python3 34 + , runCommand 35 + , rustc 36 + , rust-cbindgen 37 + , rustPlatform 38 + , unzip 39 + , which 40 + , wrapGAppsHook 6 41 7 - { lib, stdenv, pkg-config, pango, perl, python3, zip 8 - , libjpeg, zlib, dbus, dbus-glib, bzip2, xorg 9 - , freetype, fontconfig, file, nspr, nss 10 - , yasm, libGLU, libGL, sqlite, unzip, makeWrapper 11 - , hunspell, libevent, libstartup_notification 12 - , libvpx 13 - , icu70, libpng, glib, pciutils 14 - , autoconf213, which, gnused, rustPackages, rustPlatform 15 - , rust-cbindgen, nodejs, nasm, fetchpatch 42 + # runtime 43 + , bzip2 44 + , dbus 45 + , dbus-glib 46 + , file 47 + , fontconfig 48 + , freetype 49 + , glib 16 50 , gnum4 17 - , gtk3, wrapGAppsHook 18 - , pkgsCross 51 + , gtk3 52 + , icu 53 + , libGL 54 + , libGLU 55 + , libevent 56 + , libffi 57 + , libjpeg 58 + , libpng 59 + , libstartup_notification 60 + , libvpx 61 + , libwebp 62 + , nasm 63 + , nspr 64 + , nss 65 + , pango 66 + , xorg 67 + , zip 68 + , zlib 69 + 70 + # optionals 71 + 72 + ## debugging 73 + 19 74 , debugBuild ? false 20 - , runCommand 21 75 22 - ### optionals 76 + # On 32bit platforms, we disable adding "-g" for easier linking. 77 + , enableDebugSymbols ? !stdenv.is32bit 23 78 24 79 ## optional libraries 25 80 26 81 , alsaSupport ? stdenv.isLinux, alsa-lib 27 - , pulseaudioSupport ? stdenv.isLinux, libpulseaudio 28 82 , ffmpegSupport ? true 29 - , waylandSupport ? true, libxkbcommon, libdrm 30 - , ltoSupport ? (stdenv.isLinux && stdenv.is64bit), overrideCC, buildPackages 31 83 , gssSupport ? true, libkrb5 32 - , pipewireSupport ? waylandSupport && webrtcSupport, pipewire 33 - # Jemalloc could reduce memory consumption. 34 84 , jemallocSupport ? true, jemalloc 85 + , ltoSupport ? (stdenv.isLinux && stdenv.is64bit), overrideCC, buildPackages 86 + , pipewireSupport ? waylandSupport && webrtcSupport 87 + , pulseaudioSupport ? stdenv.isLinux, libpulseaudio 88 + , waylandSupport ? true, libxkbcommon, libdrm 35 89 36 90 ## privacy-related options 37 91 ··· 40 94 # WARNING: NEVER set any of the options below to `true` by default. 41 95 # Set to `!privacySupport` or `false`. 42 96 43 - # webrtcSupport breaks the aarch64 build on version >= 60, fixed in 63. 44 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1434589 45 - , webrtcSupport ? !privacySupport 46 97 , geolocationSupport ? !privacySupport 47 98 , googleAPISupport ? geolocationSupport 48 - , crashreporterSupport ? false 49 - 50 - , safeBrowsingSupport ? false 51 - , drmSupport ? false 99 + , webrtcSupport ? !privacySupport 52 100 53 - # macOS dependencies 54 - , xcbuild, CoreMedia, ExceptionHandling, Kerberos, AVFoundation, MediaToolbox 55 - , CoreLocation, Foundation, AddressBook, libobjc, cups, rsync 101 + ## other 56 102 57 - ## other 103 + , crashreporterSupport ? false 104 + , drmSupport ? false 105 + , safeBrowsingSupport ? false 58 106 59 107 # As stated by Sylvestre Ledru (@sylvestre) on Nov 22, 2017 at 60 108 # https://github.com/NixOS/nixpkgs/issues/31843#issuecomment-346372756 we ··· 75 123 # > the experience of Firefox users, you won't have any issues using the 76 124 # > official branding. 77 125 , enableOfficialBranding ? true 78 - 79 - # On 32bit platforms, we disable adding "-g" for easier linking. 80 - , enableDebugSymbols ? !stdenv.is32bit 81 126 }: 82 127 83 128 assert stdenv.cc.libc or null != null; 84 129 assert pipewireSupport -> !waylandSupport || !webrtcSupport -> throw "pipewireSupport requires both wayland and webrtc support."; 85 - assert ltoSupport -> stdenv.isDarwin -> throw "LTO is broken on Darwin (see PR#19312)."; 86 130 87 131 let 88 132 flag = tf: x: [(if tf then "--enable-${x}" else "--disable-${x}")]; 89 133 90 - default-toolkit = if stdenv.isDarwin then "cairo-cocoa" 91 - else "cairo-gtk3${lib.optionalString waylandSupport "-wayland"}"; 92 - 93 - binaryNameCapitalized = lib.toUpper (lib.substring 0 1 binaryName) + lib.substring 1 (-1) binaryName; 94 - 95 - applicationName = if stdenv.isDarwin then binaryNameCapitalized else binaryName; 96 - 97 - execdir = if stdenv.isDarwin 98 - then "/Applications/${binaryNameCapitalized}.app/Contents/MacOS" 99 - else "/bin"; 100 - 101 - inherit (rustPackages) rustc cargo; 102 - 103 - # Darwin's stdenv provides the default llvmPackages version, match that since 104 - # clang LTO on Darwin is broken so the stdenv is not being changed. 105 - # Target the LLVM version that rustc -Vv reports it is built with for LTO. 106 - llvmPackages0 = 107 - if stdenv.isDarwin 108 - then buildPackages.llvmPackages 109 - else rustc.llvmPackages; 134 + # Target the LLVM version that rustc is built with for LTO. 135 + llvmPackages0 = rustc.llvmPackages; 110 136 111 137 # Force the use of lld and other llvm tools for LTO 112 138 llvmPackages = llvmPackages0.override { ··· 114 140 bootBintools = null; 115 141 }; 116 142 117 - # When LTO for Darwin is fixed, the following will need updating as lld 118 - # doesn't work on it. For now it is fine since ltoSupport implies no Darwin. 119 143 buildStdenv = if ltoSupport 120 - # LTO requires LLVM bintools including ld.lld and llvm-ar. 121 - then overrideCC llvmPackages.stdenv (llvmPackages.stdenv.cc.override { 122 - inherit (llvmPackages) bintools; 123 - }) 124 - else stdenv; 144 + # LTO requires LLVM bintools including ld.lld and llvm-ar. 145 + then overrideCC llvmPackages.stdenv (llvmPackages.stdenv.cc.override { 146 + inherit (llvmPackages) bintools; 147 + }) 148 + else stdenv; 125 149 126 150 # Compile the wasm32 sysroot to build the RLBox Sandbox 127 151 # https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/ ··· 141 165 inherit src unpackPhase meta; 142 166 143 167 patches = [ 144 - ] ++ 145 - lib.optional (lib.versionAtLeast version "86") ./env_var_for_system_dir-ff86.patch ++ 146 - lib.optional (lib.versionAtLeast version "90" && lib.versionOlder version "95") ./no-buildconfig-ffx90.patch ++ 147 - lib.optional (lib.versionAtLeast version "96") ./no-buildconfig-ffx96.patch ++ 168 + ] 169 + ++ lib.optional (lib.versionAtLeast version "86") ./env_var_for_system_dir-ff86.patch 170 + ++ lib.optional (lib.versionAtLeast version "90" && lib.versionOlder version "95") ./no-buildconfig-ffx90.patch 171 + ++ lib.optional (lib.versionAtLeast version "96") ./no-buildconfig-ffx96.patch 172 + ++ extraPatches; 148 173 149 - patches; 174 + postPatch = '' 175 + rm -rf obj-x86_64-pc-linux-gnu 176 + patchShebangs mach 177 + '' 178 + + extraPostPatch; 150 179 151 180 # Ignore trivial whitespace changes in patches, this fixes compatibility of 152 181 # ./env_var_for_system_dir.patch with Firefox >=65 without having to track 153 182 # two patches. 154 183 patchFlags = [ "-p1" "-l" ]; 155 184 156 - buildInputs = [ 157 - gnum4 gtk3 perl zip libjpeg zlib bzip2 158 - dbus dbus-glib pango freetype fontconfig xorg.libXi xorg.libXcursor 159 - xorg.libX11 xorg.libXrender xorg.libXft xorg.libXt file 160 - xorg.pixman yasm libGLU libGL 161 - xorg.xorgproto 162 - xorg.libXdamage 163 - xorg.libXext 164 - xorg.libXtst 165 - libevent libstartup_notification /* cairo */ 166 - libpng glib 167 - nasm icu70 libvpx 168 - # >= 66 requires nasm for the AV1 lib dav1d 169 - # yasm can potentially be removed in future versions 170 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1501796 171 - # https://groups.google.com/forum/#!msg/mozilla.dev.platform/o-8levmLU80/SM_zQvfzCQAJ 172 - nspr nss 185 + nativeBuildInputs = [ 186 + autoconf 187 + cargo 188 + gnused 189 + llvmPackages.llvm # llvm-objdump 190 + makeWrapper 191 + nodejs 192 + perl 193 + pkg-config 194 + python3 195 + rust-cbindgen 196 + rustPlatform.bindgenHook 197 + rustc 198 + unzip 199 + which 200 + wrapGAppsHook 173 201 ] 174 - ++ lib.optional alsaSupport alsa-lib 175 - ++ lib.optional pulseaudioSupport libpulseaudio # only headers are needed 176 - ++ lib.optional gssSupport libkrb5 177 - ++ lib.optionals waylandSupport [ libxkbcommon libdrm ] 178 - ++ lib.optional pipewireSupport pipewire 179 - ++ lib.optional jemallocSupport jemalloc 180 - ++ lib.optionals buildStdenv.isDarwin [ CoreMedia ExceptionHandling Kerberos 181 - AVFoundation MediaToolbox CoreLocation 182 - Foundation libobjc AddressBook cups ]; 202 + ++ extraNativeBuildInputs; 183 203 184 - MACH_USE_SYSTEM_PYTHON = "1"; 185 - 186 - postPatch = '' 187 - rm -rf obj-x86_64-pc-linux-gnu 188 - substituteInPlace toolkit/xre/glxtest.cpp \ 189 - --replace 'dlopen("libpci.so' 'dlopen("${pciutils}/lib/libpci.so' 190 - 191 - patchShebangs mach 192 - '' + extraPostPatch; 193 - 194 - nativeBuildInputs = 195 - [ 196 - autoconf213 197 - cargo 198 - gnused 199 - llvmPackages.llvm # llvm-objdump 200 - makeWrapper 201 - nodejs 202 - perl 203 - pkg-config 204 - python3 205 - rust-cbindgen 206 - rustc 207 - which 208 - unzip 209 - wrapGAppsHook 210 - rustPlatform.bindgenHook 211 - ] 212 - ++ lib.optionals buildStdenv.isDarwin [ xcbuild rsync ] 213 - ++ extraNativeBuildInputs; 214 - 215 - separateDebugInfo = enableDebugSymbols; 216 204 setOutputFlags = false; # `./mach configure` doesn't understand `--*dir=` flags. 217 205 218 206 preConfigure = '' 219 207 # remove distributed configuration files 220 - rm -f configure 221 - rm -f js/src/configure 222 - rm -f .mozconfig* 223 - # this will run autoconf213 208 + rm -f configure js/src/configure .mozconfig* 209 + 210 + # Runs autoconf through ./mach configure in configurePhase 224 211 configureScript="$(realpath ./mach) configure" 212 + 213 + # Set predictable directories for build and state 214 + export MOZ_OBJDIR=$(pwd)/mozobj 225 215 export MOZBUILD_STATE_PATH=$(pwd)/mozbuild 226 216 227 217 # Set consistent remoting name to ensure wmclass matches with desktop file 228 218 export MOZ_APP_REMOTINGNAME="${binaryName}" 229 219 230 - '' + (lib.optionalString (lib.versionAtLeast version "95.0") '' 220 + # Use our own python 221 + export MACH_USE_SYSTEM_PYTHON=1 222 + 223 + # AS=as in the environment causes build failure 224 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1497286 225 + unset AS 226 + 227 + '' + lib.optionalString (lib.versionAtLeast version "95.0") '' 231 228 # RBox WASM Sandboxing 232 229 export WASM_CC=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}cc 233 230 export WASM_CXX=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}c++ 234 - '') + (lib.optionalString googleAPISupport '' 231 + '' + lib.optionalString googleAPISupport '' 235 232 # Google API key used by Chromium and Firefox. 236 233 # Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, 237 234 # please get your own set of keys. ··· 239 236 # 60.5+ & 66+ did split the google API key arguments: https://bugzilla.mozilla.org/show_bug.cgi?id=1531176 240 237 configureFlagsArray+=("--with-google-location-service-api-keyfile=$TMPDIR/ga") 241 238 configureFlagsArray+=("--with-google-safebrowsing-api-keyfile=$TMPDIR/ga") 242 - '') + '' 243 - # AS=as in the environment causes build failure https://bugzilla.mozilla.org/show_bug.cgi?id=1497286 244 - unset AS 245 - '' + (lib.optionalString enableOfficialBranding '' 239 + '' + lib.optionalString enableOfficialBranding '' 246 240 export MOZILLA_OFFICIAL=1 247 - export BUILD_OFFICIAL=1 248 - ''); 241 + ''; 249 242 250 243 configureFlags = [ 244 + "--disable-tests" 245 + "--disable-updater" 251 246 "--enable-application=${application}" 247 + "--enable-default-toolkit=cairo-gtk3${lib.optionalString waylandSupport "-wayland"}" 248 + "--enable-system-pixman" 249 + "--with-libclang-path=${llvmPackages.libclang.lib}/lib" 250 + "--with-system-ffi" 251 + "--with-system-icu" 252 252 "--with-system-jpeg" 253 - "--with-system-zlib" 254 253 "--with-system-libevent" 255 254 "--with-system-libvpx" 256 - "--with-system-png" # needs APNG support 257 - "--with-system-icu" 258 - "--enable-system-ffi" 259 - "--enable-system-pixman" 260 - #"--enable-system-cairo" 261 - "--disable-tests" 262 - "--disable-necko-wifi" # maybe we want to enable this at some point 263 - "--disable-updater" 264 - "--enable-default-toolkit=${default-toolkit}" 265 - "--with-libclang-path=${llvmPackages.libclang.lib}/lib" 266 255 "--with-system-nspr" 267 256 "--with-system-nss" 257 + "--with-system-png" # needs APNG support 258 + "--with-system-webp" 259 + "--with-system-zlib" 268 260 ] 269 - ++ lib.optional (buildStdenv.isDarwin) "--disable-xcode-checks" 270 261 ++ lib.optional (!ltoSupport) "--with-clang-path=${llvmPackages.clang}/bin/clang" 271 262 # LTO is done using clang and lld on Linux. 272 - # Darwin needs to use the default linker as lld is not supported (yet?): 273 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1538724 263 + ++ lib.optionals ltoSupport [ 264 + "--enable-lto=cross" # Cross-Language LTO 265 + "--enable-linker=lld" 266 + ] 274 267 # elf-hack is broken when using clang+lld: 275 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 276 - ++ lib.optional ltoSupport "--enable-lto=cross" # Cross-language LTO. 268 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 277 269 ++ lib.optional (ltoSupport && (buildStdenv.isAarch32 || buildStdenv.isi686 || buildStdenv.isx86_64)) "--disable-elf-hack" 278 - ++ lib.optional (ltoSupport && !buildStdenv.isDarwin) "--enable-linker=lld" 279 270 ++ lib.optional (lib.versionAtLeast version "95") "--with-wasi-sysroot=${wasiSysRoot}" 280 271 281 272 ++ flag alsaSupport "alsa" 282 273 ++ flag pulseaudioSupport "pulseaudio" 283 274 ++ flag ffmpegSupport "ffmpeg" 284 275 ++ flag jemallocSupport "jemalloc" 276 + ++ flag geolocationSupport "necko-wifi" 285 277 ++ flag gssSupport "negotiateauth" 286 278 ++ flag webrtcSupport "webrtc" 287 279 ++ flag crashreporterSupport "crashreporter" ··· 298 290 ++ lib.optional enableOfficialBranding "--enable-official-branding" 299 291 ++ extraConfigureFlags; 300 292 301 - postConfigure = '' 302 - cd obj-* 293 + buildInputs = [ 294 + bzip2 295 + dbus 296 + dbus-glib 297 + file 298 + fontconfig 299 + freetype 300 + glib 301 + gnum4 302 + gtk3 303 + icu 304 + libffi 305 + libGL 306 + libGLU 307 + libevent 308 + libjpeg 309 + libpng 310 + libstartup_notification 311 + libvpx 312 + libwebp 313 + nasm 314 + nspr 315 + nss 316 + pango 317 + perl 318 + xorg.libX11 319 + xorg.libXcursor 320 + xorg.libXdamage 321 + xorg.libXext 322 + xorg.libXft 323 + xorg.libXi 324 + xorg.libXrender 325 + xorg.libXt 326 + xorg.libXtst 327 + xorg.pixman 328 + xorg.xorgproto 329 + zip 330 + zlib 331 + ] 332 + ++ lib.optional alsaSupport alsa-lib 333 + ++ lib.optional pulseaudioSupport libpulseaudio # only headers are needed 334 + ++ lib.optional gssSupport libkrb5 335 + ++ lib.optionals waylandSupport [ libxkbcommon libdrm ] 336 + ++ lib.optional jemallocSupport jemalloc 337 + ++ extraBuildInputs; 338 + 339 + preBuild = '' 340 + cd mozobj 303 341 ''; 304 342 305 343 makeFlags = extraMakeFlags; 306 - 344 + separateDebugInfo = enableDebugSymbols; 307 345 enableParallelBuilding = true; 308 - doCheck = false; # "--disable-tests" above 309 346 310 - installPhase = if buildStdenv.isDarwin then '' 311 - mkdir -p $out/Applications 312 - cp -LR dist/${binaryNameCapitalized}.app $out/Applications 313 - '' else null; 347 + # tests were disabled in configureFlags 348 + doCheck = false; 314 349 315 350 postInstall = lib.optionalString buildStdenv.isLinux '' 316 351 # Remove SDK cruft. FIXME: move to a separate output? ··· 322 357 323 358 # Workaround: The separateDebugInfo hook skips artifacts whose build ID's length is not 40. 324 359 # But we got 16-length build ID here. The function body is mainly copied from pkgs/build-support/setup-hooks/separate-debug-info.sh 325 - # Remove it when PR #146275 is merged. 360 + # Remove it when https://github.com/NixOS/nixpkgs/pull/146275 is merged. 326 361 preFixup = lib.optionalString enableDebugSymbols '' 327 362 _separateDebugInfo() { 328 363 [ -e "$prefix" ] || return 0 ··· 359 394 doInstallCheck = true; 360 395 installCheckPhase = '' 361 396 # Some basic testing 362 - "$out${execdir}/${applicationName}" --version 397 + "$out/bin/${binaryName}" --version 363 398 ''; 364 399 365 400 passthru = { 366 401 inherit updateScript; 367 402 inherit version; 368 403 inherit alsaSupport; 404 + inherit binaryName; 369 405 inherit pipewireSupport; 370 406 inherit nspr; 371 407 inherit ffmpegSupport; 372 408 inherit gssSupport; 373 - inherit execdir; 374 - inherit applicationName; 375 409 inherit tests; 376 410 inherit gtk3; 377 411 inherit wasiSysRoot;
+2 -2
pkgs/applications/networking/browsers/firefox/librewolf/default.nix
··· 6 6 7 7 inherit (src) packageVersion firefox source; 8 8 9 - patches = [ ./verify-telemetry-macros.patch ]; 9 + extraPatches = [ ./verify-telemetry-macros.patch ]; 10 10 11 11 extraConfigureFlags = [ 12 12 "--with-app-name=librewolf" ··· 34 34 extraPoliciesFiles = [ "${source}/submodules/settings/distribution/policies.json" ]; 35 35 36 36 extraPassthru = { 37 - librewolf = { inherit src patches; }; 37 + librewolf = { inherit src extraPatches; }; 38 38 inherit extraPrefsFiles extraPoliciesFiles; 39 39 }; 40 40 }
+5 -5
pkgs/applications/networking/browsers/firefox/librewolf/src.json
··· 1 1 { 2 - "packageVersion": "98.0-1", 2 + "packageVersion": "98.0.2-1", 3 3 "source": { 4 - "rev": "98.0-1", 5 - "sha256": "1z42a42d6z0gyc5i0pamcqq5bak6pgg1ldvlrjdyjnpvda74s0fn" 4 + "rev": "98.0.2-1", 5 + "sha256": "033l6mjmhfhf7b8p652s7ziw8zz725082hhzzvr3ahi498wshkx6" 6 6 }, 7 7 "firefox": { 8 - "version": "98.0", 9 - "sha512": "5b9186dd2a5dee5f2d2a2ce156fc06e2073cf71a70891a294cf3358218592f19ec3413d33b68d6f38e3cc5f940213e590a188e2b6efc39f416e90a55f89bfd9b" 8 + "version": "98.0.2", 9 + "sha512": "b567b53fcdc08491063d535545f558ea56ec5be02ca540661de116986245b79f509e0103cea5661faf9f4b3d30b67758ebdb4b30401e260ee27cbb300203f36e" 10 10 } 11 11 }
+14 -17
pkgs/applications/networking/browsers/firefox/wrapper.nix
··· 12 12 , libva 13 13 , mesa # firefox wants gbm for drm+dmabuf 14 14 , cups 15 + , pciutils 15 16 }: 16 17 17 18 ## configurability of the wrapper itself ··· 20 21 21 22 let 22 23 wrapper = 23 - { applicationName ? browser.applicationName or (lib.getName browser) 24 + { applicationName ? browser.binaryName or (lib.getName browser) 24 25 , pname ? applicationName 25 26 , version ? lib.getVersion browser 26 27 , desktopName ? # applicationName with first letter capitalized ··· 66 67 ++ lib.optional (cfg.enableFXCastBridge or false) fx_cast_bridge 67 68 ++ extraNativeMessagingHosts 68 69 ); 69 - libs = lib.optionals stdenv.isLinux [ udev libva mesa libnotify xorg.libXScrnSaver cups ] 70 - ++ lib.optional (pipewireSupport && lib.versionAtLeast version "83") pipewire 70 + libs = lib.optionals stdenv.isLinux [ udev libva mesa libnotify xorg.libXScrnSaver cups pciutils ] 71 + ++ lib.optional pipewireSupport pipewire 71 72 ++ lib.optional ffmpegSupport ffmpeg 72 73 ++ lib.optional gssSupport libkrb5 73 74 ++ lib.optional useGlvnd libglvnd ··· 179 180 buildInputs = [ browser.gtk3 ]; 180 181 181 182 182 - buildCommand = lib.optionalString stdenv.isDarwin '' 183 - mkdir -p $out/Applications 184 - cp -R --no-preserve=mode,ownership ${browser}/Applications/${applicationName}.app $out/Applications 185 - rm -f $out${browser.execdir or "/bin"}/${applicationName} 186 - '' + '' 187 - if [ ! -x "${browser}${browser.execdir or "/bin"}/${applicationName}" ] 183 + buildCommand = '' 184 + if [ ! -x "${browser}/bin/${applicationName}" ] 188 185 then 189 - echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${applicationName}'" 186 + echo "cannot find executable file \`${browser}/bin/${applicationName}'" 190 187 exit 1 191 188 fi 192 189 ··· 223 220 224 221 # create the wrapper 225 222 226 - executablePrefix="$out${browser.execdir or "/bin"}" 223 + executablePrefix="$out/bin" 227 224 executablePath="$executablePrefix/${applicationName}" 228 225 229 226 if [ ! -x "$executablePath" ] 230 227 then 231 - echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${applicationName}'" 228 + echo "cannot find executable file \`${browser}/bin/${applicationName}'" 232 229 exit 1 233 230 fi 234 231 ··· 243 240 oldExe="$(readlink -v --canonicalize-existing "$executablePath")" 244 241 fi 245 242 246 - if [ ! -x "${browser}${browser.execdir or "/bin"}/${applicationName}" ] 243 + if [ ! -x "${browser}/bin/${applicationName}" ] 247 244 then 248 - echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${applicationName}'" 245 + echo "cannot find executable file \`${browser}/bin/${applicationName}'" 249 246 exit 1 250 247 fi 251 248 252 249 makeWrapper "$oldExe" \ 253 - "$out${browser.execdir or "/bin"}/${applicationName}${nameSuffix}" \ 250 + "$out/bin/${applicationName}${nameSuffix}" \ 254 251 --prefix LD_LIBRARY_PATH ':' "$libs" \ 255 252 --suffix-each GTK_PATH ':' "$gtk_modules" \ 256 253 --prefix PATH ':' "${xdg-utils}/bin" \ 257 - --suffix PATH ':' "$out${browser.execdir or "/bin"}" \ 254 + --suffix PATH ':' "$out/bin" \ 258 255 --set MOZ_APP_LAUNCHER "${applicationName}${nameSuffix}" \ 259 256 --set MOZ_SYSTEM_DIR "$out/lib/mozilla" \ 260 257 --set MOZ_LEGACY_PROFILES 1 \ ··· 278 275 mkdir -p "$out/share/icons/hicolor/''${res}x''${res}/apps" 279 276 icon=$( find "${browser}/lib/" -name "default''${res}.png" ) 280 277 if [ -e "$icon" ]; then ln -s "$icon" \ 281 - "$out/share/icons/hicolor/''${res}x''${res}/apps/${applicationName}.png" 278 + "$out/share/icons/hicolor/''${res}x''${res}/apps/${icon}.png" 282 279 fi 283 280 done 284 281 fi
+2 -2
pkgs/applications/networking/cluster/cmctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "cmctl"; 5 - version = "1.7.1"; 5 + version = "1.7.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cert-manager"; 9 9 repo = "cert-manager"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-RO7YcGEfAQ9kTxfqgekYf6M5b6Fg64hCPLA/vt6IWp8="; 11 + sha256 = "sha256-Hx6MG5GCZyOX0tfpg1bfUT0BOI3p7Mws1VCz2PuUuw8="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-4zhdpedOmLl/i1G0QCto4ACxguWRZLzOm5HfMBMtvPY=";
-1
pkgs/applications/networking/cluster/flink/default.nix
··· 34 34 license = licenses.asl20; 35 35 platforms = platforms.all; 36 36 maintainers = with maintainers; [ mbode ]; 37 - repositories.git = "git://git.apache.org/flink.git"; 38 37 }; 39 38 }
+3 -3
pkgs/applications/networking/cluster/helmfile/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "helmfile"; 5 - version = "0.143.1"; 5 + version = "0.143.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "roboll"; 9 9 repo = "helmfile"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-eV2+lQVLv+bU/CmFFYM7CLjomXblT0XVZH5HVq0S+WM="; 11 + sha256 = "sha256-A0xpXsMWUaJYTzo9O4KkdyjonSGZ+FylTK140pqnJX8="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-JHXSEOR/+ON5x0iQgaFsnb9hEDFf5/8TTh4T54qE/HE="; 14 + vendorSha256 = "sha256-qolmWat7An4HFm4O5vSCYZe+w79nsRIrnBLJacUCeA4="; 15 15 16 16 doCheck = false; 17 17
-1
pkgs/applications/networking/cluster/kontemplate/default.nix
··· 20 20 license = licenses.gpl3; 21 21 maintainers = with maintainers; [ mbode tazjin ]; 22 22 platforms = platforms.unix; 23 - repositories.git = "git://github.com/tazjin/kontemplate.git"; 24 23 25 24 longDescription = '' 26 25 Kontemplate is a simple CLI tool that can take sets of
+29
pkgs/applications/networking/cluster/kubent/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "kubent"; 5 + version = "0.5.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "doitintl"; 9 + repo = "kube-no-trouble"; 10 + rev = "${version}"; 11 + sha256 = "0pwb9g1hhfqn3rl87fg6sf07m7aviadljb05bbnd241hhlcyslv6"; 12 + }; 13 + 14 + vendorSha256 = "1z4cvk936l7011fbimsgpw89yqzyikw9jb4184l37mnj9hl5wpcp"; 15 + 16 + ldflags = [ 17 + "-w" "-s" 18 + "-X main.version=v${version}" 19 + ]; 20 + 21 + subPackages = [ "cmd/kubent" ]; 22 + 23 + meta = with lib; { 24 + homepage = "https://github.com/doitintl/kube-no-trouble"; 25 + description = "Easily check your cluster for use of deprecated APIs"; 26 + license = licenses.mit; 27 + maintainers = with maintainers; [ peterromfeldhk ]; 28 + }; 29 + }
-1
pkgs/applications/networking/cluster/popeye/default.nix
··· 32 32 changelog = "https://github.com/derailed/popeye/releases/tag/v${version}"; 33 33 license = licenses.asl20; 34 34 maintainers = [ maintainers.bryanasdev000 ]; 35 - platforms = platforms.linux; 36 35 }; 37 36 }
-1
pkgs/applications/networking/cluster/spark/default.nix
··· 63 63 license = lib.licenses.asl20; 64 64 platforms = lib.platforms.all; 65 65 maintainers = with maintainers; [ thoughtpolice offline kamilchm illustris ]; 66 - repositories.git = "git://git.apache.org/spark.git"; 67 66 }; 68 67 }; 69 68 in
+3 -3
pkgs/applications/networking/cluster/werf/default.nix
··· 11 11 12 12 buildGoModule rec { 13 13 pname = "werf"; 14 - version = "1.2.77"; 14 + version = "1.2.78"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "werf"; 18 18 repo = "werf"; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-JmadwNERjexnJN+fBUjgMkvPtAaTbb7GITPsZlx2vik="; 20 + sha256 = "sha256-ehrzb7WvkYL8oj2RSzKc1KDagV0zg6vMzgpT2sPyhcI="; 21 21 }; 22 - vendorSha256 = "sha256-IPQiS1GgNP+k/INv3f3VitoHActC3MrRys905nTSXyI="; 22 + vendorSha256 = "sha256-w8ZeAQbZIVOBoRa9fJhXgTeYRCYpkh/U4pwb5u6A9mQ="; 23 23 proxyVendor = true; 24 24 25 25 nativeBuildInputs = [ pkg-config ];
+12 -1
pkgs/applications/networking/instant-messengers/fractal/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchFromGitLab 4 + , fetchpatch 3 5 , nix-update-script 4 6 , meson 5 7 , ninja ··· 32 34 rev = version; 33 35 sha256 = "DSNVd9YvI7Dd3s3+M0+wE594tmL1yPNMnD1W9wLhSuw="; 34 36 }; 37 + 38 + patches = [ 39 + # Fix build with meson 0.61 40 + # fractal-gtk/res/meson.build:5:0: ERROR: Function does not take positional arguments. 41 + (fetchpatch { 42 + url = "https://gitlab.gnome.org/GNOME/fractal/-/commit/6fa1a23596d65d94aa889efe725174e6cd2903f0.patch"; 43 + sha256 = "3OzU9XL2V1VNOkvL1j677K3HNoBqPMQudQDmiDxYfAc="; 44 + }) 45 + ]; 35 46 36 47 cargoDeps = rustPlatform.fetchCargoTarball { 37 48 inherit src;
+2 -2
pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
··· 24 24 25 25 in stdenv.mkDerivation rec { 26 26 pname = "signal-desktop"; 27 - version = "5.35.0"; # Please backport all updates to the stable channel. 27 + version = "5.36.0"; # Please backport all updates to the stable channel. 28 28 # All releases have a limited lifetime and "expire" 90 days after the release. 29 29 # When releases "expire" the application becomes unusable until an update is 30 30 # applied. The expiration date for the current release can be extracted with: ··· 34 34 35 35 src = fetchurl { 36 36 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb"; 37 - sha256 = "sha256-2KF2OLq6/vHElgloxn+kgQisJC+HAkpOBfsKfEPW35c="; 37 + sha256 = "sha256-x1PUEDq/0B1T14mBs2FuKtcGpJHWOIvHAs8hptpzhZk="; 38 38 }; 39 39 40 40 nativeBuildInputs = [
-1
pkgs/applications/networking/irc/quassel/default.nix
··· 88 88 ''; 89 89 license = licenses.gpl3; 90 90 maintainers = with maintainers; [ ttuegel ]; 91 - repositories.git = "https://github.com/quassel/quassel.git"; 92 91 inherit (qtbase.meta) platforms; 93 92 }; 94 93 }
-1
pkgs/applications/networking/lieer/default.nix
··· 33 33 GMail account. 34 34 ''; 35 35 homepage = "https://lieer.gaute.vetsj.com/"; 36 - repositories.git = "https://github.com/gauteh/lieer.git"; 37 36 license = licenses.gpl3Plus; 38 37 maintainers = with maintainers; [ flokli kaiha ]; 39 38 };
+1 -1
pkgs/applications/networking/mailreaders/thunderbird/packages.nix
··· 17 17 url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; 18 18 sha512 = "2afaee16f155edcb0bdb46ebe282a733cf041ec6f562aebd06f8b675e46917f6f500fcc532fc54d74f3f4b0b489a88934a2c6c304f849873de4bc2690b9056a0"; 19 19 }; 20 - patches = [ 20 + extraPatches = [ 21 21 # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`. 22 22 ./no-buildconfig.patch 23 23 ];
+7 -1
pkgs/applications/networking/n8n/default.nix
··· 17 17 meta = with lib; { 18 18 description = "Free and open fair-code licensed node based Workflow Automation Tool"; 19 19 maintainers = with maintainers; [ freezeboy k900 ]; 20 - license = licenses.asl20; 20 + license = { 21 + fullName = "Sustainable Use License"; 22 + url = "https://github.com/n8n-io/n8n/blob/master/LICENSE.md"; 23 + free = false; 24 + # only free to redistribute "for non-commercial purposes" 25 + redistributable = false; 26 + }; 21 27 }; 22 28 }
+73 -113
pkgs/applications/networking/n8n/node-packages.nix
··· 112 112 sha512 = "ank38FdCLfJ+EoeMzCz3hkYJuZAd63ARvDKkxZYRDb+beBYf+/+gx8jNTqkq/hfyUl4dJQ/a7tECU0Y0F98CHg=="; 113 113 }; 114 114 }; 115 - "@babel/runtime-7.17.7" = { 115 + "@babel/runtime-7.17.8" = { 116 116 name = "_at_babel_slash_runtime"; 117 117 packageName = "@babel/runtime"; 118 - version = "7.17.7"; 118 + version = "7.17.8"; 119 119 src = fetchurl { 120 - url = "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.7.tgz"; 121 - sha512 = "L6rvG9GDxaLgFjg41K+5Yv9OMrU98sWe+Ykmc6FDJW/+vYZMhdOMKkISgzptMaERHvS2Y2lw9MDRm2gHhlQQoA=="; 120 + url = "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.8.tgz"; 121 + sha512 = "dQpEpK0O9o6lj6oPu0gRDbbnk+4LeHlNcBpspf6Olzt3GIX4P1lWF1gS+pHLDFlaJvbR6q7jCfQ08zA4QJBnmA=="; 122 122 }; 123 123 }; 124 124 "@colors/colors-1.5.0" = { ··· 670 670 sha512 = "f5nltvjl+PRUh6YNfUstRaXwJxtfnKEWhAWWlmKvh+Y3J2+98a0KKVYDEhz6NdKGqswLhjNGznxfSsZGOvOd9g=="; 671 671 }; 672 672 }; 673 - "agent-base-4.3.0" = { 674 - name = "agent-base"; 675 - packageName = "agent-base"; 676 - version = "4.3.0"; 677 - src = fetchurl { 678 - url = "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz"; 679 - sha512 = "salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg=="; 680 - }; 681 - }; 682 673 "agent-base-6.0.2" = { 683 674 name = "agent-base"; 684 675 packageName = "agent-base"; ··· 976 967 sha512 = "uUbetCWczQHbsKyX1C99XpQHBM8SWfovvaZhPIj23/1uV7SQf0WeRZbiLpw0JZm+LHTChfNgrLfDJOVoU2kU+A=="; 977 968 }; 978 969 }; 979 - "aws-sdk-2.1093.0" = { 970 + "aws-sdk-2.1096.0" = { 980 971 name = "aws-sdk"; 981 972 packageName = "aws-sdk"; 982 - version = "2.1093.0"; 973 + version = "2.1096.0"; 983 974 src = fetchurl { 984 - url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1093.0.tgz"; 985 - sha512 = "YD6VNemoKkzDMHsUiGP/MwpM0T20ukp3KTSxPY34Xw3Ww0zP19C54CfjaXhn//R27f2c57BtVez+he2RZ5GwyQ=="; 975 + url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1096.0.tgz"; 976 + sha512 = "q+hotU57U8bGpz1pf5CkO4z630ay0xGJ9HedahKPZ0Xk3/X0GH+QFYPBWJ5IMTtO30bjfPH0zTaL2vJmMXLBrQ=="; 986 977 }; 987 978 }; 988 979 "aws-sign2-0.7.0" = { ··· 1975 1966 sha512 = "mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw=="; 1976 1967 }; 1977 1968 }; 1978 - "debug-4.3.3" = { 1969 + "debug-4.3.4" = { 1979 1970 name = "debug"; 1980 1971 packageName = "debug"; 1981 - version = "4.3.3"; 1972 + version = "4.3.4"; 1982 1973 src = fetchurl { 1983 - url = "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz"; 1984 - sha512 = "/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q=="; 1974 + url = "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz"; 1975 + sha512 = "PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ=="; 1985 1976 }; 1986 1977 }; 1987 1978 "debuglog-1.0.1" = { ··· 2146 2137 sha512 = "DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A=="; 2147 2138 }; 2148 2139 }; 2149 - "domhandler-4.3.0" = { 2140 + "domhandler-4.3.1" = { 2150 2141 name = "domhandler"; 2151 2142 packageName = "domhandler"; 2152 - version = "4.3.0"; 2143 + version = "4.3.1"; 2153 2144 src = fetchurl { 2154 - url = "https://registry.npmjs.org/domhandler/-/domhandler-4.3.0.tgz"; 2155 - sha512 = "fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g=="; 2145 + url = "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz"; 2146 + sha512 = "GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ=="; 2156 2147 }; 2157 2148 }; 2158 2149 "domutils-2.8.0" = { ··· 2335 2326 sha1 = "aba8d9e1943a895ac96837a62a39b3f55ecd94ab"; 2336 2327 }; 2337 2328 }; 2338 - "es6-promise-4.2.8" = { 2339 - name = "es6-promise"; 2340 - packageName = "es6-promise"; 2341 - version = "4.2.8"; 2342 - src = fetchurl { 2343 - url = "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz"; 2344 - sha512 = "HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="; 2345 - }; 2346 - }; 2347 - "es6-promisify-5.0.0" = { 2348 - name = "es6-promisify"; 2349 - packageName = "es6-promisify"; 2350 - version = "5.0.0"; 2351 - src = fetchurl { 2352 - url = "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz"; 2353 - sha1 = "5109d62f3e56ea967c4b63505aef08291c8a5203"; 2354 - }; 2355 - }; 2356 2329 "escalade-3.1.1" = { 2357 2330 name = "escalade"; 2358 2331 packageName = "escalade"; ··· 3118 3091 sha512 = "3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw=="; 3119 3092 }; 3120 3093 }; 3121 - "https-proxy-agent-3.0.1" = { 3122 - name = "https-proxy-agent"; 3123 - packageName = "https-proxy-agent"; 3124 - version = "3.0.1"; 3125 - src = fetchurl { 3126 - url = "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.1.tgz"; 3127 - sha512 = "+ML2Rbh6DAuee7d07tYGEKOEi2voWPUGan+ExdPbPW6Z3svq+JCqr0v8WmKPOkz1vOVykPCBSuobe7G8GJUtVg=="; 3128 - }; 3129 - }; 3130 3094 "https-proxy-agent-5.0.0" = { 3131 3095 name = "https-proxy-agent"; 3132 3096 packageName = "https-proxy-agent"; ··· 3874 3838 sha512 = "2Bm96d5ktnE217Ib1FldvUaPAaOst6GtZrsxJCwnJgi9lnsoAKIHyU0sae8rNx6DNYbjdqqh8lv5/b9poD8qOg=="; 3875 3839 }; 3876 3840 }; 3877 - "libphonenumber-js-1.9.49" = { 3841 + "libphonenumber-js-1.9.50" = { 3878 3842 name = "libphonenumber-js"; 3879 3843 packageName = "libphonenumber-js"; 3880 - version = "1.9.49"; 3844 + version = "1.9.50"; 3881 3845 src = fetchurl { 3882 - url = "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.9.49.tgz"; 3883 - sha512 = "/wEOIONcVboFky+lWlCaF7glm1FhBz11M5PHeCApA+xDdVfmhKjHktHS8KjyGxouV5CSXIr4f3GvLSpJa4qMSg=="; 3846 + url = "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.9.50.tgz"; 3847 + sha512 = "cCzQPChw2XbordcO2LKiw5Htx5leHVfFk/EXkxNHqJfFo7Fndcb1kF5wPJpc316vCJhhikedYnVysMh3Sc7Ocw=="; 3884 3848 }; 3885 3849 }; 3886 3850 "libqp-1.1.0" = { ··· 4225 4189 sha512 = "etgt+n4LlOkGSJbBTV9VROHA5R7ekIPS4vfh+bCAoJgRrJWdqJCBbpS3osRJ/HrT7R68MzMiY3L3sDJ/Fd8aBg=="; 4226 4190 }; 4227 4191 }; 4228 - "mappersmith-2.38.0" = { 4192 + "mappersmith-2.38.1" = { 4229 4193 name = "mappersmith"; 4230 4194 packageName = "mappersmith"; 4231 - version = "2.38.0"; 4195 + version = "2.38.1"; 4232 4196 src = fetchurl { 4233 - url = "https://registry.npmjs.org/mappersmith/-/mappersmith-2.38.0.tgz"; 4234 - sha512 = "D2+ICkvNGnGCz01MADdQQilcHGffwLd1ell4b4uXS9QYvLfrX0r5nl5zb9V+2YDy3142u6VUl1b154pxJAxw3g=="; 4197 + url = "https://registry.npmjs.org/mappersmith/-/mappersmith-2.38.1.tgz"; 4198 + sha512 = "ecZ+YyzBK7r3tC8MTaGo5tySHPhB6f9jdxN706Tux6dMlcE2fgwiBM/bf/+Sz5m2yKlTq5ntiahz7xSPgurD6w=="; 4235 4199 }; 4236 4200 }; 4237 4201 "material-colors-1.2.6" = { ··· 4540 4504 sha512 = "z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="; 4541 4505 }; 4542 4506 }; 4543 - "n8n-core-0.109.0" = { 4507 + "n8n-core-0.110.0" = { 4544 4508 name = "n8n-core"; 4545 4509 packageName = "n8n-core"; 4546 - version = "0.109.0"; 4510 + version = "0.110.0"; 4547 4511 src = fetchurl { 4548 - url = "https://registry.npmjs.org/n8n-core/-/n8n-core-0.109.0.tgz"; 4549 - sha512 = "hzimsUZbWHfG9RofSX7czg0DgB7YAIcLi7JRFUVB90HVdasFf1HQFVM2AwFZC/lLVckktuadWSpq2MOKW+lE3Q=="; 4512 + url = "https://registry.npmjs.org/n8n-core/-/n8n-core-0.110.0.tgz"; 4513 + sha512 = "E+BrrAxO1TZbu19NDO66rubih6DNSoUdceM6S9pjtAEQukya9J2BAqnPsrZJ7Trs97W2q8G4wSKP4G6lzKobhQ=="; 4550 4514 }; 4551 4515 }; 4552 - "n8n-design-system-0.14.0" = { 4516 + "n8n-design-system-0.15.0" = { 4553 4517 name = "n8n-design-system"; 4554 4518 packageName = "n8n-design-system"; 4555 - version = "0.14.0"; 4519 + version = "0.15.0"; 4556 4520 src = fetchurl { 4557 - url = "https://registry.npmjs.org/n8n-design-system/-/n8n-design-system-0.14.0.tgz"; 4558 - sha512 = "E9Tvnjd9hktVPsqBcX579Fr4Nn/QEVAHQaYZlPGrqxXLVD76mF0WQWJpU6XTZEs/9pKfEftk/TmDihtENLVTxg=="; 4521 + url = "https://registry.npmjs.org/n8n-design-system/-/n8n-design-system-0.15.0.tgz"; 4522 + sha512 = "ZHlJJdaZ8ug9OV/SbqdF4FSEqTAoGBO+jqPECcUiYmHbL3BHcY8ZgWcnzmTnIPYTRGtIdc8snv3ti1USgASE5Q=="; 4559 4523 }; 4560 4524 }; 4561 - "n8n-editor-ui-0.135.0" = { 4525 + "n8n-editor-ui-0.136.0" = { 4562 4526 name = "n8n-editor-ui"; 4563 4527 packageName = "n8n-editor-ui"; 4564 - version = "0.135.0"; 4528 + version = "0.136.0"; 4565 4529 src = fetchurl { 4566 - url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.135.0.tgz"; 4567 - sha512 = "oM+Pnh4ZaUnDy5lj6u71EyXUPGNlbEIn3lpi4+xyO8tYtFyaN1kifS/q/a1sYrgZlwbWaksgUvTqufZ3Te6Yqw=="; 4530 + url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.136.0.tgz"; 4531 + sha512 = "582dHNfp4upne8IhcaYznSPq26wsruAK5ZmOSfjcQMJqVBOm26IKFXCwn7ZL3KxNznmlHLHTfbAsrjE+ZTKPTA=="; 4568 4532 }; 4569 4533 }; 4570 - "n8n-nodes-base-0.166.0" = { 4534 + "n8n-nodes-base-0.167.0" = { 4571 4535 name = "n8n-nodes-base"; 4572 4536 packageName = "n8n-nodes-base"; 4573 - version = "0.166.0"; 4537 + version = "0.167.0"; 4574 4538 src = fetchurl { 4575 - url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.166.0.tgz"; 4576 - sha512 = "Iet76bGJrS3rTal5KbuBsJvYzAw3o9xfcLHERpDJyXOxgvrPfZ62A7RpmLMLA3KJLfKevY+VLGLWW5odTSvtEg=="; 4539 + url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.167.0.tgz"; 4540 + sha512 = "9+pCjtPDptMO3nBqfizwsQ7+C+QUYPbW4YGT/X0+CaF+2wMkGEbKGADH6V0eWHHWKtzcyoLXqldSnilboXXxmw=="; 4577 4541 }; 4578 4542 }; 4579 - "n8n-workflow-0.91.0" = { 4543 + "n8n-workflow-0.92.0" = { 4580 4544 name = "n8n-workflow"; 4581 4545 packageName = "n8n-workflow"; 4582 - version = "0.91.0"; 4546 + version = "0.92.0"; 4583 4547 src = fetchurl { 4584 - url = "https://registry.npmjs.org/n8n-workflow/-/n8n-workflow-0.91.0.tgz"; 4585 - sha512 = "a4yqSvcalQs2MEDkOeadQc9cwK/3f6t+EKr/e8rEN5D9djnmuvoRJC+V9v6KPuHy66q1pv6w7fpmnrLRO+2WrA=="; 4548 + url = "https://registry.npmjs.org/n8n-workflow/-/n8n-workflow-0.92.0.tgz"; 4549 + sha512 = "d16p4co9I6v+AxVOxXyeWAgUY/7PwwlgJFaKH8XTA/fRARah3/DzLdb9Kmq5I1fqtr1VoZ+a1uTQCJi11bnRzA=="; 4586 4550 }; 4587 4551 }; 4588 4552 "named-placeholders-1.1.2" = { ··· 4702 4666 sha512 = "TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q=="; 4703 4667 }; 4704 4668 }; 4705 - "node-ssh-12.0.3" = { 4669 + "node-ssh-12.0.4" = { 4706 4670 name = "node-ssh"; 4707 4671 packageName = "node-ssh"; 4708 - version = "12.0.3"; 4672 + version = "12.0.4"; 4709 4673 src = fetchurl { 4710 - url = "https://registry.npmjs.org/node-ssh/-/node-ssh-12.0.3.tgz"; 4711 - sha512 = "+TrX99Fvu50ZwBu/1Z9oWV1xC+vjADCJACSmvdgYUeUH/PKIX6Y5ltPvrh30WFXcxaP1wHN09BBVdQ3jfZlfoA=="; 4674 + url = "https://registry.npmjs.org/node-ssh/-/node-ssh-12.0.4.tgz"; 4675 + sha512 = "5M3FBeAWjEpAQvVakQde6CeviEoEiYb6IjJL9mrMen9at63GAv0Q5vOFHFP+SM1Y7pTN3EBvJ/I+oxn2Lpydbw=="; 4712 4676 }; 4713 4677 }; 4714 4678 "nodeify-1.0.1" = { ··· 5935 5899 sha512 = "wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g=="; 5936 5900 }; 5937 5901 }; 5938 - "requestretry-6.0.0" = { 5902 + "requestretry-7.0.2" = { 5939 5903 name = "requestretry"; 5940 5904 packageName = "requestretry"; 5941 - version = "6.0.0"; 5905 + version = "7.0.2"; 5942 5906 src = fetchurl { 5943 - url = "https://registry.npmjs.org/requestretry/-/requestretry-6.0.0.tgz"; 5944 - sha512 = "X7O+BMlfHgzetfSDtgQIMinLn1BuT+95W12iffDzyOS+HLoBEIQqCZv++UTChUWVjOu+pudbocD76+4j+jK9ww=="; 5907 + url = "https://registry.npmjs.org/requestretry/-/requestretry-7.0.2.tgz"; 5908 + sha512 = "Zz8z7G2OuVs4F0wR0shKMEMm7lNvPNHM0UIHNns9qfyuBDKSExoTsZGtSjKst6nPEwlMrbA9G+m/yC0AbGj+8w=="; 5945 5909 }; 5946 5910 }; 5947 5911 "require-at-1.0.6" = { ··· 6367 6331 sha512 = "LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg=="; 6368 6332 }; 6369 6333 }; 6370 - "snowflake-sdk-1.6.7" = { 6334 + "snowflake-sdk-1.6.8" = { 6371 6335 name = "snowflake-sdk"; 6372 6336 packageName = "snowflake-sdk"; 6373 - version = "1.6.7"; 6337 + version = "1.6.8"; 6374 6338 src = fetchurl { 6375 - url = "https://registry.npmjs.org/snowflake-sdk/-/snowflake-sdk-1.6.7.tgz"; 6376 - sha512 = "pisHqO5ALTggbNhE7LGEG5bnD6NKebcqyirOl4IsoKsD7g6d+vC3gHgRR/cm8kAH1GhLHY/WwhDq2fr7lundpA=="; 6339 + url = "https://registry.npmjs.org/snowflake-sdk/-/snowflake-sdk-1.6.8.tgz"; 6340 + sha512 = "ZmzeR2W4mQVri546mUxUW+jBxTn0JRKm06EtndO7MUFLcS8YChf60tXTa+s7A0hO8FxQkSQAFonCmtz4nzPoSA=="; 6377 6341 }; 6378 6342 }; 6379 6343 "source-map-0.6.1" = { ··· 7615 7579 n8n = nodeEnv.buildNodePackage { 7616 7580 name = "n8n"; 7617 7581 packageName = "n8n"; 7618 - version = "0.168.1"; 7582 + version = "0.169.0"; 7619 7583 src = fetchurl { 7620 - url = "https://registry.npmjs.org/n8n/-/n8n-0.168.1.tgz"; 7621 - sha512 = "bghyOcF+KZmRsmyC9p2ARb+RIlUBDwTKCMLd5eUFW1SKMBCWgQZwG8KCLCRApWjXjP1SYekeyDo1PSl5fa7Hxw=="; 7584 + url = "https://registry.npmjs.org/n8n/-/n8n-0.169.0.tgz"; 7585 + sha512 = "mqZJUnulA/xNelNxebJeYioQeLtzNSFD8vzEsoxzoVbeaRkXQeC6CVBCldSGUMMSPcw2QchnzAKp9YauRE5cAA=="; 7622 7586 }; 7623 7587 dependencies = [ 7624 7588 (sources."@azure/abort-controller-1.0.5" // { ··· 7670 7634 sources."tslib-2.3.1" 7671 7635 ]; 7672 7636 }) 7673 - sources."@babel/runtime-7.17.7" 7637 + sources."@babel/runtime-7.17.8" 7674 7638 sources."@colors/colors-1.5.0" 7675 7639 (sources."@dabh/diagnostics-2.0.3" // { 7676 7640 dependencies = [ ··· 7799 7763 ]; 7800 7764 }) 7801 7765 sources."avsc-5.7.3" 7802 - (sources."aws-sdk-2.1093.0" // { 7766 + (sources."aws-sdk-2.1096.0" // { 7803 7767 dependencies = [ 7804 7768 sources."buffer-4.9.2" 7805 7769 sources."events-1.1.1" ··· 7997 7961 sources."cssfilter-0.0.10" 7998 7962 sources."dashdash-1.14.1" 7999 7963 sources."date-utils-1.2.21" 8000 - sources."debug-4.3.3" 7964 + sources."debug-4.3.4" 8001 7965 sources."debuglog-1.0.1" 8002 7966 sources."deep-extend-0.6.0" 8003 7967 sources."deepmerge-4.2.2" ··· 8014 7978 sources."discontinuous-range-1.0.0" 8015 7979 sources."dom-serializer-1.3.2" 8016 7980 sources."domelementtype-2.2.0" 8017 - sources."domhandler-4.3.0" 7981 + sources."domhandler-4.3.1" 8018 7982 sources."domutils-2.8.0" 8019 7983 (sources."dot-case-3.0.4" // { 8020 7984 dependencies = [ ··· 8045 8009 sources."es-abstract-1.19.1" 8046 8010 sources."es-to-primitive-1.2.1" 8047 8011 sources."es5-ext-0.8.2" 8048 - sources."es6-promise-4.2.8" 8049 - sources."es6-promisify-5.0.0" 8050 8012 sources."escalade-3.1.1" 8051 8013 sources."escape-html-1.0.3" 8052 8014 sources."escape-string-regexp-4.0.0" ··· 8249 8211 sources."iconv-lite-0.6.2" 8250 8212 ]; 8251 8213 }) 8252 - sources."libphonenumber-js-1.9.49" 8214 + sources."libphonenumber-js-1.9.50" 8253 8215 sources."libqp-1.1.0" 8254 8216 sources."limiter-1.1.5" 8255 8217 sources."linkify-it-3.0.3" ··· 8308 8270 }) 8309 8271 sources."make-error-1.3.6" 8310 8272 sources."make-error-cause-2.3.0" 8311 - sources."mappersmith-2.38.0" 8273 + sources."mappersmith-2.38.1" 8312 8274 sources."material-colors-1.2.6" 8313 8275 sources."md5-2.3.0" 8314 8276 sources."media-typer-0.3.0" ··· 8365 8327 ]; 8366 8328 }) 8367 8329 sources."mz-2.7.0" 8368 - (sources."n8n-core-0.109.0" // { 8330 + (sources."n8n-core-0.110.0" // { 8369 8331 dependencies = [ 8370 8332 sources."qs-6.10.3" 8371 8333 ]; 8372 8334 }) 8373 - sources."n8n-design-system-0.14.0" 8374 - sources."n8n-editor-ui-0.135.0" 8375 - (sources."n8n-nodes-base-0.166.0" // { 8335 + sources."n8n-design-system-0.15.0" 8336 + sources."n8n-editor-ui-0.136.0" 8337 + (sources."n8n-nodes-base-0.167.0" // { 8376 8338 dependencies = [ 8377 8339 sources."iconv-lite-0.6.3" 8378 8340 ]; 8379 8341 }) 8380 - sources."n8n-workflow-0.91.0" 8342 + sources."n8n-workflow-0.92.0" 8381 8343 (sources."named-placeholders-1.1.2" // { 8382 8344 dependencies = [ 8383 8345 sources."lru-cache-4.1.5" ··· 8414 8376 sources."semver-5.7.1" 8415 8377 ]; 8416 8378 }) 8417 - sources."node-ssh-12.0.3" 8379 + sources."node-ssh-12.0.4" 8418 8380 sources."nodeify-1.0.1" 8419 8381 sources."nodemailer-6.7.2" 8420 8382 sources."nopt-4.0.3" ··· 8596 8558 sources."tough-cookie-2.5.0" 8597 8559 ]; 8598 8560 }) 8599 - sources."requestretry-6.0.0" 8561 + sources."requestretry-7.0.2" 8600 8562 sources."require-at-1.0.6" 8601 8563 sources."require-directory-2.1.1" 8602 8564 sources."requires-port-1.0.0" ··· 8659 8621 sources."tslib-2.3.1" 8660 8622 ]; 8661 8623 }) 8662 - (sources."snowflake-sdk-1.6.7" // { 8624 + (sources."snowflake-sdk-1.6.8" // { 8663 8625 dependencies = [ 8664 - sources."agent-base-4.3.0" 8665 8626 sources."debug-3.2.7" 8666 8627 sources."http-signature-1.3.6" 8667 - sources."https-proxy-agent-3.0.1" 8668 8628 sources."jsprim-2.0.2" 8669 8629 sources."tmp-0.2.1" 8670 8630 sources."uuid-3.4.0"
+6 -6
pkgs/applications/networking/p2p/frostwire/default.nix
··· 2 2 3 3 let 4 4 version = "6.6.7-build-529"; 5 - name = "frostwire-desktop-${version}"; 6 5 7 6 src = fetchFromGitHub { 8 7 owner = "frostwire"; 9 8 repo = "frostwire"; 10 - rev = name; 9 + rev = "frostwire-desktop-${version}"; 11 10 sha256 = "03wdj2kr8akzx8m1scvg98132zbaxh81qjdsxn2645b3gahjwz0m"; 12 11 }; 13 12 ··· 23 22 24 23 # fake build to pre-download deps into fixed-output derivation 25 24 deps = stdenv.mkDerivation { 26 - name = "${name}-deps"; 27 - inherit src; 25 + pname = "frostwire-desktop-deps"; 26 + inherit version src; 28 27 buildInputs = [ gradle_6 perl ]; 29 28 buildPhase = '' 30 29 export GRADLE_USER_HOME=$(mktemp -d) ··· 40 39 ''; 41 40 outputHashAlgo = "sha256"; 42 41 outputHashMode = "recursive"; 43 - outputHash = "11zd98g0d0fdgls4lsskkagwfxyh26spfd6c6g9cahl89czvlg3c"; 42 + outputHash = "sha256-r6YSrbSJbM3063JrX4tCVKFrJxTaLN4Trc+33jzpwcE="; 44 43 }; 45 44 46 45 in stdenv.mkDerivation { 47 - inherit name src; 46 + pname = "frostwire-desktop"; 47 + inherit version src; 48 48 49 49 nativeBuildInputs = [ makeWrapper ]; 50 50 buildInputs = [ gradle_6 ];
+2 -1
pkgs/applications/networking/remote/vmware-horizon-client/default.nix
··· 115 115 116 116 in 117 117 stdenv.mkDerivation { 118 - name = "vmware-horizon-client"; 118 + pname = "vmware-horizon-client"; 119 + inherit version; 119 120 120 121 dontUnpack = true; 121 122
-11
pkgs/applications/office/autokey/remove-requires-dbus-python.patch
··· 1 - --- a/setup.py 2 - +++ b/setup.py 3 - @@ -71,7 +71,7 @@ 4 - 'console_scripts': ['autokey-gtk=autokey.gtkui.__main__:main'] 5 - }, 6 - scripts=['autokey-qt', 'autokey-run', 'autokey-shell'], 7 - - install_requires=['dbus-python', 'pyinotify', 'python3-xlib'], 8 - + install_requires=['pyinotify', 'python-xlib'], 9 - classifiers=[ 10 - 'Development Status :: 4 - Beta', 11 - 'Intended Audience :: Developers',
+6 -6
pkgs/applications/office/jameica/default.nix
··· 4 4 _version = "2.10.1"; 5 5 _build = "482"; 6 6 version = "${_version}-${_build}"; 7 - name = "jameica-${version}"; 8 7 9 8 swtSystem = if stdenv.hostPlatform.system == "i686-linux" then "linux" 10 9 else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64" ··· 22 21 }; 23 22 in 24 23 stdenv.mkDerivation rec { 25 - inherit name version; 24 + pname = "jameica"; 25 + inherit version; 26 26 27 27 nativeBuildInputs = [ ant jdk makeWrapper ]; 28 28 buildInputs = lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ] ··· 42 42 ''; 43 43 44 44 installPhase = '' 45 - mkdir -p $out/libexec $out/lib $out/bin $out/share/{applications,${name},java}/ 45 + mkdir -p $out/libexec $out/lib $out/bin $out/share/{applications,jameica-${version},java}/ 46 46 47 47 # copy libraries except SWT 48 - cp $(find lib -type f -iname '*.jar' | grep -ve 'swt/.*/swt.jar') $out/share/${name}/ 48 + cp $(find lib -type f -iname '*.jar' | grep -ve 'swt/.*/swt.jar') $out/share/jameica-${version}/ 49 49 # copy platform-specific SWT 50 - cp lib/swt/${swtSystem}/swt.jar $out/share/${name}/ 50 + cp lib/swt/${swtSystem}/swt.jar $out/share/jameica-${version}/ 51 51 52 52 install -Dm644 releases/${_version}-*/jameica/jameica.jar $out/share/java/ 53 53 install -Dm644 plugin.xml $out/share/java/ ··· 55 55 cp ${desktopItem}/share/applications/* $out/share/applications/ 56 56 57 57 makeWrapper ${jre}/bin/java $out/bin/jameica \ 58 - --add-flags "-cp $out/share/java/jameica.jar:$out/share/${name}/* ${ 58 + --add-flags "-cp $out/share/java/jameica.jar:$out/share/jameica-${version}/* ${ 59 59 lib.optionalString stdenv.isDarwin ''-Xdock:name="Jameica" -XstartOnFirstThread'' 60 60 } de.willuhn.jameica.Main" \ 61 61 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs} \
+4 -3
pkgs/applications/radio/gnuradio/wrapper.nix
··· 50 50 ; 51 51 pythonEnv = unwrapped.python.withPackages(ps: pythonPkgs); 52 52 53 - name = (lib.appendToName "wrapped" unwrapped).name; 53 + pname = unwrapped.pname + "-wrapped"; 54 + inherit (unwrapped) version; 54 55 makeWrapperArgs = builtins.concatStringsSep " " ([ 55 56 ] 56 57 # Emulating wrapGAppsHook & wrapQtAppsHook working together ··· 59 60 || (unwrapped.hasFeature "gr-qtgui") 60 61 ) [ 61 62 "--prefix" "XDG_DATA_DIRS" ":" "$out/share" 62 - "--prefix" "XDG_DATA_DIRS" ":" "$out/share/gsettings-schemas/${name}" 63 + "--prefix" "XDG_DATA_DIRS" ":" "$out/share/gsettings-schemas/${pname}" 63 64 "--prefix" "XDG_DATA_DIRS" ":" "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}" 64 65 "--prefix" "XDG_DATA_DIRS" ":" "${hicolor-icon-theme}/share" 65 66 # Needs to run `gsettings` on startup, see: ··· 135 136 }; 136 137 self = if doWrap then 137 138 stdenv.mkDerivation { 138 - inherit name passthru; 139 + inherit pname version passthru; 139 140 buildInputs = [ 140 141 makeWrapper 141 142 xorg.lndir
+1 -1
pkgs/applications/radio/rtl-ais/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, pkg-config, libusb1, rtl-sdr }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "rtl-ais"; 4 + pname = "rtl-ais"; 5 5 version = "0.8.1"; 6 6 buildInputs = [ pkg-config rtl-sdr libusb1 ]; 7 7
+1 -1
pkgs/applications/radio/sdrplay/default.nix
··· 4 4 else if stdenv.isi686 then "i686" 5 5 else throw "unsupported architecture"; 6 6 in stdenv.mkDerivation rec { 7 - name = "sdrplay"; 7 + pname = "sdrplay"; 8 8 version = "3.07.1"; 9 9 10 10 src = fetchurl {
+2 -2
pkgs/applications/radio/soapysdrplay/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, cmake, pkg-config, soapysdr, sdrplay }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "soapysdr-sdrplay3"; 5 - version = "20210425"; 4 + pname = "soapysdr-sdrplay3"; 5 + version = "unstable-2021-04-25"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "pothosware";
+3 -3
pkgs/applications/radio/soundmodem/default.nix
··· 1 1 { lib, stdenv, fetchurl, pkg-config, alsa-lib, audiofile, gtk2, libxml2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "soundmodem"; 4 + pname = "soundmodem"; 5 5 version = "0.20"; 6 6 7 7 src = fetchurl { 8 - url = "https://archive.org/download/${name}-${version}/${name}-${version}.tar.gz"; 8 + url = "https://archive.org/download/soundmodem-${version}/soundmodem-${version}.tar.gz"; 9 9 sha256 = "156l3wjnh5rcisxb42kcmlf74swf679v4xnj09zy5j74rd4h721z"; 10 10 }; 11 11 ··· 28 28 ''; 29 29 #homepage = "http://gna.org/projects/soundmodem"; # official, but "Connection refused" 30 30 homepage = "http://soundmodem.vk4msl.id.au/"; 31 - downloadPage = "https://archive.org/download/${name}-${version}/${name}-${version}.tar.gz"; 31 + downloadPage = "https://archive.org/download/${pname}-${version}/${pname}-${version}.tar.gz"; 32 32 license = licenses.gpl2Only; 33 33 maintainers = with maintainers; [ ymarkus ]; 34 34 platforms = platforms.all;
+36
pkgs/applications/science/astronomy/gnuastro/default.nix
··· 1 + { lib, stdenv, fetchurl, libtool 2 + , cfitsio, curl, ghostscript, gsl, libgit2, libjpeg, libtiff, lzlib, wcslib }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "gnuastro"; 6 + version = "0.17"; 7 + 8 + src = fetchurl { 9 + url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz"; 10 + sha256 = "sha256-xBvtM8wkDOqXg/Q2dNfPR0R0ZgRm4QiPJZoLDKivaPU="; 11 + }; 12 + 13 + nativeBuildInputs = [ libtool ]; 14 + 15 + buildInputs = [ 16 + cfitsio 17 + curl 18 + ghostscript 19 + gsl 20 + libgit2 21 + libjpeg 22 + libtiff 23 + lzlib 24 + wcslib 25 + ]; 26 + 27 + enableParallelBuilding = true; 28 + 29 + meta = with lib; { 30 + description = "GNU astronomy utilities and library"; 31 + homepage = "https://www.gnu.org/software/gnuastro/"; 32 + license = licenses.gpl3Plus; 33 + platforms = platforms.unix; 34 + maintainers = with maintainers; [ sikmir ]; 35 + }; 36 + }
+3 -3
pkgs/applications/science/biology/ncbi-tools/default.nix
··· 8 8 # Another note: you may want the older and deprecated C-libs at ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/Mar_17_2008/NCBI_C_Toolkit/ncbi_c--Mar_17_2008.tar.gz 9 9 10 10 stdenv.mkDerivation rec { 11 - name = "ncbi_tools"; 12 - ncbi_version = "Dec_31_2008"; 11 + pname = "ncbi_tools"; 12 + version = "Dec_31_2008"; 13 13 src = fetchurl { 14 - url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${ncbi_version}/ncbi_cxx--${ncbi_version}.tar.gz"; 14 + url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${version}/ncbi_cxx--${version}.tar.gz"; 15 15 sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr"; 16 16 }; 17 17
+2 -2
pkgs/applications/science/chemistry/marvin/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "marvin"; 7 - version = "22.7.0"; 7 + version = "22.8.0"; 8 8 9 9 src = fetchurl { 10 10 name = "marvin-${version}.deb"; 11 11 url = "http://dl.chemaxon.com/marvin/${version}/marvin_linux_${versions.majorMinor version}.deb"; 12 - sha256 = "sha256-xK4C+0/Qpc2vXPmsI8KuHuDJLmJ5LXdAfRIREE+gkWA="; 12 + sha256 = "sha256-dmG2p4KqzjLuuVw+wPWaxVoqOqba8Tx5l44PauWpqv4="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ dpkg makeWrapper ];
+4 -8
pkgs/applications/science/electronics/xcircuit/default.nix
··· 1 1 { lib, stdenv, fetchurl, autoreconfHook, automake, pkg-config 2 2 , cairo, ghostscript, ngspice, tcl, tk, xorg, zlib }: 3 3 4 - let 4 + stdenv.mkDerivation rec { 5 5 version = "3.10.12"; 6 - name = "xcircuit-${version}"; 7 - inherit (lib) getBin; 8 - 9 - in stdenv.mkDerivation { 10 - inherit name version; 6 + pname = "xcircuit"; 11 7 12 8 src = fetchurl { 13 - url = "http://opencircuitdesign.com/xcircuit/archive/${name}.tgz"; 9 + url = "http://opencircuitdesign.com/xcircuit/archive/xcircuit-${version}.tgz"; 14 10 sha256 = "1h1ywc3mr7plvwnhdii2zgnnv5ih2nhyl4qbdjpi83dq0aq1s2mn"; 15 11 }; 16 12 ··· 20 16 configureFlags = [ 21 17 "--with-tcl=${tcl}/lib" 22 18 "--with-tk=${tk}/lib" 23 - "--with-ngspice=${getBin ngspice}/bin/ngspice" 19 + "--with-ngspice=${lib.getBin ngspice}/bin/ngspice" 24 20 ]; 25 21 26 22 buildInputs = with xorg; [ cairo ghostscript libSM libXt libICE libX11 libXpm tcl tk zlib ];
+1
pkgs/applications/science/logic/coq/default.nix
··· 47 47 "8.14.0".sha256 = "04y2z0qyvag66zanfyc3f9agvmzbn4lsr0p1l7ck6yjhqx7vbm17"; 48 48 "8.14.1".sha256 = "0sx78pgx0qw8v7v2r32zzy3l161zipzq95iacda628girim7psnl"; 49 49 "8.15.0".sha256 = "sha256:1ma76wfrpfsl72yh10w1ys2a0vi0mdc2jc79kdc8nrmxkhpw1nxx"; 50 + "8.15.1".sha256 = "sha256:1dsa04jzkx5pw69pmxn0l55q4w88lg6fvz7clbga0bazzsfnsgd6"; 50 51 }; 51 52 releaseRev = v: "V${v}"; 52 53 fetched = import ../../../../build-support/coq/meta-fetch/default.nix
+1 -1
pkgs/applications/science/logic/why3/with-provers.nix
··· 12 12 ''; 13 13 in 14 14 stdenv.mkDerivation { 15 - name = "${why3.name}-with-provers"; 15 + pname = "${why3.pname}-with-provers"; 16 16 17 17 nativeBuildInputs = [ makeWrapper ]; 18 18 buildInputs = [ why3 ] ++ provers;
+1 -1
pkgs/applications/science/logic/z3/4.4.0.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "z3-${version}"; 4 + pname = "z3"; 5 5 version = "4.4.0"; 6 6 7 7 src = fetchFromGitHub {
+3 -6
pkgs/applications/science/math/fricas/default.nix
··· 1 1 { lib, stdenv, fetchurl, sbcl, libX11, libXpm, libICE, libSM, libXt, libXau, libXdmcp }: 2 2 3 - let 3 + stdenv.mkDerivation rec { 4 + pname = "fricas"; 4 5 version = "1.3.7"; 5 - name = "fricas-" + version; 6 - in 7 - stdenv.mkDerivation { 8 - inherit name; 9 6 10 7 src = fetchurl { 11 - url = "mirror://sourceforge/fricas/fricas/${version}/${name}-full.tar.bz2"; 8 + url = "mirror://sourceforge/fricas/fricas/${version}/fricas-${version}-full.tar.bz2"; 12 9 sha256 = "sha256-cOqMvSe3ef/ZeVy5cj/VU/aTRtxgfxZfRbE4lWE5TU4="; 13 10 }; 14 11
+17 -20
pkgs/applications/science/math/scilab-bin/default.nix
··· 1 1 { stdenv, fetchurl, lib, xorg }: 2 2 3 3 let 4 - name = "scilab-bin-${ver}"; 5 - 6 - ver = "6.1.1"; 7 - 8 - badArch = throw "${name} requires i686-linux or x86_64-linux"; 4 + badArch = throw "scilab-bin requires i686-linux or x86_64-linux"; 9 5 10 6 architecture = 11 7 if stdenv.hostPlatform.system == "i686-linux" then ··· 15 11 else 16 12 badArch; 17 13 in 18 - stdenv.mkDerivation { 19 - inherit name; 14 + stdenv.mkDerivation rec { 15 + pname = "scilab-bin"; 16 + version = "6.1.1"; 20 17 21 18 src = fetchurl { 22 - url = "https://www.scilab.org/download/${ver}/scilab-${ver}.bin.linux-${architecture}.tar.gz"; 19 + url = "https://www.scilab.org/download/${version}/scilab-${version}.bin.linux-${architecture}.tar.gz"; 23 20 sha256 = 24 21 if stdenv.hostPlatform.system == "i686-linux" then 25 22 "0fgjc2ak3b2qi6yin3fy50qwk2bcj0zbz1h4lyyic9n1n1qcliib" ··· 43 40 sed -i 's|\$(/bin/|$(|g' bin/scilab 44 41 sed -i 's|/usr/bin/||g' bin/scilab 45 42 46 - sci="$out/opt/scilab-${ver}" 43 + sci="$out/opt/scilab-${version}" 47 44 fullLibPath="$sci/lib/scilab:$sci/lib/thirdparty:$libPath" 48 45 fullLibPath="$fullLibPath:$sci/lib/thirdparty/redist" 49 46 ··· 55 52 ''; 56 53 57 54 installPhase = '' 58 - mkdir -p "$out/opt/scilab-${ver}" 59 - cp -r . "$out/opt/scilab-${ver}/" 55 + mkdir -p "$out/opt/scilab-${version}" 56 + cp -r . "$out/opt/scilab-${version}/" 60 57 61 58 # Create bin/ dir 62 59 mkdir "$out/bin" 63 60 64 61 # Creating executable symlinks 65 - ln -s "$out/opt/scilab-${ver}/bin/scilab" "$out/bin/scilab" 66 - ln -s "$out/opt/scilab-${ver}/bin/scilab-cli" "$out/bin/scilab-cli" 67 - ln -s "$out/opt/scilab-${ver}/bin/scilab-adv-cli" "$out/bin/scilab-adv-cli" 62 + ln -s "$out/opt/scilab-${version}/bin/scilab" "$out/bin/scilab" 63 + ln -s "$out/opt/scilab-${version}/bin/scilab-cli" "$out/bin/scilab-cli" 64 + ln -s "$out/opt/scilab-${version}/bin/scilab-adv-cli" "$out/bin/scilab-adv-cli" 68 65 69 66 # Creating desktop config dir 70 67 mkdir -p "$out/share/applications" 71 68 72 69 # Moving desktop config files 73 - mv $out/opt/scilab-${ver}/share/applications/*.desktop $out/share/applications 70 + mv $out/opt/scilab-${version}/share/applications/*.desktop $out/share/applications 74 71 75 72 # Fixing Exec paths and launching each app with a terminal 76 - sed -i -e "s|Exec=|Exec=$out/opt/scilab-${ver}/bin/|g" \ 73 + sed -i -e "s|Exec=|Exec=$out/opt/scilab-${version}/bin/|g" \ 77 74 -e "s|Terminal=.*$|Terminal=true|g" $out/share/applications/*.desktop 78 75 79 76 # Moving icons to the appropriate locations 80 - for path in $out/opt/scilab-${ver}/share/icons/hicolor/*/*/* 77 + for path in $out/opt/scilab-${version}/share/icons/hicolor/*/*/* 81 78 do 82 - newpath=$(echo $path | sed 's|/opt/scilab-${ver}||g') 79 + newpath=$(echo $path | sed 's|/opt/scilab-${version}||g') 83 80 filename=$(echo $path | sed 's|.*/||g') 84 81 dir=$(echo $newpath | sed "s|$filename||g") 85 82 mkdir -p $dir ··· 87 84 done 88 85 89 86 # Removing emptied folders 90 - rm -rf $out/opt/scilab-${ver}/share/{applications,icons} 87 + rm -rf $out/opt/scilab-${version}/share/{applications,icons} 91 88 92 89 # Moving other share/ folders 93 - mv $out/opt/scilab-${ver}/share/{appdata,locale,mime} $out/share 90 + mv $out/opt/scilab-${version}/share/{appdata,locale,mime} $out/share 94 91 ''; 95 92 96 93 meta = {
+2 -5
pkgs/applications/science/misc/fityk/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2 2 2 , xylib, readline, gnuplot, swig3 }: 3 3 4 - let 5 - name = "fityk"; 4 + stdenv.mkDerivation rec { 5 + pname = "fityk"; 6 6 version = "1.3.1"; 7 - in 8 - stdenv.mkDerivation { 9 - name = "${name}-${version}"; 10 7 11 8 src = fetchFromGitHub { 12 9 owner = "wojdyr";
+1 -1
pkgs/applications/terminal-emulators/rxvt-unicode-plugins/urxvt-font-size/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, xrdb, xlsfonts }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "urxvt-font-size"; 4 + pname = "urxvt-font-size"; 5 5 version = "1.3"; 6 6 7 7 src = fetchFromGitHub {
+2 -1
pkgs/applications/terminal-emulators/termonad/default.nix
··· 3 3 let 4 4 termonadEnv = haskellPackages.ghcWithPackages (self: [ self.termonad ] ++ packages self); 5 5 in stdenv.mkDerivation { 6 - name = "termonad-with-packages-${termonadEnv.version}"; 6 + pname = "termonad-with-packages"; 7 + inherit (termonadEnv) version; 7 8 8 9 nativeBuildInputs = [ makeWrapper ]; 9 10
+35 -39
pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix
··· 1 1 { lib, stdenv, fetchurl, jre, makeWrapper }: 2 2 3 - let 3 + stdenv.mkDerivation rec { 4 + pname = "bfg-repo-cleaner"; 4 5 version = "1.13.0"; 6 + 5 7 jarName = "bfg-${version}.jar"; 6 - mavenUrl = "mirror://maven/com/madgag/bfg/${version}/${jarName}"; 7 - in 8 - stdenv.mkDerivation { 9 - inherit version jarName; 10 8 11 - name = "bfg-repo-cleaner-${version}"; 9 + src = fetchurl { 10 + url = "mirror://maven/com/madgag/bfg/${version}/${jarName}"; 11 + sha256 = "1kn84rsvms1v5l1j2xgrk7dc7mnsmxkc6sqd94mnim22vnwvl8mz"; 12 + }; 12 13 13 - src = fetchurl { 14 - url = mavenUrl; 15 - sha256 = "1kn84rsvms1v5l1j2xgrk7dc7mnsmxkc6sqd94mnim22vnwvl8mz"; 16 - }; 14 + nativeBuildInputs = [ makeWrapper ]; 15 + buildInputs = [ jre ]; 17 16 18 - nativeBuildInputs = [ makeWrapper ]; 19 - buildInputs = [ jre ]; 20 - 21 - dontUnpack = true; 17 + dontUnpack = true; 22 18 23 - installPhase = '' 24 - mkdir -p $out/share/java 25 - mkdir -p $out/bin 26 - cp $src $out/share/java/$jarName 27 - makeWrapper "${jre}/bin/java" $out/bin/bfg --add-flags "-cp $out/share/java/$jarName com.madgag.git.bfg.cli.Main" 28 - ''; 19 + installPhase = '' 20 + mkdir -p $out/share/java 21 + mkdir -p $out/bin 22 + cp $src $out/share/java/$jarName 23 + makeWrapper "${jre}/bin/java" $out/bin/bfg --add-flags "-cp $out/share/java/$jarName com.madgag.git.bfg.cli.Main" 24 + ''; 29 25 30 - meta = with lib; { 31 - homepage = "https://rtyley.github.io/bfg-repo-cleaner/"; 32 - # Descriptions taken with minor modification from the homepage of bfg-repo-cleaner 33 - description = "Removes large or troublesome blobs in a git repository like git-filter-branch does, but faster"; 34 - longDescription = '' 35 - The BFG is a simpler, faster alternative to git-filter-branch for 36 - cleansing bad data out of your Git repository history, in particular removing 37 - crazy big files and removing passwords, credentials, and other private data. 26 + meta = with lib; { 27 + homepage = "https://rtyley.github.io/bfg-repo-cleaner/"; 28 + # Descriptions taken with minor modification from the homepage of bfg-repo-cleaner 29 + description = "Removes large or troublesome blobs in a git repository like git-filter-branch does, but faster"; 30 + longDescription = '' 31 + The BFG is a simpler, faster alternative to git-filter-branch for 32 + cleansing bad data out of your Git repository history, in particular removing 33 + crazy big files and removing passwords, credentials, and other private data. 38 34 39 - The git-filter-branch command is enormously powerful and can do things 40 - that the BFG can't - but the BFG is much better for the tasks above, because 41 - it's faster (10-720x), simpler (dedicated to just removing things), and 42 - beautiful (can use Scala instead of bash to script customizations). 43 - ''; 44 - license = licenses.gpl3; 45 - maintainers = [ maintainers.changlinli ]; 46 - platforms = platforms.unix; 47 - downloadPage = "https://mvnrepository.com/artifact/com.madgag/bfg/${version}"; 48 - }; 35 + The git-filter-branch command is enormously powerful and can do things 36 + that the BFG can't - but the BFG is much better for the tasks above, because 37 + it's faster (10-720x), simpler (dedicated to just removing things), and 38 + beautiful (can use Scala instead of bash to script customizations). 39 + ''; 40 + license = licenses.gpl3; 41 + maintainers = [ maintainers.changlinli ]; 42 + platforms = platforms.unix; 43 + downloadPage = "https://mvnrepository.com/artifact/com.madgag/bfg/${version}"; 44 + }; 49 45 50 - } 46 + }
+77
pkgs/applications/version-management/git-and-tools/cgit/common.nix
··· 1 + { pname, version, src, gitSrc, buildInputs ? [] 2 + , homepage, description, maintainers 3 + }: 4 + 5 + { lib, stdenv, openssl, zlib, asciidoc, libxml2, libxslt 6 + , docbook_xsl, pkg-config 7 + , coreutils, gnused, groff, docutils 8 + , gzip, bzip2, lzip, xz, zstd 9 + , python3Packages 10 + }: 11 + 12 + stdenv.mkDerivation { 13 + inherit pname version src gitSrc; 14 + 15 + nativeBuildInputs = [ 16 + pkg-config asciidoc 17 + ] ++ (with python3Packages; [ python wrapPython ]); 18 + buildInputs = buildInputs ++ [ 19 + openssl zlib libxml2 libxslt docbook_xsl 20 + ]; 21 + pythonPath = with python3Packages; [ pygments markdown ]; 22 + 23 + postPatch = '' 24 + sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \ 25 + -e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \ 26 + -e 's|"lzip"|"${lzip}/bin/lzip"|' \ 27 + -e 's|"xz"|"${xz.bin}/bin/xz"|' \ 28 + -e 's|"zstd"|"${zstd}/bin/zstd"|' \ 29 + -i ui-snapshot.c 30 + 31 + substituteInPlace filters/html-converters/man2html \ 32 + --replace 'groff' '${groff}/bin/groff' 33 + 34 + substituteInPlace filters/html-converters/rst2html \ 35 + --replace 'rst2html.py' '${docutils}/bin/rst2html.py' 36 + ''; 37 + 38 + # Give cgit a git source tree and pass configuration parameters (as make 39 + # variables). 40 + preBuild = '' 41 + mkdir -p git 42 + tar --strip-components=1 -xf "$gitSrc" -C git 43 + ''; 44 + 45 + makeFlags = [ 46 + "prefix=$(out)" 47 + "CGIT_SCRIPT_PATH=$(out)/cgit/" 48 + "CC=${stdenv.cc.targetPrefix}cc" 49 + "AR=${stdenv.cc.targetPrefix}ar" 50 + ]; 51 + 52 + # Install manpage. 53 + postInstall = '' 54 + # xmllint fails: 55 + #make install-man 56 + 57 + # bypassing xmllint works: 58 + a2x --no-xmllint -f manpage cgitrc.5.txt 59 + mkdir -p "$out/share/man/man5" 60 + cp cgitrc.5 "$out/share/man/man5" 61 + 62 + wrapPythonProgramsIn "$out/lib/cgit/filters" "$out $pythonPath" 63 + 64 + for script in $out/lib/cgit/filters/*.sh $out/lib/cgit/filters/html-converters/txt2html; do 65 + wrapProgram $script --prefix PATH : '${lib.makeBinPath [ coreutils gnused ]}' 66 + done 67 + ''; 68 + 69 + stripDebugList = [ "cgit" ]; 70 + 71 + meta = { 72 + inherit homepage description; 73 + license = lib.licenses.gpl2; 74 + platforms = lib.platforms.linux; 75 + maintainers = maintainers ++ (with lib.maintainers; [ qyliss ]); 76 + }; 77 + }
+7 -69
pkgs/applications/version-management/git-and-tools/cgit/default.nix
··· 1 - { lib, stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt 2 - , docbook_xsl, pkg-config, luajit 3 - , coreutils, gnused, groff, docutils 4 - , gzip, bzip2, lzip, xz, zstd 5 - , python, wrapPython, pygments, markdown 6 - }: 1 + { lib, fetchurl, callPackage, luajit }: 7 2 8 - stdenv.mkDerivation rec { 3 + callPackage (import ./common.nix rec { 9 4 pname = "cgit"; 10 5 version = "1.2.3"; 11 6 ··· 22 17 sha256 = "09lzwa183nblr6l8ib35g2xrjf9wm9yhk3szfvyzkwivdv69c9r2"; 23 18 }; 24 19 25 - nativeBuildInputs = [ pkg-config asciidoc ] ++ [ python wrapPython ]; 26 - buildInputs = [ 27 - openssl zlib libxml2 libxslt docbook_xsl luajit 28 - ]; 29 - pythonPath = [ pygments markdown ]; 30 - 31 - postPatch = '' 32 - sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \ 33 - -e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \ 34 - -e 's|"lzip"|"${lzip}/bin/lzip"|' \ 35 - -e 's|"xz"|"${xz.bin}/bin/xz"|' \ 36 - -e 's|"zstd"|"${zstd}/bin/zstd"|' \ 37 - -i ui-snapshot.c 38 - 39 - substituteInPlace filters/html-converters/man2html \ 40 - --replace 'groff' '${groff}/bin/groff' 41 - 42 - substituteInPlace filters/html-converters/rst2html \ 43 - --replace 'rst2html.py' '${docutils}/bin/rst2html.py' 44 - ''; 45 - 46 - # Give cgit a git source tree and pass configuration parameters (as make 47 - # variables). 48 - preBuild = '' 49 - mkdir -p git 50 - tar --strip-components=1 -xf "$gitSrc" -C git 51 - ''; 52 - 53 - makeFlags = [ 54 - "prefix=$(out)" 55 - "CGIT_SCRIPT_PATH=$(out)/cgit/" 56 - "CC=${stdenv.cc.targetPrefix}cc" 57 - "AR=${stdenv.cc.targetPrefix}ar" 58 - ]; 59 - 60 - # Install manpage. 61 - postInstall = '' 62 - # xmllint fails: 63 - #make install-man 64 - 65 - # bypassing xmllint works: 66 - a2x --no-xmllint -f manpage cgitrc.5.txt 67 - mkdir -p "$out/share/man/man5" 68 - cp cgitrc.5 "$out/share/man/man5" 69 - 70 - wrapPythonProgramsIn "$out/lib/cgit/filters" "$out $pythonPath" 71 - 72 - for script in $out/lib/cgit/filters/*.sh $out/lib/cgit/filters/html-converters/txt2html; do 73 - wrapProgram $script --prefix PATH : '${lib.makeBinPath [ coreutils gnused ]}' 74 - done 75 - ''; 76 - 77 - stripDebugList = [ "cgit" ]; 20 + buildInputs = [ luajit ]; 78 21 79 - meta = { 80 - homepage = "https://git.zx2c4.com/cgit/about/"; 81 - repositories.git = "git://git.zx2c4.com/cgit"; 82 - description = "Web frontend for git repositories"; 83 - license = lib.licenses.gpl2; 84 - platforms = lib.platforms.linux; 85 - maintainers = with lib.maintainers; [ bjornfor ]; 86 - }; 87 - } 22 + homepage = "https://git.zx2c4.com/cgit/about/"; 23 + description = "Web frontend for git repositories"; 24 + maintainers = with lib.maintainers; [ bjornfor ]; 25 + }) {}
+23
pkgs/applications/version-management/git-and-tools/cgit/pink.nix
··· 1 + { lib, fetchurl, callPackage }: 2 + 3 + callPackage (import ./common.nix rec { 4 + pname = "cgit-pink"; 5 + version = "1.3.0"; 6 + 7 + src = fetchurl { 8 + url = "https://git.causal.agency/cgit-pink/snapshot/cgit-pink-${version}.tar.gz"; 9 + sha256 = "sha256-oL46NWgqi1VqKNEt0QGBWNXbi2l7nOQDZy1aMivcWuM="; 10 + }; 11 + 12 + # cgit-pink is tightly coupled with git and needs a git source tree to build. 13 + # IMPORTANT: Remember to check which git version cgit-pink needs on every 14 + # version bump (look for "GIT_VER" in the top-level Makefile). 15 + gitSrc = fetchurl { 16 + url = "mirror://kernel/software/scm/git/git-2.35.1.tar.xz"; 17 + sha256 = "sha256-12hSjmRD9logMDYmbxylD50Se6iXUeMurTcRftkZEIA="; 18 + }; 19 + 20 + homepage = "https://git.causal.agency/cgit-pink/about/"; 21 + description = "cgit fork aiming for better maintenance"; 22 + maintainers = with lib.maintainers; [ qyliss sternenseemann ]; 23 + }) {}
+3 -6
pkgs/applications/version-management/git-and-tools/git-secret/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, makeWrapper, git, gnupg, gawk }: 2 2 3 - let 3 + stdenv.mkDerivation rec { 4 + pname = "git-secret"; 4 5 version = "0.4.0"; 5 - repo = "git-secret"; 6 - 7 - in stdenv.mkDerivation { 8 - name = "${repo}-${version}"; 9 6 10 7 src = fetchFromGitHub { 11 - inherit repo; 8 + repo = "git-secret"; 12 9 owner = "sobolevn"; 13 10 rev = "v${version}"; 14 11 sha256 = "sha256-Mtuj+e/yCDr4XkmYkWUFJB3cqOT5yOMOq9P/QJV1S80=";
+2 -2
pkgs/applications/version-management/gitea/default.nix
··· 16 16 17 17 buildGoPackage rec { 18 18 pname = "gitea"; 19 - version = "1.16.4"; 19 + version = "1.16.5"; 20 20 21 21 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 22 22 src = fetchurl { 23 23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; 24 - sha256 = "sha256-7zlreX05pkhn381FMgQ8Nj3OP+BUr6o3u5f4ouo/Khg="; 24 + sha256 = "sha256-2aqy6DV8oaIur/syg1bk41Wo+FGk3m+05+tUyoDwGHs="; 25 25 }; 26 26 27 27 unpackPhase = ''
+4 -12
pkgs/applications/video/corrscope/default.nix
··· 2 2 , mkDerivationWith 3 3 , python3Packages 4 4 , fetchFromGitHub 5 - , fetchpatch 6 5 , wrapQtAppsHook 7 6 , ffmpeg 8 7 , qtbase ··· 10 9 11 10 mkDerivationWith python3Packages.buildPythonApplication rec { 12 11 pname = "corrscope"; 13 - version = "0.7.1"; 12 + version = "0.8.0"; 14 13 format = "pyproject"; 15 14 16 15 src = fetchFromGitHub { 17 16 owner = "corrscope"; 18 17 repo = "corrscope"; 19 18 rev = version; 20 - sha256 = "0c9kmrw6pcda68li04b5j2kmsgdw1q463qlc32wn96zn9hl82v6m"; 19 + sha256 = "1wdla4ryif1ss37aqi61lcvzddvf568wyh5s3xv1lrryh4al9vpd"; 21 20 }; 22 21 23 - patches = [ 24 - # Remove when bumping past 0.7.1 25 - (fetchpatch { 26 - name = "0001-Use-poetry-core.patch"; 27 - url = "https://github.com/corrscope/corrscope/commit/d40d1846dd54b8bccd7b8055d6aece48aacbb943.patch"; 28 - sha256 = "0xxsbmxdbh3agfm6ww3rpa7ab0ysppan490w0gaqwmwzrxmmdljv"; 29 - }) 30 - ]; 31 - 32 22 nativeBuildInputs = [ 33 23 wrapQtAppsHook 34 24 ] ++ (with python3Packages; [ ··· 48 38 matplotlib 49 39 numpy 50 40 packaging 41 + qtpy 51 42 pyqt5 52 43 ruamel-yaml 44 + colorspacious 53 45 ]; 54 46 55 47 dontWrapQtApps = true;
+2 -1
pkgs/applications/video/p2pvc/default.nix
··· 1 1 { lib, stdenv, pkg-config, fetchFromGitHub, opencv2, ncurses, portaudio }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "p2pvc"; 4 + pname = "p2pvc"; 5 + version = "unstable-2015-02-12"; 5 6 6 7 nativeBuildInputs = [ pkg-config ]; 7 8 buildInputs = [ opencv2 ncurses portaudio ];
+2 -1
pkgs/applications/virtualization/OVMF/default.nix
··· 22 22 in 23 23 24 24 edk2.mkDerivation projectDscPath { 25 - name = "OVMF-${version}"; 25 + pname = "OVMF"; 26 + inherit version; 26 27 27 28 outputs = [ "out" "fd" ]; 28 29
+2 -2
pkgs/applications/virtualization/containerd/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "containerd"; 13 - version = "1.6.1"; 13 + version = "1.6.2"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "containerd"; 17 17 repo = "containerd"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-NOFDUOypq/1ePM8rdK2cDnH1LsSZJ7eQOzDc5h4/PvY="; 19 + sha256 = "sha256-l/9jOvZ4nn/wy+XPRoT1lojfGvPEXhPz2FJjLpZ/EE8="; 20 20 }; 21 21 22 22 vendorSha256 = null;
+2 -2
pkgs/applications/virtualization/crun/default.nix
··· 38 38 in 39 39 stdenv.mkDerivation rec { 40 40 pname = "crun"; 41 - version = "1.4.3"; 41 + version = "1.4.4"; 42 42 43 43 src = fetchFromGitHub { 44 44 owner = "containers"; 45 45 repo = pname; 46 46 rev = version; 47 - sha256 = "sha256-5q8HirGOPsbaJ7JoLa4DRYkZX3kucWOZ633nzx4zVhg="; 47 + sha256 = "sha256-ITUj905ZSdCH0mcw8tubyVKqI6p/oNcC4OW7/NbkR5o="; 48 48 fetchSubmodules = true; 49 49 }; 50 50
+4 -4
pkgs/applications/virtualization/docker/default.nix
··· 243 243 # Get revisions from 244 244 # https://github.com/moby/moby/tree/${version}/hack/dockerfile/install/* 245 245 docker_20_10 = callPackage dockerGen rec { 246 - version = "20.10.13"; 246 + version = "20.10.14"; 247 247 rev = "v${version}"; 248 248 sha256 = "sha256-eDwgqFx4io++SMOjhxMxVzqzcOgOnv6Xe/qmmPCvZts="; 249 249 moby-src = fetchFromGitHub { 250 250 owner = "moby"; 251 251 repo = "moby"; 252 252 rev = "v${version}"; 253 - sha256 = "sha256-ajceIdMM8yAa+bvTjRwZ/zF7yTLF2LhGmbrweWni7hM="; 253 + sha256 = "sha256-I5oxpFLH789I2Sb29OXDaM4fCbQT/KvPq0DYcAVp0aI="; 254 254 }; 255 255 runcRev = "v1.0.3"; 256 256 runcSha256 = "sha256-Tl/JKbIpao+FCjngPzaVkxse50zo3XQ9Mg/AdkblMcI="; 257 - containerdRev = "v1.5.10"; 258 - containerdSha256 = "sha256-ee0dwWSGedo08omKOmZtW5qQ1J5M9Mm+kZHq7a+zyT4="; 257 + containerdRev = "v1.5.11"; 258 + containerdSha256 = "sha256-YzFtv6DIjImSK0SywxhZrEeEmCnHTceAi3pfwnPubKg="; 259 259 tiniRev = "v0.19.0"; 260 260 tiniSha256 = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI="; 261 261 };
+3 -3
pkgs/applications/virtualization/docker/gc.nix
··· 3 3 with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "docker-gc-${rev}"; 7 - rev = "b0cc52aa3da2e2ac0080794e0be6e674b1f063fc"; 6 + pname = "docker-gc"; 7 + version = "unstable-2015-10-5"; 8 8 9 9 src = fetchFromGitHub { 10 - inherit rev; 11 10 owner = "spotify"; 12 11 repo = "docker-gc"; 12 + rev = "b0cc52aa3da2e2ac0080794e0be6e674b1f063fc"; 13 13 sha256 = "07wf9yn0f771xkm3x12946x5rp83hxjkd70xgfgy35zvj27wskzm"; 14 14 }; 15 15
+3 -3
pkgs/applications/virtualization/docker/proxy.nix
··· 1 1 { lib, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 - name = "docker-proxy-${rev}"; 5 - rev = "fa125a3512ee0f6187721c88582bf8c4378bd4d7"; 4 + pname = "docker-proxy"; 5 + version = "unstable-2020-12-15"; 6 6 7 7 src = fetchFromGitHub { 8 - inherit rev; 9 8 owner = "docker"; 10 9 repo = "libnetwork"; 10 + rev = "fa125a3512ee0f6187721c88582bf8c4378bd4d7"; 11 11 sha256 = "1r47y0gww3j7fas4kgiqbhrz5fazsx1c6sxnccdfhj8fzik77s9y"; 12 12 }; 13 13
+2 -2
pkgs/applications/virtualization/gvisor/containerd-shim.nix
··· 1 1 { lib, fetchFromGitHub, buildGoModule }: 2 2 3 3 buildGoModule rec { 4 - name = "gvisor-containerd-shim-${version}"; 5 - version = "2019-10-09"; 4 + pname = "gvisor-containerd-shim"; 5 + version = "unstable-2019-10-09"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "google";
+1 -1
pkgs/applications/virtualization/gvisor/default.nix
··· 52 52 }; 53 53 54 54 in buildBazelPackage rec { 55 - name = "gvisor-${version}"; 55 + pname = "gvisor"; 56 56 version = "20210518.0"; 57 57 58 58 src = fetchFromGitHub {
+2 -2
pkgs/applications/virtualization/qemu/utils.nix
··· 1 1 { stdenv, installShellFiles, qemu }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "qemu-utils-${version}"; 5 - version = qemu.version; 4 + pname = "qemu-utils"; 5 + inherit (qemu) version; 6 6 7 7 nativeBuildInputs = [ installShellFiles ]; 8 8 buildInputs = [ qemu ];
+2 -3
pkgs/applications/virtualization/virt-viewer/default.nix
··· 35 35 with lib; 36 36 37 37 stdenv.mkDerivation rec { 38 - baseName = "virt-viewer"; 38 + pname = "virt-viewer"; 39 39 version = "11.0"; 40 - name = "${baseName}-${version}"; 41 40 42 41 src = fetchurl { 43 - url = "http://virt-manager.org/download/sources/${baseName}/${name}.tar.xz"; 42 + url = "https://releases.pagure.org/virt-viewer/virt-viewer-${version}.tar.xz"; 44 43 sha256 = "sha256-pD+iMlxMHHelyMmAZaww7wURohrJjlkPIjQIabrZq9A="; 45 44 }; 46 45
+3 -2
pkgs/applications/window-managers/clfswm/default.nix
··· 2 2 , makeWrapper }: 3 3 4 4 stdenv.mkDerivation { 5 - name = "clfswm"; 5 + pname = "clfswm"; 6 + version = "unstable-2016-11-12"; 6 7 7 8 src = fetchgit { 8 9 url = "https://gitlab.common-lisp.net/clfswm/clfswm.git"; 9 - rev = "refs/heads/master"; 10 + rev = "3c7721dba6339ebb4f8c8d7ce2341740fa86f837"; 10 11 sha256 = "0hynzh3a1zr719cxfb0k4cvh5lskzs616hwn7p942isyvhwzhynd"; 11 12 }; 12 13
+2 -1
pkgs/applications/window-managers/taffybar/default.nix
··· 5 5 self.taffybar 6 6 ] ++ packages self); 7 7 in stdenv.mkDerivation { 8 - name = "taffybar-with-packages-${taffybarEnv.version}"; 8 + pname = "taffybar-with-packages"; 9 + inherit (taffybarEnv) version; 9 10 10 11 nativeBuildInputs = [ makeWrapper ]; 11 12
+2 -1
pkgs/applications/window-managers/xmonad/wrapper.nix
··· 3 3 let 4 4 xmonadEnv = ghcWithPackages (self: [ self.xmonad ] ++ packages self); 5 5 in stdenv.mkDerivation { 6 - name = "xmonad-with-packages-${xmonadEnv.version}"; 6 + pname = "xmonad-with-packages"; 7 + inherit (xmonadEnv) version; 7 8 8 9 nativeBuildInputs = [ makeWrapper ]; 9 10
+3
pkgs/build-support/build-fhs-userenv-bubblewrap/env.nix
··· 59 59 export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH" 60 60 export TZDIR='/etc/zoneinfo' 61 61 62 + # XDG_DATA_DIRS is used by pressure-vessel (steam proton) and vulkan loaders to find the corresponding icd 63 + export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}/run/opengl-driver/share:/run/opengl-driver-32/share 64 + 62 65 # Force compilers and other tools to look in default search paths 63 66 unset NIX_ENFORCE_PURITY 64 67 export NIX_CC_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}=1
+3
pkgs/build-support/build-fhs-userenv/env.nix
··· 60 60 export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH" 61 61 export TZDIR='/etc/zoneinfo' 62 62 63 + # XDG_DATA_DIRS is used by pressure-vessel (steam proton) and vulkan loaders to find the corresponding icd 64 + export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}/run/opengl-driver/share:/run/opengl-driver-32/share 65 + 63 66 # Force compilers and other tools to look in default search paths 64 67 unset NIX_ENFORCE_PURITY 65 68 export NIX_CC_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}=1
+3 -5
pkgs/build-support/make-darwin-bundle/write-darwin-bundle.nix
··· 5 5 CFBundleDevelopmentRegion = "English"; 6 6 CFBundleExecutable = "$name"; 7 7 CFBundleIconFile = "$icon"; 8 + CFBundleIconFiles = [ "$icon" ]; 8 9 CFBundleIdentifier = "org.nixos.$name"; 9 10 CFBundleInfoDictionaryVersion = "6.0"; 10 11 CFBundleName = "$name"; ··· 25 26 ${pListText} 26 27 EOF 27 28 28 - if [[ $squircle != 0 && $squircle != "false" ]]; then 29 - sed " 30 - s|CFBundleIconFile|CFBundleIconFiles|; 31 - s|<string>$icon</string>|<array><string>$icon</string></array>| 32 - " -i "$plist" 29 + if [[ $squircle == 0 || $squircle == "false" ]]; then 30 + sed '/CFBundleIconFiles/,\|</array>|d' -i "$plist" 33 31 fi 34 32 35 33 cat > "$prefix/Applications/$name.app/Contents/MacOS/$name" <<EOF
+37 -11
pkgs/build-support/setup-hooks/desktop-to-darwin-bundle.sh
··· 18 18 local -r iconName=$3 19 19 local -r theme=${4:-hicolor} 20 20 21 - local -ra iconSizes=(16 32 48 128 256 512) 21 + # Sizes based on archived Apple documentation: 22 + # https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon#app-icon-sizes 23 + local -ra iconSizes=(16 32 128 256 512) 22 24 local -ra scales=([1]="" [2]="@2") 23 25 24 26 # Based loosely on the algorithm at: ··· 31 33 local scaleSuffix=${scales[$scale]} 32 34 local exactSize=${iconSize}x${iconSize}${scaleSuffix} 33 35 34 - if [[ $exactSize = '48x48@2' ]]; then 35 - # macOS does not support a 2x scale variant of 48x48 icons 36 - # See: https://en.wikipedia.org/wiki/Apple_Icon_Image_format#Icon_types 37 - echo "unsupported" 38 - return 0 39 - fi 40 - 41 36 local -a validSizes=( 42 37 ${exactSize} 43 38 $((iconSize + 1))x$((iconSize + 1))${scaleSuffix} ··· 55 50 else 56 51 echo "threshold $icon" 57 52 fi 58 - return 0 53 + elif [[ -a $icon ]]; then 54 + echo "fallback $icon" 59 55 fi 56 + return 0 60 57 done 61 58 done 62 59 echo "scalable" ··· 106 103 scalableIcon=('-') 107 104 fi 108 105 106 + # Tri-state variable, NONE means no icons have been found, an empty 107 + # icns file will be generated, not sure that's necessary because macOS 108 + # will default to a generic icon if no icon can be found. 109 + # 110 + # OTHER means an appropriate icon was found. 111 + # 112 + # Any other value is a path to an icon file that isn't scalable or 113 + # within the threshold. This is used as a fallback in case no better 114 + # icon can be found and will be scaled as much as 115 + # necessary to result in appropriate icon sizes. 116 + local foundIcon=NONE 109 117 for iconSize in "${iconSizes[@]}"; do 110 118 for scale in "${!scales[@]}"; do 111 119 local iconResult=$(findIcon $iconSize $scale) ··· 117 125 fixed) 118 126 local density=$((72 * scale))x$((72 * scale)) 119 127 magick convert -density "$density" -units PixelsPerInch "$icon" "$result" 128 + foundIcon=OTHER 120 129 ;; 121 130 threshold) 122 131 # Synthesize an icon of the exact size if a scalable icon is available ··· 124 133 if ! synthesizeIcon "${scalableIcon[0]}" "$result" "$iconSize" "$scale"; then 125 134 resizeIcon "$icon" "$result" "$iconSize" "$scale" 126 135 fi 136 + foundIcon=OTHER 127 137 ;; 128 138 scalable) 129 139 synthesizeIcon "${scalableIcon[0]}" "$result" "$iconSize" "$scale" || true 140 + foundIcon=OTHER 141 + ;; 142 + fallback) 143 + # Use the largest size available to scale to 144 + # appropriate sizes. 145 + if [[ $foundIcon != OTHER ]]; then 146 + foundIcon=$icon 147 + fi 130 148 ;; 131 149 *) 132 150 ;; 133 151 esac 134 152 done 135 153 done 154 + if [[ $foundIcon != NONE && $foundIcon != OTHER ]]; then 155 + # Ideally we'd only resize to whatever the closest sizes are, 156 + # starting from whatever icon sizes are available. 157 + for iconSize in 16 32 128 256 512; do 158 + local result=${resultdir}/${iconSize}x${iconSize}.png 159 + resizeIcon "$foundIcon" "$result" "$iconSize" 1 160 + done 161 + fi 136 162 echo "$resultdir" 137 163 } 138 164 139 165 iconsdir=$(getIcons "$sharePath" "apps/${iconName}" "$theme") 140 - if [[ ! -z "$(ls -1 "$iconsdir/"*)" ]]; then 141 - icnsutil compose "$out/${iconName}.icns" "$iconsdir/"* 166 + if [[ -n "$(ls -1 "$iconsdir/"*)" ]]; then 167 + icnsutil compose --toc "$out/${iconName}.icns" "$iconsdir/"* 142 168 else 143 169 echo "Warning: no icons were found. Creating an empty icon for ${iconName}.icns." 144 170 touch "$out/${iconName}.icns"
-1
pkgs/data/documentation/man-pages/default.nix
··· 24 24 meta = with lib; { 25 25 description = "Linux development manual pages"; 26 26 homepage = "https://www.kernel.org/doc/man-pages/"; 27 - repositories.git = "https://git.kernel.org/pub/scm/docs/man-pages/man-pages"; 28 27 license = licenses.gpl2Plus; 29 28 platforms = with platforms; unix; 30 29 priority = 30; # if a package comes with its own man page, prefer it
+4 -3
pkgs/data/documentation/std-man-pages/default.nix
··· 1 1 { stdenv, lib, fetchurl }: 2 2 3 - stdenv.mkDerivation { 4 - name = "std-man-pages-4.4.0"; 3 + stdenv.mkDerivation rec { 4 + pname = "std-man-pages"; 5 + version = "4.4.0"; 5 6 6 7 src = fetchurl { 7 - url = "mirror://gcc/libstdc++/doxygen/libstdc++-man.4.4.0.tar.bz2"; 8 + url = "mirror://gcc/libstdc++/doxygen/libstdc++-man.${version}.tar.bz2"; 8 9 sha256 = "0153py77ll759jacq41dp2z2ksr08pdcfic0rwjd6pr84dk89y9v"; 9 10 }; 10 11
+2 -2
pkgs/data/fonts/sarasa-gothic/default.nix
··· 1 1 { lib, fetchurl, libarchive }: 2 2 3 3 let 4 - version = "0.36.0"; 4 + version = "0.36.1"; 5 5 in fetchurl { 6 6 name = "sarasa-gothic-${version}"; 7 7 8 8 # Use the 'ttc' files here for a smaller closure size. 9 9 # (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.) 10 10 url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z"; 11 - sha256 = "sha256-ENBF7dVFp9lrGGRwNIB0Yg7y1F5XbVivgD2e9pLZQwQ="; 11 + sha256 = "sha256-w8PVDvbnHFZF7/X4EzO0IJsEKMC7c+GPng1sn8Q8G14="; 12 12 13 13 recursiveHash = true; 14 14 downloadToTemp = true;
+2 -3
pkgs/data/icons/faba-icon-theme/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, meson, ninja, python3, gtk3, pantheon, gnome-icon-theme, hicolor-icon-theme }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "${package-name}-${version}"; 5 - package-name = "faba-icon-theme"; 4 + pname = "faba-icon-theme"; 6 5 version = "4.3"; 7 6 8 7 src = fetchFromGitHub { 9 8 owner = "moka-project"; 10 - repo = package-name; 9 + repo = "faba-icon-theme"; 11 10 rev = "v${version}"; 12 11 sha256 = "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"; 13 12 };
+3 -2
pkgs/data/icons/tango-icon-theme/default.nix
··· 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "tango-icon-theme-0.8.90"; 6 + pname = "tango-icon-theme"; 7 + version = "0.8.90"; 7 8 8 9 src = fetchurl { 9 - url = "http://tango.freedesktop.org/releases/${name}.tar.gz"; 10 + url = "http://tango.freedesktop.org/releases/tango-icon-theme-${version}.tar.gz"; 10 11 sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f"; 11 12 }; 12 13
+2 -1
pkgs/data/misc/brise/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, librime }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "brise-unstable-2017-09-16"; 4 + pname = "brise"; 5 + version = "unstable-2017-09-16"; 5 6 6 7 src = fetchFromGitHub { 7 8 owner = "rime";
+3 -2
pkgs/data/misc/miscfiles/default.nix
··· 1 1 {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "miscfiles-1.5"; 4 + pname = "miscfiles"; 5 + version = "1.5"; 5 6 6 7 src = fetchurl { 7 - url = "mirror://gnu/miscfiles/${name}.tar.gz"; 8 + url = "mirror://gnu/miscfiles/miscfiles-${version}.tar.gz"; 8 9 sha256 = "005588vfrwx8ghsdv9p7zczj9lbc9a3r4m5aphcaqv8gif4siaka"; 9 10 }; 10 11
+3 -2
pkgs/data/misc/shared-desktop-ontologies/default.nix
··· 1 1 { lib, stdenv, fetchurl, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "shared-desktop-ontologies-0.11.0"; 4 + pname = "shared-desktop-ontologies"; 5 + version = "0.11.0"; 5 6 6 7 src = fetchurl { 7 - url = "mirror://sourceforge/oscaf/${name}.tar.bz2"; 8 + url = "mirror://sourceforge/oscaf/shared-desktop-ontologies-${version}.tar.bz2"; 8 9 sha256 = "1m5vnijg7rnwg41vig2ckg632dlczzdab1gsq51g4x7m9k1fdbw2"; 9 10 }; 10 11
+3 -3
pkgs/data/misc/v2ray-geoip/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "v2ray-geoip"; 5 - version = "202203170039"; 5 + version = "202203240042"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "v2fly"; 9 9 repo = "geoip"; 10 - rev = "0b5c94c368dc5f70ebf995e87188aa8f40d45489"; 11 - sha256 = "sha256-iaqU6CkrewICONps43nbZaUiM2aahSwfSD5bZz1P4Zc="; 10 + rev = "d7ff77f883216595a4b6674e9507f305195dcda3"; 11 + sha256 = "sha256-wSm24nXz4QIM8e7Z8d08NjluLaBWEdl09FNAL3GR9so="; 12 12 }; 13 13 14 14 installPhase = ''
+15 -12
pkgs/data/themes/arc/default.nix
··· 3 3 , sassc 4 4 , meson 5 5 , ninja 6 - , pkg-config 7 - , gtk3 8 6 , glib 9 7 , gnome 10 8 , gtk-engine-murrine 11 - , optipng 12 9 , inkscape 13 10 , cinnamon 11 + , makeFontsConf 12 + , python3 14 13 }: 15 14 16 15 stdenv.mkDerivation rec { 17 16 pname = "arc-theme"; 18 - version = "20211018"; 17 + version = "20220223"; 19 18 20 19 src = fetchFromGitHub { 21 20 owner = "jnsh"; 22 21 repo = pname; 23 22 rev = version; 24 - sha256 = "1rrxm5b7l8kq1h0lm08ck54xljzm8w573mxx904n3rhdg3ri9d63"; 23 + sha256 = "sha256-qsZdXDNxT1/gIlkUsC1cfVrULApC+dHreBXXjVTJQiA="; 25 24 }; 26 25 27 26 nativeBuildInputs = [ 28 27 meson 29 28 ninja 30 - pkg-config 31 29 sassc 32 - optipng 33 30 inkscape 34 - gtk3 35 31 glib # for glib-compile-resources 32 + python3 36 33 ]; 37 34 38 35 propagatedUserEnvPkgs = [ ··· 40 37 gtk-engine-murrine 41 38 ]; 42 39 40 + postPatch = '' 41 + patchShebangs meson/install-file.py 42 + ''; 43 + 43 44 preBuild = '' 44 45 # Shut up inkscape's warnings about creating profile directory 45 - export HOME="$NIX_BUILD_ROOT" 46 + export HOME="$TMPDIR" 46 47 ''; 47 48 49 + # Fontconfig error: Cannot load default config file: No such file: (null) 50 + FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; }; 51 + 48 52 mesonFlags = [ 49 - "-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity" 50 - "-Dvariants=light,darker,dark,lighter" 53 + # "-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity" 54 + # "-Dvariants=light,darker,dark,lighter" 51 55 "-Dcinnamon_version=${cinnamon.cinnamon-common.version}" 52 56 "-Dgnome_shell_version=${gnome.gnome-shell.version}" 53 - "-Dgtk3_version=${gtk3.version}" 54 57 # You will need to patch gdm to make use of this. 55 58 "-Dgnome_shell_gresource=true" 56 59 ];
+1 -1
pkgs/data/themes/dracula-theme/default.nix
··· 22 22 installPhase = '' 23 23 runHook preInstall 24 24 mkdir -p $out/share/themes/${themeName} 25 - cp -a {assets,cinnamon,gnome-shell,gtk-2.0,gtk-3.0,gtk-3.20,index.theme,metacity-1,unity,xfwm4} $out/share/themes/${themeName} 25 + cp -a {assets,cinnamon,gnome-shell,gtk-2.0,gtk-3.0,gtk-3.20,gtk-4.0,index.theme,metacity-1,unity,xfwm4} $out/share/themes/${themeName} 26 26 27 27 cp -a kde/{color-schemes,plasma} $out/share/ 28 28 cp -a kde/kvantum $out/share/Kvantum
+3 -3
pkgs/data/themes/kwin-decorations/kde-rounded-corners/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "kde-rounded-corners"; 15 - version = "unstable-2021-11-06"; 15 + version = "0.1.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "matinlotfali"; 19 19 repo = "KDE-Rounded-Corners"; 20 - rev = "8ad8f5f5eff9d1625abc57cb24dc484d51f0e1bd"; 21 - sha256 = "0xbskf7jd03d2invfz1nnfc82klzvc784snw539n4kn6c6rc381p"; 20 + rev = "v${version}"; 21 + hash = "sha256-cXpJabeOHnat7OljtRzduUdOaA6Z3z6vV3aBKwiIrR0="; 22 22 }; 23 23 24 24 postConfigure = ''
+12 -1
pkgs/desktops/gnome/apps/gnome-notes/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , meson 3 4 , ninja 4 5 , gettext 5 6 , fetchurl 7 + , fetchpatch 6 8 , pkg-config 7 9 , wrapGAppsHook 8 10 , itstool ··· 31 33 url = "mirror://gnome/sources/bijiben/${lib.versions.major version}/bijiben-${version}.tar.xz"; 32 34 sha256 = "1gvvb2klkzbmyzwkjgmscdiqcl8lyz9b0rxb4igjz079csq6z805"; 33 35 }; 36 + 37 + patches = [ 38 + # Fix build with meson 0.61 39 + # data/appdata/meson.build:3:5: ERROR: Function does not take positional arguments. 40 + (fetchpatch { 41 + url = "https://gitlab.gnome.org/GNOME/gnome-notes/-/commit/994af76ce5144062d55d141129bf6bf5fab002ee.patch"; 42 + sha256 = "sha256-z7dPOLZzaqvdqUIDy6+V3dKossRbG0EDjBu2oJCF6b4="; 43 + }) 44 + ]; 34 45 35 46 doCheck = true; 36 47
+56 -7
pkgs/desktops/gnome/core/gnome-dictionary/default.nix
··· 1 - { lib, stdenv, fetchurl, meson, ninja, pkg-config, desktop-file-utils, appstream-glib, libxslt 2 - , libxml2, gettext, itstool, wrapGAppsHook, docbook_xsl, docbook_xml_dtd_43 3 - , gnome, gtk3, glib, gsettings-desktop-schemas }: 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , fetchpatch 5 + , meson 6 + , ninja 7 + , pkg-config 8 + , desktop-file-utils 9 + , appstream-glib 10 + , libxslt 11 + , libxml2 12 + , gettext 13 + , itstool 14 + , wrapGAppsHook 15 + , docbook_xsl 16 + , docbook_xml_dtd_43 17 + , gnome 18 + , gtk3 19 + , glib 20 + , gsettings-desktop-schemas 21 + }: 4 22 5 23 stdenv.mkDerivation rec { 6 24 pname = "gnome-dictionary"; ··· 11 29 sha256 = "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f"; 12 30 }; 13 31 14 - doCheck = true; 32 + patches = [ 33 + # Fix test dependencies with meson 0.57, can be removed on next bump 34 + # We need to explicitly depend on the generated files. 35 + (fetchpatch { 36 + url = "https://gitlab.gnome.org/GNOME/gnome-dictionary/-/commit/87c026cfe4acbcfc62d15950f88a71d8d9678c7e.patch"; 37 + sha256 = "tKesWeOK3OqOxrXm4dZvCZHHdTD7AQbYDjtYDCsLd3A="; 38 + }) 39 + # Fix build with meson 0.61, can be removed on next bump 40 + # data/appdata/meson.build:3:5: ERROR: Function does not take positional arguments. 41 + (fetchpatch { 42 + url = "https://gitlab.gnome.org/GNOME/gnome-dictionary/-/commit/cf3f8a67cd6f3059c555ed9cf0f5fba10abb7f68.patch"; 43 + sha256 = "cIRM6ACqsnEo2JWYvr6EBye5o0BudugZMShCe1U5hz8="; 44 + }) 45 + ]; 15 46 16 47 nativeBuildInputs = [ 17 - meson ninja pkg-config wrapGAppsHook libxml2 gettext itstool 18 - desktop-file-utils appstream-glib libxslt docbook_xsl docbook_xml_dtd_43 48 + meson 49 + ninja 50 + pkg-config 51 + wrapGAppsHook 52 + libxml2 53 + gettext 54 + itstool 55 + desktop-file-utils 56 + appstream-glib 57 + libxslt 58 + docbook_xsl 59 + docbook_xml_dtd_43 60 + ]; 61 + 62 + buildInputs = [ 63 + gtk3 64 + glib 65 + gsettings-desktop-schemas 66 + gnome.adwaita-icon-theme 19 67 ]; 20 - buildInputs = [ gtk3 glib gsettings-desktop-schemas gnome.adwaita-icon-theme ]; 68 + 69 + doCheck = true; 21 70 22 71 passthru = { 23 72 updateScript = gnome.updateScript {
+4 -4
pkgs/desktops/gnome/core/gucharmap/default.nix
··· 7 7 , pkg-config 8 8 , python3 9 9 , gtk3 10 - , adwaita-icon-theme 10 + , pcre2 11 11 , glib 12 12 , desktop-file-utils 13 13 , gtk-doc ··· 45 45 }; 46 46 in stdenv.mkDerivation rec { 47 47 pname = "gucharmap"; 48 - version = "14.0.0"; 48 + version = "14.0.2"; 49 49 50 50 outputs = [ "out" "lib" "dev" "devdoc" ]; 51 51 ··· 54 54 owner = "GNOME"; 55 55 repo = pname; 56 56 rev = version; 57 - sha256 = "sha256-d283zVRH42NZNq+vGmItN3ZBrRrl9gpYDco7osm3RoY="; 57 + sha256 = "sha256-gyOm/S0ae0kX4AFUiglqyGRGB8C/KUuaG/dr/Wf1ug0="; 58 58 }; 59 59 60 60 nativeBuildInputs = [ ··· 79 79 gtk3 80 80 glib 81 81 gsettings-desktop-schemas 82 - adwaita-icon-theme 82 + pcre2 83 83 ]; 84 84 85 85 mesonFlags = [
+38 -6
pkgs/desktops/gnome/games/gnome-mahjongg/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, gnome, gtk3, wrapGAppsHook 2 - , librsvg, gettext, itstool, libxml2 3 - , meson, ninja, glib, vala, desktop-file-utils 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , fetchpatch 5 + , pkg-config 6 + , gnome 7 + , gtk3 8 + , wrapGAppsHook 9 + , librsvg 10 + , gettext 11 + , itstool 12 + , libxml2 13 + , meson 14 + , ninja 15 + , glib 16 + , vala 17 + , desktop-file-utils 4 18 }: 5 19 6 20 stdenv.mkDerivation rec { ··· 12 26 sha256 = "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"; 13 27 }; 14 28 29 + patches = [ 30 + # Fix build with meson 0.61 31 + # data/meson.build:24:0: ERROR: Function does not take positional arguments. 32 + # data/meson.build:45:0: ERROR: Function does not take positional arguments. 33 + (fetchpatch { 34 + url = "https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/commit/a2037b0747163601a5d5b57856d037eecf3a4db7.patch"; 35 + sha256 = "Wcder6Y9H6c1f8I+IPDvST3umaCU21HgxfXn809JDz0="; 36 + }) 37 + ]; 38 + 15 39 nativeBuildInputs = [ 16 - meson ninja vala desktop-file-utils 17 - pkg-config gnome.adwaita-icon-theme 18 - libxml2 itstool gettext wrapGAppsHook 40 + meson 41 + ninja 42 + vala 43 + desktop-file-utils 44 + pkg-config 45 + gnome.adwaita-icon-theme 46 + libxml2 47 + itstool 48 + gettext 49 + wrapGAppsHook 19 50 glib # for glib-compile-schemas 20 51 ]; 52 + 21 53 buildInputs = [ 22 54 glib 23 55 gtk3
+45 -8
pkgs/desktops/gnome/games/gnome-tetravex/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, gnome, gtk3, wrapGAppsHook 2 - , libxml2, gettext, itstool, meson, ninja, python3 3 - , vala, desktop-file-utils 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , fetchpatch 5 + , pkg-config 6 + , gnome 7 + , gtk3 8 + , wrapGAppsHook 9 + , libxml2 10 + , gettext 11 + , itstool 12 + , meson 13 + , ninja 14 + , python3 15 + , vala 16 + , desktop-file-utils 4 17 }: 5 18 6 19 stdenv.mkDerivation rec { ··· 12 25 sha256 = "06wihvqp2p52zd2dnknsc3rii69qib4a30yp15h558xrg44z3k8z"; 13 26 }; 14 27 15 - passthru = { 16 - updateScript = gnome.updateScript { packageName = "gnome-tetravex"; attrPath = "gnome.gnome-tetravex"; }; 17 - }; 28 + patches = [ 29 + # Fix build with meson 0.61 30 + # data/meson.build:37:0: ERROR: Function does not take positional arguments. 31 + # data/meson.build:59:0: ERROR: Function does not take positional arguments. 32 + # Taken from https://gitlab.gnome.org/GNOME/gnome-tetravex/-/merge_requests/20 33 + (fetchpatch { 34 + url = "https://gitlab.gnome.org/GNOME/gnome-tetravex/-/commit/80912d06f5e588f6aca966fa516103275e58d94e.patch"; 35 + sha256 = "2+nFw5sJzbInibKaq3J10Ufbl3CnZWlgnUtzRTZ5G0I="; 36 + }) 37 + ]; 18 38 19 39 nativeBuildInputs = [ 20 - wrapGAppsHook itstool libxml2 gnome.adwaita-icon-theme 21 - pkg-config gettext meson ninja python3 vala desktop-file-utils 40 + wrapGAppsHook 41 + itstool 42 + libxml2 43 + gnome.adwaita-icon-theme 44 + pkg-config 45 + gettext 46 + meson 47 + ninja 48 + python3 49 + vala 50 + desktop-file-utils 22 51 ]; 52 + 23 53 buildInputs = [ 24 54 gtk3 25 55 ]; ··· 28 58 chmod +x build-aux/meson_post_install.py 29 59 patchShebangs build-aux/meson_post_install.py 30 60 ''; 61 + 62 + passthru = { 63 + updateScript = gnome.updateScript { 64 + packageName = "gnome-tetravex"; 65 + attrPath = "gnome.gnome-tetravex"; 66 + }; 67 + }; 31 68 32 69 meta = with lib; { 33 70 homepage = "https://wiki.gnome.org/Apps/Tetravex";
+12 -1
pkgs/desktops/gnome/games/hitori/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , fetchurl 4 + , fetchpatch 3 5 , meson 4 6 , ninja 5 7 , pkg-config ··· 24 26 url = "mirror://gnome/sources/hitori/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 27 sha256 = "99cQPLBjP7ATcwExqYw646IWK5+5SZ/H8ZUS1YG/ZWk="; 26 28 }; 29 + 30 + patches = [ 31 + # Fix build with meson 0.61 32 + # data/meson.build:3:0: ERROR: Function does not take positional arguments. 33 + (fetchpatch { 34 + url = "https://gitlab.gnome.org/GNOME/hitori/-/commit/d25728e122f1d7b985029a5ba96810c3e57c27f7.patch"; 35 + sha256 = "LwBpFFr+vLacLTpto7PwvO1p2lku6epyEv9YZvUvW+g="; 36 + }) 37 + ]; 27 38 28 39 nativeBuildInputs = [ 29 40 meson
+10
pkgs/desktops/gnome/misc/gitg/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchurl 4 + , fetchpatch 4 5 , vala 5 6 , gettext 6 7 , pkg-config ··· 35 36 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 37 sha256 = "f7Ybn7EPuqVI0j1wZbq9cq1j5iHeVYQMBlzm45hsRik="; 37 38 }; 39 + 40 + patches = [ 41 + # Fix build with meson 0.61 42 + # data/meson.build:8:5: ERROR: Function does not take positional arguments. 43 + (fetchpatch { 44 + url = "https://gitlab.gnome.org/GNOME/gitg/-/commit/1978973b12848741b08695ec2020bac98584d636.patch"; 45 + sha256 = "sha256-RzaGPGGiKMgjy0waFqt48rV2yWBGZgC3kHehhVhxktk="; 46 + }) 47 + ]; 38 48 39 49 nativeBuildInputs = [ 40 50 gobject-introspection
+2 -1
pkgs/desktops/plasma-5/default.nix
··· 133 133 milou = callPackage ./milou.nix {}; 134 134 oxygen = callPackage ./oxygen.nix {}; 135 135 plasma-browser-integration = callPackage ./plasma-browser-integration.nix {}; 136 - plasma-phone-components = callPackage ./plasma-phone-components {}; 137 136 plasma-desktop = callPackage ./plasma-desktop {}; 138 137 plasma-disks = callPackage ./plasma-disks.nix {}; 139 138 plasma-integration = callPackage ./plasma-integration {}; 139 + plasma-mobile = callPackage ./plasma-mobile {}; 140 140 plasma-nano = callPackage ./plasma-nano {}; 141 141 plasma-nm = callPackage ./plasma-nm {}; 142 142 plasma-pa = callPackage ./plasma-pa.nix { inherit gconf; }; ··· 168 168 169 169 } // lib.optionalAttrs (config.allowAliases or true) { 170 170 ksysguard = throw "ksysguard has been replaced with plasma-systemmonitor"; 171 + plasma-phone-components = throw "'plasma-phone-components' has been renamed to/replaced by 'plasma-mobile'"; 171 172 }; 172 173 in 173 174 lib.makeScope libsForQt5.newScope packages
+1 -1
pkgs/desktops/plasma-5/fetch.sh
··· 1 - WGET_ARGS=( https://download.kde.org/stable/plasma/5.24.0/ -A '*.tar.xz' ) 1 + WGET_ARGS=( https://download.kde.org/stable/plasma/5.24.3/ -A '*.tar.xz' )
+3 -3
pkgs/desktops/plasma-5/plasma-phone-components/default.nix pkgs/desktops/plasma-5/plasma-mobile/default.nix
··· 7 7 8 8 kdeclarative, kdelibs4support, kpeople, kconfig, krunner, kinit, kwayland, kwin, 9 9 plasma-framework, telepathy, libphonenumber, protobuf, libqofono, modemmanager-qt, 10 - plasma-workspace, 10 + networkmanager-qt, plasma-workspace, 11 11 maliit-framework, maliit-keyboard, 12 12 13 13 qtwayland, qttools ··· 16 16 let inherit (lib) getBin getLib; in 17 17 18 18 mkDerivation { 19 - pname = "plasma-phone-components"; 19 + pname = "plasma-mobile"; 20 20 21 21 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 22 22 buildInputs = [ 23 23 appstream libdbusmenu pam wayland 24 24 kdeclarative kdelibs4support kpeople kconfig krunner kinit kwayland kwin 25 25 plasma-framework telepathy libphonenumber protobuf libqofono modemmanager-qt 26 - maliit-framework maliit-keyboard 26 + networkmanager-qt maliit-framework maliit-keyboard 27 27 ]; 28 28 29 29 postPatch = ''
+2 -2
pkgs/desktops/plasma-5/plasma-workspace/0001-startkde.patch
··· 71 71 } 72 72 73 73 void cleanupPlasmaEnvironment(const std::optional<QProcessEnvironment> &oldSystemdEnvironment) 74 - @@ -500,7 +500,7 @@ QProcess *setupKSplash() 75 - KConfigGroup ksplashCfg = cfg.group("KSplash"); 74 + @@ -501,7 +501,7 @@ QProcess *setupKSplash() 76 75 if (ksplashCfg.readEntry("Engine", QStringLiteral("KSplashQML")) == QLatin1String("KSplashQML")) { 77 76 p = new QProcess; 77 + p->setProcessChannelMode(QProcess::ForwardedChannels); 78 78 - p->start(QStringLiteral("ksplashqml"), {ksplashCfg.readEntry("Theme", QStringLiteral("Breeze"))}); 79 79 + p->start(QStringLiteral(CMAKE_INSTALL_FULL_BINDIR "/ksplashqml"), {ksplashCfg.readEntry("Theme", QStringLiteral("Breeze"))}); 80 80 }
+214 -222
pkgs/desktops/plasma-5/srcs.nix
··· 4 4 5 5 { 6 6 bluedevil = { 7 - version = "5.24.0"; 7 + version = "5.24.3"; 8 8 src = fetchurl { 9 - url = "${mirror}/stable/plasma/5.24.0/bluedevil-5.24.0.tar.xz"; 10 - sha256 = "128br83hkxxrb6wca3d1racygdnfgk3r5md1gcjvgwb0gpy6bnzp"; 11 - name = "bluedevil-5.24.0.tar.xz"; 9 + url = "${mirror}/stable/plasma/5.24.3/bluedevil-5.24.3.tar.xz"; 10 + sha256 = "1hlyqhn14yq7960zfjwjygkpkvbmrlsanm1g1wrr7dwbmrp5dlcx"; 11 + name = "bluedevil-5.24.3.tar.xz"; 12 12 }; 13 13 }; 14 14 breeze = { 15 - version = "5.24.0"; 15 + version = "5.24.3"; 16 16 src = fetchurl { 17 - url = "${mirror}/stable/plasma/5.24.0/breeze-5.24.0.tar.xz"; 18 - sha256 = "08b3hihz98z7kdybb0y1b74q1dn511ga81qqqxzlfirgpp8c9f9q"; 19 - name = "breeze-5.24.0.tar.xz"; 17 + url = "${mirror}/stable/plasma/5.24.3/breeze-5.24.3.tar.xz"; 18 + sha256 = "0h19m6wmhjw8v6ys47kgzcb0h2nb9w2fcjzypnvmkvbjbkjr53sb"; 19 + name = "breeze-5.24.3.tar.xz"; 20 20 }; 21 21 }; 22 22 breeze-grub = { 23 - version = "5.24.0"; 23 + version = "5.24.3"; 24 24 src = fetchurl { 25 - url = "${mirror}/stable/plasma/5.24.0/breeze-grub-5.24.0.tar.xz"; 26 - sha256 = "0p0pzmsd6scssyxcm9n58mp7fc9vz1lg4n7c1ch4bqragih1gnlr"; 27 - name = "breeze-grub-5.24.0.tar.xz"; 25 + url = "${mirror}/stable/plasma/5.24.3/breeze-grub-5.24.3.tar.xz"; 26 + sha256 = "15cpmqp7klp4dhcil3i78iff4kjasfx273v36ml8y05hm8w0igjq"; 27 + name = "breeze-grub-5.24.3.tar.xz"; 28 28 }; 29 29 }; 30 30 breeze-gtk = { 31 - version = "5.24.0"; 31 + version = "5.24.3"; 32 32 src = fetchurl { 33 - url = "${mirror}/stable/plasma/5.24.0/breeze-gtk-5.24.0.tar.xz"; 34 - sha256 = "090cczxc1ciic6wghz3p21gpfdwnc8pjcvq6wn7bfkp1i3r5mihp"; 35 - name = "breeze-gtk-5.24.0.tar.xz"; 33 + url = "${mirror}/stable/plasma/5.24.3/breeze-gtk-5.24.3.tar.xz"; 34 + sha256 = "1922s17mh4ifaqbf4b7p6yj8pwd6z3qwpbf21j1fqhmdk4pvn499"; 35 + name = "breeze-gtk-5.24.3.tar.xz"; 36 36 }; 37 37 }; 38 38 breeze-plymouth = { 39 - version = "5.24.0"; 39 + version = "5.24.3"; 40 40 src = fetchurl { 41 - url = "${mirror}/stable/plasma/5.24.0/breeze-plymouth-5.24.0.tar.xz"; 42 - sha256 = "1qqpwgp1yy3p1s0z21xwds6wx4z8daibkgk1bynj73cx7a2wch9g"; 43 - name = "breeze-plymouth-5.24.0.tar.xz"; 41 + url = "${mirror}/stable/plasma/5.24.3/breeze-plymouth-5.24.3.tar.xz"; 42 + sha256 = "0nkf0ll4hcawmkd7nrh8gcf6hhbl0ajxiz2azf9njab9pv2lcz1j"; 43 + name = "breeze-plymouth-5.24.3.tar.xz"; 44 44 }; 45 45 }; 46 46 discover = { 47 - version = "5.24.0"; 47 + version = "5.24.3"; 48 48 src = fetchurl { 49 - url = "${mirror}/stable/plasma/5.24.0/discover-5.24.0.tar.xz"; 50 - sha256 = "0dbfvqana31wqharsbyb8rcrw1w6l9x1g6p02aqwiph0inkrz20q"; 51 - name = "discover-5.24.0.tar.xz"; 49 + url = "${mirror}/stable/plasma/5.24.3/discover-5.24.3.tar.xz"; 50 + sha256 = "097m5njz86vi4innap1mvizas60r1qcrdzdgsid1hd6p5a92rwca"; 51 + name = "discover-5.24.3.tar.xz"; 52 52 }; 53 53 }; 54 54 drkonqi = { 55 - version = "5.24.0"; 55 + version = "5.24.3"; 56 56 src = fetchurl { 57 - url = "${mirror}/stable/plasma/5.24.0/drkonqi-5.24.0.tar.xz"; 58 - sha256 = "1ismgg7rcxijkprn4sci15wn4w2gmdn0fdbgvzxdcrqaf4g6qc3s"; 59 - name = "drkonqi-5.24.0.tar.xz"; 57 + url = "${mirror}/stable/plasma/5.24.3/drkonqi-5.24.3.tar.xz"; 58 + sha256 = "1n6psvr3washk796zrc8ag011fwy677h2mdkw9ijx8dhrk80br0k"; 59 + name = "drkonqi-5.24.3.tar.xz"; 60 60 }; 61 61 }; 62 62 kactivitymanagerd = { 63 - version = "5.24.0"; 63 + version = "5.24.3"; 64 64 src = fetchurl { 65 - url = "${mirror}/stable/plasma/5.24.0/kactivitymanagerd-5.24.0.tar.xz"; 66 - sha256 = "12dvgm3ilyqlxzm8209b7g42nfk0ahfzizs3pbmi18zapjszcsps"; 67 - name = "kactivitymanagerd-5.24.0.tar.xz"; 65 + url = "${mirror}/stable/plasma/5.24.3/kactivitymanagerd-5.24.3.tar.xz"; 66 + sha256 = "0qxf3j36dj1yklnl27znsi9qdjmn6nr779cnzms38x76dq9kxblw"; 67 + name = "kactivitymanagerd-5.24.3.tar.xz"; 68 68 }; 69 69 }; 70 70 kde-cli-tools = { 71 - version = "5.24.0"; 71 + version = "5.24.3"; 72 72 src = fetchurl { 73 - url = "${mirror}/stable/plasma/5.24.0/kde-cli-tools-5.24.0.tar.xz"; 74 - sha256 = "0l8a4ysz1cqwdh3c20q51qamwh58vvs8yzb5jdvbp8bahsyyc4mr"; 75 - name = "kde-cli-tools-5.24.0.tar.xz"; 73 + url = "${mirror}/stable/plasma/5.24.3/kde-cli-tools-5.24.3.tar.xz"; 74 + sha256 = "00z8yxic5ibk05x8c25dsc4ijvk6yv0aw1iyfhnpnzmdwdydlr7y"; 75 + name = "kde-cli-tools-5.24.3.tar.xz"; 76 76 }; 77 77 }; 78 - kde-gtk-config = { 79 - version = "5.24.0"; 78 + kdecoration = { 79 + version = "5.24.3"; 80 80 src = fetchurl { 81 - url = "${mirror}/stable/plasma/5.24.0/kde-gtk-config-5.24.0.tar.xz"; 82 - sha256 = "024pglycz2kbp9npnvbx5qpkz9381wyyp6xkalqynzr9gy58syrx"; 83 - name = "kde-gtk-config-5.24.0.tar.xz"; 81 + url = "${mirror}/stable/plasma/5.24.3/kdecoration-5.24.3.tar.xz"; 82 + sha256 = "0dpnaf5myn1h368cnkq9g6xfm1sqmyam6bxyidbd5j3dyy1kvz5v"; 83 + name = "kdecoration-5.24.3.tar.xz"; 84 84 }; 85 85 }; 86 - kdecoration = { 87 - version = "5.24.0"; 86 + kde-gtk-config = { 87 + version = "5.24.3"; 88 88 src = fetchurl { 89 - url = "${mirror}/stable/plasma/5.24.0/kdecoration-5.24.0.tar.xz"; 90 - sha256 = "0xl8892w49z11k9mxgh7lp8a4l1x8wldmaij82kd1vnh9sxvb3f3"; 91 - name = "kdecoration-5.24.0.tar.xz"; 89 + url = "${mirror}/stable/plasma/5.24.3/kde-gtk-config-5.24.3.tar.xz"; 90 + sha256 = "0p50kf34csdrgck1y09d3lnz0r9ly0ca4778achrc59yr4qcsjzv"; 91 + name = "kde-gtk-config-5.24.3.tar.xz"; 92 92 }; 93 93 }; 94 94 kdeplasma-addons = { 95 - version = "5.24.0"; 95 + version = "5.24.3"; 96 96 src = fetchurl { 97 - url = "${mirror}/stable/plasma/5.24.0/kdeplasma-addons-5.24.0.tar.xz"; 98 - sha256 = "0q8yf0gz4gjn1kyf545i8fpsn2dpy48qhjpm8ssp3ywv6s2abjxn"; 99 - name = "kdeplasma-addons-5.24.0.tar.xz"; 97 + url = "${mirror}/stable/plasma/5.24.3/kdeplasma-addons-5.24.3.tar.xz"; 98 + sha256 = "0g7jcvd6abnlzz9ibnc7phzm58pn6dv3795w4hhy47738jkhizl6"; 99 + name = "kdeplasma-addons-5.24.3.tar.xz"; 100 100 }; 101 101 }; 102 102 kgamma5 = { 103 - version = "5.24.0"; 103 + version = "5.24.3"; 104 104 src = fetchurl { 105 - url = "${mirror}/stable/plasma/5.24.0/kgamma5-5.24.0.tar.xz"; 106 - sha256 = "07w7l25snpi98j5bxg3zri5lsymabnli6h9d5w0qx0c19wzjwayl"; 107 - name = "kgamma5-5.24.0.tar.xz"; 105 + url = "${mirror}/stable/plasma/5.24.3/kgamma5-5.24.3.tar.xz"; 106 + sha256 = "0rwqvz14a50s43p74n19v1zzd9y8f2lylfappxmhrdyxmbgkpnk6"; 107 + name = "kgamma5-5.24.3.tar.xz"; 108 108 }; 109 109 }; 110 110 khotkeys = { 111 - version = "5.24.0"; 111 + version = "5.24.3"; 112 112 src = fetchurl { 113 - url = "${mirror}/stable/plasma/5.24.0/khotkeys-5.24.0.tar.xz"; 114 - sha256 = "0gjdwdzg5vybalima8jnwrprqj0rnxmzds0x8w707nb9ypz4k7k6"; 115 - name = "khotkeys-5.24.0.tar.xz"; 113 + url = "${mirror}/stable/plasma/5.24.3/khotkeys-5.24.3.tar.xz"; 114 + sha256 = "1jxg91rpz09sh13fz270pxfw40qdy6p50j5xw7cpnyqlk2l5zx0p"; 115 + name = "khotkeys-5.24.3.tar.xz"; 116 116 }; 117 117 }; 118 118 kinfocenter = { 119 - version = "5.24.0"; 119 + version = "5.24.3"; 120 120 src = fetchurl { 121 - url = "${mirror}/stable/plasma/5.24.0/kinfocenter-5.24.0.tar.xz"; 122 - sha256 = "09fq69q4300ppi1y9pp8s4h1bbai1p5qsz384bb445pjvwsyn6nf"; 123 - name = "kinfocenter-5.24.0.tar.xz"; 121 + url = "${mirror}/stable/plasma/5.24.3/kinfocenter-5.24.3.tar.xz"; 122 + sha256 = "08z2044bl0v4ydlx2chv849y6m4py0yd4lnw76sycd14lnvsrxfj"; 123 + name = "kinfocenter-5.24.3.tar.xz"; 124 124 }; 125 125 }; 126 126 kmenuedit = { 127 - version = "5.24.0"; 127 + version = "5.24.3"; 128 128 src = fetchurl { 129 - url = "${mirror}/stable/plasma/5.24.0/kmenuedit-5.24.0.tar.xz"; 130 - sha256 = "0bjiqdw4wqi5vpkn98wjjz23x6k47lvxac8nyxs8ddd9i8mlklij"; 131 - name = "kmenuedit-5.24.0.tar.xz"; 129 + url = "${mirror}/stable/plasma/5.24.3/kmenuedit-5.24.3.tar.xz"; 130 + sha256 = "1yivrdix4jiycfbw9g6pzx8zkmdq4g8g51ndc7sy3r0qxzgx1icb"; 131 + name = "kmenuedit-5.24.3.tar.xz"; 132 132 }; 133 133 }; 134 134 kscreen = { 135 - version = "5.24.0"; 135 + version = "5.24.3"; 136 136 src = fetchurl { 137 - url = "${mirror}/stable/plasma/5.24.0/kscreen-5.24.0.tar.xz"; 138 - sha256 = "19kqvvgj209ri035ldzn1k5l36l54rvagsnfzhw61v8rd9r6r02x"; 139 - name = "kscreen-5.24.0.tar.xz"; 137 + url = "${mirror}/stable/plasma/5.24.3/kscreen-5.24.3.tar.xz"; 138 + sha256 = "1wjbd33h8473v8i5qxdccxrsv04v6jyd7scrqdxqaln9n8ylp08f"; 139 + name = "kscreen-5.24.3.tar.xz"; 140 140 }; 141 141 }; 142 142 kscreenlocker = { 143 - version = "5.24.0"; 143 + version = "5.24.3"; 144 144 src = fetchurl { 145 - url = "${mirror}/stable/plasma/5.24.0/kscreenlocker-5.24.0.tar.xz"; 146 - sha256 = "0d827h5br27sdd925brljb1mwnkzj739g5q0k8xkw9f9q9bxk8l8"; 147 - name = "kscreenlocker-5.24.0.tar.xz"; 145 + url = "${mirror}/stable/plasma/5.24.3/kscreenlocker-5.24.3.tar.xz"; 146 + sha256 = "1dh3z55hwakj11ffn2fm79vnlw7gcg1nkcxbxvcdcpq84ahpq583"; 147 + name = "kscreenlocker-5.24.3.tar.xz"; 148 148 }; 149 149 }; 150 150 ksshaskpass = { 151 - version = "5.24.0"; 151 + version = "5.24.3"; 152 152 src = fetchurl { 153 - url = "${mirror}/stable/plasma/5.24.0/ksshaskpass-5.24.0.tar.xz"; 154 - sha256 = "1xiw25imhmkcikp746q9s393djmkdpkh9jb7h1diwwhambnimy6d"; 155 - name = "ksshaskpass-5.24.0.tar.xz"; 153 + url = "${mirror}/stable/plasma/5.24.3/ksshaskpass-5.24.3.tar.xz"; 154 + sha256 = "0ivq9nyyqm1rrm6ck26jlsh8qv9q98dz5qwvcnpgpmxb3mr1dgiv"; 155 + name = "ksshaskpass-5.24.3.tar.xz"; 156 156 }; 157 157 }; 158 158 ksystemstats = { 159 - version = "5.24.0"; 159 + version = "5.24.3"; 160 160 src = fetchurl { 161 - url = "${mirror}/stable/plasma/5.24.0/ksystemstats-5.24.0.tar.xz"; 162 - sha256 = "1182dfcg1av9329g9p9ll64yiwyxm46kczakxb3vj4d2ajaclzm1"; 163 - name = "ksystemstats-5.24.0.tar.xz"; 161 + url = "${mirror}/stable/plasma/5.24.3/ksystemstats-5.24.3.tar.xz"; 162 + sha256 = "03ikpd3m0qk8cb92g63i7q9c8bks7ggf1pmmig559cmg7gbknc2c"; 163 + name = "ksystemstats-5.24.3.tar.xz"; 164 164 }; 165 165 }; 166 166 kwallet-pam = { 167 - version = "5.24.0"; 167 + version = "5.24.3"; 168 168 src = fetchurl { 169 - url = "${mirror}/stable/plasma/5.24.0/kwallet-pam-5.24.0.tar.xz"; 170 - sha256 = "0jzi2rcwxxjp3lg8cywp96ysnwm51a0m9pdwk8z7n3v1ncr2p38q"; 171 - name = "kwallet-pam-5.24.0.tar.xz"; 169 + url = "${mirror}/stable/plasma/5.24.3/kwallet-pam-5.24.3.tar.xz"; 170 + sha256 = "0zxdrpjq8sg3qw2gfkvjs567b41labi940cq4qrix395v7251p9k"; 171 + name = "kwallet-pam-5.24.3.tar.xz"; 172 172 }; 173 173 }; 174 174 kwayland-integration = { 175 - version = "5.24.0"; 175 + version = "5.24.3"; 176 176 src = fetchurl { 177 - url = "${mirror}/stable/plasma/5.24.0/kwayland-integration-5.24.0.tar.xz"; 178 - sha256 = "1yq9cjb8xcvqr747p5hm8xxg4rn6mahchd5c2camv3qrjbqm8ll6"; 179 - name = "kwayland-integration-5.24.0.tar.xz"; 177 + url = "${mirror}/stable/plasma/5.24.3/kwayland-integration-5.24.3.tar.xz"; 178 + sha256 = "1kq5vrrplbdxri8610h89apfz07a6xi1gnlvmr8gbsvas5zicvwz"; 179 + name = "kwayland-integration-5.24.3.tar.xz"; 180 180 }; 181 181 }; 182 182 kwayland-server = { 183 - version = "5.24.0"; 183 + version = "5.24.3"; 184 184 src = fetchurl { 185 - url = "${mirror}/stable/plasma/5.24.0/kwayland-server-5.24.0.tar.xz"; 186 - sha256 = "1zbi4c14zvjwkxxqlg80mv749ybnkmcdvn72irmrzbbf4g1z7k32"; 187 - name = "kwayland-server-5.24.0.tar.xz"; 185 + url = "${mirror}/stable/plasma/5.24.3/kwayland-server-5.24.3.tar.xz"; 186 + sha256 = "0fq61qk3cp4xg9759ylqqw5ncx9s7kayjf0bilg5m725bfhj02sn"; 187 + name = "kwayland-server-5.24.3.tar.xz"; 188 188 }; 189 189 }; 190 190 kwin = { 191 - version = "5.24.0"; 191 + version = "5.24.3"; 192 192 src = fetchurl { 193 - url = "${mirror}/stable/plasma/5.24.0/kwin-5.24.0.tar.xz"; 194 - sha256 = "19q5pphqnr1xc1c4z0sd3yr60jsiq190llwllfmlj4acjlbcbbn6"; 195 - name = "kwin-5.24.0.tar.xz"; 193 + url = "${mirror}/stable/plasma/5.24.3/kwin-5.24.3.tar.xz"; 194 + sha256 = "0szlrcsj4h4fa5yf27nmza7c4dyc0xcwdrihs05pl5qk5bivfkfq"; 195 + name = "kwin-5.24.3.tar.xz"; 196 196 }; 197 197 }; 198 198 kwrited = { 199 - version = "5.24.0"; 199 + version = "5.24.3"; 200 200 src = fetchurl { 201 - url = "${mirror}/stable/plasma/5.24.0/kwrited-5.24.0.tar.xz"; 202 - sha256 = "018wvkkqzg4qyjd0w1h2d3ms72ghlq8mg79rrsj518l7hhlv6rsg"; 203 - name = "kwrited-5.24.0.tar.xz"; 201 + url = "${mirror}/stable/plasma/5.24.3/kwrited-5.24.3.tar.xz"; 202 + sha256 = "1sgd3iik647pz2zr5cpsbwm2ll8f11xyw2jv2sfxkbiiw53qaxid"; 203 + name = "kwrited-5.24.3.tar.xz"; 204 204 }; 205 205 }; 206 206 layer-shell-qt = { 207 - version = "5.24.0"; 207 + version = "5.24.3"; 208 208 src = fetchurl { 209 - url = "${mirror}/stable/plasma/5.24.0/layer-shell-qt-5.24.0.tar.xz"; 210 - sha256 = "0y3z2xr9vpxnm84gs1zpa1apma341wza7pjcpwibaqd6aiz9vpqv"; 211 - name = "layer-shell-qt-5.24.0.tar.xz"; 209 + url = "${mirror}/stable/plasma/5.24.3/layer-shell-qt-5.24.3.tar.xz"; 210 + sha256 = "0h3xlvmgyxyzxvazgbbn0a9l14hg5d38cl9hclnwmrnpwbn0bqax"; 211 + name = "layer-shell-qt-5.24.3.tar.xz"; 212 212 }; 213 213 }; 214 214 libkscreen = { 215 - version = "5.24.0"; 215 + version = "5.24.3"; 216 216 src = fetchurl { 217 - url = "${mirror}/stable/plasma/5.24.0/libkscreen-5.24.0.tar.xz"; 218 - sha256 = "0h6sycib940gbw2rf6ax3v7mg77pzga36xzwzbyz9h49fba3dpjk"; 219 - name = "libkscreen-5.24.0.tar.xz"; 217 + url = "${mirror}/stable/plasma/5.24.3/libkscreen-5.24.3.tar.xz"; 218 + sha256 = "18777lwn5j0isc347dks25731byyfdyls79lj6hnxqb6807lz1x6"; 219 + name = "libkscreen-5.24.3.tar.xz"; 220 220 }; 221 221 }; 222 222 libksysguard = { 223 - version = "5.24.0"; 223 + version = "5.24.3"; 224 224 src = fetchurl { 225 - url = "${mirror}/stable/plasma/5.24.0/libksysguard-5.24.0.tar.xz"; 226 - sha256 = "1f0hwk2kzmgpjxmsjfd4g25sr91qyazp4hysyfjdhrrs2ajdkm0b"; 227 - name = "libksysguard-5.24.0.tar.xz"; 225 + url = "${mirror}/stable/plasma/5.24.3/libksysguard-5.24.3.tar.xz"; 226 + sha256 = "18piiy24rd5fzvp4cnhgx0d4x4m6fnxx01zm1mx0sh676g7m31hl"; 227 + name = "libksysguard-5.24.3.tar.xz"; 228 228 }; 229 229 }; 230 230 milou = { 231 - version = "5.24.0"; 231 + version = "5.24.3"; 232 232 src = fetchurl { 233 - url = "${mirror}/stable/plasma/5.24.0/milou-5.24.0.tar.xz"; 234 - sha256 = "0sxsisrzfancxwk8lsxhj2b85sgjdb9gzy4l0nax4fp942ygiirs"; 235 - name = "milou-5.24.0.tar.xz"; 233 + url = "${mirror}/stable/plasma/5.24.3/milou-5.24.3.tar.xz"; 234 + sha256 = "06xx4afym92hfpvbiqrv7mx30bdm3dhdfn8vki5zxq2k0rv0pmri"; 235 + name = "milou-5.24.3.tar.xz"; 236 236 }; 237 237 }; 238 238 oxygen = { 239 - version = "5.24.0"; 239 + version = "5.24.3"; 240 240 src = fetchurl { 241 - url = "${mirror}/stable/plasma/5.24.0/oxygen-5.24.0.tar.xz"; 242 - sha256 = "0ym74q29c2f32l1xm3kd0s2p7zzbg6a96g7d39fkp5paxicx5fb7"; 243 - name = "oxygen-5.24.0.tar.xz"; 241 + url = "${mirror}/stable/plasma/5.24.3/oxygen-5.24.3.tar.xz"; 242 + sha256 = "02j0drc24mf2pfhdgzri5sdcscq1bbj4lhhmhp6bn1v74wybv381"; 243 + name = "oxygen-5.24.3.tar.xz"; 244 244 }; 245 245 }; 246 246 plasma-browser-integration = { 247 - version = "5.24.0"; 247 + version = "5.24.3"; 248 248 src = fetchurl { 249 - url = "${mirror}/stable/plasma/5.24.0/plasma-browser-integration-5.24.0.tar.xz"; 250 - sha256 = "1gp9m7drwxflb0ms0vbvk7qydm1bghhzalc00lpcjh4nrf0bgh33"; 251 - name = "plasma-browser-integration-5.24.0.tar.xz"; 249 + url = "${mirror}/stable/plasma/5.24.3/plasma-browser-integration-5.24.3.tar.xz"; 250 + sha256 = "1msib3c8arybqbv1vfj1ijx74a34a02hn8gvjy4sf95zcl07mc20"; 251 + name = "plasma-browser-integration-5.24.3.tar.xz"; 252 252 }; 253 253 }; 254 254 plasma-desktop = { 255 - version = "5.24.0"; 255 + version = "5.24.3"; 256 256 src = fetchurl { 257 - url = "${mirror}/stable/plasma/5.24.0/plasma-desktop-5.24.0.tar.xz"; 258 - sha256 = "1brnm6yivjy2piy88ncmclv4g2rxkaiyi923c557dmiipah2bx7z"; 259 - name = "plasma-desktop-5.24.0.tar.xz"; 257 + url = "${mirror}/stable/plasma/5.24.3/plasma-desktop-5.24.3.tar.xz"; 258 + sha256 = "1lwizprs6nk6nibydwkwmpi9c7c50lvg2k188pb6ddz2sb7pwgjq"; 259 + name = "plasma-desktop-5.24.3.tar.xz"; 260 260 }; 261 261 }; 262 262 plasma-disks = { 263 - version = "5.24.0"; 263 + version = "5.24.3"; 264 264 src = fetchurl { 265 - url = "${mirror}/stable/plasma/5.24.0/plasma-disks-5.24.0.tar.xz"; 266 - sha256 = "1c3pwnyhdmj7grk3gjh4kw5437m5cxhp70qsbhnfsaacps3mdv5d"; 267 - name = "plasma-disks-5.24.0.tar.xz"; 265 + url = "${mirror}/stable/plasma/5.24.3/plasma-disks-5.24.3.tar.xz"; 266 + sha256 = "0nklcimxyvci3xa6nc5jxbcxds4a14vkkwihgc6xfpc7xcca0wcy"; 267 + name = "plasma-disks-5.24.3.tar.xz"; 268 268 }; 269 269 }; 270 270 plasma-firewall = { 271 - version = "5.24.0"; 271 + version = "5.24.3"; 272 272 src = fetchurl { 273 - url = "${mirror}/stable/plasma/5.24.0/plasma-firewall-5.24.0.tar.xz"; 274 - sha256 = "1jjw414547qksjxg2x5n666iq6qildbn9k9c8hqipmwnlkprpbb1"; 275 - name = "plasma-firewall-5.24.0.tar.xz"; 273 + url = "${mirror}/stable/plasma/5.24.3/plasma-firewall-5.24.3.tar.xz"; 274 + sha256 = "0r7gh3asnc5lbfsp1jb33lmgcxfpjmlrqlyz41g0wv9aj9x6pwxz"; 275 + name = "plasma-firewall-5.24.3.tar.xz"; 276 276 }; 277 277 }; 278 278 plasma-integration = { 279 - version = "5.24.0"; 279 + version = "5.24.3"; 280 280 src = fetchurl { 281 - url = "${mirror}/stable/plasma/5.24.0/plasma-integration-5.24.0.tar.xz"; 282 - sha256 = "17dqf6j1za3q8hzk7jfc5wc7s4kr28slrkq5iqvzqgyqjqy3z7rv"; 283 - name = "plasma-integration-5.24.0.tar.xz"; 281 + url = "${mirror}/stable/plasma/5.24.3/plasma-integration-5.24.3.tar.xz"; 282 + sha256 = "031w205icblf50ps7bw7wp5q4azbqpcp4bnig2wh5d1lc8xqzvvs"; 283 + name = "plasma-integration-5.24.3.tar.xz"; 284 284 }; 285 285 }; 286 286 plasma-mobile = { 287 - version = "5.24.0"; 287 + version = "5.24.3"; 288 288 src = fetchurl { 289 - url = "${mirror}/stable/plasma/5.24.0/plasma-mobile-5.24.0.tar.xz"; 290 - sha256 = "0g9mbb8dzqcngc1sq43knwyc3kr81w3vl359wyrgvnr8r1qikv2z"; 291 - name = "plasma-mobile-5.24.0.tar.xz"; 289 + url = "${mirror}/stable/plasma/5.24.3/plasma-mobile-5.24.3.tar.xz"; 290 + sha256 = "1bwmy7xvd8wmh0snqqjh9jjgawib8ks2g30w48sqxwhplhf3da58"; 291 + name = "plasma-mobile-5.24.3.tar.xz"; 292 292 }; 293 293 }; 294 294 plasma-nano = { 295 - version = "5.24.0"; 295 + version = "5.24.3"; 296 296 src = fetchurl { 297 - url = "${mirror}/stable/plasma/5.24.0/plasma-nano-5.24.0.tar.xz"; 298 - sha256 = "0i8lsp83g2i3c88djkmxawwbwa6lr0w89lzxj73fr6az6vdcrypj"; 299 - name = "plasma-nano-5.24.0.tar.xz"; 297 + url = "${mirror}/stable/plasma/5.24.3/plasma-nano-5.24.3.tar.xz"; 298 + sha256 = "13jxhfi3c3dhg7zdyfqnsii661h1am0w9dsv82dalqvwr1mw28l5"; 299 + name = "plasma-nano-5.24.3.tar.xz"; 300 300 }; 301 301 }; 302 302 plasma-nm = { 303 - version = "5.24.0"; 303 + version = "5.24.3"; 304 304 src = fetchurl { 305 - url = "${mirror}/stable/plasma/5.24.0/plasma-nm-5.24.0.tar.xz"; 306 - sha256 = "17pmyklmr46qg21w4ql9q5nhfdjw1xmmv1qz7lyhlww7qa6mz1ny"; 307 - name = "plasma-nm-5.24.0.tar.xz"; 305 + url = "${mirror}/stable/plasma/5.24.3/plasma-nm-5.24.3.tar.xz"; 306 + sha256 = "1z9vzj2mbvqklnjxf2izpx9s6cq097im0kz41fy4c5cjxna4xxic"; 307 + name = "plasma-nm-5.24.3.tar.xz"; 308 308 }; 309 309 }; 310 310 plasma-pa = { 311 - version = "5.24.0"; 311 + version = "5.24.3"; 312 312 src = fetchurl { 313 - url = "${mirror}/stable/plasma/5.24.0/plasma-pa-5.24.0.tar.xz"; 314 - sha256 = "19n2plbk455qwgq0lcpb7rj2ck78ck64fpvlldmh53j9vxyzcasl"; 315 - name = "plasma-pa-5.24.0.tar.xz"; 316 - }; 317 - }; 318 - plasma-phone-components = { 319 - version = "5.24.0"; 320 - src = fetchurl { 321 - url = "${mirror}/stable/plasma/5.24.0/plasma-phone-components-5.24.0.tar.xz"; 322 - sha256 = "0g9mbb8dzqcngc1sq43knwyc3kr81w3vl359wyrgvnr8r1qikv2z"; 323 - name = "plasma-phone-components-5.24.0.tar.xz"; 313 + url = "${mirror}/stable/plasma/5.24.3/plasma-pa-5.24.3.tar.xz"; 314 + sha256 = "0n87rb04izd0ix50iy2dgj6yzzr626vhpfk76lnqr57jz6fbx3z1"; 315 + name = "plasma-pa-5.24.3.tar.xz"; 324 316 }; 325 317 }; 326 318 plasma-sdk = { 327 - version = "5.24.0"; 319 + version = "5.24.3"; 328 320 src = fetchurl { 329 - url = "${mirror}/stable/plasma/5.24.0/plasma-sdk-5.24.0.tar.xz"; 330 - sha256 = "16fn98rv4qaci3b5whzjs6csbbxyrnmnr9gngn5dirdpla8cffld"; 331 - name = "plasma-sdk-5.24.0.tar.xz"; 321 + url = "${mirror}/stable/plasma/5.24.3/plasma-sdk-5.24.3.tar.xz"; 322 + sha256 = "0g6nypqsbmsp9msixd7p25lk58zismdamkp41f5lx3cbb49x1fpr"; 323 + name = "plasma-sdk-5.24.3.tar.xz"; 332 324 }; 333 325 }; 334 326 plasma-systemmonitor = { 335 - version = "5.24.0"; 327 + version = "5.24.3"; 336 328 src = fetchurl { 337 - url = "${mirror}/stable/plasma/5.24.0/plasma-systemmonitor-5.24.0.tar.xz"; 338 - sha256 = "0zkvbgwm2rpyisbx72a75ywy45d2primjjpnmw76x6924j8sp7pd"; 339 - name = "plasma-systemmonitor-5.24.0.tar.xz"; 329 + url = "${mirror}/stable/plasma/5.24.3/plasma-systemmonitor-5.24.3.tar.xz"; 330 + sha256 = "17a3q1az4d3xpk2ifqsj6sz7r4apxy58kk2r2l14p6s6aszhqk4h"; 331 + name = "plasma-systemmonitor-5.24.3.tar.xz"; 340 332 }; 341 333 }; 342 334 plasma-tests = { 343 - version = "5.24.0"; 335 + version = "5.24.3"; 344 336 src = fetchurl { 345 - url = "${mirror}/stable/plasma/5.24.0/plasma-tests-5.24.0.tar.xz"; 346 - sha256 = "1q95mrrb0p9ah4dg3bhkc9yh2ydasdmyd87jclraybcsfl6fi9kf"; 347 - name = "plasma-tests-5.24.0.tar.xz"; 337 + url = "${mirror}/stable/plasma/5.24.3/plasma-tests-5.24.3.tar.xz"; 338 + sha256 = "1x5hr465kj3dg6c335lji2lxvp7cbn86181l78qk4l75sj1ss721"; 339 + name = "plasma-tests-5.24.3.tar.xz"; 348 340 }; 349 341 }; 350 342 plasma-thunderbolt = { 351 - version = "5.24.0"; 343 + version = "5.24.3"; 352 344 src = fetchurl { 353 - url = "${mirror}/stable/plasma/5.24.0/plasma-thunderbolt-5.24.0.tar.xz"; 354 - sha256 = "1vsb3wf2sgbfbm2wk8kj18qhv4z9l4yzxaf8g30zpz4d1sva7jdc"; 355 - name = "plasma-thunderbolt-5.24.0.tar.xz"; 345 + url = "${mirror}/stable/plasma/5.24.3/plasma-thunderbolt-5.24.3.tar.xz"; 346 + sha256 = "1px5vfk37ak6hj6q3ipljj2dpazdbgdsga6nbkwcfn31708c7gjj"; 347 + name = "plasma-thunderbolt-5.24.3.tar.xz"; 356 348 }; 357 349 }; 358 350 plasma-vault = { 359 - version = "5.24.0"; 351 + version = "5.24.3"; 360 352 src = fetchurl { 361 - url = "${mirror}/stable/plasma/5.24.0/plasma-vault-5.24.0.tar.xz"; 362 - sha256 = "1vk38iarhsr6rdrmhbcyjziw3dn8yjmgyn4dy2xdr0l4yqpq7qzz"; 363 - name = "plasma-vault-5.24.0.tar.xz"; 353 + url = "${mirror}/stable/plasma/5.24.3/plasma-vault-5.24.3.tar.xz"; 354 + sha256 = "0f5yhz7qz4bqj7mc7hv7mvh2ji82pp02c901ws5cwwsh23yrhjcd"; 355 + name = "plasma-vault-5.24.3.tar.xz"; 364 356 }; 365 357 }; 366 358 plasma-workspace = { 367 - version = "5.24.0"; 359 + version = "5.24.3"; 368 360 src = fetchurl { 369 - url = "${mirror}/stable/plasma/5.24.0/plasma-workspace-5.24.0.tar.xz"; 370 - sha256 = "0jnksl2i2viw5aaqv38b371z4lxrxah6p1bjp40a1zfa68vr8dz3"; 371 - name = "plasma-workspace-5.24.0.tar.xz"; 361 + url = "${mirror}/stable/plasma/5.24.3/plasma-workspace-5.24.3.tar.xz"; 362 + sha256 = "1d1a8k75q0rdbbwkx8p1i38hc6xv9kggvfm6973lh3q0pc75qk0h"; 363 + name = "plasma-workspace-5.24.3.tar.xz"; 372 364 }; 373 365 }; 374 366 plasma-workspace-wallpapers = { 375 - version = "5.24.0"; 367 + version = "5.24.3"; 376 368 src = fetchurl { 377 - url = "${mirror}/stable/plasma/5.24.0/plasma-workspace-wallpapers-5.24.0.tar.xz"; 378 - sha256 = "0329ks3q32nb9k3dxddlmxccjilgyxx5jplwbpln5b0p4plkn77k"; 379 - name = "plasma-workspace-wallpapers-5.24.0.tar.xz"; 369 + url = "${mirror}/stable/plasma/5.24.3/plasma-workspace-wallpapers-5.24.3.tar.xz"; 370 + sha256 = "0j1qqjc27grh3k02dgfb657ps11gym28lc9hzcw3qdxkf3djw9fs"; 371 + name = "plasma-workspace-wallpapers-5.24.3.tar.xz"; 380 372 }; 381 373 }; 382 374 plymouth-kcm = { 383 - version = "5.24.0"; 375 + version = "5.24.3"; 384 376 src = fetchurl { 385 - url = "${mirror}/stable/plasma/5.24.0/plymouth-kcm-5.24.0.tar.xz"; 386 - sha256 = "1pcvfrv8vmk43s14209iv8gngi3al9g4za74yz2l79nxscyppzh5"; 387 - name = "plymouth-kcm-5.24.0.tar.xz"; 377 + url = "${mirror}/stable/plasma/5.24.3/plymouth-kcm-5.24.3.tar.xz"; 378 + sha256 = "196nx8h54bnnrly12zvnwl22ksr9nk2mi6g39k4xmp28agw94jv5"; 379 + name = "plymouth-kcm-5.24.3.tar.xz"; 388 380 }; 389 381 }; 390 382 polkit-kde-agent = { 391 - version = "1-5.24.0"; 383 + version = "1-5.24.3"; 392 384 src = fetchurl { 393 - url = "${mirror}/stable/plasma/5.24.0/polkit-kde-agent-1-5.24.0.tar.xz"; 394 - sha256 = "1qayxff5hl8qr9p5bsfrq0cz3x1jlwc8f0nx66rkbngphdm7085n"; 395 - name = "polkit-kde-agent-1-5.24.0.tar.xz"; 385 + url = "${mirror}/stable/plasma/5.24.3/polkit-kde-agent-1-5.24.3.tar.xz"; 386 + sha256 = "1mbr8xpjvd8w9b5nd6k8fxcnjykzzygwqk19il4wirqyh4n3k3bq"; 387 + name = "polkit-kde-agent-1-5.24.3.tar.xz"; 396 388 }; 397 389 }; 398 390 powerdevil = { 399 - version = "5.24.0"; 391 + version = "5.24.3"; 400 392 src = fetchurl { 401 - url = "${mirror}/stable/plasma/5.24.0/powerdevil-5.24.0.tar.xz"; 402 - sha256 = "06mrahlrqibvgfhcxywh72h6jblqq6sjsxqjzbq7zbq61vgc3jg3"; 403 - name = "powerdevil-5.24.0.tar.xz"; 393 + url = "${mirror}/stable/plasma/5.24.3/powerdevil-5.24.3.tar.xz"; 394 + sha256 = "047h4lz8d1kdyakh5x7fr3kpk35r38z39vm7wb974rd9hjz7alj9"; 395 + name = "powerdevil-5.24.3.tar.xz"; 404 396 }; 405 397 }; 406 398 qqc2-breeze-style = { 407 - version = "5.24.0"; 399 + version = "5.24.3"; 408 400 src = fetchurl { 409 - url = "${mirror}/stable/plasma/5.24.0/qqc2-breeze-style-5.24.0.tar.xz"; 410 - sha256 = "11kwrqsq5i1y1kvhg75hvax7bz122cjdsvb66f6hvni09yfcgyci"; 411 - name = "qqc2-breeze-style-5.24.0.tar.xz"; 401 + url = "${mirror}/stable/plasma/5.24.3/qqc2-breeze-style-5.24.3.tar.xz"; 402 + sha256 = "1y21ldxwlb12kfqzxpyhdw9lkcaf5sfamwhg68r512hy785sg490"; 403 + name = "qqc2-breeze-style-5.24.3.tar.xz"; 412 404 }; 413 405 }; 414 406 sddm-kcm = { 415 - version = "5.24.0"; 407 + version = "5.24.3"; 416 408 src = fetchurl { 417 - url = "${mirror}/stable/plasma/5.24.0/sddm-kcm-5.24.0.tar.xz"; 418 - sha256 = "011b68vca8nnmj9rxlyl5gl3xrrbysmcrx8szyfhha0wl9rgy2hx"; 419 - name = "sddm-kcm-5.24.0.tar.xz"; 409 + url = "${mirror}/stable/plasma/5.24.3/sddm-kcm-5.24.3.tar.xz"; 410 + sha256 = "15n6drklwk3lmiaklw1af98qcixml4w83hngy23lwwv2lbnirl6h"; 411 + name = "sddm-kcm-5.24.3.tar.xz"; 420 412 }; 421 413 }; 422 414 systemsettings = { 423 - version = "5.24.0"; 415 + version = "5.24.3"; 424 416 src = fetchurl { 425 - url = "${mirror}/stable/plasma/5.24.0/systemsettings-5.24.0.tar.xz"; 426 - sha256 = "1jx1kllfd5561fq11d90r7m68736rsdlyzb109yq8awdwrl1vkp3"; 427 - name = "systemsettings-5.24.0.tar.xz"; 417 + url = "${mirror}/stable/plasma/5.24.3/systemsettings-5.24.3.tar.xz"; 418 + sha256 = "11fmjdh6v0a4gacqshhrk374i07px989p3x70w8438gr6y0n2032"; 419 + name = "systemsettings-5.24.3.tar.xz"; 428 420 }; 429 421 }; 430 422 xdg-desktop-portal-kde = { 431 - version = "5.24.0"; 423 + version = "5.24.3"; 432 424 src = fetchurl { 433 - url = "${mirror}/stable/plasma/5.24.0/xdg-desktop-portal-kde-5.24.0.tar.xz"; 434 - sha256 = "0f5wv4557avzcn7gf2hjqpn2p9r0d16k1iqcijzcfdmnvh2cp69d"; 435 - name = "xdg-desktop-portal-kde-5.24.0.tar.xz"; 425 + url = "${mirror}/stable/plasma/5.24.3/xdg-desktop-portal-kde-5.24.3.tar.xz"; 426 + sha256 = "06qdr7j2m9s9l60mk8vspb2173va10zdv6sinhmkhxxp78h857z6"; 427 + name = "xdg-desktop-portal-kde-5.24.3.tar.xz"; 436 428 }; 437 429 }; 438 430 }
+2 -2
pkgs/development/compilers/llvm/14/default.nix
··· 19 19 20 20 let 21 21 release_version = "14.0.0"; 22 - candidate = "rc4"; # empty or "rcN" 22 + candidate = ""; # empty or "rcN" 23 23 dash-candidate = lib.optionalString (candidate != "") "-${candidate}"; 24 24 rev = ""; # When using a Git commit 25 25 rev-version = ""; # When using a Git commit ··· 30 30 owner = "llvm"; 31 31 repo = "llvm-project"; 32 32 rev = if rev != "" then rev else "llvmorg-${version}"; 33 - sha256 = "0xm3hscg6xv48rjdi7sg9ky960af1qyg5k3jyavnaqimlaj9wxgp"; 33 + sha256 = "1ixqzjzq4ad3mv1w44gwcg1shy34c2b3i9ja71vx1wa7l2ms2376"; 34 34 }; 35 35 36 36 llvm_meta = {
+15 -4
pkgs/development/compilers/llvm/14/openmp/default.nix
··· 5 5 , runCommand 6 6 , cmake 7 7 , llvm 8 + , lit 8 9 , clang-unwrapped 9 10 , perl 10 11 , pkg-config ··· 25 26 26 27 patches = [ 27 28 ./gnu-install-dirs.patch 28 - ./fix-find-tool.patch 29 + ./run-lit-directly.patch 29 30 ]; 30 31 31 32 outputs = [ "out" "dev" ]; 32 33 33 - nativeBuildInputs = [ cmake perl pkg-config clang-unwrapped ]; 34 + nativeBuildInputs = [ cmake perl pkg-config lit ]; 34 35 buildInputs = [ llvm ]; 35 36 37 + # Unsup:Pass:XFail:Fail 38 + # 26:267:16:8 39 + doCheck = false; 40 + checkTarget = "check-openmp"; 41 + 42 + preCheck = '' 43 + patchShebangs ../tools/archer/tests/deflake.bash 44 + ''; 45 + 36 46 cmakeFlags = [ 37 - "-DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF" # Building the AMDGCN device RTL currently fails 47 + "-DCLANG_TOOL=${clang-unwrapped}/bin/clang" 48 + "-DOPT_TOOL=${llvm}/bin/opt" 49 + "-DLINK_TOOL=${llvm}/bin/llvm-link" 38 50 ]; 39 51 40 52 meta = llvm_meta // { ··· 50 62 # "All of the code is dual licensed under the MIT license and the UIUC 51 63 # License (a BSD-like license)": 52 64 license = with lib.licenses; [ mit ncsa ]; 53 - broken = true; # TODO: gnu-install-dirs.patch fails to apply 54 65 }; 55 66 }
-54
pkgs/development/compilers/llvm/14/openmp/fix-find-tool.patch
··· 1 - diff --git a/libomptarget/DeviceRTL/CMakeLists.txt b/libomptarget/DeviceRTL/CMakeLists.txt 2 - index 242df638f80d..a4654e96371f 100644 3 - --- a/libomptarget/DeviceRTL/CMakeLists.txt 4 - +++ b/libomptarget/DeviceRTL/CMakeLists.txt 5 - @@ -25,16 +25,16 @@ endif() 6 - 7 - if (LLVM_DIR) 8 - # Builds that use pre-installed LLVM have LLVM_DIR set. 9 - - find_program(CLANG_TOOL clang PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) 10 - + find_program(CLANG_TOOL clang PATHS ${LLVM_TOOLS_BINARY_DIR} REQUIRED) 11 - find_program(LINK_TOOL llvm-link PATHS ${LLVM_TOOLS_BINARY_DIR} 12 - - NO_DEFAULT_PATH) 13 - - find_program(OPT_TOOL opt PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) 14 - + REQUIRED) 15 - + find_program(OPT_TOOL opt PATHS ${LLVM_TOOLS_BINARY_DIR} REQUIRED) 16 - libomptarget_say("Building DeviceRTL. Using clang: ${CLANG_TOOL}") 17 - elseif (LLVM_TOOL_CLANG_BUILD AND NOT CMAKE_CROSSCOMPILING AND NOT OPENMP_STANDALONE_BUILD) 18 - # LLVM in-tree builds may use CMake target names to discover the tools. 19 - - set(CLANG_TOOL $<TARGET_FILE:clang>) 20 - - set(LINK_TOOL $<TARGET_FILE:llvm-link>) 21 - - set(OPT_TOOL $<TARGET_FILE:opt>) 22 - + set(CLANG_TOOL $<TARGET_FILE:clang> REQUIRED) 23 - + set(LINK_TOOL $<TARGET_FILE:llvm-link> REQUIRED) 24 - + set(OPT_TOOL $<TARGET_FILE:opt> REQUIRED) 25 - libomptarget_say("Building DeviceRTL. Using clang from in-tree build") 26 - else() 27 - libomptarget_say("Not building DeviceRTL. No appropriate clang found") 28 - diff --git a/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt b/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt 29 - index 3f4c02671aeb..be9f4677d7b5 100644 30 - --- a/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt 31 - +++ b/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt 32 - @@ -38,16 +38,16 @@ endif() 33 - 34 - if (LLVM_DIR) 35 - # Builds that use pre-installed LLVM have LLVM_DIR set. 36 - - find_program(CLANG_TOOL clang PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) 37 - + find_program(CLANG_TOOL clang PATHS ${LLVM_TOOLS_BINARY_DIR} REQUIRED) 38 - find_program(LINK_TOOL llvm-link PATHS ${LLVM_TOOLS_BINARY_DIR} 39 - - NO_DEFAULT_PATH) 40 - - find_program(OPT_TOOL opt PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) 41 - + REQUIRED) 42 - + find_program(OPT_TOOL opt PATHS ${LLVM_TOOLS_BINARY_DIR} REQUIRED) 43 - libomptarget_say("Building AMDGCN device RTL. Using clang: ${CLANG_TOOL}") 44 - elseif (LLVM_TOOL_CLANG_BUILD AND NOT CMAKE_CROSSCOMPILING AND NOT OPENMP_STANDALONE_BUILD) 45 - # LLVM in-tree builds may use CMake target names to discover the tools. 46 - - set(CLANG_TOOL $<TARGET_FILE:clang>) 47 - - set(LINK_TOOL $<TARGET_FILE:llvm-link>) 48 - - set(OPT_TOOL $<TARGET_FILE:opt>) 49 - + set(CLANG_TOOL $<TARGET_FILE:clang> REQUIRED) 50 - + set(LINK_TOOL $<TARGET_FILE:llvm-link> REQUIRED) 51 - + set(OPT_TOOL $<TARGET_FILE:opt> REQUIRED) 52 - libomptarget_say("Building AMDGCN device RTL. Using clang from in-tree build") 53 - else() 54 - libomptarget_say("Not building AMDGCN device RTL. No appropriate clang found")
+4 -48
pkgs/development/compilers/llvm/14/openmp/gnu-install-dirs.patch
··· 1 1 diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 7f11a05f5622..fb90f8f6a49b 100644 3 2 --- a/CMakeLists.txt 4 3 +++ b/CMakeLists.txt 5 - @@ -8,6 +8,8 @@ if (OPENMP_STANDALONE_BUILD OR "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_S 6 - set(OPENMP_STANDALONE_BUILD TRUE) 7 - project(openmp C CXX) 8 - 9 - + include(GNUInstallDirs) 10 - + 11 - # CMAKE_BUILD_TYPE was not set, default to Release. 12 - if (NOT CMAKE_BUILD_TYPE) 13 - set(CMAKE_BUILD_TYPE Release) 14 - @@ -19,7 +21,7 @@ if (OPENMP_STANDALONE_BUILD OR "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_S 4 + @@ -24,7 +24,7 @@ if (OPENMP_STANDALONE_BUILD) 15 5 set(OPENMP_LIBDIR_SUFFIX "" CACHE STRING 16 6 "Suffix of lib installation directory, e.g. 64 => lib64") 17 7 # Do not use OPENMP_LIBDIR_SUFFIX directly, use OPENMP_INSTALL_LIBDIR. ··· 20 10 21 11 # Group test settings. 22 12 set(OPENMP_TEST_C_COMPILER ${CMAKE_C_COMPILER} CACHE STRING 23 - @@ -30,7 +32,7 @@ if (OPENMP_STANDALONE_BUILD OR "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_S 13 + @@ -35,7 +35,7 @@ if (OPENMP_STANDALONE_BUILD) 24 14 else() 25 15 set(OPENMP_ENABLE_WERROR ${LLVM_ENABLE_WERROR}) 26 16 # If building in tree, we honor the same install suffix LLVM uses. ··· 29 19 30 20 if (NOT MSVC) 31 21 set(OPENMP_TEST_C_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/clang) 32 - index 0e1ce2afd154..8b3810f83713 100644 22 + diff --git a/libomptarget/plugins/amdgpu/CMakeLists.txt b/libomptarget/plugins/amdgpu/CMakeLists.txt 33 23 --- a/libomptarget/plugins/amdgpu/CMakeLists.txt 34 24 +++ b/libomptarget/plugins/amdgpu/CMakeLists.txt 35 - @@ -80,7 +80,7 @@ add_library(omptarget.rtl.amdgpu SHARED 25 + @@ -74,7 +74,7 @@ add_library(omptarget.rtl.amdgpu SHARED 36 26 37 27 # Install plugin under the lib destination folder. 38 28 # When we build for debug, OPENMP_LIBDIR_SUFFIX get set to -debug ··· 42 32 43 33 if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") 44 34 diff --git a/libomptarget/plugins/ve/CMakeLists.txt b/libomptarget/plugins/ve/CMakeLists.txt 45 - index 16ce0891ca23..db30ee9c769f 100644 46 35 --- a/libomptarget/plugins/ve/CMakeLists.txt 47 36 +++ b/libomptarget/plugins/ve/CMakeLists.txt 48 37 @@ -32,7 +32,7 @@ if(${LIBOMPTARGET_DEP_VEO_FOUND}) ··· 54 43 55 44 target_link_libraries( 56 45 "omptarget.rtl.${tmachine_libname}" 57 - diff --git a/runtime/src/CMakeLists.txt b/runtime/src/CMakeLists.txt 58 - index e4f4e6e1e73f..1164b3b22b0e 100644 59 - --- a/runtime/src/CMakeLists.txt 60 - +++ b/runtime/src/CMakeLists.txt 61 - @@ -346,13 +346,13 @@ add_dependencies(libomp-micro-tests libomp-test-deps) 62 - # We want to install libomp in DESTDIR/CMAKE_INSTALL_PREFIX/lib 63 - # We want to install headers in DESTDIR/CMAKE_INSTALL_PREFIX/include 64 - if(${OPENMP_STANDALONE_BUILD}) 65 - - set(LIBOMP_HEADERS_INSTALL_PATH include) 66 - + set(LIBOMP_HEADERS_INSTALL_PATH "${CMAKE_INSTALL_INCLUDEDIR}") 67 - else() 68 - string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION ${PACKAGE_VERSION}) 69 - set(LIBOMP_HEADERS_INSTALL_PATH "${OPENMP_INSTALL_LIBDIR}/clang/${CLANG_VERSION}/include") 70 - endif() 71 - if(WIN32) 72 - - install(TARGETS omp RUNTIME DESTINATION bin) 73 - + install(TARGETS omp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 74 - install(TARGETS ${LIBOMP_IMP_LIB_TARGET} ARCHIVE DESTINATION "${OPENMP_INSTALL_LIBDIR}") 75 - # Create aliases (regular copies) of the library for backwards compatibility 76 - set(LIBOMP_ALIASES "libiomp5md") 77 - diff --git a/tools/multiplex/CMakeLists.txt b/tools/multiplex/CMakeLists.txt 78 - index 64317c112176..4002784da736 100644 79 - --- a/tools/multiplex/CMakeLists.txt 80 - +++ b/tools/multiplex/CMakeLists.txt 81 - @@ -4,7 +4,7 @@ if(LIBOMP_OMPT_SUPPORT) 82 - add_library(ompt-multiplex INTERFACE) 83 - target_include_directories(ompt-multiplex INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) 84 - 85 - - install(FILES ompt-multiplex.h DESTINATION include) 86 - + install(FILES ompt-multiplex.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) 87 - 88 - add_subdirectory(tests) 89 - endif()
+12
pkgs/development/compilers/llvm/14/openmp/run-lit-directly.patch
··· 1 + diff --git a/cmake/OpenMPTesting.cmake b/cmake/OpenMPTesting.cmake 2 + --- a/cmake/OpenMPTesting.cmake 3 + +++ b/cmake/OpenMPTesting.cmake 4 + @@ -185,7 +185,7 @@ function(add_openmp_testsuite target comment) 5 + if (${OPENMP_STANDALONE_BUILD}) 6 + set(LIT_ARGS ${OPENMP_LIT_ARGS} ${ARG_ARGS}) 7 + add_custom_target(${target} 8 + - COMMAND ${PYTHON_EXECUTABLE} ${OPENMP_LLVM_LIT_EXECUTABLE} ${LIT_ARGS} ${ARG_UNPARSED_ARGUMENTS} 9 + + COMMAND ${OPENMP_LLVM_LIT_EXECUTABLE} ${LIT_ARGS} ${ARG_UNPARSED_ARGUMENTS} 10 + COMMENT ${comment} 11 + DEPENDS ${ARG_DEPENDS} 12 + USES_TERMINAL
+3 -3
pkgs/development/compilers/ocaml/4.14.nix
··· 1 1 import ./generic.nix { 2 2 major_version = "4"; 3 3 minor_version = "14"; 4 - patch_version = "0-beta1"; 4 + patch_version = "0-rc2"; 5 5 src = fetchTarball { 6 - url = "https://caml.inria.fr/pub/distrib/ocaml-4.14/ocaml-4.14.0~beta1.tar.xz"; 7 - sha256 = "0jiz20hb58jbbk8j38agx11ra4hg0v3prmzc5a9j70lm09mnzfcd"; 6 + url = "https://caml.inria.fr/pub/distrib/ocaml-4.14/ocaml-4.14.0~rc2.tar.xz"; 7 + sha256 = "sha256:0ch8nyfk2mzwhmlxb434cyamp7n14zxhwsq1h8033g629kw50kb0"; 8 8 }; 9 9 }
+10 -69
pkgs/development/compilers/openjdk/8.nix
··· 1 - { stdenv, lib, fetchurl, pkg-config, lndir, bash, cpio, file, which, unzip, zip 1 + { stdenv, lib, fetchFromGitHub, pkg-config, lndir, bash, cpio, file, which, unzip, zip 2 2 , cups, freetype, alsa-lib, cacert, perl, liberation_ttf, fontconfig, zlib 3 3 , libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama, libXcursor, libXrandr 4 4 , libjpeg, giflib ··· 19 19 aarch64-linux = "aarch64"; 20 20 }.${stdenv.system} or (throw "Unsupported platform"); 21 21 22 - update = "272"; 23 - build = if stdenv.isAarch64 then "b10" else "b10"; 24 - baseurl = if stdenv.isAarch64 then "https://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah" 25 - else "https://hg.openjdk.java.net/jdk8u/jdk8u"; 26 - repover = lib.optionalString stdenv.isAarch64 "aarch64-shenandoah-" 27 - + "jdk8u${update}-${build}"; 22 + update = "322"; 23 + build = "ga"; 28 24 29 - jdk8 = fetchurl { 30 - name = "jdk8-${repover}.tar.gz"; 31 - url = "${baseurl}/archive/${repover}.tar.gz"; 32 - sha256 = if stdenv.isAarch64 then "db98897d6fddce85996a9b0daf4352abce4578be0b51eada41702ee1469dd415" 33 - else "8f0e8324d3500432e8ed642b4cc7dff90a617dbb2a18a94c07c1020d32f93b7a"; 34 - }; 35 - langtools = fetchurl { 36 - name = "langtools-${repover}.tar.gz"; 37 - url = "${baseurl}/langtools/archive/${repover}.tar.gz"; 38 - sha256 = if stdenv.isAarch64 then "6544c1cc455844bbbb3d2914ffc716b1cee7f19e6aa223764d41a7cddc41322c" 39 - else "632417b0b067c929eda6958341352e29c5810056a5fec138641eb3503f9635b7"; 40 - }; 41 - hotspot = fetchurl { 42 - name = "hotspot-${repover}.tar.gz"; 43 - url = "${baseurl}/hotspot/archive/${repover}.tar.gz"; 44 - sha256 = if stdenv.isAarch64 then "37abb89e66641607dc6f372946bfc6bd413f23fec0b9c3baf75f41ce517e21d8" 45 - else "2142f3b769800a955613b51ffe192551bab1db95b0c219900cf34febc6f20245"; 46 - }; 47 - corba = fetchurl { 48 - name = "corba-${repover}.tar.gz"; 49 - url = "${baseurl}/corba/archive/${repover}.tar.gz"; 50 - sha256 = if stdenv.isAarch64 then "5da82f7b4aceff32e02d2f559033e3b62b9509d79f1a6891af871502e1d125b1" 51 - else "320098d64c843c1ff2ae62579817f9fb4a81772bc0313a543ce68976ad7a6d98"; 52 - }; 53 - jdk = fetchurl { 54 - name = "jdk-${repover}.tar.gz"; 55 - url = "${baseurl}/jdk/archive/${repover}.tar.gz"; 56 - sha256 = if stdenv.isAarch64 then "ee613296d823605dcd1a0fe2f89b4c7393bdb8ae5f2659f48f5cbc0012bb1a47" 57 - else "957c24fc58ac723c8cd808ab60c77d7853710148944c8b9a59f470c4c809e1a0"; 58 - }; 59 - jaxws = fetchurl { 60 - name = "jaxws-${repover}.tar.gz"; 61 - url = "${baseurl}/jaxws/archive/${repover}.tar.gz"; 62 - sha256 = if stdenv.isAarch64 then "7c426b85f0d378125fa46e6d1b25ddc27ad29d93514d38c5935c84fc540b26ce" 63 - else "4efb0ee143dfe86c8ee06db2429fb81a0c8c65af9ea8fc18daa05148c8a1162f"; 64 - }; 65 - jaxp = fetchurl { 66 - name = "jaxp-${repover}.tar.gz"; 67 - url = "${baseurl}/jaxp/archive/${repover}.tar.gz"; 68 - sha256 = if stdenv.isAarch64 then "928e363877afa7e0ad0c350bb18be6ab056b23708c0624a0bd7f01c4106c2a14" 69 - else "25a651c670d5b036042f7244617a3eb11fec80c07745c1c8181a1cdebeda3d8e"; 70 - }; 71 - nashorn = fetchurl { 72 - name = "nashorn-${repover}.tar.gz"; 73 - url = "${baseurl}/nashorn/archive/${repover}.tar.gz"; 74 - sha256 = if stdenv.isAarch64 then "f060e08c5924457d4f5047c02ad6a987bdbdcd1cea53d2208322073ba4f398c3" 75 - else "a28b41d86f0c87ceacd2b686dd31c9bf391d851b1b5187a49ef5e565fc2cbc84"; 76 - }; 77 - openjdk8 = stdenv.mkDerivation { 25 + openjdk8 = stdenv.mkDerivation rec { 78 26 pname = "openjdk" + lib.optionalString headless "-headless"; 79 27 version = "8u${update}-${build}"; 80 28 81 - srcs = [ jdk8 langtools hotspot corba jdk jaxws jaxp nashorn ]; 82 - sourceRoot = "."; 83 - 29 + src = fetchFromGitHub { 30 + owner = "openjdk"; 31 + repo = "jdk8u"; 32 + rev = "jdk${version}"; 33 + sha256 = "sha256-e39Yv+NDQG7z6fGmpKEnkKd5MoHZ50SXlq/Q7lzWcDA="; 34 + }; 84 35 outputs = [ "out" "jre" ]; 85 36 86 37 nativeBuildInputs = [ pkg-config lndir unzip ]; ··· 91 42 ] ++ lib.optionals (!headless && enableGnome2) [ 92 43 gtk2 gnome_vfs GConf glib 93 44 ]; 94 - 95 - # move the seven other source dirs under the main jdk8u directory, 96 - # with version suffixes removed, as the remainder of the build will expect 97 - prePatch = '' 98 - mainDir=$(find . -maxdepth 1 -name jdk8u\*); 99 - find . -maxdepth 1 -name \*jdk\* -not -name jdk8u\* | awk -F- '{print $1}' | while read p; do 100 - mv $p-* $mainDir/$p 101 - done 102 - cd $mainDir 103 - ''; 104 45 105 46 patches = [ 106 47 ./fix-java-home-jdk8.patch
+1
pkgs/development/coq-modules/VST/default.nix
··· 37 37 preConfigure = '' 38 38 patchShebangs util 39 39 substituteInPlace Makefile \ 40 + --replace 'COQVERSION= ' 'COQVERSION= 8.15.1 or-else '\ 40 41 --replace 'FLOYD_FILES=' 'FLOYD_FILES= ${toString extra_floyd_files}' 41 42 ''; 42 43
+5
pkgs/development/coq-modules/compcert/default.nix
··· 119 119 url = "https://github.com/AbsInt/CompCert/commit/a882f78c069f7337dd9f4abff117d4df98ef38a6.patch"; 120 120 sha256 = "sha256:16i87s608fj9ni7cvd5wrd7gicqniad7w78wi26pxdy0pacl7bjg"; 121 121 }) 122 + # Support for Coq 8.15.1 123 + (fetchpatch { 124 + url = "https://github.com/AbsInt/CompCert/commit/10a976994d7fd30d143354c289ae735d210ccc09.patch"; 125 + sha256 = "sha256:0bg58gpkgxlmxzp6sg0dvybrfk0pxnm7qd6vxlrbsbm2w6wk03jv"; 126 + }) 122 127 ]; 123 128 } 124 129 ] [];
+2 -2
pkgs/development/interpreters/php/8.0.nix
··· 2 2 3 3 let 4 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.0.16"; 6 - sha256 = "sha256-9J+Bge4pRjoNI6DGWWnpLVj+6KxWTfkXz/WOSNZeGEk="; 5 + version = "8.0.17"; 6 + sha256 = "52811ee2dde71660ca32737a4ac696c24591eb22e846dd8e09ee77122660283f"; 7 7 }); 8 8 9 9 in
+2 -2
pkgs/development/interpreters/php/8.1.nix
··· 2 2 3 3 let 4 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.1.3"; 6 - sha256 = "sha256-NUxOLFBgRuyoEtH8JSaISi9UtePSDvDt6RmmnrIy0L4="; 5 + version = "8.1.4"; 6 + sha256 = "b3f688cb69758523838b8e7f509aaef0152133d9b84a84a0b7cf68eeafc1df76"; 7 7 }); 8 8 9 9 in
+2 -2
pkgs/development/libraries/bctoolbox/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "bctoolbox"; 10 - version = "5.1.10"; 10 + version = "5.1.12"; 11 11 12 12 nativeBuildInputs = [ cmake bcunit ]; 13 13 buildInputs = [ mbedtls ]; ··· 18 18 group = "BC"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "sha256-BOJ/NUJnoTeDuURH8Lx6S4RlNZPfsQX4blJkpUdraBg="; 21 + sha256 = "sha256-tmZ1XC8z4NUww58pvvqxZifOxFNXSrEBMY2biCJ55XM="; 22 22 }; 23 23 24 24 # Do not build static libraries
+2 -2
pkgs/development/libraries/cglm/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "cglm"; 9 - version = "0.8.4"; 9 + version = "0.8.5"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "recp"; 13 13 repo = "cglm"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-AJK1M6iyYdL61pZQhbUWzf+YOUE5FEvUyKqxbQqc7H0="; 15 + sha256 = "sha256-PJHDZXc0DD/d+K/4uouv5F8gAf1sE5e3jLkGILPMpnI="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cmake ];
+11
pkgs/development/libraries/gcr/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchurl 3 + , fetchpatch 3 4 , pkg-config 4 5 , meson 5 6 , ninja ··· 33 34 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 35 sha256 = "CQn8SeqK1IMtJ1ZP8v0dxmZpbioHxzlBxIgp5gVy2gE="; 35 36 }; 37 + 38 + patches = [ 39 + # Pull upstream fix for meson-0.60: 40 + # https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/81 41 + (fetchpatch { 42 + name = "meson-0.60.patch"; 43 + url = "https://gitlab.gnome.org/GNOME/gcr/-/commit/b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch"; 44 + sha256 = "15gwxkcm5q5p87p5lrqwgykpzx5gmk179xd3481yak93yhbvy165"; 45 + }) 46 + ]; 36 47 37 48 nativeBuildInputs = [ 38 49 pkg-config
+4 -3
pkgs/development/libraries/kde-frameworks/kauth/default.nix
··· 1 1 { 2 - mkDerivation, propagate, 3 - extra-cmake-modules, kcoreaddons, polkit-qt, qttools 2 + lib, mkDerivation, propagate, 3 + extra-cmake-modules, kcoreaddons, qttools, 4 + enablePolkit ? true, polkit-qt 4 5 }: 5 6 6 7 mkDerivation { 7 8 pname = "kauth"; 8 9 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ polkit-qt qttools ]; 10 + buildInputs = lib.optional enablePolkit polkit-qt ++ [ qttools ]; 10 11 propagatedBuildInputs = [ kcoreaddons ]; 11 12 patches = [ 12 13 ./cmake-install-paths.patch
-1
pkgs/development/libraries/libass/default.nix
··· 40 40 license = licenses.isc; 41 41 platforms = platforms.unix; 42 42 maintainers = with maintainers; [ codyopel ]; 43 - repositories.git = "git://github.com/libass/libass.git"; 44 43 }; 45 44 }
-1
pkgs/development/libraries/libcec/default.nix
··· 25 25 meta = with lib; { 26 26 description = "Allows you (with the right hardware) to control your device with your TV remote control using existing HDMI cabling"; 27 27 homepage = "http://libcec.pulse-eight.com"; 28 - repositories.git = "https://github.com/Pulse-Eight/libcec.git"; 29 28 license = lib.licenses.gpl2Plus; 30 29 platforms = platforms.linux; 31 30 maintainers = [ maintainers.titanous ];
-1
pkgs/development/libraries/libcec/platform.nix
··· 16 16 meta = with lib; { 17 17 description = "Platform library for libcec and Kodi addons"; 18 18 homepage = "https://github.com/Pulse-Eight/platform"; 19 - repositories.git = "https://github.com/Pulse-Eight/platform.git"; 20 19 license = lib.licenses.gpl2Plus; 21 20 platforms = platforms.all; 22 21 maintainers = [ maintainers.titanous ];
-1
pkgs/development/libraries/libgcrypt/1.5.nix
··· 38 38 description = "General-pupose cryptographic library"; 39 39 license = licenses.lgpl2Plus; 40 40 platforms = platforms.all; 41 - repositories.git = "git://git.gnupg.org/libgcrypt.git"; 42 41 knownVulnerabilities = [ 43 42 "CVE-2014-3591" 44 43 "CVE-2015-0837"
-1
pkgs/development/libraries/libgcrypt/default.nix
··· 78 78 license = licenses.lgpl2Plus; 79 79 platforms = platforms.all; 80 80 maintainers = with maintainers; [ vrthra ]; 81 - repositories.git = "git://git.gnupg.org/libgcrypt.git"; 82 81 }; 83 82 }
+2
pkgs/development/libraries/libgpg-error/default.nix
··· 40 40 '' + lib.optionalString (stdenv.hostPlatform.isAarch32 && stdenv.hostPlatform.isMusl) '' 41 41 ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.arm-unknown-linux-musleabihf.h 42 42 ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.linux-musleabihf.h 43 + '' + lib.optionalString (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isMusl) '' 44 + ln -s lock-obj-pub.aarch64-unknown-linux-gnu.h src/syscfg/lock-obj-pub.linux-musl.h 43 45 ''; 44 46 45 47 outputs = [ "out" "dev" "info" ];
-1
pkgs/development/libraries/libidn/default.nix
··· 35 35 included. 36 36 ''; 37 37 38 - repositories.git = "git://git.savannah.gnu.org/libidn.git"; 39 38 license = lib.licenses.lgpl2Plus; 40 39 platforms = lib.platforms.all; 41 40 maintainers = with lib.maintainers; [ lsix ];
-1
pkgs/development/libraries/libidn2/default.nix
··· 39 39 detailed information. 40 40 ''; 41 41 42 - repositories.git = "https://gitlab.com/jas/libidn2"; 43 42 license = with lib.licenses; [ lgpl3Plus gpl2Plus gpl3Plus ]; 44 43 platforms = lib.platforms.all; 45 44 maintainers = with lib.maintainers; [ fpletz ];
-1
pkgs/development/libraries/liblastfm/default.nix
··· 27 27 28 28 meta = with lib; { 29 29 homepage = "https://github.com/lastfm/liblastfm"; 30 - repositories.git = "git://github.com/lastfm/liblastfm.git"; 31 30 description = "Official LastFM library"; 32 31 platforms = platforms.unix; 33 32 maintainers = [ ];
-1
pkgs/development/libraries/liboauth/default.nix
··· 27 27 platforms = platforms.all; 28 28 description = "C library implementing the OAuth secure authentication protocol"; 29 29 homepage = "http://liboauth.sourceforge.net/"; 30 - repositories.git = "https://github.com/x42/liboauth.git"; 31 30 license = licenses.mit; 32 31 }; 33 32
-1
pkgs/development/libraries/libotr/default.nix
··· 16 16 17 17 meta = with lib; { 18 18 homepage = "http://www.cypherpunks.ca/otr/"; 19 - repositories.git = "git://git.code.sf.net/p/otr/libotr"; 20 19 license = licenses.lgpl21; 21 20 description = "Library for Off-The-Record Messaging"; 22 21 platforms = platforms.unix;
+2 -2
pkgs/development/libraries/libqb/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libqb"; 5 - version = "2.0.5"; 5 + version = "2.0.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ClusterLabs"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-G49JBEUkO4ySAamvI7xN6ct1SvN4afcOmdrzpDL90FE="; 11 + sha256 = "sha256-vt9FmIRojX3INOn3CXAjkswVFD8Th4sRIz3RR4GJHFQ="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoreconfHook pkg-config ];
+2 -2
pkgs/development/libraries/libtoxcore/default.nix
··· 53 53 }; 54 54 55 55 libtoxcore_0_2 = generic { 56 - version = "0.2.13"; 57 - sha256 = "0a1cp00bnxl3q4l74yqp4aa6fg9slz4rg4lfzkl3khvmm6nzckds"; 56 + version = "0.2.17"; 57 + sha256 = "sha256-SOI6QKOSt/EK9JDrSaV6CrD5sx8aYb5ZL3StYq8u/Dg="; 58 58 }; 59 59 }
-1
pkgs/development/libraries/libusb-compat/0.1.nix
··· 35 35 36 36 meta = with lib; { 37 37 homepage = "https://libusb.info/"; 38 - repositories.git = "https://github.com/libusb/libusb-compat-0.1"; 39 38 description = "cross-platform user-mode USB device library"; 40 39 longDescription = '' 41 40 libusb is a cross-platform user-mode library that provides access to USB devices.
-1
pkgs/development/libraries/libusb1/default.nix
··· 39 39 40 40 meta = with lib; { 41 41 homepage = "https://libusb.info/"; 42 - repositories.git = "https://github.com/libusb/libusb"; 43 42 description = "cross-platform user-mode USB device library"; 44 43 longDescription = '' 45 44 libusb is a cross-platform user-mode library that provides access to USB devices.
-1
pkgs/development/libraries/libvirt/default.nix
··· 331 331 332 332 meta = { 333 333 homepage = "https://libvirt.org/"; 334 - repositories.git = "git://libvirt.org/libvirt.git"; 335 334 description = '' 336 335 A toolkit to interact with the virtualization capabilities of recent 337 336 versions of Linux (and other OSes)
-1
pkgs/development/libraries/pcg-c/default.nix
··· 33 33 ''; 34 34 platforms = platforms.unix; 35 35 maintainers = [ maintainers.linus ]; 36 - repositories.git = "git://github.com/imneme/pcg-c.git"; 37 36 broken = stdenv.isi686; # https://github.com/imneme/pcg-c/issues/11 38 37 }; 39 38 }
+2 -13
pkgs/development/libraries/pipewire/wireplumber.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitLab 4 - , fetchpatch 5 4 , nix-update-script 6 5 , # base build deps 7 6 meson ··· 27 26 in 28 27 stdenv.mkDerivation rec { 29 28 pname = "wireplumber"; 30 - version = "0.4.8"; 29 + version = "0.4.9"; 31 30 32 31 outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc"; 33 32 ··· 36 35 owner = "pipewire"; 37 36 repo = "wireplumber"; 38 37 rev = version; 39 - sha256 = "sha256-xwfggrjKHh5mZdvH6dKqQo6o1ltxuYdjoGYaWl31C/Y="; 38 + sha256 = "sha256-U92ozuEUFJA416qKnalVowJuBjLRdORHfhmznGf1IFU="; 40 39 }; 41 - 42 - patches = [ 43 - # backport a patch to fix hangs in some applications 44 - # ref: https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/213 45 - # FIXME: drop this in 0.4.9 46 - (fetchpatch { 47 - url = "https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/afbc0ce57aac7aee8dc1651de4620f15c73dbace.patch"; 48 - sha256 = "sha256-8ycFnrzDq7QHgjwJ/772OTMsSsN3m7gjbdvTmlMJ+mU="; 49 - }) 50 - ]; 51 40 52 41 nativeBuildInputs = [ 53 42 meson
-1
pkgs/development/libraries/taglib/default.nix
··· 24 24 25 25 meta = with lib; { 26 26 homepage = "https://taglib.org/"; 27 - repositories.git = "git://github.com/taglib/taglib.git"; 28 27 description = "A library for reading and editing audio file metadata"; 29 28 longDescription = '' 30 29 TagLib is a library for reading and editing the meta-data of several
+19 -9
pkgs/development/libraries/wxwidgets/wxGTK31.nix
··· 17 17 , compat28 ? false 18 18 , compat30 ? true 19 19 , unicode ? true 20 - , withGtk2 ? true 20 + , withGtk2 ? (!stdenv.isDarwin) 21 21 , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 22 - , withWebKit ? false, webkitgtk 22 + , withWebKit ? stdenv.isDarwin 23 + , webkitgtk 23 24 , setfile 24 25 , AGL 25 26 , Carbon 26 27 , Cocoa 27 28 , Kernel 28 29 , QTKit 30 + , AVFoundation 31 + , AVKit 32 + , WebKit 29 33 }: 30 34 35 + assert withWebKit -> stdenv.isDarwin; 31 36 assert withGtk2 -> (!withWebKit); 32 37 33 38 let ··· 55 60 buildInputs = [ 56 61 gst_all_1.gst-plugins-base 57 62 gst_all_1.gstreamer 63 + ] 64 + ++ lib.optionals (!stdenv.isDarwin) [ 58 65 gtk 59 66 libSM 60 67 libXinerama ··· 66 73 gnome2.GConf 67 74 ] 68 75 ++ lib.optional withMesa libGLU 69 - ++ lib.optional withWebKit webkitgtk 76 + ++ lib.optional (withWebKit && !stdenv.isDarwin) webkitgtk 77 + ++ lib.optional (withWebKit && stdenv.isDarwin) WebKit 70 78 ++ lib.optionals stdenv.isDarwin [ 79 + setfile 71 80 Carbon 72 81 Cocoa 73 82 Kernel 74 83 QTKit 75 - setfile 84 + AVFoundation 85 + AVKit 86 + WebKit 76 87 ]; 77 88 78 89 propagatedBuildInputs = lib.optional stdenv.isDarwin AGL; 79 90 80 91 configureFlags = [ 81 92 "--disable-precomp-headers" 93 + # This is the default option, but be explicit 94 + "--disable-monolithic" 82 95 "--enable-mediactrl" 83 96 (if compat28 then "--enable-compat28" else "--disable-compat28") 84 97 (if compat30 then "--enable-compat30" else "--disable-compat30") ··· 86 99 ++ lib.optional unicode "--enable-unicode" 87 100 ++ lib.optional withMesa "--with-opengl" 88 101 ++ lib.optionals stdenv.isDarwin [ 89 - # allow building on 64-bit 90 - "--enable-universal-binaries" 91 - "--with-cocoa" 92 - "--with-macosx-version-min=10.7" 102 + "--with-osx_cocoa" 103 + "--with-libiconv" 93 104 ] 94 105 ++ lib.optionals withWebKit [ 95 106 "--enable-webview" ··· 137 148 license = licenses.wxWindows; 138 149 maintainers = with maintainers; [ AndersonTorres tfmoraes ]; 139 150 platforms = platforms.unix; 140 - badPlatforms = platforms.darwin; # ofBorg is failing, don't know if internal 141 151 }; 142 152 143 153 passthru = {
+1 -1
pkgs/development/ocaml-modules/biniou/1.0.nix
··· 26 26 makeFlags = [ "PREFIX=$(out)" ]; 27 27 28 28 preBuild = '' 29 - mkdir $out/bin 29 + mkdir -p $out/bin 30 30 ''; 31 31 32 32 meta = with lib; {
+6 -2
pkgs/development/ocaml-modules/csv/1.5.nix
··· 22 22 doCheck = true; 23 23 checkPhase = "ocaml setup.ml -test"; 24 24 25 - installPhase = "ocaml setup.ml -install"; 25 + installPhase = '' 26 + runHook preInstall 27 + ocaml setup.ml -install 28 + runHook postInstall 29 + ''; 26 30 27 31 meta = with lib; { 28 32 description = "A pure OCaml library to read and write CSV files"; 29 33 homepage = "https://github.com/Chris00/ocaml-csv"; 30 34 license = licenses.lgpl21; 31 35 maintainers = [ maintainers.vbgl ]; 32 - platforms = ocaml.meta.platforms or [ ]; 36 + inherit (ocaml.meta) platforms; 33 37 }; 34 38 }
-34
pkgs/development/ocaml-modules/magick/default.nix
··· 1 - { stdenv, lib, fetchurl, which, pkg-config, ocaml, findlib, imagemagick }: 2 - 3 - if lib.versionAtLeast ocaml.version "4.06" 4 - then throw "magick is not available for OCaml ${ocaml.version}" 5 - else 6 - 7 - stdenv.mkDerivation rec { 8 - pname = "ocaml-magick"; 9 - version = "0.34"; 10 - 11 - src = fetchurl { 12 - url = "http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/ImageMagick/OCaml-ImageMagick-${version}.tgz"; 13 - sha256 = "0gn9l2qdr8gby2x8c2mb59x1kipb2plr45rbq6ymcxyi0wmzfh3q"; 14 - }; 15 - 16 - nativeBuildInputs = [ which pkg-config ocaml findlib ]; 17 - buildInputs = [ imagemagick ]; 18 - 19 - strictDeps = true; 20 - 21 - createFindlibDestdir = true; 22 - 23 - preConfigure = "substituteInPlace Makefile --replace gcc $CC"; 24 - 25 - installTargets = [ "find_install" ]; 26 - 27 - meta = { 28 - homepage = "http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/"; 29 - description = "ImageMagick Binding for OCaml"; 30 - license = lib.licenses.mit; 31 - platforms = imagemagick.meta.platforms; 32 - maintainers = with lib.maintainers; [ vbgl ]; 33 - }; 34 - }
+3
pkgs/development/ocaml-modules/ocaml-libvirt/default.nix
··· 1 1 { lib, stdenv, fetchFromGitLab, libvirt, autoreconfHook, pkg-config, ocaml, findlib, perl }: 2 2 3 + lib.throwIfNot (lib.versionAtLeast ocaml.version "4.02") 4 + "libvirt is not available for OCaml ${ocaml.version}" 5 + 3 6 stdenv.mkDerivation rec { 4 7 pname = "ocaml-libvirt"; 5 8 version = "0.6.1.5";
+2 -2
pkgs/development/python-modules/aioairzone/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "aioairzone"; 10 - version = "0.1.0"; 10 + version = "0.1.2"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.8"; ··· 16 16 owner = "Noltari"; 17 17 repo = pname; 18 18 rev = version; 19 - hash = "sha256-QruXxC/+61P2Mi0UILUIKp4S3wS1+E+WmzBbiUqlVe4="; 19 + hash = "sha256-8OpC/w83us85NWpRXXLsWsLNiPG3v+8BHAToADdLaP4="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/ansible-runner/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "ansible-runner"; 21 - version = "2.1.2"; 21 + version = "2.1.3"; 22 22 format = "setuptools"; 23 23 24 24 src = fetchPypi { 25 25 inherit pname version; 26 - hash = "sha256-GK/CqmMm67VmvzlhMV6ow+40m0DYUpXCFkP+9NgR/e4="; 26 + hash = "sha256-2m5dD+gGDL5LnY7QbDYiGdu4GYu0C49WU29GZY2bnBo="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/auth0-python/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "auth0-python"; 13 - version = "3.20.0"; 13 + version = "3.22.0"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; 17 17 18 18 src = fetchPypi { 19 19 inherit pname version; 20 - sha256 = "sha256-WIH2lMPehrqkXCh+JbEI5nf99nt61OwLhP/pF6BbsnQ="; 20 + sha256 = "sha256-05yJbF6eXz+vJx+plY5gqzRRYL2SjDnF7gSfX6WIS4E="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "azure-mgmt-applicationinsights"; 14 - version = "2.1.0"; 14 + version = "3.0.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 18 extension = "zip"; 19 - sha256 = "68deed8ee884dd0b9631804e8b9c65fcd94e8e01c7218beae96a9fe557d7a0d7"; 19 + sha256 = "sha256-K46J0WqQt4vwr1CE4yjxKUT/Atds5BLs0k8EjOA4yzA="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-resource/default.nix
··· 8 8 9 9 10 10 buildPythonPackage rec { 11 - version = "20.1.0"; 11 + version = "21.0.0"; 12 12 pname = "azure-mgmt-resource"; 13 13 disabled = !isPy3k; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 17 extension = "zip"; 18 - sha256 = "4fbb2158320e0bdd367882642f266a6dfb3b4b8610792b3afbbca39089f212d7"; 18 + sha256 = "sha256-y9J/UhxwtA/YO/Y88XsStbwD5ecNwrbnpxtevYuQDQM="; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/bidict/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "bidict"; 16 - version = "0.21.4"; 16 + version = "0.22.0"; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "sha256-QshP++b43omK9gc7S+nqfM7c1400dKqETFTknVoHn28="; 22 + sha256 = "sha256-XIJrPhXpfMbmFd4pV1aEfCgqebecVDDTv8kJsayfW9g="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/blis/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "blis"; 12 - version = "0.7.6"; 12 + version = "0.7.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-/pexD2ihx7VMDlS+rahOGPTvto3UDJBvuHSPURR0PsY="; 16 + sha256 = "sha256-XUqB+UONt6GayOZK1BMx9lplnqjzuxiJqcIIjP2f4QQ="; 17 17 }; 18 18 19 19 nativeBuildInputs = [
+1 -1
pkgs/development/python-modules/brotlicffi/default.nix
··· 34 34 export USE_SHARED_BROTLI=1 35 35 ''; 36 36 37 - # Test data is not available, only when using libbortli git checkout 37 + # Test data is not available, only when using libbrotli git checkout 38 38 doCheck = false; 39 39 40 40 pythonImportsCheck = [ "brotlicffi" ];
+15 -6
pkgs/development/python-modules/coqui-trainer/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , fetchpatch 3 4 , fetchFromGitHub 5 + , pythonAtLeast 4 6 5 7 , coqpit 6 8 , fsspec 7 - , pytorch 9 + , pytorch-bin 8 10 9 11 , pytestCheckHook 10 12 , soundfile 11 - , tensorboardx 12 - , torchvision 13 + , torchvision-bin 13 14 }: 14 15 15 16 let ··· 19 20 buildPythonPackage { 20 21 inherit pname version; 21 22 format = "pyproject"; 23 + 24 + disabled = pythonAtLeast "3.10"; # https://github.com/coqui-ai/Trainer/issues/22 22 25 23 26 src = fetchFromGitHub { 24 27 owner = "coqui-ai"; ··· 27 30 hash = "sha256-NsgCh+N2qWmRkTOjXqisVCP5aInH2zcNz6lsnIfVLiY="; 28 31 }; 29 32 33 + patches = [ 34 + (fetchpatch { 35 + url = "https://github.com/coqui-ai/Trainer/commit/07b447abf3290c8f2e5e723687b8a480b7382265.patch"; 36 + sha256 = "0v1hl784d9rghkblcfwgzp0gg9d6r5r0yv2kapzdz2qymiajy7y2"; 37 + }) 38 + ]; 39 + 30 40 propagatedBuildInputs = [ 31 41 coqpit 32 42 fsspec 33 - pytorch 43 + pytorch-bin 34 44 soundfile 35 - tensorboardx 36 45 ]; 37 46 38 47 # only one test and that requires training data from the internet ··· 40 49 41 50 checkInputs = [ 42 51 pytestCheckHook 43 - torchvision 52 + torchvision-bin 44 53 ]; 45 54 46 55 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/datasette/default.nix
··· 30 30 31 31 buildPythonPackage rec { 32 32 pname = "datasette"; 33 - version = "0.60.2"; 33 + version = "0.61.1"; 34 34 35 35 disabled = pythonOlder "3.6"; 36 36 ··· 38 38 owner = "simonw"; 39 39 repo = pname; 40 40 rev = version; 41 - sha256 = "sha256-GehtjukmSVHffAnDeDwjopgnuycD1CLQRHzLtO1iLsE="; 41 + sha256 = "sha256-HVzMyF4ujYK12UQ25il/XROPo+iBldsMxOTx+duoc5o="; 42 42 }; 43 43 44 44 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/evdev/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "evdev"; 5 - version = "1.4.0"; 5 + version = "1.5.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "8782740eb1a86b187334c07feb5127d3faa0b236e113206dfe3ae8f77fb1aaf1"; 9 + sha256 = "sha256-WzOxdPfIRXbn3WBx5Di/WtIn2pXv1DVqOf5Mg1VBL+Y="; 10 10 }; 11 11 12 12 buildInputs = [ linuxHeaders ];
+2 -21
pkgs/development/python-modules/fakeredis/default.nix
··· 3 3 , async_generator 4 4 , buildPythonPackage 5 5 , fetchPypi 6 - , fetchpatch 7 6 , hypothesis 8 7 , lupa 9 8 , pytest-asyncio ··· 17 16 18 17 buildPythonPackage rec { 19 18 pname = "fakeredis"; 20 - version = "1.7.0"; 21 - 19 + version = "1.7.1"; 22 20 format = "pyproject"; 23 21 24 22 disabled = pythonOlder "3.7"; 25 23 26 24 src = fetchPypi { 27 25 inherit pname version; 28 - sha256 = "sha256-yb0S5DAzbL0+GJ+uDpHrmZl7k+dtv91u1n+jUtxoTHE="; 26 + hash = "sha256-fCxLobQuCnUzfFS3d78GcQVrRWllDj/5J+S5s4WvyOw="; 29 27 }; 30 28 31 - patches = [ 32 - (fetchpatch { 33 - # redis 4.1.0 compatibility 34 - # https://github.com/jamesls/fakeredis/pull/324 35 - url = "https://github.com/jamesls/fakeredis/commit/8ef8dc6dacc9baf571d66a25ffbf0fadd7c70f78.patch"; 36 - sha256 = "sha256:03xlqmwq8nkzisrjk7y51j2jd6qdin8nbj5n9hc4wjabbvlgx4qr"; 37 - excludes = [ 38 - "setup.cfg" 39 - ]; 40 - }) 41 - ]; 42 - 43 29 propagatedBuildInputs = [ 44 30 aioredis 45 31 lupa ··· 59 45 pythonImportsCheck = [ 60 46 "fakeredis" 61 47 ]; 62 - 63 - postPatch = '' 64 - substituteInPlace setup.cfg \ 65 - --replace "redis<4.1.0" "redis" 66 - ''; 67 48 68 49 meta = with lib; { 69 50 description = "Fake implementation of Redis API";
+2 -2
pkgs/development/python-modules/flake8-bugbear/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "flake8-bugbear"; 13 - version = "22.3.20"; 13 + version = "22.3.23"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "PyCQA"; 17 17 repo = pname; 18 18 rev = version; 19 - sha256 = "sha256-tq008SNytZCttnVY1NLf9/2aeqP+iPLUNsRLZu0k3Uk="; 19 + sha256 = "sha256-s1EnPM2He+R+vafu14XI1Xuft8Rg6W3vPH2Atc6N7I0="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+1 -1
pkgs/development/python-modules/flask/default.nix
··· 38 38 ]; 39 39 40 40 meta = with lib; { 41 - homepage = "http://flask.pocoo.org/"; 41 + homepage = "https://flask.palletsprojects.com/"; 42 42 description = "The Python micro framework for building web applications"; 43 43 longDescription = '' 44 44 Flask is a lightweight WSGI web application framework. It is
+2 -2
pkgs/development/python-modules/gaphas/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "gaphas"; 15 - version = "3.5.1"; 15 + version = "3.6.0"; 16 16 disabled = pythonOlder "3.7"; 17 17 18 18 format = "pyproject"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - sha256 = "sha256-71oYuLhqJ7bst0W7v9tQSoaisjONZSa9zEWzYWtGl2E="; 22 + sha256 = "sha256-yleYbAJdDVzZrMQ3izi9UX3Ji1vIuQDc+RK5+wzrMi4="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+17 -4
pkgs/development/python-modules/google-cloud-container/default.nix
··· 8 8 , proto-plus 9 9 , pytestCheckHook 10 10 , pytest-asyncio 11 + , pythonOlder 11 12 }: 12 13 13 14 buildPythonPackage rec { 14 15 pname = "google-cloud-container"; 15 - version = "2.10.6"; 16 + version = "2.10.7"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.7"; 16 20 17 21 src = fetchPypi { 18 22 inherit pname version; 19 - sha256 = "sha256-dBt2Vs9J0+l534YtKS70MuUEUegwVoU66zghmcz7fGk="; 23 + hash = "sha256-I3oYldj915GBCX5VLEZRqGS7jMHWasQGVIvj50EUTK4="; 20 24 }; 21 25 22 - propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ]; 26 + propagatedBuildInputs = [ 27 + google-api-core 28 + grpc-google-iam-v1 29 + libcst 30 + proto-plus 31 + ]; 23 32 24 - checkInputs = [ mock pytestCheckHook pytest-asyncio ]; 33 + checkInputs = [ 34 + mock 35 + pytestCheckHook 36 + pytest-asyncio 37 + ]; 25 38 26 39 disabledTests = [ 27 40 # requires credentials
+1 -1
pkgs/development/python-modules/h2/default.nix
··· 39 39 description = "HTTP/2 State-Machine based protocol implementation"; 40 40 homepage = "https://github.com/python-hyper/h2"; 41 41 license = licenses.mit; 42 - maintainers = with maintainers; [ ]; 42 + maintainers = with maintainers; [ SuperSandro2000 ]; 43 43 }; 44 44 }
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "hahomematic"; 17 - version = "0.38.4"; 17 + version = "0.38.5"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.9"; ··· 23 23 owner = "danielperna84"; 24 24 repo = pname; 25 25 rev = version; 26 - sha256 = "sha256-WvcQTaYlKTOYbYwH/FbNTMoHdUhesYeeNYP8RDgQms4="; 26 + sha256 = "sha256-RzTRRWHmdEjDQM/x4pX1gy7mIJD3K2hjQRAkz53xL50="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/jdatetime/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "jdatetime"; 10 - version = "4.0.0"; 10 + version = "4.1.0"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-01uuou0hPk6Hu4QMYWNwAVQL0h6ORFS9EjUrBlkewI4="; 17 + sha256 = "sha256-SmeoLuV+NbX2+ff75qDtpj9Wzh3Yr0CbTComozQEV9s="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mkdocs-material/default.nix
··· 9 9 10 10 buildPythonApplication rec { 11 11 pname = "mkdocs-material"; 12 - version = "8.2.5"; 12 + version = "8.2.6"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "squidfunk"; 16 16 repo = pname; 17 17 rev = version; 18 - sha256 = "0v30x2cgc5i307p0hsy5h58pfd8w6xpnvimsb75614xlmx3ycaqd"; 18 + sha256 = "sha256-4t9LBZc73V8eAIUO+BAZPgak+AX3o2YKZJWug+b6TBY="; 19 19 }; 20 20 21 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/motionblinds/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "motionblinds"; 10 - version = "0.6.1"; 10 + version = "0.6.3"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; ··· 16 16 owner = "starkillerOG"; 17 17 repo = "motion-blinds"; 18 18 rev = version; 19 - sha256 = "sha256-31ofLiBQjSMDtptgYF5rqS1bB5UDUbsbo25Nrk4WvIY="; 19 + sha256 = "sha256-Y5yF/dJUm0ICUY8UU8ILypSAnCVanvW4hzyz7ZOdBrc="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mypy-boto3-builder/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "mypy-boto3-builder"; 19 - version = "7.3.0"; 19 + version = "7.4.1"; 20 20 format = "pyproject"; 21 21 22 22 disabled = pythonOlder "3.10"; ··· 25 25 owner = "vemel"; 26 26 repo = "mypy_boto3_builder"; 27 27 rev = version; 28 - hash = "sha256-X/dPO2p6GmnyJwcVPOmyo9zYda2uYfBAkuKTeX0Bt0Q="; 28 + hash = "sha256-7sl6S1/bQceVP6i/3KMYqsrOxNBvpBZUKdpOrnlhYNk="; 29 29 }; 30 30 31 31 nativeBuildInputs = [
+31 -9
pkgs/development/python-modules/ndspy/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, crcmod }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , crcmod 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 2 8 3 9 buildPythonPackage rec { 4 10 pname = "ndspy"; 5 - version = "3.0.0"; 11 + version = "4.0.0"; 12 + format = "setuptools"; 6 13 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "1s0i81gspas22bjwk9vhy3x5sw1svyybk7c2j1ixc77drr9ym20a"; 14 + disabled = pythonOlder "3.6"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "RoadrunnerWMC"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + sha256 = "0x3sp10had1mq192m7kgjivvs8kpjagxjgj9d4z95dfjhzzbjh70"; 10 21 }; 11 22 12 - propagatedBuildInputs = [ crcmod ]; 23 + propagatedBuildInputs = [ 24 + crcmod 25 + ]; 13 26 14 - doCheck = false; # there are no tests 15 - pythonImportsCheck = [ "ndspy" ]; 27 + checkInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + pythonImportsCheck = [ 32 + "ndspy" 33 + ]; 34 + 35 + preCheck = '' 36 + cd tests 37 + ''; 16 38 17 39 meta = with lib; { 40 + description = "Python library for many Nintendo DS file formats"; 18 41 homepage = "https://github.com/RoadrunnerWMC/ndspy"; 19 - description = "A Python library for many Nintendo DS file formats"; 20 42 license = licenses.gpl3Plus; 21 43 maintainers = with maintainers; [ xfix ]; 22 44 };
+1 -2
pkgs/development/python-modules/obfsproxy/default.nix
··· 12 12 version = "0.2.13"; 13 13 14 14 src = fetchgit { 15 - url = meta.repositories.git; 15 + url = "https://git.torproject.org/pluggable-transports/obfsproxy.git"; 16 16 rev = "refs/tags/${pname}-${version}"; 17 17 sha256 = "04ja1cl8xzqnwrd2gi6nlnxbmjri141bzwa5gybvr44d8h3k2nfa"; 18 18 }; ··· 30 30 meta = with lib; { 31 31 description = "A pluggable transport proxy"; 32 32 homepage = "https://www.torproject.org/projects/obfsproxy"; 33 - repositories.git = "https://git.torproject.org/pluggable-transports/obfsproxy.git"; 34 33 maintainers = with maintainers; [ thoughtpolice ]; 35 34 }; 36 35
+6
pkgs/development/python-modules/ocrmypdf/default.nix
··· 80 80 pytestCheckHook 81 81 ]; 82 82 83 + postPatch = '' 84 + # https://github.com/ocrmypdf/OCRmyPDF/issues/933 85 + substituteInPlace setup.cfg \ 86 + --replace "pdfminer.six!=20200720,>=20191110,<=20211012" "pdfminer.six!=20200720,>=20191110,<=20220319" 87 + ''; 88 + 83 89 pythonImportsCheck = [ 84 90 "ocrmypdf" 85 91 ];
+6
pkgs/development/python-modules/pdfminer_six/default.nix
··· 21 21 done 22 22 ''; 23 23 24 + postPatch = '' 25 + # Verion is not stored in repo, gets added by a GitHub action after tag is created 26 + # https://github.com/pdfminer/pdfminer.six/pull/727 27 + substituteInPlace pdfminer/__init__.py --replace "__VERSION__" ${version} 28 + ''; 29 + 24 30 checkInputs = [ pytestCheckHook ]; 25 31 26 32 meta = with lib; {
+2 -1
pkgs/development/python-modules/pdfx/default.nix
··· 13 13 14 14 postPatch = '' 15 15 substituteInPlace requirements.txt \ 16 - --replace "chardet==4.0.0" "chardet" 16 + --replace "chardet==4.0.0" "chardet" \ 17 + --replace "pdfminer.six==20201018" "pdfminer.six" 17 18 ''; 18 19 19 20 propagatedBuildInputs = [ pdfminer chardet ];
+5 -2
pkgs/development/python-modules/pex/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , flit-core 5 + , pythonOlder 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "pex"; 9 - version = "2.1.72"; 10 + version = "2.1.73"; 10 11 format = "flit"; 11 12 13 + disabled = pythonOlder "3.7"; 14 + 12 15 src = fetchPypi { 13 16 inherit pname version; 14 - sha256 = "sha256-0hhnBkbgt4bSlqjvYKX2Mhty/T1vBGm91HhKmyvVzmA="; 17 + hash = "sha256-OxIm0vFH0JadaKMGrKNNj8mA7ue1kazjpauSK6XNGiU="; 15 18 }; 16 19 17 20 nativeBuildInputs = [
+48
pkgs/development/python-modules/pint-pandas/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , fetchpatch 5 + , setuptools-scm 6 + , pint 7 + , pandas 8 + , pytestCheckHook 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "pint-pandas"; 13 + version = "0.2"; 14 + 15 + src = fetchPypi { 16 + pname = "Pint-Pandas"; 17 + inherit version; 18 + sha256 = "sha256-b2DS6ArBAuD5St25IG4PbMpe5C8Lf4kw2MeYAC5B+oc="; 19 + }; 20 + 21 + patches = [ 22 + # Fixes a failing test, see: https://github.com/hgrecco/pint-pandas/issues/107 23 + (fetchpatch{ 24 + url = "https://github.com/hgrecco/pint-pandas/commit/4c31e25609af968665ee60d019b9b5366f328680.patch"; 25 + sha256 = "vIT0LI4S73D4MBfGI8vtCZAM+Zb4PZ4E3xfpGKNyA4I="; 26 + }) 27 + ]; 28 + 29 + nativeBuildInputs = [ 30 + setuptools-scm 31 + ]; 32 + 33 + propagatedBuildInputs = [ 34 + pint 35 + pandas 36 + ]; 37 + 38 + checkInputs = [ 39 + pytestCheckHook 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "Pandas support for pint"; 44 + license = licenses.bsd3; 45 + homepage = "https://github.com/hgrecco/pint-pandas"; 46 + maintainers = with maintainers; [ doronbehar ]; 47 + }; 48 + }
+31
pkgs/development/python-modules/preprocess-cancellation/default.nix
··· 1 + { lib, fetchFromGitHub, buildPythonPackage, pythonOlder, poetry-core 2 + , pytestCheckHook, pytest-cov 3 + , shapely }: 4 + 5 + buildPythonPackage rec { 6 + pname = "preprocess-cancellation"; 7 + version = "0.2.0"; 8 + disabled = pythonOlder "3.6"; # >= 3.6 9 + format = "pyproject"; 10 + 11 + # No tests in PyPI 12 + src = fetchFromGitHub { 13 + owner = "kageurufu"; 14 + repo = "cancelobject-preprocessor"; 15 + rev = version; 16 + hash = "sha256-mn3/etXA5dkL+IsyxwD4/XjU/t4/roYFVyqQxlLOoOI="; 17 + }; 18 + 19 + nativeBuildInputs = [ poetry-core ]; 20 + 21 + propagatedBuildInputs = [ shapely ]; 22 + 23 + checkInputs = [ pytestCheckHook pytest-cov ]; 24 + 25 + meta = with lib; { 26 + description = "Klipper GCode Preprocessor for Object Cancellation"; 27 + homepage = "https://github.com/kageurufu/cancelobject-preprocessor"; 28 + license = licenses.gpl3Only; 29 + maintainers = with maintainers; [ zhaofengli ]; 30 + }; 31 + }
+2 -2
pkgs/development/python-modules/pulsectl/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "pulsectl"; 5 - version = "22.1.3"; 5 + version = "22.3.2"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "sha256-8o/kuIHdLMFE0tlPg+xg2MWaUmQqCtNjXMTQ+EBvSFg="; 9 + sha256 = "sha256-zBdOHO69TmIixbePT0FfEugHU8mrdas1QVm0y1lQsIQ="; 10 10 }; 11 11 12 12 patches = [
+2 -2
pkgs/development/python-modules/py-synologydsm-api/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "py-synologydsm-api"; 12 - version = "1.0.6"; 12 + version = "1.0.7"; 13 13 format = "pyproject"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "mib1185"; 17 17 repo = "synologydsm-api"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-jAdD6FCbsBocJNX7o+dpthgHaPLIueFWJMzBNoKAq7w="; 19 + sha256 = "sha256-VhAzR/knvun6hJj8/YREqMfNvOKpTyYNI9fk9hsbHDQ="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pyaussiebb/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pyaussiebb"; 14 - version = "0.0.14"; 14 + version = "0.0.15"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.9"; ··· 20 20 owner = "yaleman"; 21 21 repo = "aussiebb"; 22 22 rev = "v${version}"; 23 - hash = "sha256-Z+xLCKnUnBAH9nm0YR11zx1lyNrIb8BZLFmaZdpnfdw="; 23 + hash = "sha256-V9yN05Bkv5vkHgXZ77ps3d6JS39M5iMuiijOGRBFi0U="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+3 -5
pkgs/development/python-modules/pycurl/default.nix
··· 7 7 , openssl 8 8 , bottle 9 9 , pytestCheckHook 10 - , nose 11 10 , flaky 12 11 }: 13 12 ··· 38 37 checkInputs = [ 39 38 bottle 40 39 pytestCheckHook 41 - nose 42 40 flaky 43 41 ]; 44 42 ··· 76 74 ]; 77 75 78 76 meta = with lib; { 79 - homepage = "http://pycurl.sourceforge.net/"; 80 - description = "Python wrapper for libcurl"; 81 - license = licenses.lgpl2Only; 77 + homepage = "http://pycurl.io/"; 78 + description = "Python Interface To The cURL library"; 79 + license = with licenses; [ lgpl2Only mit ]; 82 80 maintainers = with maintainers; []; 83 81 }; 84 82 }
+1
pkgs/development/python-modules/pygame/default.nix
··· 25 25 buildinputs_include = builtins.toJSON (builtins.concatMap (dep: [ 26 26 "${lib.getDev dep}/" 27 27 "${lib.getDev dep}/include" 28 + "${lib.getDev dep}/include/SDL2" 28 29 ]) buildInputs); 29 30 buildinputs_lib = builtins.toJSON (builtins.concatMap (dep: [ 30 31 "${lib.getLib dep}/"
+2 -2
pkgs/development/python-modules/pyglet/default.nix
··· 18 18 }: 19 19 20 20 buildPythonPackage rec { 21 - version = "1.5.22"; 21 + version = "1.5.23"; 22 22 pname = "pyglet"; 23 23 disabled = pythonOlder "3.6"; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "sha256-VjDcNuoA/cEa06g5TGdkF+w2WyX92a9XoQfhmtxBGw8="; 27 + sha256 = "sha256-3ukgIDzzBhWcUDurti84eHJocIl39clF0oM3WUt5fEY="; 28 28 extension = "zip"; 29 29 }; 30 30
+2 -2
pkgs/development/python-modules/pypandoc/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "pypandoc"; 7 - version = "1.7.3"; 7 + version = "1.7.4"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "sha256-Tv0vqKN9AAXdfQRMt/QuqeFB3wNTh1DsWu0XNZukTUc="; 11 + sha256 = "sha256-KN4j9kbZ6ARAPGth180yptdso1arx563IXvb/2dI+G4="; 12 12 }; 13 13 14 14 patches = [
+2 -2
pkgs/development/python-modules/pyrogram/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pyrogram"; 15 - version = "1.4.8"; 15 + version = "1.4.9"; 16 16 17 17 disabled = pythonOlder "3.6"; 18 18 19 19 src = fetchPypi { 20 20 pname = "Pyrogram"; 21 21 inherit version; 22 - hash = "sha256-mUJEV8DLYhXNvYiuiVDCfgMmZRDCNZuydngj9C9FvQU="; 22 + hash = "sha256-iAPzQDHRyFl8m/23zTGOFXA3v5ONU5BGp7KT1ZSywA4="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pysigma-backend-splunk/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pysigma-backend-splunk"; 13 - version = "0.2.0"; 13 + version = "0.2.2"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.8"; ··· 19 19 owner = "SigmaHQ"; 20 20 repo = "pySigma-backend-splunk"; 21 21 rev = "v${version}"; 22 - hash = "sha256-EP0gcK05hZ5TCOgTePezfEGbW45dGrnnksWyI9Jo9MQ="; 22 + hash = "sha256-NAhAWK1eSSGQAlMGgMHrW/RTpT9LJMqwkhE9/8xWGT8="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pysigma/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pysigma"; 14 - version = "0.4.2"; 14 + version = "0.4.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "SigmaHQ"; 21 21 repo = "pySigma"; 22 22 rev = "v${version}"; 23 - hash = "sha256-0k6m86RQoP4QTuxmCWBpxiGqaJt3alOLS5BAuOFwdb4="; 23 + hash = "sha256-NE6XmylUc3MeDRMOJo51jtb6J0Vi9tDT6tbYBepDsvw="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+3 -2
pkgs/development/python-modules/pytorch/bin.nix
··· 4 4 , isPy37 5 5 , isPy38 6 6 , isPy39 7 + , isPy310 7 8 , python 8 9 , addOpenGLRunpath 9 10 , future ··· 19 20 pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; 20 21 srcs = import ./binary-hashes.nix version; 21 22 unsupported = throw "Unsupported system"; 22 - version = "1.10.0"; 23 + version = "1.11.0"; 23 24 in buildPythonPackage { 24 25 inherit version; 25 26 ··· 28 29 29 30 format = "wheel"; 30 31 31 - disabled = !(isPy37 || isPy38 || isPy39); 32 + disabled = !(isPy37 || isPy38 || isPy39 || isPy310); 32 33 33 34 src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; 34 35
+40 -25
pkgs/development/python-modules/pytorch/binary-hashes.nix
··· 6 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 7 8 8 version : builtins.getAttr version { 9 - "1.10.0" = { 9 + "1.11.0" = { 10 10 x86_64-linux-37 = { 11 - name = "torch-1.10.0-cp37-cp37m-linux_x86_64.whl"; 12 - url = "https://download.pytorch.org/whl/cu113/torch-1.10.0%2Bcu113-cp37-cp37m-linux_x86_64.whl"; 13 - hash = "sha256-KpDbklee2HXSqgrWr1U1nj8EJqUjBWp7SbACw8xtKtg="; 11 + name = "torch-1.11.0-cp37-cp37m-linux_x86_64.whl"; 12 + url = "https://download.pytorch.org/whl/cu113/torch-1.11.0%2Bcu113-cp37-cp37m-linux_x86_64.whl"; 13 + hash = "sha256-9WMzRw2uo8lweLN2B+ADXMz3L8XDb9hFRuGkuNmUTys="; 14 14 }; 15 15 x86_64-linux-38 = { 16 - name = "torch-1.10.0-cp38-cp38-linux_x86_64.whl"; 17 - url = "https://download.pytorch.org/whl/cu113/torch-1.10.0%2Bcu113-cp38-cp38-linux_x86_64.whl"; 18 - hash = "sha256-zM3cMriUG9A+3in/ChzOLytRETpe4ju4uXkxasIRQYM="; 16 + name = "torch-1.11.0-cp38-cp38-linux_x86_64.whl"; 17 + url = "https://download.pytorch.org/whl/cu113/torch-1.11.0%2Bcu113-cp38-cp38-linux_x86_64.whl"; 18 + hash = "sha256-tqeZvbbuPZFOXmK920J21KECSMGvTy0hdzjl+e4nSFs="; 19 19 }; 20 20 x86_64-linux-39 = { 21 - name = "torch-1.10.0-cp39-cp39-linux_x86_64.whl"; 22 - url = "https://download.pytorch.org/whl/cu113/torch-1.10.0%2Bcu113-cp39-cp39-linux_x86_64.whl"; 23 - hash = "sha256-w8UJDh4b5cgDu7ZSvDoKzNH4hiXEyRfvpycNOg+wJOg="; 21 + name = "torch-1.11.0-cp39-cp39-linux_x86_64.whl"; 22 + url = "https://download.pytorch.org/whl/cu113/torch-1.11.0%2Bcu113-cp39-cp39-linux_x86_64.whl"; 23 + hash = "sha256-6RJrCl2VcEvuQKnQ7xy9gtjceGPkY4o3a+9wLf1lk3A="; 24 + }; 25 + x86_64-linux-310 = { 26 + name = "torch-1.11.0-cp310-cp310-linux_x86_64.whl"; 27 + url = "https://download.pytorch.org/whl/cu113/torch-1.11.0%2Bcu113-cp310-cp310-linux_x86_64.whl"; 28 + hash = "sha256-powzZXpUYTHrm8ROKpjS+nBKr66GFGCwUbgoE4Usy0Q="; 24 29 }; 25 30 x86_64-darwin-37 = { 26 - name = "torch-1.10.0-cp37-none-macosx_10_9_x86_64.whl"; 27 - url = "https://download.pytorch.org/whl/cpu/torch-1.10.0-cp37-none-macosx_10_9_x86_64.whl"; 28 - hash = "sha256-RJkFVUcIfX736KdU8JwsTxRwKXrj5UkDY9umbHVQGyE="; 31 + name = "torch-1.11.0-cp37-none-macosx_10_9_x86_64.whl"; 32 + url = "https://download.pytorch.org/whl/cpu/torch-1.11.0-cp37-none-macosx_10_9_x86_64.whl"; 33 + hash = "sha256-aGCx0b8LsLZ6a9R/haDkyCW1GO6hO11hAZmdu8vVvAw="; 29 34 }; 30 35 x86_64-darwin-38 = { 31 - name = "torch-1.10.0-cp38-none-macosx_10_9_x86_64.whl"; 32 - url = "https://download.pytorch.org/whl/cpu/torch-1.10.0-cp38-none-macosx_10_9_x86_64.whl"; 33 - hash = "sha256-rvevti6bF0tODl4eSkLjurO4SQpmjWZvYvfUUXVZ+/I="; 36 + name = "torch-1.11.0-cp38-none-macosx_10_9_x86_64.whl"; 37 + url = "https://download.pytorch.org/whl/cpu/torch-1.11.0-cp38-none-macosx_10_9_x86_64.whl"; 38 + hash = "sha256-DMyFzQYiej7fgJ4seV/Vdiw9Too4tcn3RMbnz4QTYbs="; 34 39 }; 35 40 x86_64-darwin-39 = { 36 - name = "torch-1.10.0-cp39-none-macosx_10_9_x86_64.whl"; 37 - url = "https://download.pytorch.org/whl/cpu/torch-1.10.0-cp39-none-macosx_10_9_x86_64.whl"; 38 - hash = "sha256-1u+HRwtE35lw6EVCVH1bp3ILuJYWYCRB31VaObEk4rw="; 41 + name = "torch-1.11.0-cp39-none-macosx_10_9_x86_64.whl"; 42 + url = "https://download.pytorch.org/whl/cpu/torch-1.11.0-cp39-none-macosx_10_9_x86_64.whl"; 43 + hash = "sha256-UP2b+FxXjIccKPHLCs6d/GAkQBx/OZsXT7DzcImfRFQ="; 44 + }; 45 + x86_64-darwin-310 = { 46 + name = "torch-1.11.0-cp310-none-macosx_10_9_x86_64.whl"; 47 + url = "https://download.pytorch.org/whl/cpu/torch-1.11.0-cp39-none-macosx_10_9_x86_64.whl"; 48 + hash = "sha256-UP2b+FxXjIccKPHLCs6d/GAkQBx/OZsXT7DzcImfRFQ="; 39 49 }; 40 50 aarch64-darwin-38 = { 41 - name = "torch-1.10.0-cp38-none-macosx_11_0_arm64.whl"; 42 - url = "https://download.pytorch.org/whl/cpu/torch-1.10.0-cp38-none-macosx_11_0_arm64.whl"; 43 - hash = "sha256-1hhYJ7KFeAZTzdgdd6Cf3KdqWxkNWYbVUr4qXEQs+qQ="; 51 + name = "torch-1.11.0-cp38-none-macosx_11_0_arm64.whl"; 52 + url = "https://download.pytorch.org/whl/cpu/torch-1.11.0-cp38-none-macosx_11_0_arm64.whl"; 53 + hash = "sha256-wVVOSddPGyw+cgLXcFa6LddGVDdYW6xkBitYD3FKROk="; 44 54 }; 45 55 aarch64-darwin-39 = { 46 - name = "torch-1.10.0-cp39-none-macosx_11_0_arm64.whl"; 47 - url = "https://download.pytorch.org/whl/cpu/torch-1.10.0-cp39-none-macosx_11_0_arm64.whl"; 48 - hash = "sha256-7qZ17AHsS0oGVf0phPFmpco7kz2uatTrTlLrpwJtwXY="; 56 + name = "torch-1.11.0-cp39-none-macosx_11_0_arm64.whl"; 57 + url = "https://download.pytorch.org/whl/cpu/torch-1.11.0-cp39-none-macosx_11_0_arm64.whl"; 58 + hash = "sha256-DkivZq11Xw+cXyZkAopBT1fEnWrcN+d+Bv4ABNpO22E="; 59 + }; 60 + aarch64-darwin-310 = { 61 + name = "torch-1.11.0-cp310-none-macosx_11_0_arm64.whl"; 62 + url = "https://download.pytorch.org/whl/cpu/torch-1.11.0-cp39-none-macosx_11_0_arm64.whl"; 63 + hash = "sha256-DkivZq11Xw+cXyZkAopBT1fEnWrcN+d+Bv4ABNpO22E="; 49 64 }; 50 65 }; 51 66 }
+13 -4
pkgs/development/python-modules/pytorch/prefetch.sh
··· 5 5 6 6 version=$1 7 7 8 - bucket="https://download.pytorch.org/whl/cu113" 8 + linux_bucket="https://download.pytorch.org/whl/cu113" 9 + darwin_bucket="https://download.pytorch.org/whl/cpu" 9 10 10 11 url_and_key_list=( 11 - "x86_64-linux-37 $bucket/torch-${version}%2Bcu113-cp37-cp37m-linux_x86_64.whl torch-${version}-cp37-cp37m-linux_x86_64.whl" 12 - "x86_64-linux-38 $bucket/torch-${version}%2Bcu113-cp38-cp38-linux_x86_64.whl torch-${version}-cp38-cp38-linux_x86_64.whl" 13 - "x86_64-linux-39 $bucket/torch-${version}%2Bcu113-cp39-cp39-linux_x86_64.whl torch-${version}-cp39-cp39-linux_x86_64.whl" 12 + "x86_64-linux-37 $linux_bucket/torch-${version}%2Bcu113-cp37-cp37m-linux_x86_64.whl torch-${version}-cp37-cp37m-linux_x86_64.whl" 13 + "x86_64-linux-38 $linux_bucket/torch-${version}%2Bcu113-cp38-cp38-linux_x86_64.whl torch-${version}-cp38-cp38-linux_x86_64.whl" 14 + "x86_64-linux-39 $linux_bucket/torch-${version}%2Bcu113-cp39-cp39-linux_x86_64.whl torch-${version}-cp39-cp39-linux_x86_64.whl" 15 + "x86_64-linux-310 $linux_bucket/torch-${version}%2Bcu113-cp310-cp310-linux_x86_64.whl torch-${version}-cp310-cp310-linux_x86_64.whl" 16 + "x86_64-darwin-37 $darwin_bucket/torch-${version}-cp37-none-macosx_10_9_x86_64.whl torch-${version}-cp37-none-macosx_10_9_x86_64.whl" 17 + "x86_64-darwin-38 $darwin_bucket/torch-${version}-cp38-none-macosx_10_9_x86_64.whl torch-${version}-cp38-none-macosx_10_9_x86_64.whl" 18 + "x86_64-darwin-39 $darwin_bucket/torch-${version}-cp39-none-macosx_10_9_x86_64.whl torch-${version}-cp39-none-macosx_10_9_x86_64.whl" 19 + "x86_64-darwin-310 $darwin_bucket/torch-${version}-cp310-none-macosx_10_9_x86_64.whl torch-${version}-cp310-none-macosx_10_9_x86_64.whl" 20 + "aarch64-darwin-38 $darwin_bucket/torch-${version}-cp38-none-macosx_11_0_arm64.whl torch-${version}-cp38-none-macosx_11_0_arm64.whl" 21 + "aarch64-darwin-39 $darwin_bucket/torch-${version}-cp39-none-macosx_11_0_arm64.whl torch-${version}-cp39-none-macosx_11_0_arm64.whl" 22 + "aarch64-darwin-310 $darwin_bucket/torch-${version}-cp310-none-macosx_11_0_arm64.whl torch-${version}-cp310-none-macosx_11_0_arm64.whl" 14 23 ) 15 24 16 25 hashfile="binary-hashes-$version.nix"
+2 -2
pkgs/development/python-modules/pyudev/default.nix
··· 1 1 { lib, fetchPypi, buildPythonPackage 2 - , six, systemd, pytest, mock, hypothesis, docutils 2 + , six, udev, pytest, mock, hypothesis, docutils 3 3 }: 4 4 5 5 buildPythonPackage rec { ··· 13 13 14 14 postPatch = '' 15 15 substituteInPlace src/pyudev/_ctypeslib/utils.py \ 16 - --replace "find_library(name)" "'${lib.getLib systemd}/lib/libudev.so'" 16 + --replace "find_library(name)" "'${lib.getLib udev}/lib/libudev.so'" 17 17 ''; 18 18 19 19 checkInputs = [ pytest mock hypothesis docutils ];
+40
pkgs/development/python-modules/pyzbar/default.nix
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, numpy, pillow, zbar, pytestCheckHook }: 2 + 3 + buildPythonPackage rec { 4 + pname = "pyzbar"; 5 + version = "0.1.9"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "NaturalHistoryMuseum"; 9 + repo = "pyzbar"; 10 + rev = "v${version}"; 11 + sha256 = "8IZQY6qB4r1SUPItDlTDnVQuPs0I38K3yJ6LiPJuwbU="; 12 + }; 13 + 14 + propagatedBuildInputs = [ zbar pillow numpy ]; 15 + 16 + checkInputs = [ pytestCheckHook ]; 17 + 18 + # find_library doesn't return an absolute path 19 + # https://github.com/NixOS/nixpkgs/issues/7307 20 + postPatch = '' 21 + substituteInPlace pyzbar/zbar_library.py \ 22 + --replace "find_library('zbar')" "'${lib.getLib zbar}/lib/libzbar.so.0'" 23 + ''; 24 + 25 + disabledTests = [ 26 + # find_library has been replaced by a hardcoded path 27 + # the test fails due to find_library not called 28 + "test_found_non_windows" 29 + "test_not_found_non_windows" 30 + ]; 31 + 32 + pythonImportsCheck = [ "pyzbar" ]; 33 + 34 + meta = with lib; { 35 + description = "Read one-dimensional barcodes and QR codes from Python using the zbar library."; 36 + homepage = "https://github.com/NaturalHistoryMuseum/pyzbar"; 37 + license = licenses.mit; 38 + maintainers = with maintainers; [ gador ]; 39 + }; 40 + }
+2 -2
pkgs/development/python-modules/qtpy/default.nix
··· 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - sha256 = "sha256-rf0HP/vS3oHceqoLmDSZ71xZyWrc/cyd6mDULKiF648="; 24 + sha256 = "13zbhnl2rm30xafwrzfwdb4mjp7gk4s9h2xagbf83pnjzczhgzdd"; 25 25 }; 26 26 27 27 propagatedBuildInputs = [ ··· 46 46 ]; 47 47 48 48 meta = with lib; { 49 - description = "Abstraction layer for PyQt5/PyQt4/PySide2/PySide"; 49 + description = "Abstraction layer for PyQt5/PyQt6/PySide2/PySide6"; 50 50 homepage = "https://github.com/spyder-ide/qtpy"; 51 51 license = licenses.mit; 52 52 };
+2 -2
pkgs/development/python-modules/samsungtvws/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "samsungtvws"; 8 - version = "2.4.0"; 8 + version = "2.5.0"; 9 9 disabled = isPy27; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-LbNHaSbNCwoffox6B8kEUzxjkSJotB+P1bw3wbU7DZk="; 13 + sha256 = "sha256-AFCN1b80GZ24g3oWe1qqc72yWQy4+/sorL8zwOYM7vo="; 14 14 }; 15 15 16 16 propagatedBuildInputs = [
+1
pkgs/development/python-modules/scancode-toolkit/default.nix
··· 131 131 132 132 postPatch = '' 133 133 substituteInPlace setup.cfg \ 134 + --replace "pdfminer.six >= 20200101" "pdfminer.six" \ 134 135 --replace "pluggy >= 0.12.0, < 1.0" "pluggy" \ 135 136 --replace "pygmars >= 0.7.0" "pygmars" \ 136 137 --replace "license_expression >= 21.6.14" "license_expression"
+2 -2
pkgs/development/python-modules/sense-energy/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "sense-energy"; 12 - version = "0.10.2"; 12 + version = "0.10.3"; 13 13 format = "setuptools"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "scottbonline"; 17 17 repo = "sense"; 18 18 rev = version; 19 - hash = "sha256-0D0AagmLozF5nLbdcmtE9q65vG2WxWv+hZLTnjmmfEY="; 19 + hash = "sha256-oekzLnEQleJPYO6QI2EwflXsbnrQVbqXQOZOnCfEHdg="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/stripe/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "stripe"; 10 - version = "2.67.0"; 10 + version = "2.68.0"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-cYuT1qGBBSQ7zgybSOUY9y8fCD0n8H4HuL2zpUH+ODU="; 17 + hash = "sha256-X3lYAxM/KlC4NjBJrq/4Gze37wpcVKTA11VaQRpAt68="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/teslajsonpy/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "teslajsonpy"; 18 - version = "1.8.0"; 18 + version = "1.9.0"; 19 19 format = "pyproject"; 20 20 21 21 disabled = pythonOlder "3.6"; ··· 24 24 owner = "zabuldon"; 25 25 repo = pname; 26 26 rev = "v${version}"; 27 - sha256 = "sha256-9EFbsJPn543fVGQ46cikEE9rE4qBr/2q6vX7u4tui7I="; 27 + sha256 = "sha256-Q/ltNdr2Huvfj1RmKFopJbaR4FSM7ziWadmDKPS26vc="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+6 -2
pkgs/development/python-modules/torchaudio/bin.nix
··· 2 2 , stdenv 3 3 , buildPythonPackage 4 4 , fetchurl 5 + , isPy37 6 + , isPy38 7 + , isPy39 8 + , isPy310 5 9 , python 6 10 , pytorch-bin 7 11 , pythonOlder ··· 10 14 11 15 buildPythonPackage rec { 12 16 pname = "torchaudio"; 13 - version = "0.10.0"; 17 + version = "0.11.0"; 14 18 format = "wheel"; 15 19 16 20 src = ··· 19 23 srcs = (import ./binary-hashes.nix version)."${stdenv.system}-${pyVerNoDot}" or unsupported; 20 24 in fetchurl srcs; 21 25 22 - disabled = ! (pythonAtLeast "3.7" && pythonOlder "3.10"); 26 + disabled = !(isPy37 || isPy38 || isPy39 || isPy310); 23 27 24 28 propagatedBuildInputs = [ 25 29 pytorch-bin
+50 -10
pkgs/development/python-modules/torchaudio/binary-hashes.nix
··· 6 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 7 8 8 version : builtins.getAttr version { 9 - "0.10.0" = { 9 + "0.11.0" = { 10 10 x86_64-linux-37 = { 11 - name = "torchaudio-0.10.0-cp37-cp37m-linux_x86_64.whl"; 12 - url = "https://download.pytorch.org/whl/cu113/torchaudio-0.10.0%2Bcu113-cp37-cp37m-linux_x86_64.whl"; 13 - hash = "sha256-FspXTTODdkO0nPUJcJm8+vLIvckUa8gRfBPBT9LcKPw="; 11 + name = "torchaudio-0.11.0-cp37-cp37m-linux_x86_64.whl"; 12 + url = "https://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp37-cp37m-linux_x86_64.whl"; 13 + hash = "sha256-AdqgntXh2rTD7rBePshFAQ2tVl7b+734wG4r471/Y2U="; 14 14 }; 15 15 x86_64-linux-38 = { 16 - name = "torchaudio-0.10.0-cp38-cp38-linux_x86_64.whl"; 17 - url = "https://download.pytorch.org/whl/cu113/torchaudio-0.10.0%2Bcu113-cp38-cp38-linux_x86_64.whl"; 18 - hash = "sha256-Mf7QdXBSIIWRfT7ACthEwFA1V2ieid8legbMnRQnzqI="; 16 + name = "torchaudio-0.11.0-cp38-cp38-linux_x86_64.whl"; 17 + url = "https://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp38-cp38-linux_x86_64.whl"; 18 + hash = "sha256-zuCHDpz3bkOUjYWprqX9VXoUbXfR8Vhdf1VFfOUg8z4="; 19 19 }; 20 20 x86_64-linux-39 = { 21 - name = "torchaudio-0.10.0-cp39-cp39-linux_x86_64.whl"; 22 - url = "https://download.pytorch.org/whl/cu113/torchaudio-0.10.0%2Bcu113-cp39-cp39-linux_x86_64.whl"; 23 - hash = "sha256-LMSGNdmku1iHRy1jCRTTOYcQlRL+Oc9jjZC1nx++skA="; 21 + name = "torchaudio-0.11.0-cp39-cp39-linux_x86_64.whl"; 22 + url = "https://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp39-cp39-linux_x86_64.whl"; 23 + hash = "sha256-btI9TpsOjeLnIz6J56avNv4poJTpXjjhDbMy6+ZFQvI="; 24 + }; 25 + x86_64-linux-310 = { 26 + name = "torchaudio-0.11.0-cp310-cp310-linux_x86_64.whl"; 27 + url = "https://download.pytorch.org/whl/cu113/torchaudio-0.11.0%2Bcu113-cp310-cp310-linux_x86_64.whl"; 28 + hash = "sha256-Zk+AWytEXfJ+HM69BAPhVsvN6pgQwC6uaW7Xux2row4="; 29 + }; 30 + x86_64-darwin-37 = { 31 + name = "torchaudio-0.11.0-cp37-cp37m-macosx_10_15_x86_64.whl"; 32 + url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp37-cp37m-macosx_10_15_x86_64.whl"; 33 + hash = "sha256-uaTT4athEWHAZe0hBoBIM/9LhfZNhAIexZBGg2MWn50="; 34 + }; 35 + x86_64-darwin-38 = { 36 + name = "torchaudio-0.11.0-cp38-cp38-macosx_10_15_x86_64.whl"; 37 + url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp38-cp38-macosx_10_15_x86_64.whl"; 38 + hash = "sha256-9OndqejTzgu9XnkZJiGfUFS4uFNlx5vi7pAzOs+a2/w="; 39 + }; 40 + x86_64-darwin-39 = { 41 + name = "torchaudio-0.11.0-cp39-cp39-macosx_10_15_x86_64.whl"; 42 + url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp39-cp39-macosx_10_15_x86_64.whl"; 43 + hash = "sha256-cNi8B/J3YI0jqaoI2z+68DVmAlS8EtmzYWQMRVZ3dVk="; 44 + }; 45 + x86_64-darwin-310 = { 46 + name = "torchaudio-0.11.0-cp310-cp310-macosx_10_15_x86_64.whl"; 47 + url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp310-cp310-macosx_10_15_x86_64.whl"; 48 + hash = "sha256-g2Pj2wqK9YIP19O/g5agryPcgiHJqdS2Di44mAVJKUQ="; 49 + }; 50 + aarch64-darwin-38 = { 51 + name = "torchaudio-0.11.0-cp38-cp38-macosx_11_0_arm64.whl"; 52 + url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp38-cp38-macosx_11_0_arm64.whl"; 53 + hash = "sha256-MX/Y7Dn92zrx2tkGWTuezcPt9o5/V4DEL43pVlha5IA="; 54 + }; 55 + aarch64-darwin-39 = { 56 + name = "torchaudio-0.11.0-cp39-cp39-macosx_11_0_arm64.whl"; 57 + url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp39-cp39-macosx_11_0_arm64.whl"; 58 + hash = "sha256-5eVRP83VeHAGGWW++/B2V4eyX0mcPgC1j02ETkQYMXc="; 59 + }; 60 + aarch64-darwin-310 = { 61 + name = "torchaudio-0.11.0-cp310-cp310-macosx_11_0_arm64.whl"; 62 + url = "https://download.pytorch.org/whl/torchaudio-0.11.0-cp310-cp310-macosx_11_0_arm64.whl"; 63 + hash = "sha256-06OyzOuV8E7ZNtozvFO9Zm2rBxWnnbM65HGYUiQdwtI="; 24 64 }; 25 65 }; 26 66 }
+13 -4
pkgs/development/python-modules/torchaudio/prefetch.sh
··· 5 5 6 6 version=$1 7 7 8 - bucket="https://download.pytorch.org/whl/cu113" 8 + linux_bucket="https://download.pytorch.org/whl/cu113" 9 + darwin_bucket="https://download.pytorch.org/whl" 9 10 10 11 url_and_key_list=( 11 - "x86_64-linux-37 $bucket/torchaudio-${version}%2Bcu113-cp37-cp37m-linux_x86_64.whl torchaudio-${version}-cp37-cp37m-linux_x86_64.whl" 12 - "x86_64-linux-38 $bucket/torchaudio-${version}%2Bcu113-cp38-cp38-linux_x86_64.whl torchaudio-${version}-cp38-cp38-linux_x86_64.whl" 13 - "x86_64-linux-39 $bucket/torchaudio-${version}%2Bcu113-cp39-cp39-linux_x86_64.whl torchaudio-${version}-cp39-cp39-linux_x86_64.whl" 12 + "x86_64-linux-37 $linux_bucket/torchaudio-${version}%2Bcu113-cp37-cp37m-linux_x86_64.whl torchaudio-${version}-cp37-cp37m-linux_x86_64.whl" 13 + "x86_64-linux-38 $linux_bucket/torchaudio-${version}%2Bcu113-cp38-cp38-linux_x86_64.whl torchaudio-${version}-cp38-cp38-linux_x86_64.whl" 14 + "x86_64-linux-39 $linux_bucket/torchaudio-${version}%2Bcu113-cp39-cp39-linux_x86_64.whl torchaudio-${version}-cp39-cp39-linux_x86_64.whl" 15 + "x86_64-linux-310 $linux_bucket/torchaudio-${version}%2Bcu113-cp310-cp310-linux_x86_64.whl torchaudio-${version}-cp310-cp310-linux_x86_64.whl" 16 + "x86_64-darwin-37 $darwin_bucket/torchaudio-${version}-cp37-cp37m-macosx_10_15_x86_64.whl torchaudio-${version}-cp37-cp37m-macosx_10_15_x86_64.whl" 17 + "x86_64-darwin-38 $darwin_bucket/torchaudio-${version}-cp38-cp38-macosx_10_15_x86_64.whl torchaudio-${version}-cp38-cp38-macosx_10_15_x86_64.whl" 18 + "x86_64-darwin-39 $darwin_bucket/torchaudio-${version}-cp39-cp39-macosx_10_15_x86_64.whl torchaudio-${version}-cp39-cp39-macosx_10_15_x86_64.whl" 19 + "x86_64-darwin-310 $darwin_bucket/torchaudio-${version}-cp310-cp310-macosx_10_15_x86_64.whl torchaudio-${version}-cp310-cp310-macosx_10_15_x86_64.whl" 20 + "aarch64-darwin-38 $darwin_bucket/torchaudio-${version}-cp38-cp38-macosx_11_0_arm64.whl torchaudio-${version}-cp38-cp38-macosx_11_0_arm64.whl" 21 + "aarch64-darwin-39 $darwin_bucket/torchaudio-${version}-cp39-cp39-macosx_11_0_arm64.whl torchaudio-${version}-cp39-cp39-macosx_11_0_arm64.whl" 22 + "aarch64-darwin-310 $darwin_bucket/torchaudio-${version}-cp310-cp310-macosx_11_0_arm64.whl torchaudio-${version}-cp310-cp310-macosx_11_0_arm64.whl" 14 23 ) 15 24 16 25 hashfile=binary-hashes-"$version".nix
+3 -2
pkgs/development/python-modules/torchvision/bin.nix
··· 5 5 , isPy37 6 6 , isPy38 7 7 , isPy39 8 + , isPy310 8 9 , patchelf 9 10 , pillow 10 11 , python ··· 15 16 pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; 16 17 srcs = import ./binary-hashes.nix version; 17 18 unsupported = throw "Unsupported system"; 18 - version = "0.11.1"; 19 + version = "0.12.0"; 19 20 in buildPythonPackage { 20 21 inherit version; 21 22 ··· 25 26 26 27 src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; 27 28 28 - disabled = !(isPy37 || isPy38 || isPy39); 29 + disabled = !(isPy37 || isPy38 || isPy39 || isPy310); 29 30 30 31 nativeBuildInputs = [ 31 32 patchelf
+50 -10
pkgs/development/python-modules/torchvision/binary-hashes.nix
··· 6 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 7 8 8 version : builtins.getAttr version { 9 - "0.11.1" = { 9 + "0.12.0" = { 10 10 x86_64-linux-37 = { 11 - name = "torchvision-0.11.1-cp37-cp37m-linux_x86_64.whl"; 12 - url = "https://download.pytorch.org/whl/cu113/torchvision-0.11.1%2Bcu113-cp37-cp37m-linux_x86_64.whl"; 13 - hash = "sha256-2xKWqWNKqmOMyVJnPfbtF+B9PQ7z4S66J1T3P8EvM0I="; 11 + name = "torchvision-0.12.0-cp37-cp37m-linux_x86_64.whl"; 12 + url = "https://download.pytorch.org/whl/cu113/torchvision-0.12.0%2Bcu113-cp37-cp37m-linux_x86_64.whl"; 13 + hash = "sha256-i/qktZT+5HQYQjtTHtxOV751DcsP9AHMsSV9/svsGzA="; 14 14 }; 15 15 x86_64-linux-38 = { 16 - name = "torchvision-0.11.1-cp38-cp38-linux_x86_64.whl"; 17 - url = "https://download.pytorch.org/whl/cu113/torchvision-0.11.1%2Bcu113-cp38-cp38-linux_x86_64.whl"; 18 - hash = "sha256-bFxvJaNEomytXXANHng+oU8YSLGkuO/TSzkoDskkaIE="; 16 + name = "torchvision-0.12.0-cp38-cp38-linux_x86_64.whl"; 17 + url = "https://download.pytorch.org/whl/cu113/torchvision-0.12.0%2Bcu113-cp38-cp38-linux_x86_64.whl"; 18 + hash = "sha256-NxM+jFsOwvAZmeWRFvbQ422a+xx/j1i9DD3ImW+DVBk="; 19 19 }; 20 20 x86_64-linux-39 = { 21 - name = "torchvision-0.11.1-cp39-cp39-linux_x86_64.whl"; 22 - url = "https://download.pytorch.org/whl/cu113/torchvision-0.11.1%2Bcu113-cp39-cp39-linux_x86_64.whl"; 23 - hash = "sha256-ysN3LmSKR+FVKYGnCGQJqa8lVApVT5rPMO+NHmmazAc="; 21 + name = "torchvision-0.12.0-cp39-cp39-linux_x86_64.whl"; 22 + url = "https://download.pytorch.org/whl/cu113/torchvision-0.12.0%2Bcu113-cp39-cp39-linux_x86_64.whl"; 23 + hash = "sha256-bGO5q+KEnv7SexmbbUWaIbsBcIxyDbL8pevZQbLwDbg="; 24 + }; 25 + x86_64-linux-310 = { 26 + name = "torchvision-0.12.0-cp310-cp310-linux_x86_64.whl"; 27 + url = "https://download.pytorch.org/whl/cu113/torchvision-0.12.0%2Bcu113-cp310-cp310-linux_x86_64.whl"; 28 + hash = "sha256-ocsGOHa967HcZGV+1omD/xMHufmoi166Yg2Hr+SEhfE="; 29 + }; 30 + x86_64-darwin-37 = { 31 + name = "torchvision-0.12.0-cp37-cp37m-macosx_10_9_x86_64.whl"; 32 + url = "https://download.pytorch.org/whl/torchvision-0.12.0-cp37-cp37m-macosx_10_9_x86_64.whl"; 33 + hash = "sha256-GJM7xZf0VjmTJJcZqWqV28fTN0yQ+7MNPafVGPOv60I="; 34 + }; 35 + x86_64-darwin-38 = { 36 + name = "torchvision-0.12.0-cp38-cp38-macosx_10_9_x86_64.whl"; 37 + url = "https://download.pytorch.org/whl/torchvision-0.12.0-cp38-cp38-macosx_10_9_x86_64.whl"; 38 + hash = "sha256-DWAuCb1Fc2/y55aOjduw7s6Vb/ltcVSLGxtIeP33S9g="; 39 + }; 40 + x86_64-darwin-39 = { 41 + name = "torchvision-0.12.0-cp39-cp39-macosx_10_9_x86_64.whl"; 42 + url = "https://download.pytorch.org/whl/torchvision-0.12.0-cp39-cp39-macosx_10_9_x86_64.whl"; 43 + hash = "sha256-RMye+ZLS4qtjsIg/fezrwiRNupO3JUe6EfV6yEUvbq0="; 44 + }; 45 + x86_64-darwin-310 = { 46 + name = "torchvision-0.12.0-cp310-cp310-macosx_10_9_x86_64.whl"; 47 + url = "https://download.pytorch.org/whl/torchvision-0.12.0-cp310-cp310-macosx_10_9_x86_64.whl"; 48 + hash = "sha256-aTZW5nkLarIeSm6H6BwpgrrZ5FW16yThS7ZyOC7GEw8="; 49 + }; 50 + aarch64-darwin-38 = { 51 + name = "torchvision-0.12.0-cp38-cp38-macosx_11_0_arm64.whl"; 52 + url = "https://download.pytorch.org/whl/torchvision-0.12.0-cp38-cp38-macosx_11_0_arm64.whl"; 53 + hash = "sha256-n0JCD38LKc09YXdt8xV4JyV6DPFrLAJ3bcFslquxJW0="; 54 + }; 55 + aarch64-darwin-39 = { 56 + name = "torchvision-0.12.0-cp39-cp39-macosx_11_0_arm64.whl"; 57 + url = "https://download.pytorch.org/whl/torchvision-0.12.0-cp39-cp39-macosx_11_0_arm64.whl"; 58 + hash = "sha256-adgvR7Z7rW3cu4eDO6WVCmwnG6l7quTAlVYQBxvwNPU="; 59 + }; 60 + aarch64-darwin-310 = { 61 + name = "torchvision-0.12.0-cp310-cp310-macosx_11_0_arm64.whl"; 62 + url = "https://download.pytorch.org/whl/torchvision-0.12.0-cp310-cp310-macosx_11_0_arm64.whl"; 63 + hash = "sha256-oL5FAcoLobGVZEySQ/SaHEmiblKn83kkxCOdC/XsvY0="; 24 64 }; 25 65 }; 26 66 }
+13 -4
pkgs/development/python-modules/torchvision/prefetch.sh
··· 5 5 6 6 version=$1 7 7 8 - bucket="https://download.pytorch.org/whl/cu113" 8 + linux_bucket="https://download.pytorch.org/whl/cu113" 9 + darwin_bucket="https://download.pytorch.org/whl" 9 10 10 11 url_and_key_list=( 11 - "x86_64-linux-37 $bucket/torchvision-${version}%2Bcu113-cp37-cp37m-linux_x86_64.whl torchvision-${version}-cp37-cp37m-linux_x86_64.whl" 12 - "x86_64-linux-38 $bucket/torchvision-${version}%2Bcu113-cp38-cp38-linux_x86_64.whl torchvision-${version}-cp38-cp38-linux_x86_64.whl" 13 - "x86_64-linux-39 $bucket/torchvision-${version}%2Bcu113-cp39-cp39-linux_x86_64.whl torchvision-${version}-cp39-cp39-linux_x86_64.whl" 12 + "x86_64-linux-37 $linux_bucket/torchvision-${version}%2Bcu113-cp37-cp37m-linux_x86_64.whl torchvision-${version}-cp37-cp37m-linux_x86_64.whl" 13 + "x86_64-linux-38 $linux_bucket/torchvision-${version}%2Bcu113-cp38-cp38-linux_x86_64.whl torchvision-${version}-cp38-cp38-linux_x86_64.whl" 14 + "x86_64-linux-39 $linux_bucket/torchvision-${version}%2Bcu113-cp39-cp39-linux_x86_64.whl torchvision-${version}-cp39-cp39-linux_x86_64.whl" 15 + "x86_64-linux-310 $linux_bucket/torchvision-${version}%2Bcu113-cp310-cp310-linux_x86_64.whl torchvision-${version}-cp310-cp310-linux_x86_64.whl" 16 + "x86_64-darwin-37 $darwin_bucket/torchvision-${version}-cp37-cp37m-macosx_10_9_x86_64.whl torchvision-${version}-cp37-cp37m-macosx_10_9_x86_64.whl" 17 + "x86_64-darwin-38 $darwin_bucket/torchvision-${version}-cp38-cp38-macosx_10_9_x86_64.whl torchvision-${version}-cp38-cp38-macosx_10_9_x86_64.whl" 18 + "x86_64-darwin-39 $darwin_bucket/torchvision-${version}-cp39-cp39-macosx_10_9_x86_64.whl torchvision-${version}-cp39-cp39-macosx_10_9_x86_64.whl" 19 + "x86_64-darwin-310 $darwin_bucket/torchvision-${version}-cp310-cp310-macosx_10_9_x86_64.whl torchvision-${version}-cp310-cp310-macosx_10_9_x86_64.whl" 20 + "aarch64-darwin-38 $darwin_bucket/torchvision-${version}-cp38-cp38-macosx_11_0_arm64.whl torchvision-${version}-cp38-cp38-macosx_11_0_arm64.whl" 21 + "aarch64-darwin-39 $darwin_bucket/torchvision-${version}-cp39-cp39-macosx_11_0_arm64.whl torchvision-${version}-cp39-cp39-macosx_11_0_arm64.whl" 22 + "aarch64-darwin-310 $darwin_bucket/torchvision-${version}-cp310-cp310-macosx_11_0_arm64.whl torchvision-${version}-cp310-cp310-macosx_11_0_arm64.whl" 14 23 ) 15 24 16 25 hashfile="binary-hashes-$version.nix"
+2 -2
pkgs/development/python-modules/trimesh/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "trimesh"; 9 - version = "3.10.5"; 9 + version = "3.10.6"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-GtdxStdWtioRgf/Y2/broyYElqIJ2RxP3otgROw3epI="; 13 + sha256 = "sha256-oFNJ2hynf4bUY6sIXx7y4jEkCATi5rZetiCvNpwNzio="; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ numpy ];
+2 -2
pkgs/development/python-modules/twisted/default.nix
··· 17 17 }: 18 18 buildPythonPackage rec { 19 19 pname = "Twisted"; 20 - version = "22.1.0"; 20 + version = "22.2.0"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 24 extension = "tar.gz"; 25 - sha256 = "sha256-t5ceyYBbD4Dh3LGjch17+tY21fkJ3mh0MM43OXnWe2E="; 25 + sha256 = "1wml02jxni8k15984pskks7d6yin81w4d2ac026cpyiqd0gjpwsp"; 26 26 }; 27 27 28 28 propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs setuptools typing-extensions ];
+2 -2
pkgs/development/python-modules/types-protobuf/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "types-protobuf"; 9 - version = "3.19.12"; 9 + version = "3.19.14"; 10 10 format = "setuptools"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "sha256-sCIkc0dHEhmsvi/mjS82I9eIJS6Z6blzWLerkE0ming="; 14 + sha256 = "sha256-ANWbHgfICPLwPGyouksHcoFYW7KBSKMCDPv37F/H+4Y="; 15 15 }; 16 16 17 17 propagatedBuildInputs = [
+14 -5
pkgs/development/python-modules/urwid/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k, isPy27, glibcLocales }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , isPy3k 5 + , isPy27 6 + , glibcLocales 7 + }: 2 8 3 9 buildPythonPackage rec { 4 10 pname = "urwid"; 5 11 version = "2.1.2"; 12 + format = "setuptools"; 13 + 6 14 disabled = isPy27; 7 15 8 16 src = fetchPypi { ··· 17 25 # tests which assert on strings don't decode results correctly 18 26 doCheck = isPy3k; 19 27 20 - pythonImportsCheck = [ "urwid" ]; 28 + pythonImportsCheck = [ 29 + "urwid" 30 + ]; 21 31 22 32 meta = with lib; { 23 33 description = "A full-featured console (xterm et al.) user interface library"; 24 - homepage = "https://excess.org/urwid"; 25 - repositories.git = "git://github.com/wardi/urwid.git"; 26 - license = licenses.lgpl21; 34 + homepage = "https://urwid.org/"; 35 + license = licenses.lgpl21Plus; 27 36 maintainers = with maintainers; [ ]; 28 37 }; 29 38 }
+2 -2
pkgs/development/python-modules/yamale/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "yamale"; 12 - version = "4.0.3"; 12 + version = "4.0.4"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.6"; ··· 18 18 owner = "23andMe"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "sha256-EkCKUSPRrj3g2AY17tquBDxf+nWfpdnILu5AS/2SsLo="; 21 + sha256 = "sha256-1GFvgfy3MDsJGKSEm0yaQoLM7VqIS2wphw16trNTUOc="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/analysis/checkov/default.nix
··· 32 32 33 33 buildPythonApplication rec { 34 34 pname = "checkov"; 35 - version = "2.0.975"; 35 + version = "2.0.988"; 36 36 37 37 src = fetchFromGitHub { 38 38 owner = "bridgecrewio"; 39 39 repo = pname; 40 40 rev = version; 41 - hash = "sha256-vzq6HKugjM9LBaklv0IlMauSAl3bqHOikDCzrhVBVPA="; 41 + hash = "sha256-0/SL20N5d/oqWdyvVMZ+pzpPbehrYepaPi8P8SS8DSA="; 42 42 }; 43 43 44 44 nativeBuildInputs = with py.pkgs; [
+3 -3
pkgs/development/tools/analysis/tfsec/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "tfsec"; 8 - version = "1.13.0"; 8 + version = "1.13.2"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "aquasecurity"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-/N8p/tw97sDW4I1ysfJ2QXACGsSc5nRFSu6jHwQvPU4="; 14 + sha256 = "sha256-ixiuAm1MCLS7daUwiFUPoO86YOoz9qEkQT5i/YlIdf0="; 15 15 }; 16 16 17 17 ldflags = [ ··· 21 21 # "-extldflags '-fno-PIC -static'" 22 22 ]; 23 23 24 - vendorSha256 = "sha256-nTma96kT84mpJHRA9+/sZQVvwtz9arv/OHY9lgWJDFc="; 24 + vendorSha256 = "sha256-WlZJvBIdJCMA+GJ0svEzwqrdPz2wnlJx/csVarjyExw="; 25 25 26 26 subPackages = [ 27 27 "cmd/tfsec"
+2 -2
pkgs/development/tools/continuous-integration/gitlab-runner/default.nix
··· 1 1 { lib, buildGoModule, fetchFromGitLab, fetchurl }: 2 2 3 3 let 4 - version = "14.9.0"; 4 + version = "14.9.1"; 5 5 in 6 6 buildGoModule rec { 7 7 inherit version; ··· 20 20 owner = "gitlab-org"; 21 21 repo = "gitlab-runner"; 22 22 rev = "v${version}"; 23 - sha256 = "0qqwg2k50cq7bc7k1389knrjq6xdbmlxd5kavyj7pg4sfapa3i8l"; 23 + sha256 = "1h6fyhbc154fr6a8brva3clirgvga6sal6ikylf9mbkxbh7d9rcn"; 24 24 }; 25 25 26 26 patches = [
+3 -3
pkgs/development/tools/earthly/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "earthly"; 5 - version = "0.6.11"; 5 + version = "0.6.12"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "earthly"; 9 9 repo = "earthly"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-awlE+k4Oa64Z2n+XbeDuezea+5D0ol7hyscVY6j52gI="; 11 + sha256 = "sha256-M8DnSpQhW4i83cu9wp0ZKyP7137IQVjyBl0cgVvQmPI="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-uUx9C7uEdXjhDWxehGHuhuFQXdUjZAXK3qogESkRm8E="; 14 + vendorSha256 = "sha256-GvTWj0uEsCyC4/RL6woym8UwA3OCFx8NWkNQApnVMM8="; 15 15 16 16 ldflags = [ 17 17 "-s" "-w"
+3 -3
pkgs/development/tools/efm-langserver/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "efm-langserver"; 5 - version = "0.0.41"; 5 + version = "0.0.42"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mattn"; 9 9 repo = "efm-langserver"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-0s6GmMbjtXGUcChzc8Pkqvmt3iU5uDUqe76OUDngboU="; 11 + sha256 = "sha256-1IAPtqIozp9Wp3L95mmhFuWvWvCDuTh1VsCVaJSzyfk="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-tca+1SRrFyvU8ttHmfMFiGXd1A8rQSEWm1Mc2qp0EfI="; 14 + vendorSha256 = "sha256-KABezphT5/o3XWSFNe2OvfawFR8uwsGMnjsI9xh378Q="; 15 15 subPackages = [ "." ]; 16 16 17 17 meta = with lib; {
+19 -1
pkgs/development/tools/glade/default.nix
··· 1 - { lib, stdenv 1 + { stdenv 2 + , lib 2 3 , gettext 3 4 , fetchurl 5 + , fetchpatch 4 6 , python3 5 7 , meson 6 8 , ninja ··· 29 31 url = "mirror://gnome/sources/glade/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 32 sha256 = "1dxsiz9ahqkxg2a1dw9sbd8jg59y5pdz4c1gvnbmql48gmj8gz4q"; 31 33 }; 34 + 35 + patches = [ 36 + # Fix build with meson 0.61 37 + # data/meson.build:4:5: ERROR: Function does not take positional arguments. 38 + # Taken from https://gitlab.gnome.org/GNOME/glade/-/merge_requests/117 39 + (fetchpatch { 40 + url = "https://gitlab.gnome.org/GNOME/glade/-/commit/61304b2e8bac8ded76643cb7c3e781f73881dd2b.patch"; 41 + sha256 = "9x6RK8Wgnm8bDxeBLV3PlUkUuH2706Ba9kwE5S87DgE="; 42 + }) 43 + # help/meson.build:6:6: ERROR: Tried to create target "help-glade-da-update-po", but a target of that name already exists. 44 + # Taken from https://gitlab.gnome.org/GNOME/glade/-/merge_requests/117 45 + (fetchpatch { 46 + url = "https://gitlab.gnome.org/GNOME/glade/-/commit/04ba6f969f716fbfe3c7feb7e4bab8678cc1e9eb.patch"; 47 + sha256 = "j3XfF7P6rndL+0PWqnp+QYph7Ba6bgcp4Pkikr2wuJA="; 48 + }) 49 + ]; 32 50 33 51 nativeBuildInputs = [ 34 52 meson
+3 -3
pkgs/development/tools/jql/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "jql"; 5 - version = "3.1.2"; 5 + version = "3.1.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "yamafaktory"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-UC+1I87PPDuu+/A5zO2Q/Z5KbO/5jHuxsJ0r7a+uDLM="; 11 + sha256 = "sha256-kYAVgQa5NAfZ7EVzO/3fW3A5Zl8uaFXguvxBco8DfRY="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-0ezrcploLboYExcRzNnKj/vWgbJuBhteWi/Imlr4Wsg="; 14 + cargoSha256 = "sha256-Mz+1A7Wg7sh0pxg7umRym3UkXsMkRE0AQDTkt+e7l+s="; 15 15 16 16 meta = with lib; { 17 17 description = "A JSON Query Language CLI tool built with Rust";
+3 -3
pkgs/development/tools/kube-linter/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kube-linter"; 5 - version = "0.2.5"; 5 + version = "0.2.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "stackrox"; 9 9 repo = pname; 10 10 rev = "${version}"; 11 - sha256 = "GUDrUEBorV4/ZqPnfNYcsbW4Zr1LpS3yL+4OgxFbTOk="; 11 + sha256 = "nBF/AX4hgZxIj9/RYowpHX1eAJMMhvU7wunvEXWnO80="; 12 12 }; 13 13 14 - vendorSha256 = "xGghTP9thICOGIfc5VPJK06DeXfLiTckwa4nXv83/P8="; 14 + vendorSha256 = "HJW28BZ9qFLtdH1qdW8/K4TzHA2ptekXaMF0XnMKbOY="; 15 15 16 16 ldflags = [ 17 17 "-s" "-w" "-X golang.stackrox.io/kube-linter/internal/version.version=${version}"
-2
pkgs/development/tools/misc/cgdb/default.nix
··· 16 16 17 17 homepage = "https://cgdb.github.io/"; 18 18 19 - repositories.git = "git://github.com/cgdb/cgdb.git"; 20 - 21 19 license = licenses.gpl2Plus; 22 20 23 21 platforms = with platforms; linux ++ cygwin;
+77
pkgs/development/tools/misc/gef/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , gdb 6 + , python3 7 + , file 8 + , ps 9 + , git 10 + , coreutils 11 + }: 12 + 13 + let 14 + pythonPath = with python3.pkgs; makePythonPath [ 15 + keystone-engine 16 + unicorn 17 + capstone 18 + ropper 19 + ]; 20 + 21 + in stdenv.mkDerivation rec { 22 + pname = "gef"; 23 + version = "2022.01"; 24 + 25 + src = fetchFromGitHub { 26 + owner = "hugsy"; 27 + repo = "gef"; 28 + rev = version; 29 + sha256 = "sha256-Ot0OYMbXFGCzJdmDHD+LoZRDShCbYJ+IGzLTcU2Rfd4="; 30 + }; 31 + 32 + dontBuild = true; 33 + 34 + nativeBuildInputs = [ makeWrapper ]; 35 + 36 + installPhase = '' 37 + mkdir -p $out/share/gef 38 + cp gef.py $out/share/gef 39 + makeWrapper ${gdb}/bin/gdb $out/bin/gef \ 40 + --add-flags "-q -x $out/share/gef/gef.py" \ 41 + --set NIX_PYTHONPATH ${pythonPath} \ 42 + --prefix PATH : ${lib.makeBinPath [ python3 file ps ]} 43 + ''; 44 + 45 + checkInputs = [ 46 + gdb 47 + file 48 + ps 49 + git 50 + python3 51 + python3.pkgs.pytest 52 + python3.pkgs.pytest-xdist 53 + python3.pkgs.keystone-engine 54 + python3.pkgs.unicorn 55 + python3.pkgs.capstone 56 + python3.pkgs.ropper 57 + ]; 58 + checkPhase = '' 59 + # Skip some tests that require network access. 60 + sed -i '/def test_cmd_shellcode_get(self):/i \ \ \ \ @unittest.skip(reason="not available in sandbox")' tests/runtests.py 61 + sed -i '/def test_cmd_shellcode_search(self):/i \ \ \ \ @unittest.skip(reason="not available in sandbox")' tests/runtests.py 62 + 63 + # Patch the path to /bin/ls. 64 + sed -i 's+/bin/ls+${coreutils}/bin/ls+g' tests/runtests.py 65 + 66 + # Run the tests. 67 + make test 68 + ''; 69 + 70 + meta = with lib; { 71 + description = "A modern experience for GDB with advanced debugging features for exploit developers & reverse engineers"; 72 + homepage = "https://github.com/hugsy/gef"; 73 + license = licenses.mit; 74 + platforms = platforms.all; 75 + maintainers = with maintainers; [ freax13 ]; 76 + }; 77 + }
+1 -1
pkgs/development/tools/ocaml/cppo/default.nix
··· 61 61 makeFlags = [ "PREFIX=$(out)" ]; 62 62 63 63 preBuild = '' 64 - mkdir $out/bin 64 + mkdir -p $out/bin 65 65 ''; 66 66 67 67 }
+40
pkgs/development/tools/oras/default.nix
··· 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "oras"; 5 + version = "0.12.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "oras-project"; 9 + repo = "oras"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-6W7vmWFjULIJnOVtgSrCEKw/83W8jNSbM0AF4LZZR6U="; 12 + }; 13 + vendorSha256 = "sha256-3UKsH4Jbq7G5PRwhn5lW0NR80jhmuzT9daa++v2sFWk="; 14 + 15 + ldflags = [ 16 + "-s" 17 + "-w" 18 + "-X github.com/oras-project/oras/internal/version.Version=${version}" 19 + "-X github.com/oras-project/oras/internal/version.BuildMetadata=" 20 + "-X github.com/oras-project/oras/internal/version.GitTreeState=clean" 21 + ]; 22 + 23 + doInstallCheck = true; 24 + installCheckPhase = '' 25 + runHook preInstallCheck 26 + 27 + $out/bin/oras --help 28 + $out/bin/oras version | grep "${version}" 29 + 30 + runHook postInstallCheck 31 + ''; 32 + 33 + meta = with lib; { 34 + homepage = "https://oras.land/"; 35 + changelog = "https://github.com/oras-project/oras/releases/tag/v${version}"; 36 + description = "The ORAS project provides a way to push and pull OCI Artifacts to and from OCI Registries"; 37 + license = licenses.asl20; 38 + maintainers = with maintainers; [ jk ]; 39 + }; 40 + }
+2 -2
pkgs/development/tools/pipenv/default.nix
··· 19 19 20 20 in buildPythonApplication rec { 21 21 pname = "pipenv"; 22 - version = "2022.1.8"; 22 + version = "2022.3.23"; 23 23 24 24 src = fetchPypi { 25 25 inherit pname version; 26 - sha256 = "f84d7119239b22ab2ac2b8fbc7d619d83cf41135206d72a17c4f151cda529fd0"; 26 + sha256 = "sha256-pt9BdR31VTfe5UNJ4dy3eB586zS7mFsITphafg3EP8U="; 27 27 }; 28 28 29 29 LC_ALL = "en_US.UTF-8";
-1
pkgs/development/tools/profiling/systemtap/default.nix
··· 40 40 nativeBuildInputs = [ makeWrapper ]; 41 41 meta = { 42 42 homepage = "https://sourceware.org/systemtap/"; 43 - repositories.git = url; 44 43 description = "Provides a scripting language for instrumentation on a live kernel plus user-space"; 45 44 license = lib.licenses.gpl2; 46 45 platforms = lib.platforms.linux;
+2 -2
pkgs/development/tools/protoc-gen-go/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "protoc-gen-go"; 5 - version = "1.27.1"; 5 + version = "1.28.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "protocolbuffers"; 9 9 repo = "protobuf-go"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-wkUvMsoJP38KMD5b3Fz65R1cnpeTtDcVqgE7tNlZXys="; 11 + sha256 = "sha256-GXXhBXzeFgS4DjY3jDRaJu/9PbfUnmWJiE4BwDBh7Ns="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-yb8l4ooZwqfvenlxDRg95rqiL+hmsn0weS/dPv/oD2Y=";
+3 -3
pkgs/development/tools/rust/cargo-nextest/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-nextest"; 5 - version = "0.9.10"; 5 + version = "0.9.11"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "nextest-rs"; 9 9 repo = "nextest"; 10 10 rev = "cargo-nextest-${version}"; 11 - sha256 = "0gbh990dd4514bfqh4x2nymh5w608ljp3s7akq100m4v723b6339"; 11 + sha256 = "sha256-aXGXn6kxw37v0fn2SPQnGCdTg1CFJK03OIAgFjvaxpc="; 12 12 }; 13 13 14 - cargoSha256 = "0c0i274dkz3jx9dzcxl9hyf3imiga8vb6m6jc5z1f1wdq3vknh9r"; 14 + cargoSha256 = "sha256-zuPWF2sxVmlhSMy70yhRZEV6dgL2W8AGkYRbnbJdMpQ="; 15 15 16 16 cargoTestFlags = [ # TODO: investigate some more why these tests fail in nix 17 17 "--"
+2 -2
pkgs/development/tools/skopeo/default.nix
··· 14 14 15 15 buildGoModule rec { 16 16 pname = "skopeo"; 17 - version = "1.6.1"; 17 + version = "1.7.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 rev = "v${version}"; 21 21 owner = "containers"; 22 22 repo = "skopeo"; 23 - sha256 = "sha256-L3dHkF7yKnwXpXxCEswwA0TxVfjTzc89l0rpT7EYpIU="; 23 + sha256 = "sha256-sbe16IcHkhsiBznsMKtG/xYJYJfJS6aZ34++QhkGTTc="; 24 24 }; 25 25 26 26 outputs = [ "out" "man" ];
+3 -3
pkgs/development/tools/wrangler/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "wrangler"; 5 - version = "1.19.9"; 5 + version = "1.19.10"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cloudflare"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-cuntghTMGrAcrPunyi9ZWlxDcryYv7R6S3V8WJjEUtQ="; 11 + sha256 = "sha256-RKOAs7MRHcGx6BNBml7WQ81bNvdB9ipd0R1ErLTwjTQ="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-gao8vCfzb81GUte6WAt2x/pxecg443bpQxvUSQCXL40="; 14 + cargoSha256 = "sha256-9GvKDLuDIW5q1R5g20rtSScv2c0sLSo+hI9LSA4W3M8="; 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17
+8 -4
pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix
··· 74 74 preBuild ? "", 75 75 postBuild ? "", 76 76 workspaceDependencies ? [], # List of yarn packages 77 + packageResolutions ? {}, 77 78 }: 78 79 let 79 80 extraNativeBuildInputs = ··· 98 99 99 100 workspaceJSON = pkgs.writeText 100 101 "${name}-workspace-package.json" 101 - (builtins.toJSON { private = true; workspaces = ["deps/**"]; }); # scoped packages need second splat 102 + (builtins.toJSON { private = true; workspaces = ["deps/**"]; resolutions = packageResolutions; }); # scoped packages need second splat 102 103 103 104 workspaceDependencyLinks = lib.concatMapStringsSep "\n" 104 105 (dep: '' ··· 176 177 177 178 packageGlobs = if lib.isList package.workspaces then package.workspaces else package.workspaces.packages; 178 179 180 + packageResolutions = package.resolutions or {}; 181 + 179 182 globElemToRegex = lib.replaceStrings ["*"] [".*"]; 180 183 181 184 # PathGlob -> [PathGlobElem] ··· 223 226 inherit name; 224 227 value = mkYarnPackage ( 225 228 builtins.removeAttrs attrs ["packageOverrides"] 226 - // { inherit src packageJSON yarnLock workspaceDependencies; } 229 + // { inherit src packageJSON yarnLock packageResolutions workspaceDependencies; } 227 230 // lib.attrByPath [name] {} packageOverrides 228 231 ); 229 232 }) ··· 245 248 extraBuildInputs ? [], 246 249 publishBinsFor ? null, 247 250 workspaceDependencies ? [], # List of yarnPackages 251 + packageResolutions ? {}, 248 252 ... 249 253 }@attrs: 250 254 let ··· 264 268 preBuild = yarnPreBuild; 265 269 postBuild = yarnPostBuild; 266 270 workspaceDependencies = workspaceDependenciesTransitive; 267 - inherit packageJSON pname version yarnLock offlineCache yarnFlags pkgConfig; 271 + inherit packageJSON pname version yarnLock offlineCache yarnFlags pkgConfig packageResolutions; 268 272 }; 269 273 270 274 publishBinsFor_ = unlessNull publishBinsFor [pname]; ··· 298 302 '') 299 303 workspaceDependenciesTransitive; 300 304 301 - in stdenv.mkDerivation (builtins.removeAttrs attrs ["yarnNix" "pkgConfig" "workspaceDependencies"] // { 305 + in stdenv.mkDerivation (builtins.removeAttrs attrs ["yarnNix" "pkgConfig" "workspaceDependencies" "packageResolutions"] // { 302 306 inherit src pname; 303 307 304 308 name = baseName;
+3 -3
pkgs/development/web/flyctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "flyctl"; 5 - version = "0.0.302"; 5 + version = "0.0.306"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "superfly"; 9 9 repo = "flyctl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-J6djiBT25cLAWWD0ZQBLju8pef0pG6iYRXUm/5nZm+8="; 11 + sha256 = "sha256-Nnt4Gj+/DbP3tAne99u15GYT099lBTM16O4r0QMuRXA="; 12 12 }; 13 13 14 14 preBuild = '' ··· 17 17 18 18 subPackages = [ "." ]; 19 19 20 - vendorSha256 = "sha256-ZtP/NgKCXpShCDe7Is/moCNPX7JmxcYMh47B+IgvY/4="; 20 + vendorSha256 = "sha256-n5LZ6WP1LxnhdDKIm8oc3CVFD2jXUEQ/scbOLtMTWQk="; 21 21 22 22 doCheck = false; 23 23
+2 -2
pkgs/development/web/grails/default.nix
··· 11 11 in 12 12 stdenv.mkDerivation rec { 13 13 pname = "grails"; 14 - version = "5.1.3"; 14 + version = "5.1.4"; 15 15 16 16 src = fetchurl { 17 17 url = "https://github.com/grails/grails-core/releases/download/v${version}/grails-${version}.zip"; 18 - sha256 = "sha256-BacAVAnS3qdmzHGVUdZI2hn4Arp9Qep6cAXRabpB10M="; 18 + sha256 = "sha256-EoMSnT1MmYGeF82XC7Ed9woe8t+xzYJaylLBVpdFvoI="; 19 19 }; 20 20 21 21 nativeBuildInputs = [ unzip ];
+2 -2
pkgs/development/web/kore/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kore"; 5 - version = "4.1.0"; 5 + version = "4.2.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jorisvink"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-w5H1USQ2aladwSFdfYsX925pjCt3QWoXK4HqyEL7rH0="; 11 + sha256 = "sha256-MC4PCjRuAqWuGvNDsZXKohb4HdSWMV0Oc0pZ0rnhG7Y="; 12 12 }; 13 13 14 14 buildInputs = [ openssl curl postgresql yajl ];
-1
pkgs/games/openxcom/default.nix
··· 18 18 meta = { 19 19 description = "Open source clone of UFO: Enemy Unknown"; 20 20 homepage = "https://openxcom.org"; 21 - repositories.git = "https://github.com/SupSuper/OpenXcom.git"; 22 21 maintainers = [ lib.maintainers.cpages ]; 23 22 platforms = lib.platforms.linux; 24 23 license = lib.licenses.gpl3;
-1
pkgs/games/spring/springlobby.nix
··· 34 34 35 35 meta = with lib; { 36 36 homepage = "https://springlobby.info/"; 37 - repositories.git = "git://github.com/springlobby/springlobby.git"; 38 37 description = "Cross-platform lobby client for the Spring RTS project"; 39 38 license = licenses.gpl2; 40 39 maintainers = with maintainers; [ qknight domenkozar ];
-3
pkgs/games/steam/fhsenv.nix
··· 228 228 export TZ="$new_TZ" 229 229 fi 230 230 fi 231 - 232 - # XDG_DATA_DIRS is used by pressure-vessel and vulkan loaders to find the corresponding icd 233 - export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}/run/opengl-driver/share:/run/opengl-driver-32/share 234 231 '' + extraProfile; 235 232 236 233 runScript = writeScript "steam-wrapper.sh" ''
+93
pkgs/misc/cups/drivers/mfcl2750dw/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , dpkg 5 + , autoPatchelfHook 6 + , makeWrapper 7 + , perl 8 + , gnused 9 + , ghostscript 10 + , file 11 + , coreutils 12 + , gnugrep 13 + , which 14 + }: 15 + 16 + let 17 + arches = [ "x86_64" "i686" "armv7l" ]; 18 + 19 + runtimeDeps = [ 20 + ghostscript 21 + file 22 + gnused 23 + gnugrep 24 + coreutils 25 + which 26 + ]; 27 + in 28 + 29 + stdenv.mkDerivation rec { 30 + pname = "cups-brother-mfcl2750dw"; 31 + version = "4.0.0-1"; 32 + 33 + nativeBuildInputs = [ dpkg makeWrapper autoPatchelfHook ]; 34 + buildInputs = [ perl ]; 35 + 36 + dontUnpack = true; 37 + 38 + src = fetchurl { 39 + url = "https://download.brother.com/welcome/dlf103530/mfcl2750dwpdrv-${version}.i386.deb"; 40 + hash = "sha256-3uDwzLQTF8r1tsGZ7ChGhk4ryQmVsZYdUaj9eFaC0jc="; 41 + }; 42 + 43 + installPhase = '' 44 + runHook preInstall 45 + 46 + mkdir -p $out 47 + dpkg-deb -x $src $out 48 + 49 + # delete unnecessary files for the current architecture 50 + '' + lib.concatMapStrings (arch: '' 51 + echo Deleting files for ${arch} 52 + rm -r "$out/opt/brother/Printers/MFCL2750DW/lpd/${arch}" 53 + '') (builtins.filter (arch: arch != stdenv.hostPlatform.linuxArch) arches) + '' 54 + 55 + # bundled scripts don't understand the arch subdirectories for some reason 56 + ln -s \ 57 + "$out/opt/brother/Printers/MFCL2750DW/lpd/${stdenv.hostPlatform.linuxArch}/"* \ 58 + "$out/opt/brother/Printers/MFCL2750DW/lpd/" 59 + 60 + # Fix global references and replace auto discovery mechanism with hardcoded values 61 + substituteInPlace $out/opt/brother/Printers/MFCL2750DW/lpd/lpdfilter \ 62 + --replace /opt "$out/opt" \ 63 + --replace "my \$BR_PRT_PATH =" "my \$BR_PRT_PATH = \"$out/opt/brother/Printers/MFCL2750DW\"; #" \ 64 + --replace "PRINTER =~" "PRINTER = \"MFCL2750DW\"; #" 65 + 66 + # Make sure all executables have the necessary runtime dependencies available 67 + find "$out" -executable -and -type f | while read file; do 68 + wrapProgram "$file" --prefix PATH : "${lib.makeBinPath runtimeDeps}" 69 + done 70 + 71 + # Symlink filter and ppd into a location where CUPS will discover it 72 + mkdir -p $out/lib/cups/filter 73 + mkdir -p $out/share/cups/model 74 + 75 + ln -s \ 76 + $out/opt/brother/Printers/MFCL2750DW/lpd/lpdfilter \ 77 + $out/lib/cups/filter/brother_lpdwrapper_MFCL2750DW 78 + 79 + ln -s \ 80 + $out/opt/brother/Printers/MFCL2750DW/cupswrapper/brother-MFCL2750DW-cups-en.ppd \ 81 + $out/share/cups/model/ 82 + 83 + runHook postInstall 84 + ''; 85 + 86 + meta = with lib; { 87 + homepage = "http://www.brother.com/"; 88 + description = "Brother MFC-L2750DW printer driver"; 89 + license = licenses.unfree; 90 + platforms = builtins.map (arch: "${arch}-linux") arches; 91 + maintainers = [ maintainers.lovesegfault ]; 92 + }; 93 + }
-1
pkgs/os-specific/darwin/m-cli/default.nix
··· 35 35 meta = with lib; { 36 36 description = "Swiss Army Knife for macOS"; 37 37 inherit (src.meta) homepage; 38 - repositories.git = "git://github.com/rgcr/m-cli.git"; 39 38 40 39 license = licenses.mit; 41 40
-1
pkgs/os-specific/linux/bluez/default.nix
··· 135 135 homepage = "http://www.bluez.org/"; 136 136 license = with licenses; [ gpl2 lgpl21 ]; 137 137 platforms = platforms.linux; 138 - repositories.git = "https://git.kernel.org/pub/scm/bluetooth/bluez.git"; 139 138 }; 140 139 }
+5 -1
pkgs/os-specific/linux/earlyoom/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pandoc, installShellFiles, withManpage ? false }: 1 + { lib, stdenv, fetchFromGitHub, pandoc, installShellFiles, withManpage ? false, nixosTests }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "earlyoom"; ··· 22 22 '' + lib.optionalString withManpage '' 23 23 installManPage earlyoom.1 24 24 ''; 25 + 26 + passthru.tests = { 27 + inherit (nixosTests) earlyoom; 28 + }; 25 29 26 30 meta = with lib; { 27 31 description = "Early OOM Daemon for Linux";
-1
pkgs/os-specific/linux/hostapd/default.nix
··· 73 73 74 74 meta = with lib; { 75 75 homepage = "https://hostap.epitest.fi"; 76 - repositories.git = "git://w1.fi/hostap.git"; 77 76 description = "A user space daemon for access point and authentication servers"; 78 77 license = licenses.gpl2; 79 78 maintainers = with maintainers; [ ninjatrappeur hexa ];
-1
pkgs/os-specific/linux/i7z/default.nix
··· 49 49 meta = with lib; { 50 50 description = "A better i7 (and now i3, i5) reporting tool for Linux"; 51 51 homepage = "https://github.com/DimitryAndric/i7z"; 52 - repositories.git = "https://github.com/DimitryAndric/i7z.git"; 53 52 license = licenses.gpl2; 54 53 maintainers = with maintainers; [ bluescreen303 ]; 55 54 # broken on ARM
+1
pkgs/os-specific/linux/kernel/common-config.nix
··· 482 482 DEFAULT_SECURITY_APPARMOR = yes; 483 483 484 484 RANDOM_TRUST_CPU = whenAtLeast "4.19" yes; # allow RDRAND to seed the RNG 485 + RANDOM_TRUST_BOOTLOADER = whenAtLeast "5.4" yes; # allow the bootloader to seed the RNG 485 486 486 487 MODULE_SIG = no; # r13y, generates a random key during build and bakes it in 487 488 # Depends on MODULE_SIG and only really helps when you sign your modules
+2 -2
pkgs/os-specific/linux/kernel/linux-5.10.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.10.106"; 6 + version = "5.10.107"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "0yjrlghcxw3lhd6nc2m4zy4gk536w3a3w6mxdsml690fqz4531n6"; 16 + sha256 = "1snzzhkzdjlj92gqig3sanxlhv0xc0xk2xwjdjr0yds6g43w6ry4"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.15.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.15.29"; 6 + version = "5.15.30"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 15 15 16 16 src = fetchurl { 17 17 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 18 - sha256 = "0vl7xm4xs59z071wfjna392yada3hg5h6h3dfjaswircc22fc1ar"; 18 + sha256 = "0ckiz985x88x68psg6wazyk7zpv34k8rbzpzyzj0gaph13za4ki5"; 19 19 }; 20 20 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.16.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.16.15"; 6 + version = "5.16.16"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "1mi41npkk1inqchm3yp14xmzc5lrp50d7vbpazwxwq5kw04c8c4g"; 16 + sha256 = "13qk6cjnjwgnxj25mphyv08pjf1sqz7bxxrr3fpl8gz3aghdd9yc"; 17 17 }; 18 18 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.4.nix
··· 3 3 with lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "5.4.185"; 6 + version = "5.4.186"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "11rp3x05bq9cs9gwy4x36ynkgl7nb5ss29zi6m7n5ywvczdfjpyi"; 16 + sha256 = "1f9rigm58miq5s98bx7pvylqi9hlzlfnq1nrj4cd8f4arcjcvxv1"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+3 -3
pkgs/os-specific/linux/kernel/linux-rt-5.10.nix
··· 6 6 , ... } @ args: 7 7 8 8 let 9 - version = "5.10.104-rt63"; # updated by ./update-rt.sh 9 + version = "5.10.106-rt64"; # updated by ./update-rt.sh 10 10 branch = lib.versions.majorMinor version; 11 11 kversion = builtins.elemAt (lib.splitString "-" version) 0; 12 12 in buildLinux (args // { ··· 18 18 19 19 src = fetchurl { 20 20 url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz"; 21 - sha256 = "1wb2ql58md45wi49bp3rck7ppgisyjdl7lxarzqd094fx9kr4jir"; 21 + sha256 = "0yjrlghcxw3lhd6nc2m4zy4gk536w3a3w6mxdsml690fqz4531n6"; 22 22 }; 23 23 24 24 kernelPatches = let rt-patch = { 25 25 name = "rt"; 26 26 patch = fetchurl { 27 27 url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz"; 28 - sha256 = "17ivd6dm49axc9k6cqf39wjjqrjqbj5xd3n7lqk7vv95rg9fg0g7"; 28 + sha256 = "0z5gyi1vyjyd05vyccmk9yfgvm5v1lc8vbfywahx495xzpp9i8xb"; 29 29 }; 30 30 }; in [ rt-patch ] ++ kernelPatches; 31 31
-1
pkgs/os-specific/linux/kernel/manual-config.nix
··· 301 301 + ")"); 302 302 license = lib.licenses.gpl2Only; 303 303 homepage = "https://www.kernel.org/"; 304 - repositories.git = "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"; 305 304 maintainers = lib.teams.linux-kernel.members ++ [ 306 305 maintainers.thoughtpolice 307 306 ];
+1 -4
pkgs/os-specific/linux/ldm/default.nix
··· 4 4 5 5 let 6 6 version = "0.5"; 7 - git = "https://github.com/LemonBoy/ldm.git"; 8 7 in 9 8 stdenv.mkDerivation rec { 10 9 pname = "ldm"; ··· 13 12 # There is a stable release, but we'll use the lvm branch, which 14 13 # contains important fixes for LVM setups. 15 14 src = fetchgit { 16 - url = meta.repositories.git; 15 + url = "https://github.com/LemonBoy/ldm"; 17 16 rev = "refs/tags/v${version}"; 18 17 sha256 = "0lxfypnbamfx6p9ar5k9wra20gvwn665l4pp2j4vsx4yi5q7rw2n"; 19 18 }; ··· 36 35 meta = { 37 36 description = "A lightweight device mounter, with libudev as only dependency"; 38 37 license = lib.licenses.mit; 39 - 40 38 platforms = lib.platforms.linux; 41 - repositories.git = git; 42 39 }; 43 40 }
+16 -11
pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh
··· 36 36 # comma separated list of vars to preserve when using sudo 37 37 preservedSudoVars=NIXOS_INSTALL_BOOTLOADER 38 38 39 + # log the given argument to stderr 40 + log() { 41 + echo "$@" >&2 42 + } 43 + 39 44 while [ "$#" -gt 0 ]; do 40 45 i="$1"; shift 1 41 46 case "$i" in ··· 47 52 action="$i" 48 53 ;; 49 54 --install-grub) 50 - echo "$0: --install-grub deprecated, use --install-bootloader instead" >&2 55 + log "$0: --install-grub deprecated, use --install-bootloader instead" 51 56 export NIXOS_INSTALL_BOOTLOADER=1 52 57 ;; 53 58 --install-bootloader) ··· 91 96 ;; 92 97 --profile-name|-p) 93 98 if [ -z "$1" ]; then 94 - echo "$0: ‘--profile-name’ requires an argument" 99 + log "$0: ‘--profile-name’ requires an argument" 95 100 exit 1 96 101 fi 97 102 if [ "$1" != system ]; then ··· 132 137 lockFlags+=("$i" "$j" "$k") 133 138 ;; 134 139 *) 135 - echo "$0: unknown option \`$i'" 140 + log "$0: unknown option \`$i'" 136 141 exit 1 137 142 ;; 138 143 esac ··· 239 244 NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure --to "$buildHost" "$drv" 240 245 buildHostCmd nix-store -r "$drv" "${buildArgs[@]}" 241 246 else 242 - echo "nix-instantiate failed" 247 + log "nix-instantiate failed" 243 248 exit 1 244 249 fi 245 250 fi ··· 290 295 NIX_SSHOPTS=$SSHOPTS runCmd nix "${flakeFlags[@]}" copy --derivation --to "ssh://$buildHost" "$drv" 291 296 buildHostCmd nix-store -r "$drv" "${buildArgs[@]}" 292 297 else 293 - echo "nix eval failed" 298 + log "nix eval failed" 294 299 exit 1 295 300 fi 296 301 fi ··· 425 430 elif [[ "$machine" = aarch64 ]]; then 426 431 echo @nix_aarch64_linux@ 427 432 else 428 - echo "$0: unsupported platform" 433 + log "$0: unsupported platform" 429 434 exit 1 430 435 fi 431 436 } 432 437 433 438 if [[ -n $buildNix && -z $flake ]]; then 434 - echo "building Nix..." >&2 439 + log "building Nix..." 435 440 nixDrv= 436 441 if ! nixDrv="$(runCmd nix-instantiate '<nixpkgs/nixos>' --add-root "$tmpDir/nix.drv" --indirect -A config.nix.package.out "${extraBuildFlags[@]}")"; then 437 442 if ! nixDrv="$(runCmd nix-instantiate '<nixpkgs>' --add-root "$tmpDir/nix.drv" --indirect -A nix "${extraBuildFlags[@]}")"; then ··· 440 445 fi 441 446 if ! runCmd nix-store -r "$nixStorePath" --add-root "${tmpDir}/nix" --indirect \ 442 447 --option extra-binary-caches https://cache.nixos.org/; then 443 - echo "warning: don't know how to get latest Nix" >&2 448 + log "warning: don't know how to get latest Nix" 444 449 fi 445 450 # Older version of nix-store -r don't support --add-root. 446 451 [ -e "$tmpDir/nix" ] || ln -sf "$nixStorePath" "$tmpDir/nix" ··· 450 455 if ! buildHostCmd nix-store -r "$remoteNixStorePath" \ 451 456 --option extra-binary-caches https://cache.nixos.org/ >/dev/null; then 452 457 remoteNix= 453 - echo "warning: don't know how to get latest Nix" >&2 458 + log "warning: don't know how to get latest Nix" 454 459 fi 455 460 fi 456 461 fi ··· 490 495 # or "boot"), or just build it and create a symlink "result" in the 491 496 # current directory (for "build" and "test"). 492 497 if [ -z "$rollback" ]; then 493 - echo "building the system configuration..." >&2 498 + log "building the system configuration..." 494 499 if [[ "$action" = switch || "$action" = boot ]]; then 495 500 if [[ -z $flake ]]; then 496 501 pathToConfig="$(nixBuild '<nixpkgs/nixos>' --no-out-link -A system "${extraBuildFlags[@]}")" ··· 547 552 # default and/or activate it now. 548 553 if [[ "$action" = switch || "$action" = boot || "$action" = test || "$action" = dry-activate ]]; then 549 554 if ! targetHostCmd "$pathToConfig/bin/switch-to-configuration" "$action"; then 550 - echo "warning: error(s) occurred while switching to the new configuration" >&2 555 + log "warning: error(s) occurred while switching to the new configuration" 551 556 exit 1 552 557 fi 553 558 fi
+32
pkgs/os-specific/linux/projecteur/default.nix
··· 1 + { lib, mkDerivation, fetchFromGitHub, 2 + cmake, pkg-config, 3 + qtbase, qtgraphicaleffects, wrapQtAppsHook }: 4 + mkDerivation rec { 5 + pname = "projecteur"; 6 + version = "0.9.2"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "jahnf"; 10 + repo = "Projecteur"; 11 + rev = "v${version}"; 12 + fetchSubmodules = false; 13 + sha256 = "sha256-kg6oYtJ4H5A6RNATBg+XvMfCb9FlhEBFjfxamGosMQg="; 14 + }; 15 + 16 + buildInputs = [ qtbase qtgraphicaleffects ]; 17 + nativeBuildInputs = [ wrapQtAppsHook cmake pkg-config ]; 18 + 19 + cmakeFlags = [ 20 + "-DCMAKE_INSTALL_PREFIX:PATH=${placeholder "out"}" 21 + "-DPACKAGE_TARGETS=OFF" 22 + "-DCMAKE_INSTALL_UDEVRULESDIR=${placeholder "out"}/lib/udev/rules.d" 23 + ]; 24 + 25 + meta = with lib; { 26 + description = "Linux/X11 application for the Logitech Spotlight device (and similar devices)."; 27 + homepage = "https://github.com/jahnf/Projecteur"; 28 + license = licenses.mit; 29 + platforms = platforms.linux; 30 + maintainers = with maintainers; [ benneti ]; 31 + }; 32 + }
+3 -3
pkgs/os-specific/linux/rtl8192eu/default.nix
··· 6 6 7 7 in stdenv.mkDerivation rec { 8 8 pname = "rtl8192eu"; 9 - version = "${kernel.version}-4.4.1.20211023"; 9 + version = "${kernel.version}-4.4.1.20220313"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "Mange"; 13 13 repo = "rtl8192eu-linux-driver"; 14 - rev = "744bbe52976e51895fce2c1d4075f97a98dca2b2"; 15 - sha256 = "1ayb3fljvpljwcgi47h8vj2d2w5imqyjxc7mvmfrvmilzg5d5cj7"; 14 + rev = "e0f967cea1d0037c730246c572f7fef000865ff7"; 15 + sha256 = "sha256-Wgp1MZ/z8AxbZPYsmR6t7Q4nsL0TFEqTEsrkkWPI6gI="; 16 16 }; 17 17 18 18 hardeningDisable = [ "pic" ];
+4 -4
pkgs/os-specific/linux/rtl8821cu/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "rtl8821cu"; 5 - version = "${kernel.version}-unstable-2021-10-21"; 5 + version = "${kernel.version}-unstable-2022-03-08"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "morrownr"; 9 - repo = "8821cu"; 10 - rev = "4e2d84c5e70245f850877f355e8bf293f252f61c"; 11 - sha256 = "1j32psvfgzfs5b1pdff6xk76iz7j8scakji6zm3vgqb2ssbxx1k1"; 9 + repo = "8821cu-20210118"; 10 + rev = "4bdd7c8668562e43564cd5d786055633e591ad4d"; 11 + sha256 = "sha256-dfvDpjsra/nHwIGywOkZICTEP/Ex7ooH4zzkXqAaDkI="; 12 12 }; 13 13 14 14 hardeningDisable = [ "pic" ];
+2 -2
pkgs/os-specific/linux/rtl88xxau-aircrack/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, kernel }: 2 2 3 3 let 4 - rev = "307d694076b056588c652c2bdaa543a89eb255d9"; 4 + rev = "37e27f9165300c89607144b646545fac576ec510"; 5 5 in 6 6 stdenv.mkDerivation rec { 7 7 pname = "rtl88xxau-aircrack"; ··· 11 11 owner = "aircrack-ng"; 12 12 repo = "rtl8812au"; 13 13 inherit rev; 14 - sha256 = "sha256-iSJnKWc+LxGHUhb/wbFSMh7w6Oi9v4v5V+R+LI96X7w="; 14 + sha256 = "sha256-TpmpueKAaCe7Nlmv8pMvgMXGVmXVa/1mBwtEoy4JyCY="; 15 15 }; 16 16 17 17 buildInputs = kernel.moduleBuildDependencies;
-2
pkgs/servers/amqp/qpid-cpp/default.nix
··· 12 12 13 13 meta = with lib; { 14 14 homepage = "https://qpid.apache.org"; 15 - repositories.git = "git://git.apache.org/qpid.git"; 16 - repositories.svn = "http://svn.apache.org/repos/asf/qpid"; 17 15 description = "An AMQP message broker and a C++ messaging API"; 18 16 license = licenses.asl20; 19 17 platforms = platforms.linux;
+3 -3
pkgs/servers/dns/https-dns-proxy/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 pname = "https-dns-proxy"; 5 5 # there are no stable releases (yet?) 6 - version = "unstable-20200419"; 6 + version = "unstable-2021-03-29"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "aarond10"; 10 10 repo = "https_dns_proxy"; 11 - rev = "79fc7b085e3b1ad64c8332f7115dfe2bf5f1f3e4"; 12 - sha256 = "1cdfswfjby4alp6gy7yyjm76kfyclh5ax0zadnqs2pyigg9plh0b"; 11 + rev = "bbd9ef272dcda3ead515871f594768af13192af7"; 12 + sha256 = "sha256-r+IpDklI3vITK8ZlZvIFm3JdDe2r8DK2ND3n1a/ThrM="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ cmake gtest ];
+2 -2
pkgs/servers/icingaweb2/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "icingaweb2"; 5 - version = "2.9.6"; 5 + version = "2.10.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Icinga"; 9 9 repo = "icingaweb2"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256:1kcn1kkhm8fkwhjqmpysd2hvnrvh6bka8r67yq8d58m117l9wnpq"; 11 + sha256 = "sha256:0fhhq6mzpwj3dh6w583n4sngshf15dm8zgbli5cacy7jkzmsz0wn"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/servers/icingaweb2/ipl.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "icingaweb2-ipl"; 5 - version = "0.7.0"; 5 + version = "0.8.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Icinga"; 9 9 repo = "icinga-php-library"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256:118bg9mxjxajm2ydbycgqdmdx8przwxblsaxc373r0g1dp1lv0fz"; 11 + sha256 = "sha256:05k0qcd5c5xb124dpp6lvfdh4dzf6bkd34v4sy7aj776p4hrlqx2"; 12 12 }; 13 13 14 14 installPhase = ''
+5 -3
pkgs/servers/keycloak/default.nix
··· 50 50 ln -s ${mkModuleXml "com.mysql" "mysql-connector-java.jar"} $module_path/com/mysql/main/module.xml 51 51 ''} 52 52 53 - wrapProgram $out/bin/standalone.sh --set JAVA_HOME ${jre} 54 - wrapProgram $out/bin/add-user-keycloak.sh --set JAVA_HOME ${jre} 55 - wrapProgram $out/bin/jboss-cli.sh --set JAVA_HOME ${jre} 53 + for script in add-user-keycloak.sh add-user.sh domain.sh elytron-tool.sh jboss-cli.sh jconsole.sh jdr.sh standalone.sh wsconsume.sh wsprovide.sh; do 54 + wrapProgram $out/bin/$script --set JAVA_HOME ${jre} 55 + done 56 + wrapProgram $out/bin/kcadm.sh --prefix PATH : ${jre}/bin 57 + wrapProgram $out/bin/kcreg.sh --prefix PATH : ${jre}/bin 56 58 ''; 57 59 58 60 passthru.tests = nixosTests.keycloak;
+5
pkgs/servers/klipper/default.nix
··· 36 36 mkdir -p $out/lib/klipper 37 37 cp -r ./* $out/lib/klipper 38 38 39 + # Moonraker expects `config_examples` and `docs` to be available 40 + # under `klipper_path` 41 + cp -r $src/docs $out/lib/docs 42 + cp -r $src/config $out/lib/config 43 + 39 44 chmod 755 $out/lib/klipper/klippy.py 40 45 runHook postInstall 41 46 '';
-1
pkgs/servers/memcached/default.nix
··· 22 22 23 23 meta = with lib; { 24 24 description = "A distributed memory object caching system"; 25 - repositories.git = "https://github.com/memcached/memcached.git"; 26 25 homepage = "http://memcached.org/"; 27 26 license = licenses.bsd3; 28 27 maintainers = [ maintainers.coconnor ];
+3 -3
pkgs/servers/minio/default.nix
··· 15 15 in 16 16 buildGoModule rec { 17 17 pname = "minio"; 18 - version = "2022-03-17T06-34-49Z"; 18 + version = "2022-03-22T02-05-10Z"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "minio"; 22 22 repo = "minio"; 23 23 rev = "RELEASE.${version}"; 24 - sha256 = "sha256-iHwFkxfSLrtzSiOmfVFggBvfL0SL6ZLVJWMGK3RHZGU="; 24 + sha256 = "sha256-N0ua+XHkLr33PElSdOzVQF3POPU+lx4/M6LJzxtkisI="; 25 25 }; 26 26 27 - vendorSha256 = "sha256-ujkrbP7FuL7jdYTRaGMEYha1BJKJnpCssuO47XGMBGo="; 27 + vendorSha256 = "sha256-Ql3J2r489Hzhy6E9uZwQXJIw/njb5oafCYjOyWGzbXs="; 28 28 29 29 doCheck = false; 30 30
+3 -3
pkgs/servers/monitoring/prometheus/blackbox-exporter.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "blackbox_exporter"; 5 - version = "0.19.0"; 5 + version = "0.20.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 rev = "v${version}"; 9 9 owner = "prometheus"; 10 10 repo = "blackbox_exporter"; 11 - sha256 = "1lrabbp6nsd9h3hs3y5a37yl4g8zzkv0m3vhz2vrir3wmfn07n4g"; 11 + sha256 = "sha256-Y3HdFIChkQVooxy2I2Gbqw3WLHsI4Zm+osHTzFluRZA="; 12 12 }; 13 13 14 - vendorSha256 = "1wi9dmbxb6i1qglnp1v0lkqpp7l29lrbsg4lvx052nkcwkgq8g1y"; 14 + vendorSha256 = "sha256-KFLR0In4txQQp5dt8P0yAFtf82b4SBq2xMnlz+vMuuU="; 15 15 16 16 # dns-lookup is performed for the tests 17 17 doCheck = false;
+11 -1
pkgs/servers/monitoring/prometheus/node-exporter.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, nixosTests }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests 2 + # darwin 3 + , CoreFoundation, IOKit 4 + }: 2 5 3 6 buildGoModule rec { 4 7 pname = "node_exporter"; ··· 16 19 17 20 # FIXME: tests fail due to read-only nix store 18 21 doCheck = false; 22 + 23 + buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation IOKit ]; 24 + # upstream currently doesn't work with the version of the macOS SDK 25 + # we're building against in nix-darwin without a patch. 26 + # this patch has been submitted upstream at https://github.com/prometheus/node_exporter/pull/2327 27 + # and only needs to be carried until it lands in a new release. 28 + patches = lib.optionals stdenv.isDarwin [ ./node-exporter/node-exporter-darwin.patch ]; 19 29 20 30 excludedPackages = [ "docs/node-mixin" ]; 21 31
+17
pkgs/servers/monitoring/prometheus/node-exporter/node-exporter-darwin.patch
··· 1 + diff --git a/collector/powersupplyclass_darwin.go b/collector/powersupplyclass_darwin.go 2 + index a070f64..01d7f18 100644 3 + --- a/collector/powersupplyclass_darwin.go 4 + +++ b/collector/powersupplyclass_darwin.go 5 + @@ -18,9 +18,11 @@ package collector 6 + 7 + /* 8 + #cgo LDFLAGS: -framework IOKit -framework CoreFoundation 9 + +#include <CoreFoundation/CFNumber.h> 10 + +#include <CoreFoundation/CFRunLoop.h> 11 + +#include <CoreFoundation/CFString.h> 12 + #include <IOKit/ps/IOPowerSources.h> 13 + #include <IOKit/ps/IOPSKeys.h> 14 + -#include <CoreFoundation/CFArray.h> 15 + 16 + // values collected from IOKit Power Source APIs 17 + // Functions documentation available at
+14 -6
pkgs/servers/moonraker/default.nix
··· 1 - { lib, stdenvNoCC, fetchFromGitHub, python3, makeWrapper, unstableGitUpdater }: 1 + { lib, stdenvNoCC, fetchFromGitHub, python3, makeWrapper, unstableGitUpdater, nixosTests }: 2 2 3 3 let 4 4 pythonEnv = python3.withPackages (packages: with packages; [ 5 5 tornado 6 - pyserial 6 + pyserial-asyncio 7 7 pillow 8 8 lmdb 9 9 streaming-form-data ··· 12 12 libnacl 13 13 paho-mqtt 14 14 pycurl 15 + zeroconf 16 + preprocess-cancellation 17 + jinja2 18 + dbus-next 19 + apprise 15 20 ]); 16 21 in stdenvNoCC.mkDerivation rec { 17 22 pname = "moonraker"; 18 - version = "unstable-2021-12-05"; 23 + version = "unstable-2022-03-10"; 19 24 20 25 src = fetchFromGitHub { 21 26 owner = "Arksine"; 22 27 repo = "moonraker"; 23 - rev = "ac73036857cc1ca83df072dd94bf28eb9d0ed8b0"; 24 - sha256 = "Oqjt0z4grt+hdQ4t7KQSwkkCeRGoFFedJsTpMHwMm34="; 28 + rev = "ee312ee9c6597c8d077d7c3208ccea4e696c97ca"; 29 + sha256 = "l0VOQIfKgZ/Je4z+SKhWMgYzxye8WKs9W1GkNs7kABo="; 25 30 }; 26 31 27 32 nativeBuildInputs = [ makeWrapper ]; ··· 34 39 --add-flags "$out/lib/moonraker/moonraker.py" 35 40 ''; 36 41 37 - passthru.updateScript = unstableGitUpdater { url = meta.homepage; }; 42 + passthru = { 43 + updateScript = unstableGitUpdater { url = meta.homepage; }; 44 + tests.moonraker = nixosTests.moonraker; 45 + }; 38 46 39 47 meta = with lib; { 40 48 description = "API web server for Klipper";
+4 -4
pkgs/servers/nextcloud/default.nix
··· 46 46 ''; 47 47 48 48 nextcloud22 = generic { 49 - version = "22.2.5"; 50 - sha256 = "sha256-gb5N0u5tu4/nI2xIpjXwm2hiSDCrBhIDyN6gKGOsdS8="; 49 + version = "22.2.6"; 50 + sha256 = "0f1d0f0cb000c51b11886be25a8adce478846c3233572fcf28b44c5d4036e235"; 51 51 }; 52 52 53 53 nextcloud23 = generic { 54 - version = "23.0.2"; 55 - sha256 = "sha256-ngJGLTjqq2RX/KgHe9Rv54w6qtRC6RpuEuMvp9UbxO4="; 54 + version = "23.0.3"; 55 + sha256 = "39401d400fab02a84a175ea6e995b8ed4110fbaea48c876230b4f09755a62986"; 56 56 }; 57 57 # tip: get she sha with: 58 58 # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
+3 -3
pkgs/servers/plex/raw.nix
··· 12 12 # server, and the FHS userenv and corresponding NixOS module should 13 13 # automatically pick up the changes. 14 14 stdenv.mkDerivation rec { 15 - version = "1.25.7.5604-980a13e02"; 15 + version = "1.25.8.5663-e071c3d62"; 16 16 pname = "plexmediaserver"; 17 17 18 18 # Fetch the source 19 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 - hash = "sha256-X0KaaX5NvF04pyRHSUeHtXQ+OTv9BK0bzDl1J5C6Vts="; 21 + hash = "sha256-w9k8phyiA/sK+zRlK8PAciebt5UJvmVFA+cfx4r78Gs="; 22 22 } else fetchurl { 23 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 - hash = "sha256-tqpOQDdHBl55jSyonNV7/UjCcx6jY9VdAzh/zBA/CAs="; 24 + hash = "sha256-baOofe+7PZfLhwIXrB1ibKkkEJRVivgGHDN4phlg57Q="; 25 25 }; 26 26 27 27 outputs = [ "out" "basedb" ];
+2 -2
pkgs/servers/sql/patroni/default.nix
··· 5 5 6 6 pythonPackages.buildPythonApplication rec { 7 7 pname = "patroni"; 8 - version = "2.0.2"; 8 + version = "2.1.3"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "zalando"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "048g211njwmgl2v7nx6x5x82b4bbp35n234z7ah10aybm3yrxnc7"; 14 + sha256 = "sha256-cBkiBrty/6A3rIv9A1oh8GvPjwxhHwYEKuDIsNzHw1g="; 15 15 }; 16 16 17 17 # cdiff renamed to ydiff; remove when patroni source reflects this.
+4 -11
pkgs/servers/varnish/default.nix
··· 51 51 version = "6.0.10"; 52 52 sha256 = "1sr60wg5mzjb14y75cga836f19sbmmpgh13mwc4alyg3irsbz1bb"; 53 53 }; 54 - varnish70 = (common { 55 - version = "7.0.2"; 56 - sha256 = "0q9z1iilqwbh5flfy9pl18kxv0yjs5z91c4j81z5pgyjd9d4jjjj"; 57 - }).overrideAttrs (oA: { 58 - patches = [ 59 - (fetchpatch { 60 - url = "https://github.com/varnishcache/varnish-cache/commit/20e007a5b17c1f68f70ab42080de384f9e192900.patch"; 61 - sha256 = "0vvihbjknb0skdv2ksn2lz89pwmn4f2rjmb6q65cvgnnjfj46s82"; 62 - }) 63 - ]; 64 - }); 54 + varnish71 = common { 55 + version = "7.1.0"; 56 + sha256 = "1flyqr212jamqpwafdil170vc966r1mbb7n3ngjn8xk6hn3bhjpm"; 57 + }; 65 58 }
+3 -3
pkgs/servers/varnish/packages.nix
··· 1 - { callPackages, callPackage, varnish60, varnish70, fetchFromGitHub }: { 1 + { callPackages, callPackage, varnish60, varnish71, fetchFromGitHub }: { 2 2 varnish60Packages = rec { 3 3 varnish = varnish60; 4 4 modules = (callPackages ./modules.nix { inherit varnish; }).modules15; ··· 13 13 sha256 = "1n94slrm6vn3hpymfkla03gw9603jajclg84bjhwb8kxsk3rxpmk"; 14 14 }; 15 15 }; 16 - varnish70Packages = rec { 17 - varnish = varnish70; 16 + varnish71Packages = rec { 17 + varnish = varnish71; 18 18 modules = (callPackages ./modules.nix { inherit varnish; }).modules19; 19 19 digest = callPackage ./digest.nix { 20 20 inherit varnish;
+3 -3
pkgs/shells/zsh/oh-my-zsh/default.nix
··· 5 5 , git, nix, nixfmt, jq, coreutils, gnused, curl, cacert }: 6 6 7 7 stdenv.mkDerivation rec { 8 - version = "2022-03-18"; 8 + version = "2022-03-22"; 9 9 pname = "oh-my-zsh"; 10 - rev = "c96fc233c4903ba75fba5bc55e7f91f9dc8e460e"; 10 + rev = "50113a53f379b7d98e6921ba58e8440324beb32c"; 11 11 12 12 src = fetchFromGitHub { 13 13 inherit rev; 14 14 owner = "ohmyzsh"; 15 15 repo = "ohmyzsh"; 16 - sha256 = "HCFbdo08Um3ut9SngtHDbl/w265G6OOb+RF/liE1Rlg="; 16 + sha256 = "RBaJ6/NmPS106xWEj47zBsTWSOp19aq3WTyXcdA5T3c="; 17 17 }; 18 18 19 19 installPhase = ''
-1
pkgs/stdenv/generic/check-meta.nix
··· 240 240 outputsToInstall = listOf str; 241 241 position = str; 242 242 available = bool; 243 - repositories = attrsOf str; 244 243 isBuildPythonPackage = platforms; 245 244 schedulingPriority = int; 246 245 isFcitxEngine = bool;
+3 -3
pkgs/test/nixos-functions/default.nix
··· 26 26 fileSystems."/".device = "/dev/null"; 27 27 }).toplevel; 28 28 29 - nixosTest-test = pkgs.nixosTest ({ lib, pkgs, ... }: { 29 + nixosTest-test = pkgs.nixosTest ({ lib, pkgs, figlet, ... }: { 30 30 name = "nixosTest-test"; 31 31 machine = { pkgs, ... }: { 32 32 system.nixos = dummyVersioning; 33 - environment.systemPackages = [ pkgs.hello ]; 33 + environment.systemPackages = [ pkgs.hello figlet ]; 34 34 }; 35 35 testScript = '' 36 - machine.succeed("hello") 36 + machine.succeed("hello | figlet >/dev/console") 37 37 ''; 38 38 }); 39 39
+40 -40
pkgs/tools/admin/pulumi/data.nix
··· 29 29 sha256 = "07zwhy1jfgwqcybyalrlwrqfkddk1xkqgb9g8dmgs2krx8fp9bsv"; 30 30 } 31 31 { 32 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v4.38.1-linux-amd64.tar.gz"; 33 - sha256 = "0rwkdizd1hqn86vfkxli7l4syp860rgil2m01l76pbpcx11yc7zb"; 32 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v5.0.0-linux-amd64.tar.gz"; 33 + sha256 = "1h9pypyl6k1qhvwd6vkzahwmva6zbjribfh04rydhw4gn3rhlzrd"; 34 34 } 35 35 { 36 36 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-linux-amd64.tar.gz"; ··· 73 73 sha256 = "0n1xqsfsqi773lwg9xbvglrd4pfb060fq8llxf06qj8h2imlxx34"; 74 74 } 75 75 { 76 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.16.0-linux-amd64.tar.gz"; 77 - sha256 = "10lm10affn92qwzgry2iab5ry6bcnx5iiy2cihxk9kgb6716wql3"; 76 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.17.0-linux-amd64.tar.gz"; 77 + sha256 = "1dbkkrb66iz2z66bj6qhhwhaz3s0md1xgm4mgw0bcdlirkrv1kpd"; 78 78 } 79 79 { 80 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.0-linux-amd64.tar.gz"; 81 - sha256 = "1lni4wzmdhjbchjjx9z5iqawv4x1bixl3s541h39cr4x3y36m66m"; 80 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.1-linux-amd64.tar.gz"; 81 + sha256 = "0bs0haa863a2qwwx140911mh2xprgyv316y98jcm8qbl03lmyzvs"; 82 82 } 83 83 { 84 84 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-linux-amd64.tar.gz"; ··· 117 117 sha256 = "05nfdwgfzi5f3hgj2g6dccaidqf9a9xzlv5vp3cd1rsxd159yk9j"; 118 118 } 119 119 { 120 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.1-linux-amd64.tar.gz"; 121 - sha256 = "1yianshwmlxs70h4a19c9006n29rp6qz3nf6n0kb5l52psmq679m"; 120 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.2-linux-amd64.tar.gz"; 121 + sha256 = "0agf96ji7mzkf4k4axm1v3psm5wkml41714dz88rn0csq0b31ca9"; 122 122 } 123 123 { 124 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.1-linux-amd64.tar.gz"; 125 - sha256 = "0a1q41cl9r93n8zvl25sd33mxvi0ysa10lz84x59sybfay4f7ppc"; 124 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.2-linux-amd64.tar.gz"; 125 + sha256 = "0b3sj2waa3l6x4xrrsf1dq4ax3n7v5r8n0wzmk9cbgmdx97297df"; 126 126 } 127 127 { 128 128 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-linux-amd64.tar.gz"; ··· 187 187 sha256 = "0bz177xi0ifhx14jq01i94gdqgjsivikmhrf24y27k96jq7n15ld"; 188 188 } 189 189 { 190 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v4.38.1-darwin-amd64.tar.gz"; 191 - sha256 = "0qaf9q7ijkysvvnxrb942c2r6hj4y97kjfxnlwgjx1jvnv1l9859"; 190 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v5.0.0-darwin-amd64.tar.gz"; 191 + sha256 = "1kw005yvima4bjkg5sa8ynixgrcapdbcnxd6s4qpgjli6q4imx8h"; 192 192 } 193 193 { 194 194 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-darwin-amd64.tar.gz"; ··· 231 231 sha256 = "0i3aysdy7i13fx2a2kpnvd3qpn7vmc2mbln718kks3mikiz26aii"; 232 232 } 233 233 { 234 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.16.0-darwin-amd64.tar.gz"; 235 - sha256 = "1sdir66pqdxy5zwbx1ssv8bl63zvbzfapl3j5dl99zgjaw4k3mgx"; 234 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.17.0-darwin-amd64.tar.gz"; 235 + sha256 = "1cwdy4yr3c7wcj3p0sg1k0q6b6sn0mhlpqkbdi4xfk990d88c78c"; 236 236 } 237 237 { 238 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.0-darwin-amd64.tar.gz"; 239 - sha256 = "0i49x5s7sw69y19qmsrbrwhmjv7g07qrs5a3l1l8bsqawif5r65z"; 238 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.1-darwin-amd64.tar.gz"; 239 + sha256 = "0a8lycsgk2xawhg9yd6lkbfg7j6v6l3m0llvdzs0drb2k954wbym"; 240 240 } 241 241 { 242 242 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-darwin-amd64.tar.gz"; ··· 275 275 sha256 = "0q19sh7l1mjl40i5vdsrjfldncxnicalmlgv3yjkw5xpxkgr98z0"; 276 276 } 277 277 { 278 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.1-darwin-amd64.tar.gz"; 279 - sha256 = "13r63s8llr3v1jvl790gcirm0n1m3nhkalrdpm9ssnhyrgfcxpj0"; 278 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.2-darwin-amd64.tar.gz"; 279 + sha256 = "1wmvmhxnjp32kp43fhjp8w9nrb0biki63w23l4zjxsdk7njply7c"; 280 280 } 281 281 { 282 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.1-darwin-amd64.tar.gz"; 283 - sha256 = "1wswpqliibq1kr8vv4l6kqw57cbw76nrh4fnvdzvrcl4rhpbjrc8"; 282 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.2-darwin-amd64.tar.gz"; 283 + sha256 = "0digqqr920g2ahmbiyird7kidnk0j04bbzb9nr2p6lgmdd659ayq"; 284 284 } 285 285 { 286 286 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-darwin-amd64.tar.gz"; ··· 345 345 sha256 = "0y519wmpq6iin20kqidw7b2zkqr6zky09lfsi10klbn0gzfpwbl5"; 346 346 } 347 347 { 348 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v4.38.1-linux-arm64.tar.gz"; 349 - sha256 = "0wv7c6sp4i64wq5v90k4zpxnzyrhhv34cwa1i4g4pgqfh6ahaz56"; 348 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v5.0.0-linux-arm64.tar.gz"; 349 + sha256 = "10ch53avymp9j7f41mapl4ffi005vddy8x39ya1kn682i6a0y1ks"; 350 350 } 351 351 { 352 352 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-linux-arm64.tar.gz"; ··· 389 389 sha256 = "0qpan6zvny2h2ckigwnf4dhsgmnywam1m4d2jp0nj9pm3628pldv"; 390 390 } 391 391 { 392 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.16.0-linux-arm64.tar.gz"; 393 - sha256 = "0f8n8q1in0n4z2lzd0y065ksszv05dgn2lgsa8snmxlwfkrx955h"; 392 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.17.0-linux-arm64.tar.gz"; 393 + sha256 = "01pgzyy70f77cidh228gs72hybwchp65qvs748482wakjcmf44mn"; 394 394 } 395 395 { 396 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.0-linux-arm64.tar.gz"; 397 - sha256 = "0p8lr9iw1h9ax90aivya513bw1dipm7yycqm5094wgx08r2yfvlm"; 396 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.1-linux-arm64.tar.gz"; 397 + sha256 = "1lrbl7x7hf1i7xx10cpxz17hihl8b6654wphz8s8g9lp0jryn6am"; 398 398 } 399 399 { 400 400 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-linux-arm64.tar.gz"; ··· 433 433 sha256 = "0j2c23ii4dn9yhpw6nymij65gv82y1xp4gi8lgxxf41b1i9bpb2i"; 434 434 } 435 435 { 436 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.1-linux-arm64.tar.gz"; 437 - sha256 = "1jac7dj7vsrhcn0fp03bkwmp3km4gxsi9mc5fzjgkmbhh5xnhw3b"; 436 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.2-linux-arm64.tar.gz"; 437 + sha256 = "1x8v39icapr8iakp9yd50md9dyvj63z7yj93cl3b07qlwr9lcvmv"; 438 438 } 439 439 { 440 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.1-linux-arm64.tar.gz"; 441 - sha256 = "15cd5g1kdjrfpcsicb4zgwb3q8q2h4xmkwdwbj0m2rys5ygayy2k"; 440 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.2-linux-arm64.tar.gz"; 441 + sha256 = "0dbqyizvx8gxlidiqc390wjfix1hyikpan32q3hq8d4f8342vjks"; 442 442 } 443 443 { 444 444 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-linux-arm64.tar.gz"; ··· 503 503 sha256 = "174dk82cx35i9x1f1kavydg3qyqax0lhl7637d2n17ca97xa7y8p"; 504 504 } 505 505 { 506 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v4.38.1-darwin-arm64.tar.gz"; 507 - sha256 = "096xd57z12rabv5375w3nb6zxsnva3nwrvjjxsr4h0sa0yip7sh0"; 506 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v5.0.0-darwin-arm64.tar.gz"; 507 + sha256 = "0jqbj8fmdmsvr86vy7w6i89jm6pnhs7nchxarsqrlx1lb3qpg2xq"; 508 508 } 509 509 { 510 510 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-darwin-arm64.tar.gz"; ··· 547 547 sha256 = "0jj35mj57sivi5qsbwv8qm2jginppi192qlx6ashvgm352gia9r1"; 548 548 } 549 549 { 550 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.16.0-darwin-arm64.tar.gz"; 551 - sha256 = "16llbsp06pszh4q232ly8nnj1pfr6f4p88a5k928716csh3zradq"; 550 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.17.0-darwin-arm64.tar.gz"; 551 + sha256 = "06lgq9p5mgqaifl4lrr5csbprx0j3khq93x29j4jvq5kw1qa3gc5"; 552 552 } 553 553 { 554 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.0-darwin-arm64.tar.gz"; 555 - sha256 = "167f7c7mpyjym0sw71adz5ffd7g8zmn87923xmjlrsz3wm6ybsq7"; 554 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.1-darwin-arm64.tar.gz"; 555 + sha256 = "1hx8rsf9yysvjg6df8dxzz8kqci000jxzg8wwxjfhcfb9adzjmy8"; 556 556 } 557 557 { 558 558 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-darwin-arm64.tar.gz"; ··· 591 591 sha256 = "1i5ipmidg0yspayxyglbjaihajhj1bsk46saxkncfrkvqnh4iq50"; 592 592 } 593 593 { 594 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.1-darwin-arm64.tar.gz"; 595 - sha256 = "12zlmihrrcwbmy4q4ysvmz6nys547g914nl8g8vnwviijqlx05df"; 594 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.2-darwin-arm64.tar.gz"; 595 + sha256 = "1rbig2n5x2lzxpscnja0ya9a68z3jk0qz2zwdnzi66xy7i3zd39l"; 596 596 } 597 597 { 598 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.1-darwin-arm64.tar.gz"; 599 - sha256 = "0gg80cg2f9d5ah4j7b1i6pxx7ffhbg4pcax319vymcsl9srh51hp"; 598 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.2-darwin-arm64.tar.gz"; 599 + sha256 = "1r1ln833jfi7hpyfb0cbg8vgam1wghdgr03m75w4hbds5nllw3zm"; 600 600 } 601 601 { 602 602 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-darwin-arm64.tar.gz";
+3 -3
pkgs/tools/admin/syft/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "syft"; 5 - version = "0.42.2"; 5 + version = "0.42.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "anchore"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-ejyUe2FM8pNQO9esWi9QbSiq6PVEjGbRu+AEnbCFqDE="; 11 + sha256 = "sha256-cHjtANCHEuEthfmPmV5MDw4LYY6XI+aux9Gijld7KGc="; 12 12 # populate values that require us to use git. By doing this in postFetch we 13 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 14 leaveDotGit = true; ··· 20 20 find "$out" -name .git -print0 | xargs -0 rm -rf 21 21 ''; 22 22 }; 23 - vendorSha256 = "sha256-o5Gq4ZN9H/rXSfIeU2hlExzV5KQZP9DfQsWbOZOB43E="; 23 + vendorSha256 = "sha256-+dul6aMsuObmWU8mu+ZnEcWhHo5ClenEDIhKbg3zjB0="; 24 24 25 25 nativeBuildInputs = [ installShellFiles ]; 26 26
+1 -1
pkgs/tools/audio/tts/default.nix
··· 57 57 ''-e 's/${package}.*[<>=]+.*/${package}/g' \'' 58 58 ) relaxedConstraints)} 59 59 requirements.txt 60 + sed -i '/tensorboardX/d' requirements.txt 60 61 ''; 61 62 62 63 nativeBuildInputs = with python.pkgs; [ ··· 84 85 pyworld 85 86 scipy 86 87 soundfile 87 - tensorboardx 88 88 tensorflow 89 89 torchaudio-bin 90 90 tqdm
+2 -2
pkgs/tools/misc/esphome/default.nix
··· 15 15 in 16 16 with python.pkgs; buildPythonApplication rec { 17 17 pname = "esphome"; 18 - version = "2022.2.6"; 18 + version = "2022.3.1"; 19 19 format = "setuptools"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = pname; 23 23 repo = pname; 24 24 rev = version; 25 - sha256 = "sha256-AoSFtEg7GpUBdIrFCYlOMBRc2nBBtiFEkxoZnKC/xyQ="; 25 + sha256 = "sha256-x2gdRUBpyhk6iKvuW6ZKSpokaHfYz1ugclBjP15rJsk="; 26 26 }; 27 27 28 28 postPatch = ''
-1
pkgs/tools/misc/mc/default.nix
··· 92 92 license = licenses.gpl2Plus; 93 93 maintainers = with maintainers; [ sander ]; 94 94 platforms = with platforms; linux ++ darwin; 95 - repositories.git = "https://github.com/MidnightCommander/mc.git"; 96 95 }; 97 96 }
+3 -3
pkgs/tools/misc/mcfly/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "mcfly"; 5 - version = "0.5.13"; 5 + version = "0.6.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cantino"; 9 9 repo = "mcfly"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-6PGh+CUQH5LEV7/qctn+ihdZgqjt888wknXTfGPS3SI="; 11 + sha256 = "sha256-k8Z/CS1vbnQvoddos7Y0KcM1zB8QDAbXaROjNCyPEN0="; 12 12 }; 13 13 14 14 postPatch = '' ··· 17 17 substituteInPlace mcfly.fish --replace '(command which mcfly)' '${placeholder "out"}/bin/mcfly' 18 18 ''; 19 19 20 - cargoSha256 = "sha256-dpDuM+kGuCC2xm5EdV2OoxLNbKgi8wmTGrr8K16AnpM="; 20 + cargoSha256 = "sha256-2SKgzVJdtzH9poHx/NJba6+lj/C0PBcEgI/2ITO18Bk="; 21 21 22 22 meta = with lib; { 23 23 homepage = "https://github.com/cantino/mcfly";
+2 -2
pkgs/tools/misc/mmctl/default.nix
··· 1 1 { lib, fetchFromGitHub, buildGoModule }: 2 2 buildGoModule rec { 3 3 pname = "mmctl"; 4 - version = "6.3.3"; 4 + version = "6.4.2"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "mattermost"; 8 8 repo = "mmctl"; 9 9 rev = "v${version}"; 10 - sha256 = "sha256-V2p6diXymu37aJdHs0ZQJ7ak4LWe55KYCq15JRzMF48="; 10 + sha256 = "sha256-FlqkY4LvAW9Cibs+3UkMDWA+uc62wMh13BllWuxjVZU="; 11 11 }; 12 12 13 13 vendorSha256 = null;
+2 -2
pkgs/tools/misc/nix-direnv/default.nix
··· 7 7 }: 8 8 stdenv.mkDerivation rec { 9 9 pname = "nix-direnv"; 10 - version = "1.6.0"; 10 + version = "1.6.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "nix-community"; 14 14 repo = "nix-direnv"; 15 15 rev = version; 16 - sha256 = "sha256-vMs4CyMhEy96gWMWXD74rTR1uNjU+y21i0dh6AdaMGE="; 16 + sha256 = "sha256-WgNfo9GRqIrXsIgNRhoNPU2/uwyPd8xG8xEEImEy4KY="; 17 17 }; 18 18 19 19 # Substitute instead of wrapping because the resulting file is
+2 -2
pkgs/tools/misc/remind/default.nix
··· 16 16 in 17 17 tcl.mkTclDerivation rec { 18 18 pname = "remind"; 19 - version = "03.04.01"; 19 + version = "03.04.02"; 20 20 21 21 src = fetchurl { 22 22 url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz"; 23 - sha256 = "sha256-8INtFmftMb1JSotUdDtMXdSm+UE/8zQW/wIOExr8nkI="; 23 + sha256 = "sha256-kjDcO0l39l2KJXo0elZesKZWDZoSoUXIu1Ua7IxWY4w="; 24 24 }; 25 25 26 26 propagatedBuildInputs = tclLibraries;
+3 -13
pkgs/tools/networking/aardvark-dns/default.nix
··· 5 5 6 6 rustPlatform.buildRustPackage rec { 7 7 pname = "aardvark-dns"; 8 - version = "1.0.1"; 8 + version = "1.0.2"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "containers"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-6O/7GoGH0xNbTfIFeD5VLrifNFpHcxxG0bdq/YQb3Ew="; 14 + sha256 = "sha256-d4YSCVZkNung4frgAeP46E9Ptpnu9y0HwmPRADo4t0U="; 15 15 }; 16 16 17 - cargoHash = "sha256-YdHIyCJ00MKH8PL0osOqQIMwaws3+cOUwvhvA8mOp84="; 18 - 19 - preBuild = '' 20 - rm build.rs 21 - 22 - export \ 23 - VERGEN_BUILD_SEMVER="${version}" \ 24 - VERGEN_BUILD_TIMESTAMP="$SOURCE_DATE_EPOCH" \ 25 - VERGEN_GIT_SHA="${src.rev}" \ 26 - VERGEN_RUSTC_HOST_TRIPLE="" 27 - ''; 17 + cargoHash = "sha256-fu7ZopS55IzzeO7uzLx1wVHQ8A1Ff+9f7FagoZPerxk="; 28 18 29 19 meta = with lib; { 30 20 description = "Authoritative dns server for A/AAAA container records";
-1
pkgs/tools/networking/chrony/default.nix
··· 28 28 meta = with lib; { 29 29 description = "Sets your computer's clock from time servers on the Net"; 30 30 homepage = "https://chrony.tuxfamily.org/"; 31 - repositories.git = "git://git.tuxfamily.org/gitroot/chrony/chrony.git"; 32 31 license = licenses.gpl2; 33 32 platforms = with platforms; linux ++ freebsd ++ openbsd; 34 33 maintainers = with maintainers; [ fpletz thoughtpolice ];
+3
pkgs/tools/networking/drill/default.nix
··· 24 24 pkg-config 25 25 ]; 26 26 27 + OPENSSL_LIB_DIR = "${openssl.out}/lib"; 28 + OPENSSL_DIR="${lib.getDev openssl}"; 29 + 27 30 buildInputs = lib.optionals stdenv.isLinux [ 28 31 openssl 29 32 ] ++ lib.optionals stdenv.isDarwin [
+3 -3
pkgs/tools/networking/lychee/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "lychee"; 10 - version = "0.8.2"; 10 + version = "0.9.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "lycheeverse"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-zgIFJLdYHSDsO34KFK51g4nVlSkc9/TFdXx2yPJ7kRQ="; 16 + sha256 = "sha256-XjG4u0z3u89Wg2lrcD3T0OqNMgLxmKO1e1zYlGd3dqQ="; 17 17 }; 18 18 19 - cargoSha256 = "sha256-r4a+JkaXVYsynBiWUHaleATXvfxyhRHfR/qcooD0FmI="; 19 + cargoSha256 = "sha256-aXxhKH0dB6VpXfoWJwXBjsxGFcK071MZfCoi4z9uHdc="; 20 20 21 21 nativeBuildInputs = [ pkg-config ]; 22 22
+3 -3
pkgs/tools/networking/mqttui/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "mqttui"; 10 - version = "0.16.0"; 10 + version = "0.16.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "EdJoPaTo"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-kGOQIoE+0lCBm9zQwPMFfYnLJgR79hSKECerWyOFsjI="; 16 + sha256 = "sha256-nLUDuLolv52WJAwBG5gSADWM2LmquJt5jZJioZWX8VA="; 17 17 }; 18 18 19 - cargoSha256 = "sha256-vm4IR/yQlQDn9LN9Ifr4vJvM6cCqgjRU2vdAHVEsWnI="; 19 + cargoSha256 = "sha256-Z6V7k69fjtiG01s1Xf0UA8lhRsq3T+ImDsCHPSVIDfQ="; 20 20 21 21 buildInputs = lib.optional stdenv.isDarwin Security; 22 22
+3 -16
pkgs/tools/networking/netavark/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "netavark"; 10 - version = "1.0.1"; 10 + version = "1.0.2"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "containers"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-r9NoPDFCqmzESxlovs91j0OyunGDmfWJXN+U1f0w2QQ="; 16 + sha256 = "sha256-2ElEhKit/XysRsUw+dg7SnhDl+Zf+FJb5pIYpq1ALNs="; 17 17 }; 18 18 19 - cargoHash = "sha256-/N9oKzcAwaxI2BbeoYZ2quN+Z3UO67ecpogK2SRG9Dw="; 20 - 21 - preBuild = '' 22 - substituteInPlace Cargo.toml \ 23 - --replace 'build = "build.rs"' "" 24 - 25 - rm build.rs 26 - 27 - export \ 28 - VERGEN_BUILD_SEMVER="${version}" \ 29 - VERGEN_BUILD_TIMESTAMP="$SOURCE_DATE_EPOCH" \ 30 - VERGEN_GIT_SHA="${src.rev}" \ 31 - VERGEN_RUSTC_HOST_TRIPLE="" 32 - ''; 19 + cargoHash = "sha256-w3qz4ygjIvn+Rxd1JEVO6Ax08leuuJvC4Bk7VygbBh4="; 33 20 34 21 nativeBuildInputs = [ installShellFiles mandown ]; 35 22
+1 -2
pkgs/tools/networking/obfs4/default.nix
··· 5 5 version = "0.0.11"; 6 6 7 7 src = fetchgit { 8 - url = meta.repositories.git; 8 + url = "https://git.torproject.org/pluggable-transports/obfs4.git"; 9 9 rev = "refs/tags/${pname}proxy-${version}"; 10 10 sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g="; 11 11 }; ··· 17 17 meta = with lib; { 18 18 description = "A pluggable transport proxy"; 19 19 homepage = "https://www.torproject.org/projects/obfsproxy"; 20 - repositories.git = "https://git.torproject.org/pluggable-transports/obfs4.git"; 21 20 maintainers = with maintainers; [ thoughtpolice ]; 22 21 }; 23 22 }
-1
pkgs/tools/networking/socat/default.nix
··· 38 38 meta = with lib; { 39 39 description = "Utility for bidirectional data transfer between two independent data channels"; 40 40 homepage = "http://www.dest-unreach.org/socat/"; 41 - repositories.git = "git://repo.or.cz/socat.git"; 42 41 platforms = platforms.unix; 43 42 license = with licenses; [ gpl2Only ]; 44 43 maintainers = with maintainers; [ eelco ];
+2 -1
pkgs/tools/networking/tuntox/default.nix
··· 9 9 , libsodium 10 10 , libtoxcore 11 11 , libvpx 12 + , msgpack 12 13 , pkg-config 13 14 , python3 14 15 , python3Packages ··· 27 28 28 29 nativeBuildInputs = [ cscope git pkg-config ]; 29 30 30 - buildInputs = [ libopus libtoxcore libsodium libevent libvpx python3 ]; 31 + buildInputs = [ libopus libtoxcore libsodium libevent libvpx msgpack python3 ]; 31 32 32 33 pythonBuildInputs = with python3Packages; [ 33 34 jinja2
+1 -1
pkgs/tools/nix/info/info.sh
··· 84 84 ( 85 85 # shellcheck disable=SC1091 86 86 . /etc/os-release 87 - printf ", %s, %s" "${NAME:-$(uname -v)}" "${VERSION:-noversion}" 87 + printf ", %s, %s, %s" "${NAME:-$(uname -v)}" "${VERSION:-noversion}" "${BUILD_ID:-nobuild}" 88 88 ) 89 89 fi 90 90 }
+3 -3
pkgs/tools/security/authoscope/default.nix
··· 12 12 13 13 rustPlatform.buildRustPackage rec { 14 14 pname = "authoscope"; 15 - version = "0.8.0"; 15 + version = "0.8.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "kpcyrd"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "11ci38m6d3lj4f0g7cl3dqf10kfk258k2k92phd2nav1my4i90pf"; 21 + sha256 = "sha256-SKgb/N249s0+Rb59moBT/MeFb4zAAElCMQJto0diyUk="; 22 22 }; 23 23 24 - cargoSha256 = "13x7i52i3k88vkfvk2smy2aqfg3na4317scvw7ali1rv545nbxds"; 24 + cargoSha256 = "sha256-rSHuKy86iJNLAKSVcb7fn7A/cc75EOc97jGI14EaC6k="; 25 25 26 26 nativeBuildInputs = [ 27 27 installShellFiles
+2 -2
pkgs/tools/security/cfripper/default.nix
··· 5 5 6 6 python3.pkgs.buildPythonApplication rec { 7 7 pname = "cfripper"; 8 - version = "1.6.0"; 8 + version = "1.7.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "Skyscanner"; 12 12 repo = pname; 13 13 rev = version; 14 - hash = "sha256-bomQqg+xzq7+iccE+x6mN265HxkYvy13aAwBBikth3U="; 14 + hash = "sha256-bYKusyEItnhj1mU6Tucsdi5pdMoWrUK4Y91SK8dNGE4="; 15 15 }; 16 16 17 17 propagatedBuildInputs = with python3.pkgs; [
+3 -3
pkgs/tools/security/gitleaks/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "gitleaks"; 8 - version = "8.5.0"; 8 + version = "8.5.1"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "zricethezav"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-vd6mEjswqIX2F3GO7AF1Me4NolbeZZPwLxfyzJaNmT8="; 14 + sha256 = "sha256-lx7xjOajFyeetnGcJwX66pIcZw2A7+QGWb5crCoA83g="; 15 15 }; 16 16 17 - vendorSha256 = "sha256-J1xX+r+Mph1QkqjK87tqGDkYvPZp0lHgdRhd88WZi1c="; 17 + vendorSha256 = "sha256-gelUrZOYiThO0+COIv9cOgho/tjv7ZqSKOktWIbdADw="; 18 18 19 19 ldflags = [ 20 20 "-s"
+3 -3
pkgs/tools/security/grype/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "grype"; 9 - version = "0.34.4"; 9 + version = "0.34.7"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "anchore"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-t5N9C69u8bTXXobptmxA+yuQ88Hko8Hhhp+nyC/tMFc="; 15 + sha256 = "sha256-t95efLTqPnmYiXTBxuxEoDdafoZC/bXXTfKdA8gy3fk="; 16 16 # populate values that require us to use git. By doing this in postFetch we 17 17 # can delete .git afterwards and maintain better reproducibility of the src. 18 18 leaveDotGit = true; ··· 25 25 ''; 26 26 }; 27 27 28 - vendorSha256 = "sha256-u11SKoybGobfxsjLq9mYFzZWw01Dms5RyKxmZA47XqI="; 28 + vendorSha256 = "sha256-FZMgS0aNZVq4nvwog4l62dOzC6wW7pQCNbOW1/jssWo="; 29 29 30 30 nativeBuildInputs = [ 31 31 installShellFiles
+3 -3
pkgs/tools/security/jadx/default.nix
··· 2 2 3 3 let 4 4 pname = "jadx"; 5 - version = "1.3.3"; 5 + version = "1.3.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "skylot"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-z8u6j6YLBHmgZKSGh/rFDDSnWZrBgWsqfKP3vhaukbY="; 11 + hash = "sha256-G2BgGhWk0Prbjni6HPZ/0+bWiC9uI2O13Q1SDCE5mBE="; 12 12 }; 13 13 14 14 deps = stdenv.mkDerivation { ··· 40 40 ''; 41 41 42 42 outputHashMode = "recursive"; 43 - outputHash = "sha256-kiNtA63sINX7VRsq4JKAiZYzymHe1TrNetZsE6S9KVM="; 43 + outputHash = "sha256-QZClHuj7oCUYX3I8B3A90m4zK7+FP24C19RIzYyPC1w="; 44 44 }; 45 45 in stdenv.mkDerivation { 46 46 inherit pname version src;
-1
pkgs/tools/security/nitrokey-app/default.nix
··· 36 36 See https://www.nitrokey.com/ for more information. 37 37 ''; 38 38 homepage = "https://github.com/Nitrokey/nitrokey-app"; 39 - repositories.git = "https://github.com/Nitrokey/nitrokey-app.git"; 40 39 license = licenses.gpl3; 41 40 maintainers = with maintainers; [ kaiha fpletz ]; 42 41 };
+2 -2
pkgs/tools/security/sigma-cli/default.nix
··· 5 5 6 6 python3.pkgs.buildPythonApplication rec { 7 7 pname = "sigma-cli"; 8 - version = "0.3.3"; 8 + version = "0.3.4"; 9 9 format = "pyproject"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "SigmaHQ"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - hash = "sha256-AUAOZrwLNu+Llg8RX4RKm4vAETgpPLKK1mcpl8jxGYE="; 15 + hash = "sha256-FWcPHtEYqS+81dU4lB+4BLFOXtFumcyhucwvmu2TAt8="; 16 16 }; 17 17 18 18 nativeBuildInputs = with python3.pkgs; [
-1
pkgs/tools/security/tor/default.nix
··· 97 97 98 98 meta = with lib; { 99 99 homepage = "https://www.torproject.org/"; 100 - repositories.git = "https://git.torproject.org/git/tor"; 101 100 description = "Anonymizing overlay network"; 102 101 103 102 longDescription = ''
+1 -2
pkgs/tools/security/tor/torsocks.nix
··· 5 5 version = "2.3.0"; 6 6 7 7 src = fetchgit { 8 - url = meta.repositories.git; 8 + url = "https://git.torproject.org/torsocks.git"; 9 9 rev = "refs/tags/v${version}"; 10 10 sha256 = "0x0wpcigf22sjxg7bm0xzqihmsrz51hl4v8xf91qi4qnmr4ny1hb"; 11 11 }; ··· 35 35 meta = { 36 36 description = "Wrapper to safely torify applications"; 37 37 homepage = "https://github.com/dgoulet/torsocks"; 38 - repositories.git = "https://git.torproject.org/torsocks.git"; 39 38 license = lib.licenses.gpl2; 40 39 platforms = lib.platforms.unix; 41 40 maintainers = with lib.maintainers; [ thoughtpolice ];
+4 -4
pkgs/tools/security/vault/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "vault"; 9 - version = "1.9.4"; 9 + version = "1.10.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "hashicorp"; 13 13 repo = "vault"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-zqtRM2p+RrLrXzDCMtHJZNx/dKWyFqM+3V5eICwWvWs="; 15 + sha256 = "sha256-XgrEtAVfMcXbmAjwgIWME/v85QHJ11fUXapAZtS/lSw="; 16 16 }; 17 17 18 - vendorSha256 = "sha256-EiQ6XmGrw1O2Zd8TM7HSr3sQUd1naQYKbYLKB/vWdXU="; 18 + vendorSha256 = "sha256-Bo0+HSG7NqaweMKPdl+kzB6RdbQsy2FAzmr7ZZVgcsg="; 19 19 20 20 subPackages = [ "." ]; 21 21 ··· 46 46 changelog = "https://github.com/hashicorp/vault/blob/v${version}/CHANGELOG.md"; 47 47 platforms = platforms.linux ++ platforms.darwin; 48 48 license = licenses.mpl20; 49 - maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man ]; 49 + maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man techknowlogick ]; 50 50 }; 51 51 }
+43
pkgs/tools/security/vault/update-bin.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl gnused gawk nix-prefetch 3 + 4 + set -euo pipefail 5 + 6 + ROOT="$(dirname "$(readlink -f "$0")")" 7 + NIX_DRV="$ROOT/vault-bin.nix" 8 + if [ ! -f "$NIX_DRV" ]; then 9 + echo "ERROR: cannot find vault-bin in $ROOT" 10 + exit 1 11 + fi 12 + 13 + fetch_arch() { 14 + VER="$1"; ARCH="$2" 15 + URL="https://releases.hashicorp.com/vault/${VER}/vault_${VER}_${ARCH}.zip" 16 + nix-prefetch "{ stdenv, fetchzip }: 17 + stdenv.mkDerivation rec { 18 + pname = \"vault-bin\"; version = \"${VER}\"; 19 + src = fetchzip { url = \"$URL\"; }; 20 + } 21 + " 22 + } 23 + 24 + replace_sha() { 25 + sed -i "s#$1 = \"sha256-.\{44\}\"#$1 = \"$2\"#" "$NIX_DRV" 26 + } 27 + 28 + # https://releases.hashicorp.com/vault/1.9.4/vault_1.9.4_linux_arm64.zip 29 + VAULT_VER=$(curl -Ls -w "%{url_effective}" -o /dev/null https://github.com/hashicorp/vault/releases/latest | awk -F'/' '{print $NF}' | sed 's/v//') 30 + 31 + VAULT_LINUX_X86_SHA256=$(fetch_arch "$VAULT_VER" "linux_386") 32 + VAULT_LINUX_X64_SHA256=$(fetch_arch "$VAULT_VER" "linux_amd64") 33 + VAULT_DARWIN_X64_SHA256=$(fetch_arch "$VAULT_VER" "darwin_amd64") 34 + VAULT_LINUX_AARCH64_SHA256=$(fetch_arch "$VAULT_VER" "linux_arm64") 35 + VAULT_DARWIN_AARCH64_SHA256=$(fetch_arch "$VAULT_VER" "darwin_arm64") 36 + 37 + sed -i "s/version = \".*\"/version = \"$VAULT_VER\"/" "$NIX_DRV" 38 + 39 + replace_sha "i686-linux" "$VAULT_LINUX_X86_SHA256" 40 + replace_sha "x86_64-linux" "$VAULT_LINUX_X64_SHA256" 41 + replace_sha "x86_64-darwin" "$VAULT_DARWIN_X64_SHA256" 42 + replace_sha "aarch64-linux" "$VAULT_LINUX_AARCH64_SHA256" 43 + replace_sha "aarch64-darwin" "$VAULT_DARWIN_AARCH64_SHA256"
+43 -45
pkgs/tools/security/vault/vault-bin.nix
··· 1 - { lib, stdenv, fetchurl, unzip, makeWrapper, gawk, glibc }: 2 - 3 - let 4 - version = "1.9.1"; 5 - 6 - sources = let 7 - base = "https://releases.hashicorp.com/vault/${version}"; 8 - in { 9 - x86_64-linux = fetchurl { 10 - url = "${base}/vault_${version}_linux_amd64.zip"; 11 - sha256 = "sha256-kP1wLbkktVCTZopVaT0h/WKqAG3Pd9g7qeruk4MIWJM="; 12 - }; 13 - i686-linux = fetchurl { 14 - url = "${base}/vault_${version}_linux_386.zip"; 15 - sha256 = "sha256-cTZ/hek8wQo9FxIRQ/cc23h7Nqjfonvprf492/lSzLw="; 16 - }; 17 - x86_64-darwin = fetchurl { 18 - url = "${base}/vault_${version}_darwin_amd64.zip"; 19 - sha256 = "sha256-uKW9Yl4PjxWJ886OVAHl1sbPhgYWoL6IJK44vczLQsY="; 20 - }; 21 - aarch64-darwin = fetchurl { 22 - url = "${base}/vault_${version}_darwin_arm64.zip"; 23 - sha256 = "sha256-J0qwUBcnZRZU5TTQB3K8wNE6rdQC1Boy/gKNQRvUYEI="; 24 - }; 25 - aarch64-linux = fetchurl { 26 - url = "${base}/vault_${version}_linux_arm64.zip"; 27 - sha256 = "sha256-eU5s15tBuZFThJGNtnjOV07tiBoVjSSHMS9sY2WqO1o="; 28 - }; 29 - }; 1 + { lib, stdenv, fetchurl, unzip, makeWrapper, gawk, glibc, fetchzip }: 30 2 31 - in stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 32 4 pname = "vault-bin"; 33 - inherit version; 5 + version = "1.10.0"; 34 6 35 - src = sources.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}"); 36 - 37 - nativeBuildInputs = [ makeWrapper unzip ]; 7 + src = 8 + let 9 + inherit (stdenv.hostPlatform) system; 10 + selectSystem = attrs: attrs.${system} or (throw "Unsupported system: ${system}"); 11 + suffix = selectSystem { 12 + x86_64-linux = "linux_amd64"; 13 + aarch64-linux = "linux_arm64"; 14 + i686-linux = "linux_386"; 15 + x86_64-darwin = "darwin_amd64"; 16 + aarch64-darwin = "darwin_arm64"; 17 + }; 18 + sha256 = selectSystem { 19 + x86_64-linux = "sha256-enD/JcOmeavvUd/njbu7IksAqp9dKepVdYPkLJHA8OQ="; 20 + aarch64-linux = "sha256-FDkgUqFEVJoSED/FWqOXa4BTO6AYwkLS2iZh+BkzlqA="; 21 + i686-linux = "sha256-XUTWB5Ynu92SMP9Nt/0jAki6til4upKv1sdFzPbWxiw="; 22 + x86_64-darwin = "sha256-QNCsbIza56NqSU7R6+Cx//WBXiEOz6CEMCjrx4AR1x8="; 23 + aarch64-darwin = "sha256-LBgd8gqeU92336kypSIwMtKo7I1qB/RP2dNoIGJgq7k="; 24 + }; 25 + in 26 + fetchzip { 27 + url = "https://releases.hashicorp.com/vault/${version}/vault_${version}_${suffix}.zip"; 28 + inherit sha256; 29 + }; 38 30 39 - sourceRoot = "."; 31 + dontConfigure = true; 32 + dontBuild = true; 33 + dontStrip = stdenv.isDarwin; 40 34 41 35 installPhase = '' 42 36 runHook preInstall 43 - 44 - mkdir -p $out/bin $out/share/bash-completion/completions 45 - mv vault $out/bin 46 - echo "complete -C $out/bin/vault vault" > $out/share/bash-completion/completions/vault 47 - '' + lib.optionalString stdenv.isLinux '' 48 - wrapProgram $out/bin/vault \ 49 - --prefix PATH : ${lib.makeBinPath [ gawk glibc ]} 50 - 37 + install -D vault $out/bin/vault 51 38 runHook postInstall 52 39 ''; 53 40 54 - dontStrip = stdenv.isDarwin; 41 + doInstallCheck = true; 42 + installCheckPhase = '' 43 + runHook preInstallCheck 44 + $out/bin/vault --help 45 + $out/bin/vault version 46 + runHook postInstallCheck 47 + ''; 48 + 49 + dontPatchELF = true; 50 + dontPatchShebangs = true; 51 + 52 + passthru.updateScript = ./update-bin.sh; 55 53 56 54 meta = with lib; { 57 55 homepage = "https://www.vaultproject.io"; 58 56 description = "A tool for managing secrets, this binary includes the UI"; 59 57 platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ]; 60 58 license = licenses.mpl20; 61 - maintainers = with maintainers; teams.serokell.members ++ [ offline psyanticy Chili-Man ]; 59 + maintainers = with maintainers; teams.serokell.members ++ [ offline psyanticy Chili-Man techknowlogick ]; 62 60 }; 63 61 }
+4 -4
pkgs/tools/system/ctop/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ctop"; 5 - version = "0.7.6"; 5 + version = "0.7.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bcicen"; 9 9 repo = pname; 10 - rev = version; 11 - sha256 = "sha256-ceRyYrqmgdTnV8m9LkLlR6iTrC5F81X/V3fWI2CiKBw="; 10 + rev = "v${version}"; 11 + sha256 = "sha256-tojSzgpoGQg6MwV/MVpQpCA5w6bZO+9IOvfkw0Ydr6c="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-UCeMy4iT0c2sTcCDPg0TIYCLYfrIUvHluUuGIpzluSg="; 14 + vendorSha256 = "sha256-UAja7XuoLqJFNcK1PgHGcuf/HbvSrWyRvW2D3T7Hg0g="; 15 15 16 16 doCheck = false; 17 17
-1
pkgs/tools/system/evemu/default.nix
··· 23 23 meta = with lib; { 24 24 description = "Records and replays device descriptions and events to emulate input devices through the kernel's input system"; 25 25 homepage = "https://www.freedesktop.org/wiki/Evemu/"; 26 - repositories.git = "git://git.freedesktop.org/git/evemu"; 27 26 license = with licenses; [ lgpl3Only gpl3Only ]; 28 27 maintainers = [ maintainers.amorsillo ]; 29 28 platforms = platforms.linux;
-1
pkgs/tools/system/gohai/default.nix
··· 21 21 license = licenses.mit; 22 22 maintainers = [ maintainers.tazjin ]; 23 23 platforms = platforms.unix; 24 - repositories.git = "git://github.com/DataDog/gohai.git"; 25 24 26 25 longDescription = '' 27 26 Gohai is a tool which collects an inventory of system
-1
pkgs/tools/system/hardlink/default.nix
··· 26 26 meta = with lib; { 27 27 description = "Consolidate duplicate files via hardlinks"; 28 28 homepage = "https://pagure.io/hardlink"; 29 - repositories.git = "https://src.fedoraproject.org/cgit/rpms/hardlink.git"; 30 29 license = licenses.gpl2Plus; 31 30 platforms = platforms.unix; 32 31 };
-1
pkgs/tools/system/mq-cli/default.nix
··· 19 19 license = licenses.mit; 20 20 maintainers = with maintainers; [ tazjin ]; 21 21 platforms = platforms.linux; 22 - repositories.git = "git://github.com/aprilabank/mq-cli.git"; 23 22 }; 24 23 }
+3 -3
pkgs/tools/system/nats-top/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "nats-top"; 8 - version = "0.4.0"; 8 + version = "0.5.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "nats-io"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "0b1hpnq8m1xfrn58ammmnx6lmhk319m8z4xjxgckz7wvy2fbzw0n"; 14 + sha256 = "sha256-IZQDwopFAXPT0V+TTiJk6+j/KhLTA3g4kN1j1PVlNt0="; 15 15 }; 16 16 17 - vendorSha256 = "1a48p9gx5zdc340ma6cqakhi6f3lw9b0kz2597j1jcsk2qb7s581"; 17 + vendorSha256 = "sha256-cBCR/OXUOa+Lh8UvL/VraDAW0hGGwV7teyvdswZQ5Lo="; 18 18 19 19 meta = with lib; { 20 20 description = "top-like tool for monitoring NATS servers";
-35
pkgs/tools/text/gnused/422.nix
··· 1 - { lib, stdenv, fetchurl }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "gnused"; 5 - version = "4.2.2"; 6 - 7 - src = fetchurl { 8 - url = "mirror://gnu/sed/sed-${version}.tar.bz2"; 9 - sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7"; 10 - }; 11 - 12 - configureFlags = lib.optional stdenv.hostPlatform.isMinGW "ac_cv_func__set_invalid_parameter_handler=no"; 13 - 14 - outputs = [ "out" "info" ]; 15 - 16 - meta = { 17 - homepage = "https://www.gnu.org/software/sed/"; 18 - description = "GNU sed, a batch stream editor"; 19 - 20 - longDescription = '' 21 - Sed (stream editor) isn't really a true text editor or text 22 - processor. Instead, it is used to filter text, i.e., it takes 23 - text input and performs some operation (or set of operations) on 24 - it and outputs the modified text. Sed is typically used for 25 - extracting part of a file using pattern matching or substituting 26 - multiple occurrences of a string within a file. 27 - ''; 28 - 29 - license = lib.licenses.gpl3Plus; 30 - 31 - platforms = lib.platforms.all; 32 - maintainers = [ ]; 33 - mainProgram = "sed"; 34 - }; 35 - }
-1
pkgs/tools/typesetting/odpdown/default.nix
··· 20 20 21 21 meta = with lib; { 22 22 homepage = "https://github.com/thorstenb/odpdown"; 23 - repositories.git = "https://github.com/thorstenb/odpdown.git"; 24 23 description = "Create nice-looking slides from your favourite text editor"; 25 24 longDescription = '' 26 25 Have a tool like pandoc, latex beamer etc, that you can write (or
+2 -1
pkgs/top-level/aliases.nix
··· 1263 1263 varnish62 = throw "varnish62 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-07-26 1264 1264 varnish63 = throw "varnish63 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-07-26 1265 1265 varnish65 = throw "varnish65 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-09-15 1266 + varnish70 = throw "varnish70 was removed from nixpkgs, because it was superseded upstream. Please switch to a different release"; # Added 2022-03-17 1266 1267 vdirsyncerStable = vdirsyncer; # Added 2020-11-08, see https://github.com/NixOS/nixpkgs/issues/103026#issuecomment-723428168 1267 1268 venus = throw "venus has been removed from nixpkgs, as it's unmaintained"; # Added 2021-02-05 1268 1269 vimbWrapper = throw "'vimbWrapper' has been renamed to/replaced by 'vimb'"; # Converted to throw 2022-02-22 ··· 1448 1449 ksshaskpass ksystemlog kteatime ktimer ktorrent ktouch kturtle kwallet-pam 1449 1450 kwalletmanager kwave kwayland-integration kwin kwrited marble milou minuet 1450 1451 okular oxygen oxygen-icons5 picmi plasma-browser-integration plasma-desktop 1451 - plasma-integration plasma-nano plasma-nm plasma-pa plasma-phone-components 1452 + plasma-integration plasma-nano plasma-nm plasma-pa plasma-mobile 1452 1453 plasma-systemmonitor plasma-thunderbolt plasma-vault plasma-workspace 1453 1454 plasma-workspace-wallpapers polkit-kde-agent powerdevil qqc2-breeze-style 1454 1455 sddm-kcm skanlite spectacle systemsettings xdg-desktop-portal-kde yakuake
+25 -26
pkgs/top-level/all-packages.nix
··· 5783 5783 5784 5784 gdmap = callPackage ../tools/system/gdmap { }; 5785 5785 5786 + gef = callPackage ../development/tools/misc/gef { }; 5787 + 5786 5788 gelasio = callPackage ../data/fonts/gelasio { }; 5787 5789 5788 5790 gemget = callPackage ../tools/networking/gemget {}; ··· 6162 6164 6163 6165 gnu-pw-mgr = callPackage ../tools/security/gnu-pw-mgr { }; 6164 6166 6165 - gnused = if !stdenv.hostPlatform.isWindows 6166 - then callPackage ../tools/text/gnused { } # broken on Windows 6167 - else gnused_422; 6168 - # This is an easy work-around for [:space:] problems. 6169 - gnused_422 = callPackage ../tools/text/gnused/422.nix { }; 6167 + gnused = callPackage ../tools/text/gnused { }; 6170 6168 6171 6169 gnutar = callPackage ../tools/archivers/gnutar { }; 6172 6170 ··· 6263 6261 gpodder = callPackage ../applications/audio/gpodder { }; 6264 6262 6265 6263 gpp = callPackage ../development/tools/gpp { }; 6264 + 6265 + gnuastro = callPackage ../applications/science/astronomy/gnuastro { }; 6266 6266 6267 6267 gpredict = callPackage ../applications/science/astronomy/gpredict { 6268 6268 hamlib = hamlib_4; ··· 11290 11290 valum = callPackage ../development/web/valum { }; 11291 11291 11292 11292 inherit (callPackages ../servers/varnish { }) 11293 - varnish60 varnish70; 11293 + varnish60 varnish71; 11294 11294 inherit (callPackages ../servers/varnish/packages.nix { }) 11295 - varnish60Packages varnish70Packages; 11295 + varnish60Packages varnish71Packages; 11296 11296 11297 - varnishPackages = varnish70Packages; 11297 + varnishPackages = varnish71Packages; 11298 11298 varnish = varnishPackages.varnish; 11299 11299 11300 11300 hitch = callPackage ../servers/hitch { }; ··· 19613 19613 19614 19614 optparse-bash = callPackage ../development/libraries/optparse-bash { }; 19615 19615 19616 + oras = callPackage ../development/tools/oras { }; 19617 + 19616 19618 orcania = callPackage ../development/libraries/orcania { }; 19617 19619 19618 19620 osm-gps-map = callPackage ../development/libraries/osm-gps-map { }; ··· 20732 20734 20733 20735 wxGTK31 = callPackage ../development/libraries/wxwidgets/wxGTK31.nix { 20734 20736 inherit (darwin.stubs) setfile; 20735 - inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit; 20737 + inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit AVFoundation AVKit WebKit; 20736 20738 }; 20737 20739 wxGTK31-gtk2 = wxGTK31.override { withGtk2 = true; }; 20738 20740 wxGTK31-gtk3 = wxGTK31.override { withGtk2 = false; }; ··· 22005 22007 prometheus-nextcloud-exporter = callPackage ../servers/monitoring/prometheus/nextcloud-exporter.nix { }; 22006 22008 prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { }; 22007 22009 prometheus-nginxlog-exporter = callPackage ../servers/monitoring/prometheus/nginxlog-exporter.nix { }; 22008 - prometheus-node-exporter = callPackage ../servers/monitoring/prometheus/node-exporter.nix { }; 22010 + prometheus-node-exporter = callPackage ../servers/monitoring/prometheus/node-exporter.nix { 22011 + inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit; 22012 + }; 22009 22013 prometheus-openldap-exporter = callPackage ../servers/monitoring/prometheus/openldap-exporter.nix { }; 22010 22014 prometheus-openvpn-exporter = callPackage ../servers/monitoring/prometheus/openvpn-exporter.nix { }; 22011 22015 prometheus-pihole-exporter = callPackage ../servers/monitoring/prometheus/pihole-exporter.nix { }; ··· 22752 22756 powercap = callPackage ../os-specific/linux/powercap { }; 22753 22757 22754 22758 powerstat = callPackage ../os-specific/linux/powerstat { }; 22759 + 22760 + projecteur = libsForQt5.callPackage ../os-specific/linux/projecteur { }; 22755 22761 22756 22762 smemstat = callPackage ../os-specific/linux/smemstat { }; 22757 22763 ··· 25043 25049 25044 25050 centerim = callPackage ../applications/networking/instant-messengers/centerim { }; 25045 25051 25046 - cgit = callPackage ../applications/version-management/git-and-tools/cgit { 25047 - inherit (python3Packages) python wrapPython pygments markdown; 25048 - }; 25052 + cgit = callPackage ../applications/version-management/git-and-tools/cgit { }; 25053 + cgit-pink = callPackage ../applications/version-management/git-and-tools/cgit/pink.nix { }; 25049 25054 25050 25055 chatty = callPackage ../applications/networking/instant-messengers/chatty { }; 25051 25056 ··· 25968 25973 firefoxPackages = recurseIntoAttrs (callPackage ../applications/networking/browsers/firefox/packages.nix { 25969 25974 callPackage = newScope { 25970 25975 inherit (rustPackages) cargo rustc; 25971 - gnused = gnused_422; 25972 - inherit (darwin.apple_sdk.frameworks) CoreMedia ExceptionHandling 25973 - Kerberos AVFoundation MediaToolbox 25974 - CoreLocation Foundation AddressBook; 25975 - inherit (darwin) libobjc; 25976 25976 }; 25977 25977 }); 25978 25978 ··· 27106 27106 kubectl = callPackage ../applications/networking/cluster/kubernetes/kubectl.nix { }; 27107 27107 27108 27108 kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { }; 27109 + 27110 + kubent = callPackage ../applications/networking/cluster/kubent { }; 27109 27111 27110 27112 kubeseal = callPackage ../applications/networking/cluster/kubeseal { }; 27111 27113 ··· 29455 29457 thunderbirdPackages = recurseIntoAttrs (callPackage ../applications/networking/mailreaders/thunderbird/packages.nix { 29456 29458 callPackage = newScope { 29457 29459 inherit (rustPackages) cargo rustc; 29458 - gnused = gnused_422; 29459 - inherit (darwin.apple_sdk.frameworks) CoreMedia ExceptionHandling 29460 - Kerberos AVFoundation MediaToolbox 29461 - CoreLocation Foundation AddressBook; 29462 - inherit (darwin) libobjc; 29463 29460 }; 29464 29461 }); 29465 29462 ··· 29669 29666 }); 29670 29667 29671 29668 unigine-valley = callPackage ../applications/graphics/unigine-valley { }; 29669 + 29670 + unigine-heaven = callPackage ../applications/graphics/unigine-heaven { }; 29672 29671 29673 29672 unipicker = callPackage ../applications/misc/unipicker { }; 29674 29673 ··· 33266 33265 33267 33266 cups-brother-hll2350dw = callPackage ../misc/cups/drivers/hll2350dw { }; 33268 33267 33268 + cups-brother-mfcl2750dw = callPackage ../misc/cups/drivers/mfcl2750dw { }; 33269 + 33269 33270 cups-drv-rastertosag-gdi = callPackage ../misc/cups/drivers/cups-drv-rastertosag-gdi { }; 33270 33271 33271 33272 # this driver ships with pre-compiled 32-bit binary libraries ··· 33716 33717 loadedTest = if builtins.typeOf test == "path" 33717 33718 then import test 33718 33719 else test; 33719 - calledTest = if lib.isFunction loadedTest 33720 - then callPackage loadedTest {} 33721 - else loadedTest; 33720 + calledTest = lib.toFunction loadedTest pkgs; 33722 33721 in 33723 33722 nixosTesting.makeTest calledTest; 33724 33723
-2
pkgs/top-level/ocaml-packages.nix
··· 709 709 710 710 magic-mime = callPackage ../development/ocaml-modules/magic-mime { }; 711 711 712 - magick = callPackage ../development/ocaml-modules/magick { }; 713 - 714 712 mariadb = callPackage ../development/ocaml-modules/mariadb { 715 713 inherit (pkgs) mariadb; 716 714 };
+3 -3
pkgs/top-level/perl-packages.nix
··· 5996 5996 5997 5997 DevelPatchPerl = buildPerlPackage { 5998 5998 pname = "Devel-PatchPerl"; 5999 - version = "2.04"; 5999 + version = "2.08"; 6000 6000 src = fetchurl { 6001 - url = "mirror://cpan/authors/id/B/BI/BINGOS/Devel-PatchPerl-2.04.tar.gz"; 6002 - sha256 = "1q8xhz2sdlz2266pjl8j9vcixbhcaxsprmvsx56ra998miayc42p"; 6001 + url = "mirror://cpan/authors/id/B/BI/BINGOS/Devel-PatchPerl-2.08.tar.gz"; 6002 + sha256 = "06bl2qqf5mv53l7k81xgynfx99in5fa8yi3ykn7403r62rqfkik9"; 6003 6003 }; 6004 6004 propagatedBuildInputs = [ Filepushd ModulePluggable ]; 6005 6005 meta = {
+7 -1
pkgs/top-level/python-packages.nix
··· 6164 6164 6165 6165 pint = callPackage ../development/python-modules/pint { }; 6166 6166 6167 + pint-pandas = callPackage ../development/python-modules/pint-pandas { }; 6168 + 6167 6169 pip = callPackage ../development/python-modules/pip { }; 6168 6170 6169 6171 pipdate = callPackage ../development/python-modules/pipdate { }; ··· 6308 6310 pythonfinder = callPackage ../development/python-modules/pythonfinder { }; 6309 6311 6310 6312 pyutil = callPackage ../development/python-modules/pyutil { }; 6313 + 6314 + pyzbar = callPackage ../development/python-modules/pyzbar { }; 6311 6315 6312 6316 pkutils = callPackage ../development/python-modules/pkutils { }; 6313 6317 ··· 6461 6465 preggy = callPackage ../development/python-modules/preggy { }; 6462 6466 6463 6467 premailer = callPackage ../development/python-modules/premailer { }; 6468 + 6469 + preprocess-cancellation = callPackage ../development/python-modules/preprocess-cancellation { }; 6464 6470 6465 6471 preshed = callPackage ../development/python-modules/preshed { }; 6466 6472 ··· 8373 8379 }; 8374 8380 8375 8381 pyudev = callPackage ../development/python-modules/pyudev { 8376 - inherit (pkgs) systemd; 8382 + inherit (pkgs) udev; 8377 8383 }; 8378 8384 8379 8385 pyunbound = callPackage ../tools/networking/unbound/python.nix { };