lol

Merge master into haskell-updates

authored by

github-actions[bot] and committed by
GitHub
79b77965 38df6e7a

+1651 -921
+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
+9
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 477 477 </listitem> 478 478 <listitem> 479 479 <para> 480 + <literal>services.ipfs.extraFlags</literal> is now escaped 481 + with <literal>utils.escapeSystemdExecArgs</literal>. If you 482 + rely on systemd interpolating <literal>extraFlags</literal> in 483 + the service <literal>ExecStart</literal>, this will no longer 484 + work. 485 + </para> 486 + </listitem> 487 + <listitem> 488 + <para> 480 489 The <literal>matrix-synapse</literal> service 481 490 (<literal>services.matrix-synapse</literal>) has been 482 491 converted to use the <literal>settings</literal> option
+2
nixos/doc/manual/release-notes/rl-2205.section.md
··· 159 159 160 160 - The `mailpile` email webclient (`services.mailpile`) has been removed due to its reliance on python2. 161 161 162 + - `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. 163 + 162 164 - The `matrix-synapse` service (`services.matrix-synapse`) has been converted to use the `settings` option defined in RFC42. 163 165 This means that options that are part of your `homeserver.yaml` configuration, and that were specified at the top-level of the 164 166 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} - - -"
+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
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]}
+1
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 {};
-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, ... }:
+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 = ''
+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 {
+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 = [
+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
+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 -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 ];
+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 = ''
+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;
+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
+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",
+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=";
+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
+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 + }
+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 = [
+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
+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} \
+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;
+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/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 + }
+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 = ''
+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
+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
+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
+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 -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 = {
+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/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
+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 name = "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
+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" ];
+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 ];
+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/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 = [
+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 = [
+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
+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/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 = [
+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 };
+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 = [
+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/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/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 ];
+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 = [
+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 = "21.7.0"; 20 + version = "22.2.0"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 24 extension = "tar.gz"; 25 - sha256 = "01lh225d7lfnmfx4f4kxwl3963gjc9yg8jfkn1w769v34ia55mic"; 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/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"
+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}"
+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";
+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;
+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 ];
-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" ''
+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/kernel/common-config.nix
··· 479 479 DEFAULT_SECURITY_APPARMOR = yes; 480 480 481 481 RANDOM_TRUST_CPU = whenAtLeast "4.19" yes; # allow RDRAND to seed the RNG 482 + RANDOM_TRUST_BOOTLOADER = whenAtLeast "5.4" yes; # allow the bootloader to seed the RNG 482 483 483 484 MODULE_SIG = no; # r13y, generates a random key during build and bakes it in 484 485 # Depends on MODULE_SIG and only really helps when you sign your modules
+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 ];
+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
+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" ];
+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 = ''
+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";
+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/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
+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/grype/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "grype"; 9 - version = "0.34.6"; 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-3+6ZhAlEOKrgvAXzgOY0q+R/4dbN+qk4Nxuj1IBntzo="; 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
+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; [
+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 }
+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 - }
+11 -9
pkgs/top-level/all-packages.nix
··· 6164 6164 6165 6165 gnu-pw-mgr = callPackage ../tools/security/gnu-pw-mgr { }; 6166 6166 6167 - gnused = if !stdenv.hostPlatform.isWindows 6168 - then callPackage ../tools/text/gnused { } # broken on Windows 6169 - else gnused_422; 6170 - # This is an easy work-around for [:space:] problems. 6171 - gnused_422 = callPackage ../tools/text/gnused/422.nix { }; 6167 + gnused = callPackage ../tools/text/gnused { }; 6172 6168 6173 6169 gnutar = callPackage ../tools/archivers/gnutar { }; 6174 6170 ··· 19624 19620 19625 19621 optparse-bash = callPackage ../development/libraries/optparse-bash { }; 19626 19622 19623 + oras = callPackage ../development/tools/oras { }; 19624 + 19627 19625 orcania = callPackage ../development/libraries/orcania { }; 19628 19626 19629 19627 osm-gps-map = callPackage ../development/libraries/osm-gps-map { }; ··· 22013 22011 prometheus-nextcloud-exporter = callPackage ../servers/monitoring/prometheus/nextcloud-exporter.nix { }; 22014 22012 prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { }; 22015 22013 prometheus-nginxlog-exporter = callPackage ../servers/monitoring/prometheus/nginxlog-exporter.nix { }; 22016 - prometheus-node-exporter = callPackage ../servers/monitoring/prometheus/node-exporter.nix { }; 22014 + prometheus-node-exporter = callPackage ../servers/monitoring/prometheus/node-exporter.nix { 22015 + inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit; 22016 + }; 22017 22017 prometheus-openldap-exporter = callPackage ../servers/monitoring/prometheus/openldap-exporter.nix { }; 22018 22018 prometheus-openvpn-exporter = callPackage ../servers/monitoring/prometheus/openvpn-exporter.nix { }; 22019 22019 prometheus-pihole-exporter = callPackage ../servers/monitoring/prometheus/pihole-exporter.nix { }; ··· 27118 27118 27119 27119 kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { }; 27120 27120 27121 + kubent = callPackage ../applications/networking/cluster/kubent { }; 27122 + 27121 27123 kubeseal = callPackage ../applications/networking/cluster/kubeseal { }; 27122 27124 27123 27125 kubernix = callPackage ../applications/networking/cluster/kubernix { }; ··· 29676 29678 29677 29679 unigine-valley = callPackage ../applications/graphics/unigine-valley { }; 29678 29680 29681 + unigine-heaven = callPackage ../applications/graphics/unigine-heaven { }; 29682 + 29679 29683 unipicker = callPackage ../applications/misc/unipicker { }; 29680 29684 29681 29685 unison = callPackage ../applications/networking/sync/unison { ··· 33728 33732 loadedTest = if builtins.typeOf test == "path" 33729 33733 then import test 33730 33734 else test; 33731 - calledTest = if lib.isFunction loadedTest 33732 - then callPackage loadedTest {} 33733 - else loadedTest; 33735 + calledTest = lib.toFunction loadedTest pkgs; 33734 33736 in 33735 33737 nixosTesting.makeTest calledTest; 33736 33738
-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 };
+1 -1
pkgs/top-level/python-packages.nix
··· 8383 8383 }; 8384 8384 8385 8385 pyudev = callPackage ../development/python-modules/pyudev { 8386 - inherit (pkgs) systemd; 8386 + inherit (pkgs) udev; 8387 8387 }; 8388 8388 8389 8389 pyunbound = callPackage ../tools/networking/unbound/python.nix { };