Merge branch 'master' into staging-next

+3241 -2043
+4
doc/builders/fetchers.chapter.md
··· 72 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 75 ## `fetchFromGitHub` {#fetchfromgithub} 76 77 `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.
··· 72 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 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 + 79 ## `fetchFromGitHub` {#fetchfromgithub} 80 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 7 - For basic usage just pull `texlive.combined.scheme-basic` for an environment with basic LaTeX support. 8 9 - - It typically won't work to use separately installed packages together. Instead, you can build a custom set of packages like this: 10 11 ```nix 12 texlive.combine {
··· 6 7 - For basic usage just pull `texlive.combined.scheme-basic` for an environment with basic LaTeX support. 8 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 11 ```nix 12 texlive.combine {
+3 -2
lib/default.nix
··· 68 bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max 69 importJSON importTOML warn warnIf throwIfNot checkListOfEnum 70 info showWarnings nixpkgsVersion version isInOldestRelease 71 - mod compare splitByAndCompare functionArgs setFunctionArgs isFunction 72 toHexString toBaseDigits; 73 inherit (self.fixedPoints) fix fix' converge extends composeExtensions 74 composeManyExtensions makeExtensible makeExtensibleWithCustomName; ··· 113 commitIdFromGitRepo cleanSourceWith pathHasContext 114 canCleanSource pathIsRegularFile pathIsGitRepo; 115 inherit (self.modules) evalModules setDefaultModuleLocation 116 - unifyModuleSyntax applyIfFunction mergeModules 117 mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions 118 pushDownProperties dischargeProperties filterOverrides 119 sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride
··· 68 bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max 69 importJSON importTOML warn warnIf throwIfNot checkListOfEnum 70 info showWarnings nixpkgsVersion version isInOldestRelease 71 + mod compare splitByAndCompare 72 + functionArgs setFunctionArgs isFunction toFunction 73 toHexString toBaseDigits; 74 inherit (self.fixedPoints) fix fix' converge extends composeExtensions 75 composeManyExtensions makeExtensible makeExtensibleWithCustomName; ··· 114 commitIdFromGitRepo cleanSourceWith pathHasContext 115 canCleanSource pathIsRegularFile pathIsGitRepo; 116 inherit (self.modules) evalModules setDefaultModuleLocation 117 + unifyModuleSyntax applyModuleArgsIfFunction mergeModules 118 mergeModules' mergeOptionDecls evalOptionValue mergeDefinitions 119 pushDownProperties dischargeProperties filterOverrides 120 sortProperties fixupOptionType mkIf mkAssert mkMerge mkOverride
+3 -3
lib/modules.nix
··· 282 # Like unifyModuleSyntax, but also imports paths and calls functions if necessary 283 loadModule = args: fallbackFile: fallbackKey: m: 284 if isFunction m || isAttrs m then 285 - unifyModuleSyntax fallbackFile fallbackKey (applyIfFunction fallbackKey m args) 286 else if isList m then 287 let defs = [{ file = fallbackFile; value = m; }]; in 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); 290 291 /* 292 Collects all modules recursively into the form ··· 383 config = addFreeformType (addMeta (removeAttrs m ["_file" "key" "disabledModules" "require" "imports" "freeformType"])); 384 }; 385 386 - applyIfFunction = key: f: args@{ config, options, lib, ... }: if isFunction f then 387 let 388 # Module arguments are resolved in a strict manner when attribute set 389 # deconstruction is used. As the arguments are now defined with the
··· 282 # Like unifyModuleSyntax, but also imports paths and calls functions if necessary 283 loadModule = args: fallbackFile: fallbackKey: m: 284 if isFunction m || isAttrs m then 285 + unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgsIfFunction fallbackKey m args) 286 else if isList m then 287 let defs = [{ file = fallbackFile; value = m; }]; in 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) (applyModuleArgsIfFunction (toString m) (import m) args); 290 291 /* 292 Collects all modules recursively into the form ··· 383 config = addFreeformType (addMeta (removeAttrs m ["_file" "key" "disabledModules" "require" "imports" "freeformType"])); 384 }; 385 386 + applyModuleArgsIfFunction = key: f: args@{ config, options, lib, ... }: if isFunction f then 387 let 388 # Module arguments are resolved in a strict manner when attribute set 389 # deconstruction is used. As the arguments are now defined with the
+19
lib/trivial.nix
··· 441 isFunction = f: builtins.isFunction f || 442 (f ? __functor && isFunction (f.__functor f)); 443 444 /* Convert the given positive integer to a string of its hexadecimal 445 representation. For example: 446
··· 441 isFunction = f: builtins.isFunction f || 442 (f ? __functor && isFunction (f.__functor f)); 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 + 463 /* Convert the given positive integer to a string of its hexadecimal 464 representation. For example: 465
+6 -1
maintainers/maintainer-list.nix
··· 4241 githubId = 119691; 4242 name = "Michael Gough"; 4243 }; 4244 - 4245 fredeb = { 4246 email = "im@fredeb.dev"; 4247 github = "fredeeb";
··· 4241 githubId = 119691; 4242 name = "Michael Gough"; 4243 }; 4244 + freax13 = { 4245 + email = "erbse.13@gmx.de"; 4246 + github = "freax13"; 4247 + githubId = 14952658; 4248 + name = "Tom Dohrmann"; 4249 + }; 4250 fredeb = { 4251 email = "im@fredeb.dev"; 4252 github = "fredeeb";
+9
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 480 </listitem> 481 <listitem> 482 <para> 483 The <literal>matrix-synapse</literal> service 484 (<literal>services.matrix-synapse</literal>) has been 485 converted to use the <literal>settings</literal> option
··· 480 </listitem> 481 <listitem> 482 <para> 483 + <literal>services.ipfs.extraFlags</literal> is now escaped 484 + with <literal>utils.escapeSystemdExecArgs</literal>. If you 485 + rely on systemd interpolating <literal>extraFlags</literal> in 486 + the service <literal>ExecStart</literal>, this will no longer 487 + work. 488 + </para> 489 + </listitem> 490 + <listitem> 491 + <para> 492 The <literal>matrix-synapse</literal> service 493 (<literal>services.matrix-synapse</literal>) has been 494 converted to use the <literal>settings</literal> option
+2
nixos/doc/manual/release-notes/rl-2205.section.md
··· 161 162 - The `mailpile` email webclient (`services.mailpile`) has been removed due to its reliance on python2. 163 164 - The `matrix-synapse` service (`services.matrix-synapse`) has been converted to use the `settings` option defined in RFC42. 165 This means that options that are part of your `homeserver.yaml` configuration, and that were specified at the top-level of the 166 module (`services.matrix-synapse`) now need to be moved into `services.matrix-synapse.settings`. And while not all options you
··· 161 162 - The `mailpile` email webclient (`services.mailpile`) has been removed due to its reliance on python2. 163 164 + - `services.ipfs.extraFlags` is now escaped with `utils.escapeSystemdExecArgs`. If you rely on systemd interpolating `extraFlags` in the service `ExecStart`, this will no longer work. 165 + 166 - The `matrix-synapse` service (`services.matrix-synapse`) has been converted to use the `settings` option defined in RFC42. 167 This means that options that are part of your `homeserver.yaml` configuration, and that were specified at the top-level of the 168 module (`services.matrix-synapse`) now need to be moved into `services.matrix-synapse.settings`. And while not all options you
+14 -16
nixos/lib/testing-python.nix
··· 146 147 # Make a full-blown test 148 makeTest = 149 - { testScript 150 , enableOCR ? false 151 , name ? "unnamed" 152 # Skip linting (mainly intended for faster dev cycles) 153 , skipLint ? false 154 , passthru ? {} 155 , # For meta.position 156 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 159 else builtins.unsafeGetAttrPos "testScript" t) 160 - , ... 161 } @ t: 162 let 163 - nodes = qemu_pkg: 164 let 165 testScript' = 166 # Call the test script with the computed nodes. 167 if lib.isFunction testScript 168 - then testScript { nodes = nodes qemu_pkg; } 169 else testScript; 170 171 build-vms = import ./build-vms.nix { ··· 205 }; 206 in 207 build-vms.buildVirtualNetwork ( 208 - t.nodes or (if t ? machine then { machine = t.machine; } else { }) 209 ); 210 211 driver = setupDriverForTest { 212 inherit testScript enableOCR skipLint passthru; 213 testName = name; 214 qemu_pkg = pkgs.qemu_test; 215 - nodes = nodes pkgs.qemu_test; 216 }; 217 driverInteractive = setupDriverForTest { 218 inherit testScript enableOCR skipLint passthru; 219 testName = name; 220 qemu_pkg = pkgs.qemu; 221 - nodes = nodes pkgs.qemu; 222 interactive = true; 223 }; 224 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; }); 231 232 in 233 test // { 234 - inherit test driver driverInteractive nodes; 235 }; 236 237 abortForFunction = functionName: abort ''The ${functionName} function was
··· 146 147 # Make a full-blown test 148 makeTest = 149 + { machine ? null 150 + , nodes ? {} 151 + , testScript 152 , enableOCR ? false 153 , name ? "unnamed" 154 # Skip linting (mainly intended for faster dev cycles) 155 , skipLint ? false 156 , passthru ? {} 157 + , meta ? {} 158 , # For meta.position 159 pos ? # position used in error messages and for meta.position 160 + (if meta.description or null != null 161 + then builtins.unsafeGetAttrPos "description" meta 162 else builtins.unsafeGetAttrPos "testScript" t) 163 } @ t: 164 let 165 + mkNodes = qemu_pkg: 166 let 167 testScript' = 168 # Call the test script with the computed nodes. 169 if lib.isFunction testScript 170 + then testScript { nodes = mkNodes qemu_pkg; } 171 else testScript; 172 173 build-vms = import ./build-vms.nix { ··· 207 }; 208 in 209 build-vms.buildVirtualNetwork ( 210 + nodes // lib.optionalAttrs (machine != null) { inherit machine; } 211 ); 212 213 driver = setupDriverForTest { 214 inherit testScript enableOCR skipLint passthru; 215 testName = name; 216 qemu_pkg = pkgs.qemu_test; 217 + nodes = mkNodes pkgs.qemu_test; 218 }; 219 driverInteractive = setupDriverForTest { 220 inherit testScript enableOCR skipLint passthru; 221 testName = name; 222 qemu_pkg = pkgs.qemu; 223 + nodes = mkNodes pkgs.qemu; 224 interactive = true; 225 }; 226 227 + test = lib.addMetaAttrs meta (runTests { inherit driver pos driverInteractive; }); 228 229 in 230 test // { 231 + inherit test driver driverInteractive; 232 + inherit (driver) nodes; 233 }; 234 235 abortForFunction = functionName: abort ''The ${functionName} function was
+1 -1
nixos/modules/installer/tools/tools.nix
··· 117 ''; 118 }; 119 120 - config = lib.mkIf (!config.system.disableInstallerTools) { 121 122 system.nixos-generate-config.configuration = mkDefault '' 123 # Edit this configuration file to define what should be installed on
··· 117 ''; 118 }; 119 120 + config = lib.mkIf (config.nix.enable && !config.system.disableInstallerTools) { 121 122 system.nixos-generate-config.configuration = mkDefault '' 123 # Edit this configuration file to define what should be installed on
+1
nixos/modules/module-list.nix
··· 777 ./services/networking/headscale.nix 778 ./services/networking/hostapd.nix 779 ./services/networking/htpdate.nix 780 ./services/networking/hylafax/default.nix 781 ./services/networking/i2pd.nix 782 ./services/networking/i2p.nix
··· 777 ./services/networking/headscale.nix 778 ./services/networking/hostapd.nix 779 ./services/networking/htpdate.nix 780 + ./services/networking/https-dns-proxy.nix 781 ./services/networking/hylafax/default.nix 782 ./services/networking/i2pd.nix 783 ./services/networking/i2p.nix
+1 -1
nixos/modules/services/logging/graylog.nix
··· 132 description = "Graylog server daemon user"; 133 }; 134 }; 135 - users.groups = mkIf (cfg.user == "graylog") {}; 136 137 systemd.tmpfiles.rules = [ 138 "d '${cfg.messageJournalDir}' - ${cfg.user} - - -"
··· 132 description = "Graylog server daemon user"; 133 }; 134 }; 135 + users.groups = mkIf (cfg.user == "graylog") { graylog = {}; }; 136 137 systemd.tmpfiles.rules = [ 138 "d '${cfg.messageJournalDir}' - ${cfg.user} - - -"
+40
nixos/modules/services/misc/moonraker.nix
··· 79 for supported values. 80 ''; 81 }; 82 }; 83 }; 84 85 config = mkIf cfg.enable { 86 warnings = optional (cfg.settings ? update_manager) 87 ''Enabling update_manager is not supported on NixOS and will lead to non-removable warnings in some clients.''; 88 89 users.users = optionalAttrs (cfg.user == "moonraker") { 90 moonraker = { ··· 128 exec ${pkg}/bin/moonraker -c ${cfg.configDir}/moonraker-temp.cfg 129 ''; 130 131 serviceConfig = { 132 WorkingDirectory = cfg.stateDir; 133 Group = cfg.group; 134 User = cfg.user; 135 }; 136 }; 137 }; 138 }
··· 79 for supported values. 80 ''; 81 }; 82 + 83 + allowSystemControl = mkOption { 84 + type = types.bool; 85 + default = false; 86 + description = '' 87 + Whether to allow Moonraker to perform system-level operations. 88 + 89 + Moonraker exposes APIs to perform system-level operations, such as 90 + reboot, shutdown, and management of systemd units. See the 91 + <link xlink:href="https://moonraker.readthedocs.io/en/latest/web_api/#machine-commands">documentation</link> 92 + for details on what clients are able to do. 93 + ''; 94 + }; 95 }; 96 }; 97 98 config = mkIf cfg.enable { 99 warnings = optional (cfg.settings ? update_manager) 100 ''Enabling update_manager is not supported on NixOS and will lead to non-removable warnings in some clients.''; 101 + 102 + assertions = [ 103 + { 104 + assertion = cfg.allowSystemControl -> config.security.polkit.enable; 105 + message = "services.moonraker.allowSystemControl requires polkit to be enabled (security.polkit.enable)."; 106 + } 107 + ]; 108 109 users.users = optionalAttrs (cfg.user == "moonraker") { 110 moonraker = { ··· 148 exec ${pkg}/bin/moonraker -c ${cfg.configDir}/moonraker-temp.cfg 149 ''; 150 151 + # Needs `ip` command 152 + path = [ pkgs.iproute2 ]; 153 + 154 serviceConfig = { 155 WorkingDirectory = cfg.stateDir; 156 Group = cfg.group; 157 User = cfg.user; 158 }; 159 }; 160 + 161 + security.polkit.extraConfig = lib.optionalString cfg.allowSystemControl '' 162 + // nixos/moonraker: Allow Moonraker to perform system-level operations 163 + // 164 + // This was enabled via services.moonraker.allowSystemControl. 165 + polkit.addRule(function(action, subject) { 166 + if ((action.id == "org.freedesktop.systemd1.manage-units" || 167 + action.id == "org.freedesktop.login1.power-off" || 168 + action.id == "org.freedesktop.login1.power-off-multiple-sessions" || 169 + action.id == "org.freedesktop.login1.reboot" || 170 + action.id == "org.freedesktop.login1.reboot-multiple-sessions" || 171 + action.id.startsWith("org.freedesktop.packagekit.")) && 172 + subject.user == "${cfg.user}") { 173 + return polkit.Result.YES; 174 + } 175 + }); 176 + ''; 177 }; 178 }
+7 -1
nixos/modules/services/misc/nix-gc.nix
··· 81 ###### implementation 82 83 config = { 84 85 - systemd.services.nix-gc = { 86 description = "Nix Garbage Collector"; 87 script = "exec ${config.nix.package.out}/bin/nix-collect-garbage ${cfg.options}"; 88 startAt = optional cfg.automatic cfg.dates;
··· 81 ###### implementation 82 83 config = { 84 + assertions = [ 85 + { 86 + assertion = cfg.automatic -> config.nix.enable; 87 + message = ''nix.gc.automatic requires nix.enable''; 88 + } 89 + ]; 90 91 + systemd.services.nix-gc = lib.mkIf config.nix.enable { 92 description = "Nix Garbage Collector"; 93 script = "exec ${config.nix.package.out}/bin/nix-collect-garbage ${cfg.options}"; 94 startAt = optional cfg.automatic cfg.dates;
+7 -1
nixos/modules/services/misc/nix-optimise.nix
··· 37 ###### implementation 38 39 config = { 40 41 - systemd.services.nix-optimise = 42 { description = "Nix Store Optimiser"; 43 # No point this if the nix daemon (and thus the nix store) is outside 44 unitConfig.ConditionPathIsReadWrite = "/nix/var/nix/daemon-socket";
··· 37 ###### implementation 38 39 config = { 40 + assertions = [ 41 + { 42 + assertion = cfg.automatic -> config.nix.enable; 43 + message = ''nix.optimise.automatic requires nix.enable''; 44 + } 45 + ]; 46 47 + systemd.services.nix-optimise = lib.mkIf config.nix.enable 48 { description = "Nix Store Optimiser"; 49 # No point this if the nix daemon (and thus the nix store) is outside 50 unitConfig.ConditionPathIsReadWrite = "/nix/var/nix/daemon-socket";
+9 -8
nixos/modules/services/network-filesystems/ipfs.nix
··· 1 - { config, lib, pkgs, options, ... }: 2 with lib; 3 let 4 cfg = config.services.ipfs; 5 opt = options.services.ipfs; 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); 14 15 profile = 16 if cfg.localDiscovery
··· 1 + { config, lib, pkgs, options, utils, ... }: 2 with lib; 3 let 4 cfg = config.services.ipfs; 5 opt = options.services.ipfs; 6 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 + ); 15 16 profile = 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 6 inherit (lib) 7 mkDefault mkEnableOption mkIf mkOption types 8 - mkRemovedOptionModule 9 - concatStringsSep optional; 10 11 in 12 { ··· 17 type = types.ints.between 1 100; 18 default = 10; 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. 24 ''; 25 }; 26 ··· 28 type = types.ints.between 1 100; 29 default = 10; 30 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. 35 ''; 36 }; 37 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; 42 description = '' 43 - Ignore oom_score_adjust values of processes. 44 ''; 45 }; 46 ··· 63 local user to DoS your session by spamming notifications. 64 65 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. 68 69 See <link xlink:href="https://github.com/rfjakob/earlyoom#notifications">README</link> for details. 70 ''; 71 }; 72 }; 73 74 imports = [ ··· 76 This option is deprecated and ignored by earlyoom since 1.2. 77 '') 78 (mkRemovedOptionModule [ "services" "earlyoom" "notificationsCommand" ] '' 79 - This option is deprecated and ignored by earlyoom since 1.6. 80 '') 81 ]; 82 ··· 91 StandardError = "journal"; 92 ExecStart = concatStringsSep " " ([ 93 "${pkgs.earlyoom}/bin/earlyoom" 94 - "-m ${toString cfg.freeMemThreshold}" 95 - "-s ${toString cfg.freeSwapThreshold}" 96 ] 97 - ++ optional cfg.ignoreOOMScoreAdjust "-i" 98 ++ optional cfg.enableDebugInfo "-d" 99 ++ optional cfg.enableNotifications "-n" 100 ); 101 }; 102 };
··· 5 6 inherit (lib) 7 mkDefault mkEnableOption mkIf mkOption types 8 + mkRemovedOptionModule literalExpression 9 + escapeShellArg concatStringsSep optional optionalString; 10 11 in 12 { ··· 17 type = types.ints.between 1 100; 18 default = 10; 19 description = '' 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"/>. 40 ''; 41 }; 42 ··· 44 type = types.ints.between 1 100; 45 default = 10; 46 description = '' 47 + Minimum free swap space (in percent) before sending SIGTERM. 48 + 49 + See the description of <xref linkend="opt-services.earlyoom.freeMemThreshold"/>. 50 ''; 51 }; 52 53 + freeSwapKillThreshold = mkOption { 54 + type = types.nullOr (types.ints.between 1 100); 55 + default = null; 56 description = '' 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"/>. 61 ''; 62 }; 63 ··· 80 local user to DoS your session by spamming notifications. 81 82 To actually see the notifications in your GUI session, you need to have 83 + <literal>systembus-notify</literal> running as your user, which this 84 + option handles by enabling <option>services.systembus-notify</option>. 85 86 See <link xlink:href="https://github.com/rfjakob/earlyoom#notifications">README</link> for details. 87 ''; 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 + }; 120 }; 121 122 imports = [ ··· 124 This option is deprecated and ignored by earlyoom since 1.2. 125 '') 126 (mkRemovedOptionModule [ "services" "earlyoom" "notificationsCommand" ] '' 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. 132 '') 133 ]; 134 ··· 143 StandardError = "journal"; 144 ExecStart = concatStringsSep " " ([ 145 "${pkgs.earlyoom}/bin/earlyoom" 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}" 151 ] 152 ++ optional cfg.enableDebugInfo "-d" 153 ++ optional cfg.enableNotifications "-n" 154 + ++ optional (cfg.killHook != null) "-N ${escapeShellArg cfg.killHook}" 155 + ++ cfg.extraArgs 156 ); 157 }; 158 };
+2 -2
nixos/modules/services/x11/desktop-managers/plasma5.nix
··· 519 with plasma5; with kdeApplications; with kdeFrameworks; 520 [ 521 # Basic packages without which Plasma Mobile fails to work properly. 522 - plasma-phone-components 523 plasma-nano 524 pkgs.maliit-framework 525 pkgs.maliit-keyboard ··· 573 }; 574 }; 575 576 - services.xserver.displayManager.sessionPackages = [ pkgs.libsForQt5.plasma5.plasma-phone-components ]; 577 }) 578 ]; 579 }
··· 519 with plasma5; with kdeApplications; with kdeFrameworks; 520 [ 521 # Basic packages without which Plasma Mobile fails to work properly. 522 + plasma-mobile 523 plasma-nano 524 pkgs.maliit-framework 525 pkgs.maliit-keyboard ··· 573 }; 574 }; 575 576 + services.xserver.displayManager.sessionPackages = [ pkgs.libsForQt5.plasma5.plasma-mobile ]; 577 }) 578 ]; 579 }
+2
nixos/modules/tasks/network-interfaces-scripted.nix
··· 535 createGreDevice = n: v: nameValuePair "${n}-netdev" 536 (let 537 deps = deviceDependency v.dev; 538 in 539 { description = "GRE Tunnel Interface ${n}"; 540 wantedBy = [ "network-setup.service" (subsystemDevice n) ]; ··· 551 ip link add name "${n}" type ${v.type} \ 552 ${optionalString (v.remote != null) "remote \"${v.remote}\""} \ 553 ${optionalString (v.local != null) "local \"${v.local}\""} \ 554 ${optionalString (v.dev != null) "dev \"${v.dev}\""} 555 ip link set "${n}" up 556 '';
··· 535 createGreDevice = n: v: nameValuePair "${n}-netdev" 536 (let 537 deps = deviceDependency v.dev; 538 + ttlarg = if lib.hasPrefix "ip6" v.type then "hoplimit" else "ttl"; 539 in 540 { description = "GRE Tunnel Interface ${n}"; 541 wantedBy = [ "network-setup.service" (subsystemDevice n) ]; ··· 552 ip link add name "${n}" type ${v.type} \ 553 ${optionalString (v.remote != null) "remote \"${v.remote}\""} \ 554 ${optionalString (v.local != null) "local \"${v.local}\""} \ 555 + ${optionalString (v.ttl != null) "${ttlarg} ${toString v.ttl}"} \ 556 ${optionalString (v.dev != null) "dev \"${v.dev}\""} 557 ip link set "${n}" up 558 '';
+2
nixos/modules/tasks/network-interfaces-systemd.nix
··· 318 Remote = gre.remote; 319 }) // (optionalAttrs (gre.local != null) { 320 Local = gre.local; 321 }); 322 }; 323 networks = mkIf (gre.dev != null) {
··· 318 Remote = gre.remote; 319 }) // (optionalAttrs (gre.local != null) { 320 Local = gre.local; 321 + }) // (optionalAttrs (gre.ttl != null) { 322 + TTL = gre.ttl; 323 }); 324 }; 325 networks = mkIf (gre.dev != null) {
+11
nixos/modules/tasks/network-interfaces.nix
··· 1020 local = "10.0.0.22"; 1021 dev = "enp4s0f0"; 1022 type = "tap"; 1023 }; 1024 gre6Tunnel = { 1025 remote = "fd7a:5634::1"; 1026 local = "fd7a:5634::2"; 1027 dev = "enp4s0f0"; 1028 type = "tun6"; 1029 }; 1030 } 1031 ''; ··· 1060 example = "enp4s0f0"; 1061 description = '' 1062 The underlying network device on which the tunnel resides. 1063 ''; 1064 }; 1065
··· 1020 local = "10.0.0.22"; 1021 dev = "enp4s0f0"; 1022 type = "tap"; 1023 + ttl = 255; 1024 }; 1025 gre6Tunnel = { 1026 remote = "fd7a:5634::1"; 1027 local = "fd7a:5634::2"; 1028 dev = "enp4s0f0"; 1029 type = "tun6"; 1030 + ttl = 255; 1031 }; 1032 } 1033 ''; ··· 1062 example = "enp4s0f0"; 1063 description = '' 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. 1074 ''; 1075 }; 1076
+1 -1
nixos/modules/virtualisation/qemu-vm.nix
··· 796 # allow `system.build.toplevel' to be included. (If we had a direct 797 # reference to ${regInfo} here, then we would get a cyclic 798 # dependency.) 799 - boot.postBootCommands = 800 '' 801 if [[ "$(cat /proc/cmdline)" =~ regInfo=([^ ]*) ]]; then 802 ${config.nix.package.out}/bin/nix-store --load-db < ''${BASH_REMATCH[1]}
··· 796 # allow `system.build.toplevel' to be included. (If we had a direct 797 # reference to ${regInfo} here, then we would get a cyclic 798 # dependency.) 799 + boot.postBootCommands = lib.mkIf config.nix.enable 800 '' 801 if [[ "$(cat /proc/cmdline)" =~ regInfo=([^ ]*) ]]; then 802 ${config.nix.package.out}/bin/nix-store --load-db < ''${BASH_REMATCH[1]}
+2
nixos/tests/all-tests.nix
··· 132 domination = handleTest ./domination.nix {}; 133 dovecot = handleTest ./dovecot.nix {}; 134 drbd = handleTest ./drbd.nix {}; 135 ec2-config = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-config or {}; 136 ec2-nixops = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-nixops or {}; 137 ecryptfs = handleTest ./ecryptfs.nix {}; ··· 308 molly-brown = handleTest ./molly-brown.nix {}; 309 mongodb = handleTest ./mongodb.nix {}; 310 moodle = handleTest ./moodle.nix {}; 311 morty = handleTest ./morty.nix {}; 312 mosquitto = handleTest ./mosquitto.nix {}; 313 moosefs = handleTest ./moosefs.nix {};
··· 132 domination = handleTest ./domination.nix {}; 133 dovecot = handleTest ./dovecot.nix {}; 134 drbd = handleTest ./drbd.nix {}; 135 + earlyoom = handleTestOn ["x86_64-linux"] ./earlyoom.nix {}; 136 ec2-config = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-config or {}; 137 ec2-nixops = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-nixops or {}; 138 ecryptfs = handleTest ./ecryptfs.nix {}; ··· 309 molly-brown = handleTest ./molly-brown.nix {}; 310 mongodb = handleTest ./mongodb.nix {}; 311 moodle = handleTest ./moodle.nix {}; 312 + moonraker = handleTest ./moonraker.nix {}; 313 morty = handleTest ./morty.nix {}; 314 mosquitto = handleTest ./mosquitto.nix {}; 315 moosefs = handleTest ./moosefs.nix {};
-1
nixos/tests/boot.nix
··· 38 } // extraConfig); 39 in 40 makeTest { 41 - inherit iso; 42 name = "boot-" + name; 43 nodes = { }; 44 testScript =
··· 38 } // extraConfig); 39 in 40 makeTest { 41 name = "boot-" + name; 42 nodes = { }; 43 testScript =
+3 -3
nixos/tests/caddy.nix
··· 7 nodes = { 8 webserver = { pkgs, lib, ... }: { 9 services.caddy.enable = true; 10 - services.caddy.config = '' 11 http://localhost { 12 encode gzip 13 ··· 22 ''; 23 24 specialisation.etag.configuration = { 25 - services.caddy.config = lib.mkForce '' 26 http://localhost { 27 encode gzip 28 ··· 38 }; 39 40 specialisation.config-reload.configuration = { 41 - services.caddy.config = '' 42 http://localhost:8080 { 43 } 44 '';
··· 7 nodes = { 8 webserver = { pkgs, lib, ... }: { 9 services.caddy.enable = true; 10 + services.caddy.extraConfig = '' 11 http://localhost { 12 encode gzip 13 ··· 22 ''; 23 24 specialisation.etag.configuration = { 25 + services.caddy.extraConfig = lib.mkForce '' 26 http://localhost { 27 encode gzip 28 ··· 38 }; 39 40 specialisation.config-reload.configuration = { 41 + services.caddy.extraConfig = '' 42 http://localhost:8080 { 43 } 44 '';
+1 -1
nixos/tests/ceph-multi-node.nix
··· 48 sudo 49 ceph 50 xfsprogs 51 - netcat-openbsd 52 ]; 53 54 boot.kernelModules = [ "xfs" ];
··· 48 sudo 49 ceph 50 xfsprogs 51 + libressl.nc 52 ]; 53 54 boot.kernelModules = [ "xfs" ];
+20 -18
nixos/tests/chromium.nix
··· 15 with import ../lib/testing-python.nix { inherit system pkgs; }; 16 with pkgs.lib; 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 - 28 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 38 startupHTML = pkgs.writeText "chromium-startup.html" '' 39 <!DOCTYPE html> ··· 50 </body> 51 </html> 52 ''; 53 54 testScript = let 55 xdo = name: text: let
··· 15 with import ../lib/testing-python.nix { inherit system pkgs; }; 16 with pkgs.lib; 17 18 + let 19 user = "alice"; 20 21 startupHTML = pkgs.writeText "chromium-startup.html" '' 22 <!DOCTYPE html> ··· 33 </body> 34 </html> 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 + }; 55 56 testScript = let 57 xdo = name: text: let
+1 -1
nixos/tests/cri-o.nix
··· 1 # This test runs CRI-O and verifies via critest 2 import ./make-test-python.nix ({ pkgs, ... }: { 3 name = "cri-o"; 4 - maintainers = with pkgs.lib.maintainers; teams.podman.members; 5 6 nodes = { 7 crio = {
··· 1 # This test runs CRI-O and verifies via critest 2 import ./make-test-python.nix ({ pkgs, ... }: { 3 name = "cri-o"; 4 + meta.maintainers = with pkgs.lib.maintainers; teams.podman.members; 5 6 nodes = { 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 nodes = { 21 22 server = 23 - { ... }: 24 { 25 networking.firewall.allowedTCPPorts = [ 80 ]; 26
··· 20 nodes = { 21 22 server = 23 + { config, ... }: 24 { 25 networking.firewall.allowedTCPPorts = [ 80 ]; 26
+2 -2
nixos/tests/jitsi-meet.nix
··· 21 forceSSL = true; 22 }; 23 24 - security.acme.email = "me@example.org"; 25 security.acme.acceptTerms = true; 26 - security.acme.server = "https://example.com"; # self-signed only 27 }; 28 }; 29
··· 21 forceSSL = true; 22 }; 23 24 security.acme.acceptTerms = true; 25 + security.acme.defaults.email = "me@example.org"; 26 + security.acme.defaults.server = "https://example.com"; # self-signed only 27 }; 28 }; 29
+3 -3
nixos/tests/misc.nix
··· 1 # Miscellaneous small tests that don't warrant their own VM run. 2 3 - import ./make-test-python.nix ({ pkgs, ...} : rec { 4 name = "misc"; 5 meta = with pkgs.lib.maintainers; { 6 maintainers = [ eelco ]; 7 }; 8 - 9 - foo = pkgs.writeText "foo" "Hello World"; 10 11 machine = 12 { lib, ... }:
··· 1 # Miscellaneous small tests that don't warrant their own VM run. 2 3 + import ./make-test-python.nix ({ pkgs, ...} : let 4 + foo = pkgs.writeText "foo" "Hello World"; 5 + in { 6 name = "misc"; 7 meta = with pkgs.lib.maintainers; { 8 maintainers = [ eelco ]; 9 }; 10 11 machine = 12 { lib, ... }:
+45
nixos/tests/moonraker.nix
···
··· 1 + import ./make-test-python.nix ({ pkgs, ...} : { 2 + name = "moonraker"; 3 + meta = with pkgs.lib.maintainers; { 4 + maintainers = [ zhaofengli ]; 5 + }; 6 + 7 + nodes = { 8 + printer = { config, pkgs, ... }: { 9 + security.polkit.enable = true; 10 + 11 + services.moonraker = { 12 + enable = true; 13 + allowSystemControl = true; 14 + 15 + settings = { 16 + authorization = { 17 + trusted_clients = [ "127.0.0.0/8" "::1/128" ]; 18 + }; 19 + }; 20 + }; 21 + 22 + services.klipper = { 23 + enable = true; 24 + 25 + user = "moonraker"; 26 + group = "moonraker"; 27 + 28 + # No mcu configured so won't even enter `ready` state 29 + settings = {}; 30 + }; 31 + }; 32 + }; 33 + 34 + testScript = '' 35 + printer.start() 36 + 37 + printer.wait_for_unit("klipper.service") 38 + printer.wait_for_unit("moonraker.service") 39 + printer.wait_until_succeeds("curl http://localhost:7125/printer/info | grep -v 'Not Found' >&2", timeout=30) 40 + 41 + with subtest("Check that we can perform system-level operations"): 42 + printer.succeed("curl -X POST http://localhost:7125/machine/services/stop?service=klipper | grep ok >&2") 43 + printer.wait_until_succeeds("systemctl --no-pager show klipper.service | grep ActiveState=inactive", timeout=10) 44 + ''; 45 + })
+12
nixos/tests/networking.nix
··· 514 local = "192.168.2.1"; 515 remote = "192.168.2.2"; 516 dev = "eth2"; 517 type = "tap"; 518 }; 519 gre6Tunnel = { 520 local = "fd00:1234:5678:4::1"; 521 remote = "fd00:1234:5678:4::2"; 522 dev = "eth3"; 523 type = "tun6"; 524 }; 525 }; ··· 548 local = "192.168.2.2"; 549 remote = "192.168.2.1"; 550 dev = "eth1"; 551 type = "tap"; 552 }; 553 gre6Tunnel = { 554 local = "fd00:1234:5678:4::2"; 555 remote = "fd00:1234:5678:4::1"; 556 dev = "eth3"; 557 type = "tun6"; 558 }; 559 }; ··· 573 ]; 574 testScript = { ... }: 575 '' 576 start_all() 577 578 with subtest("Wait for networking to be configured"): ··· 591 client1.wait_until_succeeds("ping -c 1 fc00::2") 592 593 client2.wait_until_succeeds("ping -c 1 fc00::1") 594 ''; 595 }; 596 vlan = let
··· 514 local = "192.168.2.1"; 515 remote = "192.168.2.2"; 516 dev = "eth2"; 517 + ttl = 225; 518 type = "tap"; 519 }; 520 gre6Tunnel = { 521 local = "fd00:1234:5678:4::1"; 522 remote = "fd00:1234:5678:4::2"; 523 dev = "eth3"; 524 + ttl = 255; 525 type = "tun6"; 526 }; 527 }; ··· 550 local = "192.168.2.2"; 551 remote = "192.168.2.1"; 552 dev = "eth1"; 553 + ttl = 225; 554 type = "tap"; 555 }; 556 gre6Tunnel = { 557 local = "fd00:1234:5678:4::2"; 558 remote = "fd00:1234:5678:4::1"; 559 dev = "eth3"; 560 + ttl = 255; 561 type = "tun6"; 562 }; 563 }; ··· 577 ]; 578 testScript = { ... }: 579 '' 580 + import json 581 start_all() 582 583 with subtest("Wait for networking to be configured"): ··· 596 client1.wait_until_succeeds("ping -c 1 fc00::2") 597 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" 606 ''; 607 }; 608 vlan = let
-6
nixos/tests/rstudio-server.nix
··· 14 }; 15 }; 16 17 - users.testuser = { 18 - uid = 1000; 19 - group = "testgroup"; 20 - }; 21 - groups.testgroup.gid = 1000; 22 - 23 testScript = '' 24 machine.wait_for_unit("rstudio-server.service") 25 machine.succeed("curl -f -vvv -s http://127.0.0.1:8787")
··· 14 }; 15 }; 16 17 testScript = '' 18 machine.wait_for_unit("rstudio-server.service") 19 machine.succeed("curl -f -vvv -s http://127.0.0.1:8787")
+2 -2
nixos/tests/step-ca.nix
··· 42 43 caclient = 44 { config, pkgs, ... }: { 45 - security.acme.server = "https://caserver:8443/acme/acme/directory"; 46 - security.acme.email = "root@example.org"; 47 security.acme.acceptTerms = true; 48 49 security.pki.certificateFiles = [ "${test-certificates}/root_ca.crt" ];
··· 42 43 caclient = 44 { config, pkgs, ... }: { 45 + security.acme.defaults.server = "https://caserver:8443/acme/acme/directory"; 46 + security.acme.defaults.email = "root@example.org"; 47 security.acme.acceptTerms = true; 48 49 security.pki.certificateFiles = [ "${test-certificates}/root_ca.crt" ];
+10 -15
nixos/tests/tor.nix
··· 1 import ./make-test-python.nix ({ lib, ... }: with lib; 2 3 - rec { 4 name = "tor"; 5 meta.maintainers = with maintainers; [ joachifm ]; 6 7 - common = 8 - { ... }: 9 - { boot.kernelParams = [ "audit=0" "apparmor=0" "quiet" ]; 10 - networking.firewall.enable = false; 11 - networking.useDHCP = false; 12 - }; 13 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 - }; 22 23 testScript = '' 24 client.wait_for_unit("tor.service")
··· 1 import ./make-test-python.nix ({ lib, ... }: with lib; 2 3 + { 4 name = "tor"; 5 meta.maintainers = with maintainers; [ joachifm ]; 6 7 + nodes.client = { pkgs, ... }: { 8 + boot.kernelParams = [ "audit=0" "apparmor=0" "quiet" ]; 9 + networking.firewall.enable = false; 10 + networking.useDHCP = false; 11 12 + environment.systemPackages = with pkgs; [ netcat ]; 13 + services.tor.enable = true; 14 + services.tor.client.enable = true; 15 + services.tor.settings.ControlPort = 9051; 16 + }; 17 18 testScript = '' 19 client.wait_for_unit("tor.service")
+15 -6
nixos/tests/without-nix.nix
··· 4 maintainers = [ ericson2314 ]; 5 }; 6 7 - nixpkgs.overlays = [ 8 - (self: super: { 9 - nix = throw "don't want to use this"; 10 - }) 11 - ]; 12 - 13 nodes.machine = { ... }: { 14 nix.enable = false; 15 }; 16 17 testScript = ''
··· 4 maintainers = [ ericson2314 ]; 5 }; 6 7 nodes.machine = { ... }: { 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 + ]; 24 }; 25 26 testScript = ''
+2 -2
pkgs/applications/audio/airwave/default.nix
··· 3 }: 4 5 let 6 - 7 version = "1.3.3"; 8 9 airwave-src = fetchFromGitHub { ··· 38 in 39 40 multiStdenv.mkDerivation { 41 - name = "airwave-${version}"; 42 43 src = airwave-src; 44
··· 3 }: 4 5 let 6 version = "1.3.3"; 7 8 airwave-src = fetchFromGitHub { ··· 37 in 38 39 multiStdenv.mkDerivation { 40 + pname = "airwave"; 41 + inherit version; 42 43 src = airwave-src; 44
+2 -3
pkgs/applications/audio/aj-snapshot/default.nix
··· 1 { lib, stdenv, fetchurl, alsa-lib, jack2, minixml, pkg-config }: 2 3 stdenv.mkDerivation rec { 4 - name = packageName + "-" + version ; 5 - packageName = "aj-snapshot" ; 6 version = "0.9.9"; 7 8 src = fetchurl { 9 - url = "mirror://sourceforge/${packageName}/${name}.tar.bz2"; 10 sha256 = "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"; 11 }; 12
··· 1 { lib, stdenv, fetchurl, alsa-lib, jack2, minixml, pkg-config }: 2 3 stdenv.mkDerivation rec { 4 + pname = "aj-snapshot" ; 5 version = "0.9.9"; 6 7 src = fetchurl { 8 + url = "mirror://sourceforge/aj-snapshot/aj-snapshot-${version}.tar.bz2"; 9 sha256 = "0z8wd5yvxdmw1h1rj6km9h01xd4xmp4d86gczlix7hsc7zrf0wil"; 10 }; 11
+1 -1
pkgs/applications/audio/ams/default.nix
··· 12 }: 13 14 stdenv.mkDerivation rec { 15 - name = "ams"; 16 version = "unstable-2019-04-27"; 17 18 src = fetchgit {
··· 12 }: 13 14 stdenv.mkDerivation rec { 15 + pname = "ams"; 16 version = "unstable-2019-04-27"; 17 18 src = fetchgit {
+1 -1
pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix
··· 2 pulseaudio }: 3 4 bitwig-studio1.overrideAttrs (oldAttrs: rec { 5 - name = "bitwig-studio-${version}"; 6 version = "2.5"; 7 8 src = fetchurl {
··· 2 pulseaudio }: 3 4 bitwig-studio1.overrideAttrs (oldAttrs: rec { 5 + pname = "bitwig-studio"; 6 version = "2.5"; 7 8 src = fetchurl {
+1 -1
pkgs/applications/audio/cardinal/default.nix
··· 22 }: 23 24 stdenv.mkDerivation rec { 25 - name = "cardinal-${version}"; 26 version = "22.02"; 27 28 src = fetchurl {
··· 22 }: 23 24 stdenv.mkDerivation rec { 25 + pname = "cardinal"; 26 version = "22.02"; 27 28 src = fetchurl {
+2 -2
pkgs/applications/audio/cmt/default.nix
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 - name = "cmt"; 8 version = "1.17"; 9 10 src = fetchurl { 11 - url = "http://www.ladspa.org/download/${name}_${version}.tgz"; 12 sha256 = "07xd0xmwpa0j12813jpf87fr9hwzihii5l35mp8ady7xxfmxfmpb"; 13 }; 14
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 + pname = "cmt"; 8 version = "1.17"; 9 10 src = fetchurl { 11 + url = "http://www.ladspa.org/download/cmt_${version}.tgz"; 12 sha256 = "07xd0xmwpa0j12813jpf87fr9hwzihii5l35mp8ady7xxfmxfmpb"; 13 }; 14
-1
pkgs/applications/audio/deadbeef/default.nix
··· 112 license = licenses.gpl2; 113 platforms = [ "x86_64-linux" "i686-linux" ]; 114 maintainers = [ maintainers.abbradar ]; 115 - repositories.git = "https://github.com/Alexey-Yakovenko/deadbeef"; 116 }; 117 }
··· 112 license = licenses.gpl2; 113 platforms = [ "x86_64-linux" "i686-linux" ]; 114 maintainers = [ maintainers.abbradar ]; 115 }; 116 }
+11
pkgs/applications/audio/gnome-podcasts/default.nix
··· 2 , lib 3 , rustPlatform 4 , fetchFromGitLab 5 , meson 6 , ninja 7 , gettext ··· 30 rev = version; 31 sha256 = "00vy1qkkpn76jdpybsq9qp8s6fh1ih10j73p2x43sl97m5g8944h"; 32 }; 33 34 cargoDeps = rustPlatform.fetchCargoTarball { 35 inherit src;
··· 2 , lib 3 , rustPlatform 4 , fetchFromGitLab 5 + , fetchpatch 6 , meson 7 , ninja 8 , gettext ··· 31 rev = version; 32 sha256 = "00vy1qkkpn76jdpybsq9qp8s6fh1ih10j73p2x43sl97m5g8944h"; 33 }; 34 + 35 + patches = [ 36 + # Fix build with meson 0.61, can be removed on next release. 37 + # podcasts-gtk/resources/meson.build:5:0: ERROR: Function does not take positional arguments. 38 + # podcasts-gtk/resources/meson.build:30:0: ERROR: Function does not take positional arguments. 39 + (fetchpatch { 40 + url = "https://gitlab.gnome.org/World/podcasts/-/commit/6614bb62ecbec7c3b18ea7fe44beb50fe7942b27.patch"; 41 + sha256 = "3TVKFV9V6Ofdajgkdc+j+yxsU21C4JWSc6GjLExSM00="; 42 + }) 43 + ]; 44 45 cargoDeps = rustPlatform.fetchCargoTarball { 46 inherit src;
+1 -1
pkgs/applications/audio/jamin/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 version = "0.95.0"; 7 - name = "jamin-${version}"; 8 9 src = fetchurl { 10 url = "mirror://sourceforge/jamin/jamin-${version}.tar.gz";
··· 4 5 stdenv.mkDerivation rec { 6 version = "0.95.0"; 7 + pname = "jamin"; 8 9 src = fetchurl { 10 url = "mirror://sourceforge/jamin/jamin-${version}.tar.gz";
+1 -1
pkgs/applications/audio/magnetophonDSP/faustCompressors/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }: 2 stdenv.mkDerivation rec { 3 - name = "faustCompressors-v${version}"; 4 version = "1.2"; 5 6 src = fetchFromGitHub {
··· 1 { lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }: 2 stdenv.mkDerivation rec { 3 + pname = "faustCompressors"; 4 version = "1.2"; 5 6 src = fetchFromGitHub {
+7 -4
pkgs/applications/audio/mid2key/default.nix
··· 1 - { lib, stdenv, fetchurl, alsa-lib, libX11, libXi, libXtst, xorgproto }: 2 3 stdenv.mkDerivation rec { 4 - name = "mid2key-r1"; 5 6 - src = fetchurl { 7 - url = "http://mid2key.googlecode.com/files/${name}.tar.gz"; 8 sha256 = "0j2vsjvdgx51nd1qmaa18mcy0yw9pwrhbv2mdwnf913bwsk4y904"; 9 }; 10
··· 1 + { lib, stdenv, fetchFromGitHub, alsa-lib, libX11, libXi, libXtst, xorgproto }: 2 3 stdenv.mkDerivation rec { 4 + pname = "mid2key"; 5 + version = "1"; 6 7 + src = fetchFromGitHub { 8 + owner = "dnschneid"; 9 + repo = "mid2key"; 10 + rev = "v${version}"; 11 sha256 = "0j2vsjvdgx51nd1qmaa18mcy0yw9pwrhbv2mdwnf913bwsk4y904"; 12 }; 13
+4 -5
pkgs/applications/audio/midas/generic.nix
··· 1 { stdenv, fetchurl, lib, libX11, libXext, alsa-lib, freetype, brand, type, version, homepage, url, sha256, ... }: 2 stdenv.mkDerivation rec { 3 - inherit type; 4 - baseName = "${type}-Edit"; 5 - name = "${lib.toLower baseName}-${version}"; 6 7 src = fetchurl { 8 inherit url; ··· 15 16 installPhase = '' 17 mkdir -p $out/bin 18 - cp ${baseName} $out/bin 19 ''; 20 preFixup = let 21 # we prepare our library path in the let clause to avoid it become part of the input of mkDerivation ··· 30 patchelf \ 31 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 32 --set-rpath "${libPath}" \ 33 - $out/bin/${baseName} 34 ''; 35 36 meta = with lib; {
··· 1 { stdenv, fetchurl, lib, libX11, libXext, alsa-lib, freetype, brand, type, version, homepage, url, sha256, ... }: 2 stdenv.mkDerivation rec { 3 + pname = "${lib.toLower type}-edit"; 4 + inherit version; 5 6 src = fetchurl { 7 inherit url; ··· 14 15 installPhase = '' 16 mkdir -p $out/bin 17 + cp ${pname} $out/bin 18 ''; 19 preFixup = let 20 # we prepare our library path in the let clause to avoid it become part of the input of mkDerivation ··· 29 patchelf \ 30 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 31 --set-rpath "${libPath}" \ 32 + $out/bin/${pname} 33 ''; 34 35 meta = with lib; {
+6 -5
pkgs/applications/audio/mopidy/youtube.nix
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "mopidy-youtube"; 9 - version = "3.4"; 10 - 11 - disabled = python3.pythonOlder "3.7"; 12 13 src = fetchFromGitHub { 14 owner = "natumbri"; 15 repo = pname; 16 rev = "v${version}"; 17 - sha256 = "0lm6nn926qkrwzvj64yracdixfrnv5zk243msjskrnlzkhgk01rk"; 18 }; 19 20 propagatedBuildInputs = with python3.pkgs; [ ··· 39 ]; 40 41 disabledTestPaths = [ 42 - # Fails with an import error 43 "tests/test_backend.py" 44 ]; 45 46 pythonImportsCheck = [
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "mopidy-youtube"; 9 + version = "3.5"; 10 + format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "natumbri"; 14 repo = pname; 15 rev = "v${version}"; 16 + hash = "sha256-hlokysFFgZZYY7flghgRq6wVG824kpcLkXxk6nMhxn4="; 17 }; 18 19 propagatedBuildInputs = with python3.pkgs; [ ··· 38 ]; 39 40 disabledTestPaths = [ 41 + # Disable tests which interact with Youtube 42 + "tests/test_api.py" 43 "tests/test_backend.py" 44 + "tests/test_youtube.py" 45 ]; 46 47 pythonImportsCheck = [
-1
pkgs/applications/audio/musescore/darwin.nix
··· 32 license = licenses.gpl2; 33 platforms = platforms.darwin; 34 maintainers = []; 35 - repositories.git = "https://github.com/musescore/MuseScore"; 36 }; 37 }
··· 32 license = licenses.gpl2; 33 platforms = platforms.darwin; 34 maintainers = []; 35 }; 36 }
-1
pkgs/applications/audio/musescore/default.nix
··· 51 license = licenses.gpl2; 52 maintainers = with maintainers; [ vandenoever turion doronbehar ]; 53 platforms = platforms.linux; 54 - repositories.git = "https://github.com/musescore/MuseScore"; 55 }; 56 }
··· 51 license = licenses.gpl2; 52 maintainers = with maintainers; [ vandenoever turion doronbehar ]; 53 platforms = platforms.linux; 54 }; 55 }
+2 -2
pkgs/applications/audio/qmidiarp/default.nix
··· 10 }: 11 12 stdenv.mkDerivation rec { 13 - name = "qmidiarp"; 14 version = "0.6.5"; 15 16 src = fetchgit { 17 url = "https://git.code.sf.net/p/qmidiarp/code"; 18 sha256 = "1g2143gzfbihqr2zi3k2v1yn1x3mwfbb2khmcd4m4cq3hcwhhlx9"; 19 - rev = "qmidiarp-0.6.5"; 20 }; 21 22 nativeBuildInputs = [
··· 10 }: 11 12 stdenv.mkDerivation rec { 13 + pname = "qmidiarp"; 14 version = "0.6.5"; 15 16 src = fetchgit { 17 url = "https://git.code.sf.net/p/qmidiarp/code"; 18 sha256 = "1g2143gzfbihqr2zi3k2v1yn1x3mwfbb2khmcd4m4cq3hcwhhlx9"; 19 + rev = "qmidiarp-${version}"; 20 }; 21 22 nativeBuildInputs = [
-1
pkgs/applications/audio/qmmp/default.nix
··· 58 license = licenses.gpl2Plus; 59 platforms = platforms.linux; 60 maintainers = [ maintainers.bjornfor ]; 61 - repositories.svn = "https://svn.code.sf.net/p/qmmp-dev/code"; 62 }; 63 }
··· 58 license = licenses.gpl2Plus; 59 platforms = platforms.linux; 60 maintainers = [ maintainers.bjornfor ]; 61 }; 62 }
+2 -2
pkgs/applications/audio/sisco.lv2/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, lv2, pkg-config, libGLU, libGL, cairo, pango, libjack2 }: 2 3 let 4 - name = "sisco.lv2-${version}"; 5 version = "0.7.0"; 6 7 robtkVersion = "80a2585253a861c81f0bfb7e4579c75f5c73af89"; ··· 22 }; 23 in 24 stdenv.mkDerivation rec { 25 - inherit name; 26 27 srcs = [ src robtkSrc ]; 28 sourceRoot = src.name;
··· 1 { lib, stdenv, fetchFromGitHub, lv2, pkg-config, libGLU, libGL, cairo, pango, libjack2 }: 2 3 let 4 version = "0.7.0"; 5 6 robtkVersion = "80a2585253a861c81f0bfb7e4579c75f5c73af89"; ··· 21 }; 22 in 23 stdenv.mkDerivation rec { 24 + pname = "sisco.lv2"; 25 + inherit version; 26 27 srcs = [ src robtkSrc ]; 28 sourceRoot = src.name;
+10
pkgs/applications/audio/sound-juicer/default.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 , meson 5 , ninja 6 , pkg-config ··· 27 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 sha256 = "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf"; 29 }; 30 31 nativeBuildInputs = [ 32 meson
··· 1 { lib 2 , stdenv 3 , fetchurl 4 + , fetchpatch 5 , meson 6 , ninja 7 , pkg-config ··· 28 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 sha256 = "08d5d81rz9sj3m5paw8fwbgxmhlbr7bcjdzpmzj832qvg8smydxf"; 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 + ]; 40 41 nativeBuildInputs = [ 42 meson
+1 -1
pkgs/applications/audio/soundkonverter/default.nix
··· 45 46 in 47 mkDerivation rec { 48 - name = "soundkonverter"; 49 version = "3.0.1"; 50 src = fetchFromGitHub { 51 owner = "dfaust";
··· 45 46 in 47 mkDerivation rec { 48 + pname = "soundkonverter"; 49 version = "3.0.1"; 50 src = fetchFromGitHub { 51 owner = "dfaust";
+1 -1
pkgs/applications/blockchains/bitcoin-unlimited/default.nix
··· 6 with lib; 7 8 stdenv.mkDerivation rec { 9 - name = "bitcoin" + (toString (optional (!withGui) "d")) + "-unlimited-" + version; 10 version = "1.9.2.0"; 11 12 src = fetchFromGitHub {
··· 6 with lib; 7 8 stdenv.mkDerivation rec { 9 + pname = "bitcoin" + optionalString (!withGui) "d" + "-unlimited"; 10 version = "1.9.2.0"; 11 12 src = fetchFromGitHub {
+1 -1
pkgs/applications/blockchains/dogecoin/default.nix
··· 6 7 with lib; 8 stdenv.mkDerivation rec { 9 - name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version; 10 version = "1.14.5"; 11 12 src = fetchFromGitHub {
··· 6 7 with lib; 8 stdenv.mkDerivation rec { 9 + pname = "dogecoin" + optionalString (!withGui) "d"; 10 version = "1.14.5"; 11 12 src = fetchFromGitHub {
+1 -2
pkgs/applications/blockchains/litecoin/default.nix
··· 11 with lib; 12 13 mkDerivation rec { 14 - 15 - name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version; 16 version = "0.18.1"; 17 18 src = fetchFromGitHub {
··· 11 with lib; 12 13 mkDerivation rec { 14 + pname = "litecoin" + optionalString (!withGui) "d"; 15 version = "0.18.1"; 16 17 src = fetchFromGitHub {
+1 -1
pkgs/applications/blockchains/namecoin/default.nix
··· 3 4 with lib; 5 stdenv.mkDerivation rec { 6 version = "nc22.0"; 7 - name = "namecoin" + toString (optional (!withGui) "d") + "-" + version; 8 9 src = fetchFromGitHub { 10 owner = "namecoin";
··· 3 4 with lib; 5 stdenv.mkDerivation rec { 6 + pname = "namecoin" + optionalString (!withGui) "d"; 7 version = "nc22.0"; 8 9 src = fetchFromGitHub { 10 owner = "namecoin";
+6 -6
pkgs/applications/editors/hexdino/default.nix
··· 1 { lib, fetchFromGitHub, rustPlatform, ncurses }: 2 3 - rustPlatform.buildRustPackage { 4 pname = "hexdino"; 5 - version = "0.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "Luz"; 9 - repo = "hexdino"; 10 - rev = "de5b5d7042129f57e0ab36416a06476126bce389"; 11 - sha256 = "11mz07735gxqfamjcjjmxya6swlvr1p77sgd377zjcmd6z54gwyf"; 12 }; 13 14 - cargoSha256 = "1hpndmpk1zlfvb4r95m13yvnsbjkwgw4pb9ala2d5yzfp38225nm"; 15 16 buildInputs = [ ncurses ]; 17
··· 1 { lib, fetchFromGitHub, rustPlatform, ncurses }: 2 3 + rustPlatform.buildRustPackage rec { 4 pname = "hexdino"; 5 + version = "0.1.1"; 6 7 src = fetchFromGitHub { 8 owner = "Luz"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "1n8gizawx8h58hpyyqivp7vwy7yhn6scipl5rrbvkpnav8qpmk1r"; 12 }; 13 14 + cargoSha256 = "01869b1d7gbsprcxxj7h9z16pvnzb02j2hywh97gfq5x96gnmkz3"; 15 16 buildInputs = [ ncurses ]; 17
+2 -3
pkgs/applications/editors/jetbrains/darwin.nix
··· 5 }: 6 7 { meta 8 - , name 9 , product 10 , productShort ? product 11 , src ··· 17 loname = lib.toLower productShort; 18 in 19 stdenvNoCC.mkDerivation { 20 - inherit meta src version; 21 desktopName = product; 22 installPhase = '' 23 runHook preInstall ··· 32 runHook postInstall 33 ''; 34 nativeBuildInputs = [ undmg ]; 35 - pname = lib.concatStringsSep "-" (lib.init (lib.splitString "-" name)); 36 sourceRoot = "."; 37 }
··· 5 }: 6 7 { meta 8 + , pname 9 , product 10 , productShort ? product 11 , src ··· 17 loname = lib.toLower productShort; 18 in 19 stdenvNoCC.mkDerivation { 20 + inherit pname meta src version; 21 desktopName = product; 22 installPhase = '' 23 runHook preInstall ··· 32 runHook postInstall 33 ''; 34 nativeBuildInputs = [ undmg ]; 35 sourceRoot = "."; 36 }
+32 -32
pkgs/applications/editors/jetbrains/default.nix
··· 24 25 # Sorted alphabetically 26 27 - buildClion = { name, version, src, license, description, wmClass, ... }: 28 (mkJetBrainsProduct { 29 - inherit name version src wmClass jdk; 30 product = "CLion"; 31 meta = with lib; { 32 homepage = "https://www.jetbrains.com/clion/"; ··· 62 ''; 63 }); 64 65 - buildDataGrip = { name, version, src, license, description, wmClass, ... }: 66 (mkJetBrainsProduct { 67 - inherit name version src wmClass jdk; 68 product = "DataGrip"; 69 meta = with lib; { 70 homepage = "https://www.jetbrains.com/datagrip/"; ··· 78 }; 79 }); 80 81 - buildGoland = { name, version, src, license, description, wmClass, ... }: 82 (mkJetBrainsProduct { 83 - inherit name version src wmClass jdk; 84 product = "Goland"; 85 meta = with lib; { 86 homepage = "https://www.jetbrains.com/go/"; ··· 106 ''; 107 }); 108 109 - buildIdea = { name, version, src, license, description, wmClass, product, ... }: 110 (mkJetBrainsProduct { 111 - inherit name version src wmClass jdk product; 112 productShort = "IDEA"; 113 extraLdPath = [ zlib ]; 114 extraWrapperArgs = [ ··· 129 }; 130 }); 131 132 - buildMps = { name, version, src, license, description, wmClass, product, ... }: 133 (mkJetBrainsProduct rec { 134 - inherit name version src wmClass jdk product; 135 productShort = "MPS"; 136 meta = with lib; { 137 homepage = "https://www.jetbrains.com/mps/"; ··· 146 }; 147 }); 148 149 - buildPhpStorm = { name, version, src, license, description, wmClass, ... }: 150 (mkJetBrainsProduct { 151 - inherit name version src wmClass jdk; 152 product = "PhpStorm"; 153 meta = with lib; { 154 homepage = "https://www.jetbrains.com/phpstorm/"; ··· 162 }; 163 }); 164 165 - buildPycharm = { name, version, src, license, description, wmClass, product, ... }: 166 (mkJetBrainsProduct { 167 - inherit name version src wmClass jdk product; 168 productShort = "PyCharm"; 169 meta = with lib; { 170 homepage = "https://www.jetbrains.com/pycharm/"; ··· 186 }; 187 }); 188 189 - buildRider = { name, version, src, license, description, wmClass, ... }: 190 (mkJetBrainsProduct { 191 - inherit name version src wmClass jdk; 192 product = "Rider"; 193 meta = with lib; { 194 homepage = "https://www.jetbrains.com/rider/"; ··· 211 ''); 212 }); 213 214 - buildRubyMine = { name, version, src, license, description, wmClass, ... }: 215 (mkJetBrainsProduct { 216 - inherit name version src wmClass jdk; 217 product = "RubyMine"; 218 meta = with lib; { 219 homepage = "https://www.jetbrains.com/ruby/"; ··· 223 }; 224 }); 225 226 - buildWebStorm = { name, version, src, license, description, wmClass, ... }: 227 (mkJetBrainsProduct { 228 - inherit name version src wmClass jdk; 229 product = "WebStorm"; 230 meta = with lib; { 231 homepage = "https://www.jetbrains.com/webstorm/"; ··· 251 # Sorted alphabetically 252 253 clion = buildClion rec { 254 - name = "clion-${version}"; 255 version = products.clion.version; 256 description = "C/C++ IDE. New. Intelligent. Cross-platform"; 257 license = lib.licenses.unfree; ··· 264 }; 265 266 datagrip = buildDataGrip rec { 267 - name = "datagrip-${version}"; 268 version = products.datagrip.version; 269 description = "Your Swiss Army Knife for Databases and SQL"; 270 license = lib.licenses.unfree; ··· 277 }; 278 279 goland = buildGoland rec { 280 - name = "goland-${version}"; 281 version = products.goland.version; 282 description = "Up and Coming Go IDE"; 283 license = lib.licenses.unfree; ··· 290 }; 291 292 idea-community = buildIdea rec { 293 - name = "idea-community-${version}"; 294 product = "IntelliJ IDEA CE"; 295 version = products.idea-community.version; 296 description = "Integrated Development Environment (IDE) by Jetbrains, community edition"; ··· 304 }; 305 306 idea-ultimate = buildIdea rec { 307 - name = "idea-ultimate-${version}"; 308 product = "IntelliJ IDEA"; 309 version = products.idea-ultimate.version; 310 description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license"; ··· 318 }; 319 320 mps = buildMps rec { 321 - name = "mps-${version}"; 322 product = "MPS ${products.mps.version-major-minor}"; 323 version = products.mps.version; 324 description = "Create your own domain-specific language"; ··· 332 }; 333 334 phpstorm = buildPhpStorm rec { 335 - name = "phpstorm-${version}"; 336 version = products.phpstorm.version; 337 description = "Professional IDE for Web and PHP developers"; 338 license = lib.licenses.unfree; ··· 345 }; 346 347 pycharm-community = buildPycharm rec { 348 - name = "pycharm-community-${version}"; 349 product = "PyCharm CE"; 350 version = products.pycharm-community.version; 351 description = "PyCharm Community Edition"; ··· 359 }; 360 361 pycharm-professional = buildPycharm rec { 362 - name = "pycharm-professional-${version}"; 363 product = "PyCharm"; 364 version = products.pycharm-professional.version; 365 description = "PyCharm Professional Edition"; ··· 373 }; 374 375 rider = buildRider rec { 376 - name = "rider-${version}"; 377 version = products.rider.version; 378 description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper"; 379 license = lib.licenses.unfree; ··· 386 }; 387 388 ruby-mine = buildRubyMine rec { 389 - name = "ruby-mine-${version}"; 390 version = products.ruby-mine.version; 391 description = "The Most Intelligent Ruby and Rails IDE"; 392 license = lib.licenses.unfree; ··· 399 }; 400 401 webstorm = buildWebStorm rec { 402 - name = "webstorm-${version}"; 403 version = products.webstorm.version; 404 description = "Professional IDE for Web and JavaScript development"; 405 license = lib.licenses.unfree;
··· 24 25 # Sorted alphabetically 26 27 + buildClion = { pname, version, src, license, description, wmClass, ... }: 28 (mkJetBrainsProduct { 29 + inherit pname version src wmClass jdk; 30 product = "CLion"; 31 meta = with lib; { 32 homepage = "https://www.jetbrains.com/clion/"; ··· 62 ''; 63 }); 64 65 + buildDataGrip = { pname, version, src, license, description, wmClass, ... }: 66 (mkJetBrainsProduct { 67 + inherit pname version src wmClass jdk; 68 product = "DataGrip"; 69 meta = with lib; { 70 homepage = "https://www.jetbrains.com/datagrip/"; ··· 78 }; 79 }); 80 81 + buildGoland = { pname, version, src, license, description, wmClass, ... }: 82 (mkJetBrainsProduct { 83 + inherit pname version src wmClass jdk; 84 product = "Goland"; 85 meta = with lib; { 86 homepage = "https://www.jetbrains.com/go/"; ··· 106 ''; 107 }); 108 109 + buildIdea = { pname, version, src, license, description, wmClass, product, ... }: 110 (mkJetBrainsProduct { 111 + inherit pname version src wmClass jdk product; 112 productShort = "IDEA"; 113 extraLdPath = [ zlib ]; 114 extraWrapperArgs = [ ··· 129 }; 130 }); 131 132 + buildMps = { pname, version, src, license, description, wmClass, product, ... }: 133 (mkJetBrainsProduct rec { 134 + inherit pname version src wmClass jdk product; 135 productShort = "MPS"; 136 meta = with lib; { 137 homepage = "https://www.jetbrains.com/mps/"; ··· 146 }; 147 }); 148 149 + buildPhpStorm = { pname, version, src, license, description, wmClass, ... }: 150 (mkJetBrainsProduct { 151 + inherit pname version src wmClass jdk; 152 product = "PhpStorm"; 153 meta = with lib; { 154 homepage = "https://www.jetbrains.com/phpstorm/"; ··· 162 }; 163 }); 164 165 + buildPycharm = { pname, version, src, license, description, wmClass, product, ... }: 166 (mkJetBrainsProduct { 167 + inherit pname version src wmClass jdk product; 168 productShort = "PyCharm"; 169 meta = with lib; { 170 homepage = "https://www.jetbrains.com/pycharm/"; ··· 186 }; 187 }); 188 189 + buildRider = { pname, version, src, license, description, wmClass, ... }: 190 (mkJetBrainsProduct { 191 + inherit pname version src wmClass jdk; 192 product = "Rider"; 193 meta = with lib; { 194 homepage = "https://www.jetbrains.com/rider/"; ··· 211 ''); 212 }); 213 214 + buildRubyMine = { pname, version, src, license, description, wmClass, ... }: 215 (mkJetBrainsProduct { 216 + inherit pname version src wmClass jdk; 217 product = "RubyMine"; 218 meta = with lib; { 219 homepage = "https://www.jetbrains.com/ruby/"; ··· 223 }; 224 }); 225 226 + buildWebStorm = { pname, version, src, license, description, wmClass, ... }: 227 (mkJetBrainsProduct { 228 + inherit pname version src wmClass jdk; 229 product = "WebStorm"; 230 meta = with lib; { 231 homepage = "https://www.jetbrains.com/webstorm/"; ··· 251 # Sorted alphabetically 252 253 clion = buildClion rec { 254 + pname = "clion"; 255 version = products.clion.version; 256 description = "C/C++ IDE. New. Intelligent. Cross-platform"; 257 license = lib.licenses.unfree; ··· 264 }; 265 266 datagrip = buildDataGrip rec { 267 + pname = "datagrip"; 268 version = products.datagrip.version; 269 description = "Your Swiss Army Knife for Databases and SQL"; 270 license = lib.licenses.unfree; ··· 277 }; 278 279 goland = buildGoland rec { 280 + pname = "goland"; 281 version = products.goland.version; 282 description = "Up and Coming Go IDE"; 283 license = lib.licenses.unfree; ··· 290 }; 291 292 idea-community = buildIdea rec { 293 + pname = "idea-community"; 294 product = "IntelliJ IDEA CE"; 295 version = products.idea-community.version; 296 description = "Integrated Development Environment (IDE) by Jetbrains, community edition"; ··· 304 }; 305 306 idea-ultimate = buildIdea rec { 307 + pname = "idea-ultimate"; 308 product = "IntelliJ IDEA"; 309 version = products.idea-ultimate.version; 310 description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license"; ··· 318 }; 319 320 mps = buildMps rec { 321 + pname = "mps"; 322 product = "MPS ${products.mps.version-major-minor}"; 323 version = products.mps.version; 324 description = "Create your own domain-specific language"; ··· 332 }; 333 334 phpstorm = buildPhpStorm rec { 335 + pname = "phpstorm"; 336 version = products.phpstorm.version; 337 description = "Professional IDE for Web and PHP developers"; 338 license = lib.licenses.unfree; ··· 345 }; 346 347 pycharm-community = buildPycharm rec { 348 + pname = "pycharm-community"; 349 product = "PyCharm CE"; 350 version = products.pycharm-community.version; 351 description = "PyCharm Community Edition"; ··· 359 }; 360 361 pycharm-professional = buildPycharm rec { 362 + pname = "pycharm-professional"; 363 product = "PyCharm"; 364 version = products.pycharm-professional.version; 365 description = "PyCharm Professional Edition"; ··· 373 }; 374 375 rider = buildRider rec { 376 + pname = "rider"; 377 version = products.rider.version; 378 description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper"; 379 license = lib.licenses.unfree; ··· 386 }; 387 388 ruby-mine = buildRubyMine rec { 389 + pname = "ruby-mine"; 390 version = products.ruby-mine.version; 391 description = "The Most Intelligent Ruby and Rails IDE"; 392 license = lib.licenses.unfree; ··· 399 }; 400 401 webstorm = buildWebStorm rec { 402 + pname = "webstorm"; 403 version = products.webstorm.version; 404 description = "Professional IDE for Web and JavaScript development"; 405 license = lib.licenses.unfree;
+12 -13
pkgs/applications/editors/jetbrains/linux.nix
··· 3 , vmopts ? null 4 }: 5 6 - { name, product, productShort ? product, version, src, wmClass, jdk, meta, extraLdPath ? [], extraWrapperArgs ? [] }@args: 7 8 with lib; 9 10 let loName = toLower productShort; 11 hiName = toUpper productShort; 12 - mainProgram = concatStringsSep "-" (init (splitString "-" name)); 13 vmoptsName = loName 14 + lib.optionalString stdenv.hostPlatform.is64bit "64" 15 + ".vmoptions"; 16 in 17 18 with stdenv; lib.makeOverridable mkDerivation (rec { 19 - inherit name src; 20 - meta = args.meta // { inherit mainProgram; }; 21 22 desktopItem = makeDesktopItem { 23 - name = mainProgram; 24 - exec = mainProgram; 25 comment = lib.replaceChars ["\n"] [" "] meta.longDescription; 26 desktopName = product; 27 genericName = meta.description; 28 categories = [ "Development" ]; 29 - icon = mainProgram; 30 startupWMClass = wmClass; 31 }; 32 ··· 62 installPhase = '' 63 runHook preInstall 64 65 - mkdir -p $out/{bin,$name,share/pixmaps,libexec/${name}} 66 - cp -a . $out/$name 67 - ln -s $out/$name/bin/${loName}.png $out/share/pixmaps/${mainProgram}.png 68 - mv bin/fsnotifier* $out/libexec/${name}/. 69 70 jdk=${jdk.home} 71 item=${desktopItem} 72 73 - makeWrapper "$out/$name/bin/${loName}.sh" "$out/bin/${mainProgram}" \ 74 - --prefix PATH : "$out/libexec/${name}:${lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ 75 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([ 76 # Some internals want libstdc++.so.6 77 stdenv.cc.cc.lib libsecret e2fsprogs
··· 3 , vmopts ? null 4 }: 5 6 + { pname, product, productShort ? product, version, src, wmClass, jdk, meta, extraLdPath ? [], extraWrapperArgs ? [] }@args: 7 8 with lib; 9 10 let loName = toLower productShort; 11 hiName = toUpper productShort; 12 vmoptsName = loName 13 + lib.optionalString stdenv.hostPlatform.is64bit "64" 14 + ".vmoptions"; 15 in 16 17 with stdenv; lib.makeOverridable mkDerivation (rec { 18 + inherit pname version src; 19 + meta = args.meta // { mainProgram = pname; }; 20 21 desktopItem = makeDesktopItem { 22 + name = pname; 23 + exec = pname; 24 comment = lib.replaceChars ["\n"] [" "] meta.longDescription; 25 desktopName = product; 26 genericName = meta.description; 27 categories = [ "Development" ]; 28 + icon = pname; 29 startupWMClass = wmClass; 30 }; 31 ··· 61 installPhase = '' 62 runHook preInstall 63 64 + mkdir -p $out/{bin,$pname,share/pixmaps,libexec/${pname}} 65 + cp -a . $out/$pname 66 + ln -s $out/$pname/bin/${loName}.png $out/share/pixmaps/${pname}.png 67 + mv bin/fsnotifier* $out/libexec/${pname}/. 68 69 jdk=${jdk.home} 70 item=${desktopItem} 71 72 + makeWrapper "$out/$pname/bin/${loName}.sh" "$out/bin/${pname}" \ 73 + --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ 74 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([ 75 # Some internals want libstdc++.so.6 76 stdenv.cc.cc.lib libsecret e2fsprogs
+2 -1
pkgs/applications/editors/jupyter-kernels/octave/default.nix
··· 32 ''; 33 34 sizedLogo = size: stdenv.mkDerivation { 35 - name = ''octave-logo-${octave.version}-${size}x${size}.png''; 36 37 src = octave.src; 38
··· 32 ''; 33 34 sizedLogo = size: stdenv.mkDerivation { 35 + pname = "octave-logo-${size}x${size}.png"; 36 + inherit (octave) version; 37 38 src = octave.src; 39
+3 -1
pkgs/applications/editors/micro/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, installShellFiles }: 2 3 buildGoModule rec { 4 pname = "micro"; ··· 23 installManPage assets/packaging/micro.1 24 install -Dt $out/share/applications assets/packaging/micro.desktop 25 ''; 26 27 meta = with lib; { 28 homepage = "https://micro-editor.github.io";
··· 1 + { lib, buildGoModule, fetchFromGitHub, installShellFiles, callPackage }: 2 3 buildGoModule rec { 4 pname = "micro"; ··· 23 installManPage assets/packaging/micro.1 24 install -Dt $out/share/applications assets/packaging/micro.desktop 25 ''; 26 + 27 + passthru.tests.expect = callPackage ./test-with-expect.nix {}; 28 29 meta = with lib; { 30 homepage = "https://micro-editor.github.io";
+30
pkgs/applications/editors/micro/test-with-expect.nix
···
··· 1 + { micro, expect, runCommand, writeScript, runtimeShell }: 2 + 3 + let expect-script = writeScript "expect-script" '' 4 + #!${expect}/bin/expect -f 5 + 6 + spawn micro file.txt 7 + expect "file.txt" 8 + 9 + send "Hello world!" 10 + expect "Hello world!" 11 + 12 + # Send ctrl-q (exit) 13 + send "\021" 14 + 15 + expect "Save changes to file.txt before closing?" 16 + send "y" 17 + 18 + expect eof 19 + ''; in 20 + runCommand "micro-test-expect" 21 + { 22 + nativeBuildInputs = [ micro expect ]; 23 + passthru = { inherit expect-script; }; 24 + } '' 25 + # Micro really wants a writable $HOME for its config directory. 26 + export HOME=$(pwd) 27 + expect -f ${expect-script} 28 + grep "Hello world!" file.txt 29 + touch $out 30 + ''
+1 -1
pkgs/applications/editors/qxmledit/default.nix
··· 2 qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml, qtquick1, libGLU }: 3 4 stdenv.mkDerivation rec { 5 - name = "qxmledit-${version}" ; 6 version = "0.9.15" ; 7 src = fetchFromGitHub ( lib.importJSON ./qxmledit.json ) ; 8 nativeBuildInputs = [ qmake ] ;
··· 2 qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml, qtquick1, libGLU }: 3 4 stdenv.mkDerivation rec { 5 + pname = "qxmledit" ; 6 version = "0.9.15" ; 7 src = fetchFromGitHub ( lib.importJSON ./qxmledit.json ) ; 8 nativeBuildInputs = [ qmake ] ;
+2 -2
pkgs/applications/emulators/fceux/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "fceux"; 5 - version = "2.6.3"; 6 7 src = fetchFromGitHub { 8 owner = "TASEmulators"; 9 repo = pname; 10 rev = "${pname}-${version}"; 11 - sha256 = "sha256-jNR9AB8s2S9ehYsompkV2GOLsaXIQzldeQ1WRCxdDG0="; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "fceux"; 5 + version = "2.6.4"; 6 7 src = fetchFromGitHub { 8 owner = "TASEmulators"; 9 repo = pname; 10 rev = "${pname}-${version}"; 11 + sha256 = "sha256-Q6r/iBlmi0z40+U6OLZCahS0io4IBBGZMP1mJH7szRM="; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
+3 -3
pkgs/applications/emulators/ryujinx/default.nix
··· 17 18 buildDotnetModule rec { 19 pname = "ryujinx"; 20 - version = "1.1.76"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml 21 22 src = fetchFromGitHub { 23 owner = "Ryujinx"; 24 repo = "Ryujinx"; 25 - rev = "e2ffa5a125fcbe8a25c73d8e04c08c08ef378860"; 26 - sha256 = "1rmiyjqwlsbzh9q7d12n72ka9adaby2rfcbn75sf47p5857yi3p9"; 27 }; 28 29 dotnet-sdk = dotnetCorePackages.sdk_6_0;
··· 17 18 buildDotnetModule rec { 19 pname = "ryujinx"; 20 + version = "1.1.77"; # Based off of the official github actions builds: https://github.com/Ryujinx/Ryujinx/actions/workflows/release.yml 21 22 src = fetchFromGitHub { 23 owner = "Ryujinx"; 24 repo = "Ryujinx"; 25 + rev = "df70442c46e7ee133b1fb79dc23ddd134e618085"; 26 + sha256 = "1m9msp7kxsj7251l2yjcfzrb4k1lisk9sip7acm22pxmi1a7gw73"; 27 }; 28 29 dotnet-sdk = dotnetCorePackages.sdk_6_0;
+4 -4
pkgs/applications/emulators/wine/base.nix
··· 1 { stdenv, lib, pkgArches, callPackage, makeSetupHook, 2 - name, version, src, mingwGccs, monos, geckos, platforms, 3 bison, flex, fontforge, makeWrapper, pkg-config, 4 autoconf, hexdump, perl, nixosTests, 5 supportFlags, ··· 13 14 let 15 patches' = patches; 16 - prevName = name; 17 prevPlatforms = platforms; 18 prevConfigFlags = configureFlags; 19 setupHookDarwin = makeSetupHook { ··· 42 make loader/wine64-preloader NIX_LDFLAGS="" NIX_LDFLAGS_${stdenv.cc.suffixSalt}="" 43 ''; 44 }) // rec { 45 - inherit src; 46 47 - name = if supportFlags.waylandSupport then "${prevName}-wayland" else prevName; 48 49 # Fixes "Compiler cannot create executables" building wineWow with mingwSupport 50 strictDeps = true;
··· 1 { stdenv, lib, pkgArches, callPackage, makeSetupHook, 2 + pname, version, src, mingwGccs, monos, geckos, platforms, 3 bison, flex, fontforge, makeWrapper, pkg-config, 4 autoconf, hexdump, perl, nixosTests, 5 supportFlags, ··· 13 14 let 15 patches' = patches; 16 + prevName = pname; 17 prevPlatforms = platforms; 18 prevConfigFlags = configureFlags; 19 setupHookDarwin = makeSetupHook { ··· 42 make loader/wine64-preloader NIX_LDFLAGS="" NIX_LDFLAGS_${stdenv.cc.suffixSalt}="" 43 ''; 44 }) // rec { 45 + inherit version src; 46 47 + pname = prevName + lib.optionalString supportFlags.waylandSupport "wayland"; 48 49 # Fixes "Compiler cannot create executables" building wineWow with mingwSupport 50 strictDeps = true;
+3 -3
pkgs/applications/emulators/wine/packages.nix
··· 9 vkd3d_i686 = pkgsi686Linux.callPackage ./vkd3d.nix { inherit moltenvk; }; 10 in with src; { 11 wine32 = pkgsi686Linux.callPackage ./base.nix { 12 - name = "wine-${version}"; 13 inherit src version supportFlags patches moltenvk; 14 pkgArches = [ pkgsi686Linux ]; 15 vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d_i686 ]; ··· 19 platforms = [ "i686-linux" "x86_64-linux" ]; 20 }; 21 wine64 = callPackage ./base.nix { 22 - name = "wine64-${version}"; 23 inherit src version supportFlags patches moltenvk; 24 pkgArches = [ pkgs ]; 25 vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d ]; ··· 30 platforms = [ "x86_64-linux" "x86_64-darwin" ]; 31 }; 32 wineWow = callPackage ./base.nix { 33 - name = "wine-wow-${version}"; 34 inherit src version supportFlags patches moltenvk; 35 stdenv = stdenv_32bit; 36 pkgArches = [ pkgs pkgsi686Linux ];
··· 9 vkd3d_i686 = pkgsi686Linux.callPackage ./vkd3d.nix { inherit moltenvk; }; 10 in with src; { 11 wine32 = pkgsi686Linux.callPackage ./base.nix { 12 + pname = "wine"; 13 inherit src version supportFlags patches moltenvk; 14 pkgArches = [ pkgsi686Linux ]; 15 vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d_i686 ]; ··· 19 platforms = [ "i686-linux" "x86_64-linux" ]; 20 }; 21 wine64 = callPackage ./base.nix { 22 + pname = "wine64"; 23 inherit src version supportFlags patches moltenvk; 24 pkgArches = [ pkgs ]; 25 vkd3dArches = lib.optionals supportFlags.vkd3dSupport [ vkd3d ]; ··· 30 platforms = [ "x86_64-linux" "x86_64-darwin" ]; 31 }; 32 wineWow = callPackage ./base.nix { 33 + pname = "wine-wow"; 34 inherit src version supportFlags patches moltenvk; 35 stdenv = stdenv_32bit; 36 pkgArches = [ pkgs pkgsi686Linux ];
+1 -1
pkgs/applications/gis/grass/default.nix
··· 5 }: 6 7 stdenv.mkDerivation rec { 8 - name = "grass"; 9 version = "7.8.6"; 10 11 src = with lib; fetchFromGitHub {
··· 5 }: 6 7 stdenv.mkDerivation rec { 8 + pname = "grass"; 9 version = "7.8.6"; 10 11 src = with lib; fetchFromGitHub {
+2 -2
pkgs/applications/graphics/drawio/default.nix
··· 11 12 stdenv.mkDerivation rec { 13 pname = "drawio"; 14 - version = "16.5.1"; 15 16 src = fetchurl { 17 url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/drawio-x86_64-${version}.rpm"; 18 - sha256 = "a8ebf2560820d2d05677b9b16fc863f555dde8235b3e34acd7916eee3544eaa9"; 19 }; 20 21 nativeBuildInputs = [
··· 11 12 stdenv.mkDerivation rec { 13 pname = "drawio"; 14 + version = "17.2.1"; 15 16 src = fetchurl { 17 url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/drawio-x86_64-${version}.rpm"; 18 + sha256 = "28019774a18f6e74c0d126346ae3551b5eb9c73aae13fe87f6d49120c183697a"; 19 }; 20 21 nativeBuildInputs = [
-1
pkgs/applications/graphics/gpicview/default.nix
··· 23 meta = with lib; { 24 description = "A simple and fast image viewer for X"; 25 homepage = "http://lxde.sourceforge.net/gpicview/"; 26 - repositories.git = "git://lxde.git.sourceforge.net/gitroot/lxde/gpicview"; 27 license = licenses.gpl2; 28 maintainers = with maintainers; [ lovek323 ]; 29 platforms = platforms.unix;
··· 23 meta = with lib; { 24 description = "A simple and fast image viewer for X"; 25 homepage = "http://lxde.sourceforge.net/gpicview/"; 26 license = licenses.gpl2; 27 maintainers = with maintainers; [ lovek323 ]; 28 platforms = platforms.unix;
+2 -2
pkgs/applications/graphics/inkscape/extensions.nix
··· 9 applytransforms = callPackage ./extensions/applytransforms { }; 10 11 hexmap = stdenv.mkDerivation { 12 - name = "hexmap"; 13 - version = "2020-06-06"; 14 15 src = fetchFromGitHub { 16 owner = "lifelike";
··· 9 applytransforms = callPackage ./extensions/applytransforms { }; 10 11 hexmap = stdenv.mkDerivation { 12 + pname = "hexmap"; 13 + version = "unstable-2020-06-06"; 14 15 src = fetchFromGitHub { 16 owner = "lifelike";
+3 -5
pkgs/applications/graphics/mtpaint/default.nix
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 - p_name = "mtPaint"; 8 - ver_maj = "3.50"; 9 - ver_min = "01"; 10 - name = "${p_name}-${ver_maj}.${ver_min}"; 11 12 src = fetchFromGitHub { 13 owner = "wjaguar"; 14 - repo = p_name; 15 rev = "a4675ff5cd9fcd57d291444cb9f332b48f11243f"; 16 sha256 = "04wqxz8i655gz5rnz90cksy8v6m2jhcn1j8rzhqpp5xhawlmq24y"; 17 };
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 + pname = "mtPaint"; 8 + version = "3.50.01"; 9 10 src = fetchFromGitHub { 11 owner = "wjaguar"; 12 + repo = "mtPaint"; 13 rev = "a4675ff5cd9fcd57d291444cb9f332b48f11243f"; 14 sha256 = "04wqxz8i655gz5rnz90cksy8v6m2jhcn1j8rzhqpp5xhawlmq24y"; 15 };
-1
pkgs/applications/graphics/nomacs/default.nix
··· 66 description = "Qt-based image viewer"; 67 maintainers = with lib.maintainers; [ mindavi ]; 68 license = licenses.gpl3Plus; 69 - repositories.git = "https://github.com/nomacs/nomacs.git"; 70 inherit (qtbase.meta) platforms; 71 }; 72 }
··· 66 description = "Qt-based image viewer"; 67 maintainers = with lib.maintainers; [ mindavi ]; 68 license = licenses.gpl3Plus; 69 inherit (qtbase.meta) platforms; 70 }; 71 }
+107
pkgs/applications/graphics/unigine-heaven/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , makeWrapper 5 + , libX11 6 + , libXext 7 + , libXrandr 8 + , freetype 9 + , fontconfig 10 + , libXrender 11 + , libXinerama 12 + , autoPatchelfHook 13 + , libglvnd 14 + , openal 15 + , imagemagick 16 + , makeDesktopItem 17 + }: 18 + let 19 + version = "4.0"; 20 + 21 + arch = 22 + if stdenv.hostPlatform.system == "x86_64-linux" then 23 + "x64" 24 + else if stdenv.hostPlatform.system == "i686-linux" then 25 + "x86" 26 + else 27 + throw "Unsupported platform ${stdenv.hostPlatform.system}"; 28 + 29 + desktopItem = makeDesktopItem { 30 + name = "Heaven"; 31 + exec = "heaven"; 32 + genericName = "A GPU Stress test tool from the UNIGINE"; 33 + icon = "Heaven"; 34 + desktopName = "Heaven Benchmark"; 35 + }; 36 + in 37 + stdenv.mkDerivation 38 + { 39 + pname = "unigine-heaven"; 40 + inherit version; 41 + 42 + src = fetchurl { 43 + url = "https://assets.unigine.com/d/Unigine_Heaven-${version}.run"; 44 + sha256 = "19rndwwxnb9k2nw9h004hyrmr419471s0fp25yzvvc6rkd521c0v"; 45 + }; 46 + 47 + installPhase = 48 + '' 49 + sh $src --target $name 50 + 51 + mkdir -p $out/lib/unigine/heaven/bin 52 + mkdir -p $out/bin 53 + mkdir -p $out/share/applications/ 54 + mkdir -p $out/share/icons/hicolor 55 + 56 + install -m 0755 $name/bin/browser_${arch} $out/lib/unigine/heaven/bin 57 + install -m 0755 $name/bin/libApp{Stereo,Surround,Wall}_${arch}.so $out/lib/unigine/heaven/bin 58 + install -m 0755 $name/bin/libGPUMonitor_${arch}.so $out/lib/unigine/heaven/bin 59 + install -m 0755 $name/bin/libQt{Core,Gui,Network,WebKit,Xml}Unigine_${arch}.so.4 $out/lib/unigine/heaven/bin 60 + install -m 0755 $name/bin/libUnigine_${arch}.so $out/lib/unigine/heaven/bin 61 + install -m 0755 $name/bin/heaven_${arch} $out/lib/unigine/heaven/bin 62 + install -m 0755 $name/heaven $out/bin/heaven 63 + 64 + cp -R $name/data $name/documentation $out/lib/unigine/heaven 65 + 66 + wrapProgram $out/bin/heaven --prefix LD_LIBRARY_PATH : ${libglvnd}/lib:$out/bin:${openal}/lib --run "cd $out/lib/unigine/heaven/" 67 + 68 + convert $out/lib/unigine/heaven/data/launcher/icon.png -resize 128x128 $out/share/icons/Heaven.png 69 + for RES in 16 24 32 48 64 128 256 70 + do 71 + mkdir -p $out/share/icons/hicolor/"$RES"x"$RES"/apps 72 + convert $out/lib/unigine/heaven/data/launcher/icon.png -resize "$RES"x"$RES" $out/share/icons/hicolor/"$RES"x"$RES"/apps/Heaven.png 73 + done 74 + 75 + ln -s ${desktopItem}/share/applications/* $out/share/applications 76 + ''; 77 + 78 + nativeBuildInputs = 79 + [ 80 + autoPatchelfHook 81 + makeWrapper 82 + imagemagick 83 + ]; 84 + 85 + buildInputs = 86 + [ 87 + libX11 88 + stdenv.cc.cc 89 + libXext 90 + libXrandr 91 + freetype 92 + fontconfig 93 + libXrender 94 + libXinerama 95 + ]; 96 + 97 + dontUnpack = true; 98 + 99 + meta = 100 + { 101 + description = "The Unigine Heaven GPU benchmarking tool"; 102 + homepage = "https://benchmark.unigine.com/heaven"; 103 + license = lib.licenses.unfree; 104 + maintainers = [ lib.maintainers.BarinovMaxim ]; 105 + platforms = [ "x86_64-linux" "i686-linux" ]; 106 + }; 107 + }
+3 -3
pkgs/applications/graphics/xournal/default.nix
··· 10 11 stdenv.mkDerivation rec { 12 version = "0.4.8.2016"; 13 - name = "xournal-" + version; 14 src = fetchurl { 15 - url = "mirror://sourceforge/xournal/${name}.tar.gz"; 16 sha256 = "09i88v3wacmx7f96dmq0l3afpyv95lh6jrx16xzm0jd1szdrhn5j"; 17 }; 18 ··· 30 + lib.optionalString (!isGdkQuartzBackend) " -lX11"; 31 32 desktopItem = makeDesktopItem { 33 - name = name; 34 exec = "xournal"; 35 icon = "xournal"; 36 desktopName = "Xournal";
··· 10 11 stdenv.mkDerivation rec { 12 version = "0.4.8.2016"; 13 + pname = "xournal"; 14 src = fetchurl { 15 + url = "mirror://sourceforge/xournal/xournal-${version}.tar.gz"; 16 sha256 = "09i88v3wacmx7f96dmq0l3afpyv95lh6jrx16xzm0jd1szdrhn5j"; 17 }; 18 ··· 30 + lib.optionalString (!isGdkQuartzBackend) " -lX11"; 31 32 desktopItem = makeDesktopItem { 33 + name = "xournal-${version}"; 34 exec = "xournal"; 35 icon = "xournal"; 36 desktopName = "Xournal";
+5 -4
pkgs/applications/misc/avrdudess/default.nix
··· 2 3 stdenv.mkDerivation { 4 pname = "avrdudess"; 5 - version = "2.2.20140102"; 6 7 src = fetchurl { 8 - url = "http://blog.zakkemble.co.uk/download/avrdudess_20140102.zip"; 9 - sha256 = "18llpvjsfhypzijrvfbzmcg3g141f307mzsrg11wcdxh9syxqak6"; 10 }; 11 12 nativeBuildInputs = [ unzip ]; ··· 36 37 meta = with lib; { 38 description = "GUI for AVRDUDE (AVR microcontroller programmer)"; 39 - homepage = "https://github.com/zkemble/AVRDUDESS"; 40 license = licenses.gpl3; 41 platforms = platforms.linux; 42 maintainers = [ maintainers.bjornfor ];
··· 2 3 stdenv.mkDerivation { 4 pname = "avrdudess"; 5 + version = "2.13"; 6 7 src = fetchurl { 8 + url = "https://github.com/ZakKemble/AVRDUDESS/releases/download/v2.13/AVRDUDESS-2.13-portable.zip"; 9 + sha256 = "0fpvc19fb14ppqfb2yg821szmhyanxcp5chfldf8yh51f64zihv9"; 10 }; 11 12 nativeBuildInputs = [ unzip ]; ··· 36 37 meta = with lib; { 38 description = "GUI for AVRDUDE (AVR microcontroller programmer)"; 39 + homepage = "https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/"; 40 + changelog = "https://github.com/ZakKemble/AVRDUDESS/blob/v${version}/Changelog.txt"; 41 license = licenses.gpl3; 42 platforms = platforms.linux; 43 maintainers = [ maintainers.bjornfor ];
+2 -4
pkgs/applications/misc/gosmore/default.nix
··· 1 { lib, stdenv, fetchsvn, libxml2, gtk2, curl, pkg-config } : 2 3 - let 4 version = "31801"; 5 - in 6 - stdenv.mkDerivation { 7 - name = "gosmore-r${version}"; 8 # the gosmore svn repository does not lock revision numbers of its externals 9 # so we explicitly disable them to avoid breaking the hash 10 # especially as the externals appear to be unused
··· 1 { lib, stdenv, fetchsvn, libxml2, gtk2, curl, pkg-config } : 2 3 + stdenv.mkDerivation rec { 4 + pname = "gosmore"; 5 version = "31801"; 6 # the gosmore svn repository does not lock revision numbers of its externals 7 # so we explicitly disable them to avoid breaking the hash 8 # especially as the externals appear to be unused
+2 -2
pkgs/applications/misc/lighthouse/default.nix
··· 3 }: 4 5 stdenv.mkDerivation rec { 6 - name = "lighthouse-${date}"; 7 - date = "2016-07-20"; 8 9 src = fetchFromGitHub { 10 owner = "emgram769";
··· 3 }: 4 5 stdenv.mkDerivation rec { 6 + pname = "lighthouse"; 7 + version = "unstable-2016-07-20"; 8 9 src = fetchFromGitHub { 10 owner = "emgram769";
+4 -4
pkgs/applications/misc/mucommander/default.nix
··· 2 3 let 4 version = "0.9.3-3"; 5 - name = "mucommander-${version}"; 6 7 src = fetchFromGitHub { 8 owner = "mucommander"; ··· 34 35 # fake build to pre-download deps into fixed-output derivation 36 deps = stdenv.mkDerivation { 37 - name = "${name}-deps"; 38 - inherit src postPatch; 39 nativeBuildInputs = [ gradle_6 perl ]; 40 buildPhase = '' 41 export GRADLE_USER_HOME=$(mktemp -d) ··· 53 }; 54 55 in stdenv.mkDerivation { 56 - inherit name src postPatch; 57 nativeBuildInputs = [ gradle_6 perl makeWrapper ]; 58 59 buildPhase = ''
··· 2 3 let 4 version = "0.9.3-3"; 5 6 src = fetchFromGitHub { 7 owner = "mucommander"; ··· 33 34 # fake build to pre-download deps into fixed-output derivation 35 deps = stdenv.mkDerivation { 36 + pname = "mucommander-deps"; 37 + inherit version src postPatch; 38 nativeBuildInputs = [ gradle_6 perl ]; 39 buildPhase = '' 40 export GRADLE_USER_HOME=$(mktemp -d) ··· 52 }; 53 54 in stdenv.mkDerivation { 55 + pname = "mucommander"; 56 + inherit version src postPatch; 57 nativeBuildInputs = [ gradle_6 perl makeWrapper ]; 58 59 buildPhase = ''
-1
pkgs/applications/misc/mupdf/1.17.nix
··· 82 83 meta = with lib; { 84 homepage = "https://mupdf.com"; 85 - repositories.git = "git://git.ghostscript.com/mupdf.git"; 86 description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C"; 87 license = licenses.agpl3Plus; 88 maintainers = with maintainers; [ vrthra fpletz ];
··· 82 83 meta = with lib; { 84 homepage = "https://mupdf.com"; 85 description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C"; 86 license = licenses.agpl3Plus; 87 maintainers = with maintainers; [ vrthra fpletz ];
-1
pkgs/applications/misc/mupdf/default.nix
··· 111 112 meta = with lib; { 113 homepage = "https://mupdf.com"; 114 - repositories.git = "git://git.ghostscript.com/mupdf.git"; 115 description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C"; 116 license = licenses.agpl3Plus; 117 maintainers = with maintainers; [ vrthra fpletz ];
··· 111 112 meta = with lib; { 113 homepage = "https://mupdf.com"; 114 description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C"; 115 license = licenses.agpl3Plus; 116 maintainers = with maintainers; [ vrthra fpletz ];
-1
pkgs/applications/misc/nut/default.nix
··· 49 It uses a layered approach to connect all of the parts. 50 ''; 51 homepage = "https://networkupstools.org/"; 52 - repositories.git = "https://github.com/networkupstools/nut.git"; 53 platforms = platforms.linux; 54 maintainers = [ maintainers.pierron ]; 55 license = with licenses; [ gpl1Plus gpl2Plus gpl3Plus ];
··· 49 It uses a layered approach to connect all of the parts. 50 ''; 51 homepage = "https://networkupstools.org/"; 52 platforms = platforms.linux; 53 maintainers = [ maintainers.pierron ]; 54 license = with licenses; [ gpl1Plus gpl2Plus gpl3Plus ];
+2 -1
pkgs/applications/misc/obsidian/default.nix
··· 49 desktopName = "Obsidian"; 50 comment = "Knowledge base"; 51 icon = "obsidian"; 52 - exec = "obsidian"; 53 categories = [ "Office" ]; 54 }; 55 56 inherit pname version src;
··· 49 desktopName = "Obsidian"; 50 comment = "Knowledge base"; 51 icon = "obsidian"; 52 + exec = "obsidian %u"; 53 categories = [ "Office" ]; 54 + mimeTypes = [ "x-scheme-handler/obsidian" ]; 55 }; 56 57 inherit pname version src;
+42 -1
pkgs/applications/misc/octoprint/default.nix
··· 34 (mkOverride "markdown" "3.1.1" "2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a") 35 (mkOverride "markupsafe" "1.1.1" "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b") 36 37 # Requires flask<2, cannot mkOverride because tests need to be disabled 38 ( 39 self: super: { ··· 400 homepage = "https://octoprint.org/"; 401 description = "The snappy web interface for your 3D printer"; 402 license = licenses.agpl3Only; 403 - maintainers = with maintainers; [ abbradar gebner WhittlesJr ]; 404 }; 405 }; 406 }
··· 34 (mkOverride "markdown" "3.1.1" "2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a") 35 (mkOverride "markupsafe" "1.1.1" "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b") 36 37 + # black uses hash, not sha256 identifier. Newer black version requires newer click version 38 + ( 39 + self: super: { 40 + black = super.black.overridePythonAttrs (oldAttrs: rec { 41 + version = "21.12b0"; 42 + src = oldAttrs.src.override { 43 + inherit version; 44 + hash = "sha256-d7gPaTpWni5SeVhFljTxjfmwuiYluk4MLV2lvkLm8rM="; 45 + }; 46 + doCheck = false; 47 + }); 48 + } 49 + ) 50 + 51 + # tests need network 52 + ( 53 + self: super: { 54 + curio = super.curio.overridePythonAttrs (oldAttrs: rec { 55 + disabledTests = [ 56 + "test_timeout" 57 + "test_ssl_outgoing" 58 + ]; 59 + }); 60 + } 61 + ) 62 + 63 + # tests need network 64 + ( 65 + self: super: { 66 + trio = super.trio.overridePythonAttrs (oldAttrs: rec { 67 + disabledTests = [ 68 + "test_local_address_real" 69 + ]; 70 + disabledTestPaths = [ 71 + "trio/tests/test_exports.py" 72 + "trio/tests/test_socket.py" 73 + ]; 74 + }); 75 + } 76 + ) 77 + 78 # Requires flask<2, cannot mkOverride because tests need to be disabled 79 ( 80 self: super: { ··· 441 homepage = "https://octoprint.org/"; 442 description = "The snappy web interface for your 3D printer"; 443 license = licenses.agpl3Only; 444 + maintainers = with maintainers; [ abbradar gebner WhittlesJr gador ]; 445 }; 446 }; 447 }
+3 -5
pkgs/applications/misc/pdfdiff/default.nix
··· 1 { lib, python2Packages, fetchurl, xpdf }: 2 - let 3 - py = python2Packages; 4 - in 5 - py.buildPythonApplication rec { 6 - name = "pdfdiff-${version}"; 7 version = "0.92"; 8 9 src = fetchurl {
··· 1 { lib, python2Packages, fetchurl, xpdf }: 2 + 3 + python2Packages.buildPythonApplication rec { 4 + pname = "pdfdiff"; 5 version = "0.92"; 6 7 src = fetchurl {
+3 -4
pkgs/applications/misc/pdfpc/default.nix
··· 3 , webkitgtk, discount, json-glib }: 4 5 stdenv.mkDerivation rec { 6 - name = "${product}-${version}"; 7 - product = "pdfpc"; 8 version = "4.5.0"; 9 10 src = fetchFromGitHub { 11 - repo = product; 12 - owner = product; 13 rev = "v${version}"; 14 sha256 = "0bmy51w6ypz927hxwp5g7wapqvzqmsi3w32rch6i3f94kg1152ck"; 15 };
··· 3 , webkitgtk, discount, json-glib }: 4 5 stdenv.mkDerivation rec { 6 + pname = "pdfpc"; 7 version = "4.5.0"; 8 9 src = fetchFromGitHub { 10 + repo = "pdfpc"; 11 + owner = "pdfpc"; 12 rev = "v${version}"; 13 sha256 = "0bmy51w6ypz927hxwp5g7wapqvzqmsi3w32rch6i3f94kg1152ck"; 14 };
+2 -3
pkgs/applications/misc/qmetro/default.nix
··· 1 { lib, stdenv, fetchurl, qmake4Hook, unzip, qt4 }: 2 3 stdenv.mkDerivation rec { 4 - name = "${project}-${version}"; 5 - project = "qmetro"; 6 version = "0.7.1"; 7 8 src = fetchurl { 9 - url = "mirror://sourceforge/${project}/${name}.zip"; 10 sha256 = "1zdj87lzcr43gr2h05g17z31pd22n5kxdwbvx7rx656rmhv0sjq5"; 11 }; 12
··· 1 { lib, stdenv, fetchurl, qmake4Hook, unzip, qt4 }: 2 3 stdenv.mkDerivation rec { 4 + pname = "qmetro"; 5 version = "0.7.1"; 6 7 src = fetchurl { 8 + url = "mirror://sourceforge/qmetro/qmetro-${version}.zip"; 9 sha256 = "1zdj87lzcr43gr2h05g17z31pd22n5kxdwbvx7rx656rmhv0sjq5"; 10 }; 11
+2 -4
pkgs/applications/misc/sleepyhead/default.nix
··· 1 { lib, stdenv, mkDerivation, fetchgit, zlib, libGLU, libX11, qtbase, qtwebkit, qtserialport, wrapQtAppsHook }: 2 3 - let 4 - name = "sleepyhead-${version}"; 5 version = "1.0.0-beta-git"; 6 - in mkDerivation { 7 - inherit name; 8 9 src = fetchgit { 10 url = "https://gitlab.com/sleepyhead/sleepyhead-code.git";
··· 1 { lib, stdenv, mkDerivation, fetchgit, zlib, libGLU, libX11, qtbase, qtwebkit, qtserialport, wrapQtAppsHook }: 2 3 + mkDerivation { 4 + pname = "sleepyhead"; 5 version = "1.0.0-beta-git"; 6 7 src = fetchgit { 8 url = "https://gitlab.com/sleepyhead/sleepyhead-code.git";
+10 -21
pkgs/applications/misc/slmenu/default.nix
··· 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}"; 9 url = "https://bitbucket.org/rafaelgg/slmenu/"; 10 rev = "7e74fa5db73e8b018da48d50dbbaf11cb5c62d13"; 11 sha256 = "0zb7mm8344d3xmvrl62psazcabfk75pp083jqkmywdsrikgjagv6"; 12 }; 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 makeFlags = [ "PREFIX=$(out)" ]; 23 - meta = { 24 - inherit (s) version; 25 description = "A console dmenu-like tool"; 26 - license = lib.licenses.mit; 27 - maintainers = [lib.maintainers.raskin]; 28 - platforms = lib.platforms.linux; 29 }; 30 }
··· 1 {lib, stdenv, fetchhg}: 2 + 3 + stdenv.mkDerivation { 4 + pname = "slmenu"; 5 + version = "hg-2012-02-01"; 6 + 7 + src = fetchhg { 8 url = "https://bitbucket.org/rafaelgg/slmenu/"; 9 rev = "7e74fa5db73e8b018da48d50dbbaf11cb5c62d13"; 10 sha256 = "0zb7mm8344d3xmvrl62psazcabfk75pp083jqkmywdsrikgjagv6"; 11 }; 12 makeFlags = [ "PREFIX=$(out)" ]; 13 + meta = with lib; { 14 description = "A console dmenu-like tool"; 15 + license = licenses.mit; 16 + maintainers = with maintainers; [ raskin ]; 17 + platforms = platforms.linux; 18 }; 19 }
+3 -3
pkgs/applications/misc/tuhi/default.nix
··· 13 }: 14 15 python3Packages.buildPythonApplication rec { 16 - name = "tuhi"; 17 version = "0.5"; 18 19 format = "other"; 20 21 src = fetchFromGitHub { 22 owner = "tuhiproject"; 23 - repo = name; 24 - rev = "${version}"; 25 sha256 = "17kggm9c423vj7irxx248fjc8sxvkp9w1mgawlx1snrii817p3db"; 26 }; 27
··· 13 }: 14 15 python3Packages.buildPythonApplication rec { 16 + pname = "tuhi"; 17 version = "0.5"; 18 19 format = "other"; 20 21 src = fetchFromGitHub { 22 owner = "tuhiproject"; 23 + repo = "tuhi"; 24 + rev = version; 25 sha256 = "17kggm9c423vj7irxx248fjc8sxvkp9w1mgawlx1snrii817p3db"; 26 }; 27
+5 -5
pkgs/applications/misc/urlview/default.nix
··· 1 { lib, stdenv, fetchurl, ncurses, autoreconfHook }: 2 3 stdenv.mkDerivation rec { 4 - version = "0.9"; 5 patchLevel = "19"; 6 - 7 - name = "urlview-${version}-${patchLevel}"; 8 9 urlBase = "mirror://debian/pool/main/u/urlview/"; 10 11 src = fetchurl { 12 - url = urlBase + "urlview_${version}.orig.tar.gz"; 13 sha256 = "746ff540ccf601645f500ee7743f443caf987d6380e61e5249fc15f7a455ed42"; 14 }; 15 ··· 25 ''; 26 27 debianPatches = fetchurl { 28 - url = urlBase + "urlview_${version}-${patchLevel}.diff.gz"; 29 sha256 = "056883c17756f849fb9235596d274fbc5bc0d944fcc072bdbb13d1e828301585"; 30 }; 31
··· 1 { lib, stdenv, fetchurl, ncurses, autoreconfHook }: 2 3 stdenv.mkDerivation rec { 4 + pname = "urlview"; 5 + _version = "0.9"; 6 patchLevel = "19"; 7 + version = "${_version}-${patchLevel}"; 8 9 urlBase = "mirror://debian/pool/main/u/urlview/"; 10 11 src = fetchurl { 12 + url = urlBase + "urlview_${_version}.orig.tar.gz"; 13 sha256 = "746ff540ccf601645f500ee7743f443caf987d6380e61e5249fc15f7a455ed42"; 14 }; 15 ··· 25 ''; 26 27 debianPatches = fetchurl { 28 + url = urlBase + "urlview_${_version}-${patchLevel}.diff.gz"; 29 sha256 = "056883c17756f849fb9235596d274fbc5bc0d944fcc072bdbb13d1e828301585"; 30 }; 31
+1 -1
pkgs/applications/misc/xmr-stak/default.nix
··· 11 in 12 13 stdenv'.mkDerivation rec { 14 - name = "xmr-stak-${version}"; 15 version = "2.10.8"; 16 17 src = fetchFromGitHub {
··· 11 in 12 13 stdenv'.mkDerivation rec { 14 + pname = "xmr-stak"; 15 version = "2.10.8"; 16 17 src = fetchFromGitHub {
+3 -3
pkgs/applications/misc/zscroll/default.nix
··· 1 { lib, python3, python3Packages, fetchFromGitHub }: 2 3 - let version = "1.0"; in 4 5 - python3Packages.buildPythonApplication { 6 - name = "zscroll-${version}"; 7 # don't prefix with python version 8 namePrefix = ""; 9
··· 1 { lib, python3, python3Packages, fetchFromGitHub }: 2 3 + python3Packages.buildPythonApplication rec { 4 + pname = "zscroll"; 5 + version = "1.0"; 6 7 # don't prefix with python version 8 namePrefix = ""; 9
+1 -1
pkgs/applications/networking/browsers/chromium/common.nix
··· 114 }; 115 116 base = rec { 117 - name = "${packageName}-unwrapped-${version}"; 118 inherit (upstream-info) version; 119 inherit packageName buildType buildPath; 120
··· 114 }; 115 116 base = rec { 117 + pname = "${packageName}-unwrapped"; 118 inherit (upstream-info) version; 119 inherit packageName buildType buildPath; 120
+2 -2
pkgs/applications/networking/browsers/chromium/default.nix
··· 157 else browser; 158 159 in stdenv.mkDerivation { 160 - name = lib.optionalString ungoogled "ungoogled-" 161 - + "chromium${suffix}-${version}"; 162 inherit version; 163 164 nativeBuildInputs = [
··· 157 else browser; 158 159 in stdenv.mkDerivation { 160 + pname = lib.optionalString ungoogled "ungoogled-" 161 + + "chromium${suffix}"; 162 inherit version; 163 164 nativeBuildInputs = [
+6 -6
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 19 } 20 }, 21 "beta": { 22 - "version": "100.0.4896.46", 23 - "sha256": "1qx22vadv9yd3n52pjn2sr153w70k3sxi2i8f99fdpil0kin8jkx", 24 - "sha256bin64": "1g4xygj3946322aill7lk1qf0hi07bjn3awa17pkn1sgbl3gm8nr", 25 "deps": { 26 "gn": { 27 "version": "2022-01-21", ··· 32 } 33 }, 34 "dev": { 35 - "version": "101.0.4947.0", 36 - "sha256": "176bby8xis0j3ifvxxxjgklvs7yd7v71c5lc18qdjkgzv5qdx0sy", 37 - "sha256bin64": "1rkpc25ff8vf1p7znpmaljj8gwcym34qg28b4anv8x9zvwn7w21s", 38 "deps": { 39 "gn": { 40 "version": "2022-03-14",
··· 19 } 20 }, 21 "beta": { 22 + "version": "100.0.4896.56", 23 + "sha256": "0vdyddxhmkw9bqwx5j19h69swx9ysiipsmcc1sjl0qv8bn8f790z", 24 + "sha256bin64": "09h4fxsx0q5b0gn258xnmk11qz7ql8flpn4mq5x201abmv29y856", 25 "deps": { 26 "gn": { 27 "version": "2022-01-21", ··· 32 } 33 }, 34 "dev": { 35 + "version": "101.0.4951.7", 36 + "sha256": "0xnvbiqi50hgky35qaivcyzfp05nnwfwqrd50dksqkzycl8avb4z", 37 + "sha256bin64": "19my3zr9d3w2ypl9cm1xa15vhyv9add1f283alb9fmh2qwhl4scg", 38 "deps": { 39 "gn": { 40 "version": "2022-03-14",
+1 -1
pkgs/applications/networking/browsers/firefox-bin/default.nix
··· 188 ln -s ${policiesJson} "$out/lib/firefox-bin-${version}/distribution/policies.json"; 189 ''; 190 191 - passthru.applicationName = "firefox"; 192 passthru.libName = "firefox-bin-${version}"; 193 passthru.execdir = "/bin"; 194 passthru.ffmpegSupport = true;
··· 188 ln -s ${policiesJson} "$out/lib/firefox-bin-${version}/distribution/policies.json"; 189 ''; 190 191 + passthru.binaryName = "firefox"; 192 passthru.libName = "firefox-bin-${version}"; 193 passthru.execdir = "/bin"; 194 passthru.ffmpegSupport = true;
+203 -169
pkgs/applications/networking/browsers/firefox/common.nix
··· 1 - { pname, version, meta, updateScript ? null 2 - , binaryName ? "firefox", application ? "browser" 3 - , src, unpackPhase ? null, patches ? [] 4 - , extraNativeBuildInputs ? [], extraConfigureFlags ? [], extraMakeFlags ? [], tests ? [] 5 - , extraPostPatch ? "", extraPassthru ? {} }: 6 7 - { lib, stdenv, pkg-config, pango, perl, python3, zip 8 - , libjpeg, zlib, dbus, dbus-glib, bzip2, xorg 9 - , freetype, fontconfig, file, nspr, nss 10 - , yasm, libGLU, libGL, sqlite, unzip, makeWrapper 11 - , hunspell, libevent, libstartup_notification 12 - , libvpx 13 - , icu70, libpng, glib, pciutils 14 - , autoconf213, which, gnused, rustPackages, rustPlatform 15 - , rust-cbindgen, nodejs, nasm, fetchpatch 16 , gnum4 17 - , gtk3, wrapGAppsHook 18 - , pkgsCross 19 , debugBuild ? false 20 - , runCommand 21 22 - ### optionals 23 24 ## optional libraries 25 26 , alsaSupport ? stdenv.isLinux, alsa-lib 27 - , pulseaudioSupport ? stdenv.isLinux, libpulseaudio 28 , ffmpegSupport ? true 29 - , waylandSupport ? true, libxkbcommon, libdrm 30 - , ltoSupport ? (stdenv.isLinux && stdenv.is64bit), overrideCC, buildPackages 31 , gssSupport ? true, libkrb5 32 - , pipewireSupport ? waylandSupport && webrtcSupport, pipewire 33 - # Jemalloc could reduce memory consumption. 34 , jemallocSupport ? true, jemalloc 35 36 ## privacy-related options 37 ··· 40 # WARNING: NEVER set any of the options below to `true` by default. 41 # Set to `!privacySupport` or `false`. 42 43 - # webrtcSupport breaks the aarch64 build on version >= 60, fixed in 63. 44 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1434589 45 - , webrtcSupport ? !privacySupport 46 , geolocationSupport ? !privacySupport 47 , googleAPISupport ? geolocationSupport 48 - , crashreporterSupport ? false 49 - 50 - , safeBrowsingSupport ? false 51 - , drmSupport ? false 52 53 - # macOS dependencies 54 - , xcbuild, CoreMedia, ExceptionHandling, Kerberos, AVFoundation, MediaToolbox 55 - , CoreLocation, Foundation, AddressBook, libobjc, cups, rsync 56 57 - ## other 58 59 # As stated by Sylvestre Ledru (@sylvestre) on Nov 22, 2017 at 60 # https://github.com/NixOS/nixpkgs/issues/31843#issuecomment-346372756 we ··· 75 # > the experience of Firefox users, you won't have any issues using the 76 # > official branding. 77 , enableOfficialBranding ? true 78 - 79 - # On 32bit platforms, we disable adding "-g" for easier linking. 80 - , enableDebugSymbols ? !stdenv.is32bit 81 }: 82 83 assert stdenv.cc.libc or null != null; 84 assert pipewireSupport -> !waylandSupport || !webrtcSupport -> throw "pipewireSupport requires both wayland and webrtc support."; 85 - assert ltoSupport -> stdenv.isDarwin -> throw "LTO is broken on Darwin (see PR#19312)."; 86 87 let 88 flag = tf: x: [(if tf then "--enable-${x}" else "--disable-${x}")]; 89 90 - default-toolkit = if stdenv.isDarwin then "cairo-cocoa" 91 - else "cairo-gtk3${lib.optionalString waylandSupport "-wayland"}"; 92 - 93 - binaryNameCapitalized = lib.toUpper (lib.substring 0 1 binaryName) + lib.substring 1 (-1) binaryName; 94 - 95 - applicationName = if stdenv.isDarwin then binaryNameCapitalized else binaryName; 96 - 97 - execdir = if stdenv.isDarwin 98 - then "/Applications/${binaryNameCapitalized}.app/Contents/MacOS" 99 - else "/bin"; 100 - 101 - inherit (rustPackages) rustc cargo; 102 - 103 - # Darwin's stdenv provides the default llvmPackages version, match that since 104 - # clang LTO on Darwin is broken so the stdenv is not being changed. 105 - # Target the LLVM version that rustc -Vv reports it is built with for LTO. 106 - llvmPackages0 = 107 - if stdenv.isDarwin 108 - then buildPackages.llvmPackages 109 - else rustc.llvmPackages; 110 111 # Force the use of lld and other llvm tools for LTO 112 llvmPackages = llvmPackages0.override { ··· 114 bootBintools = null; 115 }; 116 117 - # When LTO for Darwin is fixed, the following will need updating as lld 118 - # doesn't work on it. For now it is fine since ltoSupport implies no Darwin. 119 buildStdenv = if ltoSupport 120 - # LTO requires LLVM bintools including ld.lld and llvm-ar. 121 - then overrideCC llvmPackages.stdenv (llvmPackages.stdenv.cc.override { 122 - inherit (llvmPackages) bintools; 123 - }) 124 - else stdenv; 125 126 # Compile the wasm32 sysroot to build the RLBox Sandbox 127 # https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/ ··· 141 inherit src unpackPhase meta; 142 143 patches = [ 144 - ] ++ 145 - lib.optional (lib.versionAtLeast version "86") ./env_var_for_system_dir-ff86.patch ++ 146 - lib.optional (lib.versionAtLeast version "90" && lib.versionOlder version "95") ./no-buildconfig-ffx90.patch ++ 147 - lib.optional (lib.versionAtLeast version "96") ./no-buildconfig-ffx96.patch ++ 148 149 - patches; 150 151 # Ignore trivial whitespace changes in patches, this fixes compatibility of 152 # ./env_var_for_system_dir.patch with Firefox >=65 without having to track 153 # two patches. 154 patchFlags = [ "-p1" "-l" ]; 155 156 - buildInputs = [ 157 - gnum4 gtk3 perl zip libjpeg zlib bzip2 158 - dbus dbus-glib pango freetype fontconfig xorg.libXi xorg.libXcursor 159 - xorg.libX11 xorg.libXrender xorg.libXft xorg.libXt file 160 - xorg.pixman yasm libGLU libGL 161 - xorg.xorgproto 162 - xorg.libXdamage 163 - xorg.libXext 164 - xorg.libXtst 165 - libevent libstartup_notification /* cairo */ 166 - libpng glib 167 - nasm icu70 libvpx 168 - # >= 66 requires nasm for the AV1 lib dav1d 169 - # yasm can potentially be removed in future versions 170 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1501796 171 - # https://groups.google.com/forum/#!msg/mozilla.dev.platform/o-8levmLU80/SM_zQvfzCQAJ 172 - nspr nss 173 ] 174 - ++ lib.optional alsaSupport alsa-lib 175 - ++ lib.optional pulseaudioSupport libpulseaudio # only headers are needed 176 - ++ lib.optional gssSupport libkrb5 177 - ++ lib.optionals waylandSupport [ libxkbcommon libdrm ] 178 - ++ lib.optional pipewireSupport pipewire 179 - ++ lib.optional jemallocSupport jemalloc 180 - ++ lib.optionals buildStdenv.isDarwin [ CoreMedia ExceptionHandling Kerberos 181 - AVFoundation MediaToolbox CoreLocation 182 - Foundation libobjc AddressBook cups ]; 183 184 - MACH_USE_SYSTEM_PYTHON = "1"; 185 - 186 - postPatch = '' 187 - rm -rf obj-x86_64-pc-linux-gnu 188 - substituteInPlace toolkit/xre/glxtest.cpp \ 189 - --replace 'dlopen("libpci.so' 'dlopen("${pciutils}/lib/libpci.so' 190 - 191 - patchShebangs mach 192 - '' + extraPostPatch; 193 - 194 - nativeBuildInputs = 195 - [ 196 - autoconf213 197 - cargo 198 - gnused 199 - llvmPackages.llvm # llvm-objdump 200 - makeWrapper 201 - nodejs 202 - perl 203 - pkg-config 204 - python3 205 - rust-cbindgen 206 - rustc 207 - which 208 - unzip 209 - wrapGAppsHook 210 - rustPlatform.bindgenHook 211 - ] 212 - ++ lib.optionals buildStdenv.isDarwin [ xcbuild rsync ] 213 - ++ extraNativeBuildInputs; 214 - 215 - separateDebugInfo = enableDebugSymbols; 216 setOutputFlags = false; # `./mach configure` doesn't understand `--*dir=` flags. 217 218 preConfigure = '' 219 # remove distributed configuration files 220 - rm -f configure 221 - rm -f js/src/configure 222 - rm -f .mozconfig* 223 - # this will run autoconf213 224 configureScript="$(realpath ./mach) configure" 225 export MOZBUILD_STATE_PATH=$(pwd)/mozbuild 226 227 # Set consistent remoting name to ensure wmclass matches with desktop file 228 export MOZ_APP_REMOTINGNAME="${binaryName}" 229 230 - '' + (lib.optionalString (lib.versionAtLeast version "95.0") '' 231 # RBox WASM Sandboxing 232 export WASM_CC=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}cc 233 export WASM_CXX=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}c++ 234 - '') + (lib.optionalString googleAPISupport '' 235 # Google API key used by Chromium and Firefox. 236 # Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, 237 # please get your own set of keys. ··· 239 # 60.5+ & 66+ did split the google API key arguments: https://bugzilla.mozilla.org/show_bug.cgi?id=1531176 240 configureFlagsArray+=("--with-google-location-service-api-keyfile=$TMPDIR/ga") 241 configureFlagsArray+=("--with-google-safebrowsing-api-keyfile=$TMPDIR/ga") 242 - '') + '' 243 - # AS=as in the environment causes build failure https://bugzilla.mozilla.org/show_bug.cgi?id=1497286 244 - unset AS 245 - '' + (lib.optionalString enableOfficialBranding '' 246 export MOZILLA_OFFICIAL=1 247 - export BUILD_OFFICIAL=1 248 - ''); 249 250 configureFlags = [ 251 "--enable-application=${application}" 252 "--with-system-jpeg" 253 - "--with-system-zlib" 254 "--with-system-libevent" 255 "--with-system-libvpx" 256 - "--with-system-png" # needs APNG support 257 - "--with-system-icu" 258 - "--enable-system-ffi" 259 - "--enable-system-pixman" 260 - #"--enable-system-cairo" 261 - "--disable-tests" 262 - "--disable-necko-wifi" # maybe we want to enable this at some point 263 - "--disable-updater" 264 - "--enable-default-toolkit=${default-toolkit}" 265 - "--with-libclang-path=${llvmPackages.libclang.lib}/lib" 266 "--with-system-nspr" 267 "--with-system-nss" 268 ] 269 - ++ lib.optional (buildStdenv.isDarwin) "--disable-xcode-checks" 270 ++ lib.optional (!ltoSupport) "--with-clang-path=${llvmPackages.clang}/bin/clang" 271 # LTO is done using clang and lld on Linux. 272 - # Darwin needs to use the default linker as lld is not supported (yet?): 273 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1538724 274 # elf-hack is broken when using clang+lld: 275 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 276 - ++ lib.optional ltoSupport "--enable-lto=cross" # Cross-language LTO. 277 ++ lib.optional (ltoSupport && (buildStdenv.isAarch32 || buildStdenv.isi686 || buildStdenv.isx86_64)) "--disable-elf-hack" 278 - ++ lib.optional (ltoSupport && !buildStdenv.isDarwin) "--enable-linker=lld" 279 ++ lib.optional (lib.versionAtLeast version "95") "--with-wasi-sysroot=${wasiSysRoot}" 280 281 ++ flag alsaSupport "alsa" 282 ++ flag pulseaudioSupport "pulseaudio" 283 ++ flag ffmpegSupport "ffmpeg" 284 ++ flag jemallocSupport "jemalloc" 285 ++ flag gssSupport "negotiateauth" 286 ++ flag webrtcSupport "webrtc" 287 ++ flag crashreporterSupport "crashreporter" ··· 298 ++ lib.optional enableOfficialBranding "--enable-official-branding" 299 ++ extraConfigureFlags; 300 301 - postConfigure = '' 302 - cd obj-* 303 ''; 304 305 makeFlags = extraMakeFlags; 306 - 307 enableParallelBuilding = true; 308 - doCheck = false; # "--disable-tests" above 309 310 - installPhase = if buildStdenv.isDarwin then '' 311 - mkdir -p $out/Applications 312 - cp -LR dist/${binaryNameCapitalized}.app $out/Applications 313 - '' else null; 314 315 postInstall = lib.optionalString buildStdenv.isLinux '' 316 # Remove SDK cruft. FIXME: move to a separate output? ··· 322 323 # Workaround: The separateDebugInfo hook skips artifacts whose build ID's length is not 40. 324 # But we got 16-length build ID here. The function body is mainly copied from pkgs/build-support/setup-hooks/separate-debug-info.sh 325 - # Remove it when PR #146275 is merged. 326 preFixup = lib.optionalString enableDebugSymbols '' 327 _separateDebugInfo() { 328 [ -e "$prefix" ] || return 0 ··· 359 doInstallCheck = true; 360 installCheckPhase = '' 361 # Some basic testing 362 - "$out${execdir}/${applicationName}" --version 363 ''; 364 365 passthru = { 366 inherit updateScript; 367 inherit version; 368 inherit alsaSupport; 369 inherit pipewireSupport; 370 inherit nspr; 371 inherit ffmpegSupport; 372 inherit gssSupport; 373 - inherit execdir; 374 - inherit applicationName; 375 inherit tests; 376 inherit gtk3; 377 inherit wasiSysRoot;
··· 1 + { pname 2 + , version 3 + , meta 4 + , updateScript ? null 5 + , binaryName ? "firefox" 6 + , application ? "browser" 7 + , src 8 + , unpackPhase ? null 9 + , extraPatches ? [] 10 + , extraPostPatch ? "" 11 + , extraNativeBuildInputs ? [] 12 + , extraConfigureFlags ? [] 13 + , extraBuildInputs ? [] 14 + , extraMakeFlags ? [] 15 + , extraPassthru ? {} 16 + , tests ? [] 17 + }: 18 + 19 + 20 + { lib 21 + , stdenv 22 + , fetchpatch 23 + 24 + # build time 25 + , autoconf 26 + , cargo 27 + , gnused 28 + , makeWrapper 29 + , nodejs 30 + , perl 31 + , pkg-config 32 + , pkgsCross # wasm32 rlbox 33 + , python3 34 + , runCommand 35 + , rustc 36 + , rust-cbindgen 37 + , rustPlatform 38 + , unzip 39 + , which 40 + , wrapGAppsHook 41 42 + # runtime 43 + , bzip2 44 + , dbus 45 + , dbus-glib 46 + , file 47 + , fontconfig 48 + , freetype 49 + , glib 50 , gnum4 51 + , gtk3 52 + , icu 53 + , libGL 54 + , libGLU 55 + , libevent 56 + , libffi 57 + , libjpeg 58 + , libpng 59 + , libstartup_notification 60 + , libvpx 61 + , libwebp 62 + , nasm 63 + , nspr 64 + , nss 65 + , pango 66 + , xorg 67 + , zip 68 + , zlib 69 + 70 + # optionals 71 + 72 + ## debugging 73 + 74 , debugBuild ? false 75 76 + # On 32bit platforms, we disable adding "-g" for easier linking. 77 + , enableDebugSymbols ? !stdenv.is32bit 78 79 ## optional libraries 80 81 , alsaSupport ? stdenv.isLinux, alsa-lib 82 , ffmpegSupport ? true 83 , gssSupport ? true, libkrb5 84 , jemallocSupport ? true, jemalloc 85 + , ltoSupport ? (stdenv.isLinux && stdenv.is64bit), overrideCC, buildPackages 86 + , pipewireSupport ? waylandSupport && webrtcSupport 87 + , pulseaudioSupport ? stdenv.isLinux, libpulseaudio 88 + , waylandSupport ? true, libxkbcommon, libdrm 89 90 ## privacy-related options 91 ··· 94 # WARNING: NEVER set any of the options below to `true` by default. 95 # Set to `!privacySupport` or `false`. 96 97 , geolocationSupport ? !privacySupport 98 , googleAPISupport ? geolocationSupport 99 + , webrtcSupport ? !privacySupport 100 101 + ## other 102 103 + , crashreporterSupport ? false 104 + , drmSupport ? false 105 + , safeBrowsingSupport ? false 106 107 # As stated by Sylvestre Ledru (@sylvestre) on Nov 22, 2017 at 108 # https://github.com/NixOS/nixpkgs/issues/31843#issuecomment-346372756 we ··· 123 # > the experience of Firefox users, you won't have any issues using the 124 # > official branding. 125 , enableOfficialBranding ? true 126 }: 127 128 assert stdenv.cc.libc or null != null; 129 assert pipewireSupport -> !waylandSupport || !webrtcSupport -> throw "pipewireSupport requires both wayland and webrtc support."; 130 131 let 132 flag = tf: x: [(if tf then "--enable-${x}" else "--disable-${x}")]; 133 134 + # Target the LLVM version that rustc is built with for LTO. 135 + llvmPackages0 = rustc.llvmPackages; 136 137 # Force the use of lld and other llvm tools for LTO 138 llvmPackages = llvmPackages0.override { ··· 140 bootBintools = null; 141 }; 142 143 buildStdenv = if ltoSupport 144 + # LTO requires LLVM bintools including ld.lld and llvm-ar. 145 + then overrideCC llvmPackages.stdenv (llvmPackages.stdenv.cc.override { 146 + inherit (llvmPackages) bintools; 147 + }) 148 + else stdenv; 149 150 # Compile the wasm32 sysroot to build the RLBox Sandbox 151 # https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/ ··· 165 inherit src unpackPhase meta; 166 167 patches = [ 168 + ] 169 + ++ lib.optional (lib.versionAtLeast version "86") ./env_var_for_system_dir-ff86.patch 170 + ++ lib.optional (lib.versionAtLeast version "90" && lib.versionOlder version "95") ./no-buildconfig-ffx90.patch 171 + ++ lib.optional (lib.versionAtLeast version "96") ./no-buildconfig-ffx96.patch 172 + ++ extraPatches; 173 174 + postPatch = '' 175 + rm -rf obj-x86_64-pc-linux-gnu 176 + patchShebangs mach 177 + '' 178 + + extraPostPatch; 179 180 # Ignore trivial whitespace changes in patches, this fixes compatibility of 181 # ./env_var_for_system_dir.patch with Firefox >=65 without having to track 182 # two patches. 183 patchFlags = [ "-p1" "-l" ]; 184 185 + nativeBuildInputs = [ 186 + autoconf 187 + cargo 188 + gnused 189 + llvmPackages.llvm # llvm-objdump 190 + makeWrapper 191 + nodejs 192 + perl 193 + pkg-config 194 + python3 195 + rust-cbindgen 196 + rustPlatform.bindgenHook 197 + rustc 198 + unzip 199 + which 200 + wrapGAppsHook 201 ] 202 + ++ extraNativeBuildInputs; 203 204 setOutputFlags = false; # `./mach configure` doesn't understand `--*dir=` flags. 205 206 preConfigure = '' 207 # remove distributed configuration files 208 + rm -f configure js/src/configure .mozconfig* 209 + 210 + # Runs autoconf through ./mach configure in configurePhase 211 configureScript="$(realpath ./mach) configure" 212 + 213 + # Set predictable directories for build and state 214 + export MOZ_OBJDIR=$(pwd)/mozobj 215 export MOZBUILD_STATE_PATH=$(pwd)/mozbuild 216 217 # Set consistent remoting name to ensure wmclass matches with desktop file 218 export MOZ_APP_REMOTINGNAME="${binaryName}" 219 220 + # Use our own python 221 + export MACH_USE_SYSTEM_PYTHON=1 222 + 223 + # AS=as in the environment causes build failure 224 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1497286 225 + unset AS 226 + 227 + '' + lib.optionalString (lib.versionAtLeast version "95.0") '' 228 # RBox WASM Sandboxing 229 export WASM_CC=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}cc 230 export WASM_CXX=${pkgsCross.wasi32.stdenv.cc}/bin/${pkgsCross.wasi32.stdenv.cc.targetPrefix}c++ 231 + '' + lib.optionalString googleAPISupport '' 232 # Google API key used by Chromium and Firefox. 233 # Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, 234 # please get your own set of keys. ··· 236 # 60.5+ & 66+ did split the google API key arguments: https://bugzilla.mozilla.org/show_bug.cgi?id=1531176 237 configureFlagsArray+=("--with-google-location-service-api-keyfile=$TMPDIR/ga") 238 configureFlagsArray+=("--with-google-safebrowsing-api-keyfile=$TMPDIR/ga") 239 + '' + lib.optionalString enableOfficialBranding '' 240 export MOZILLA_OFFICIAL=1 241 + ''; 242 243 configureFlags = [ 244 + "--disable-tests" 245 + "--disable-updater" 246 "--enable-application=${application}" 247 + "--enable-default-toolkit=cairo-gtk3${lib.optionalString waylandSupport "-wayland"}" 248 + "--enable-system-pixman" 249 + "--with-libclang-path=${llvmPackages.libclang.lib}/lib" 250 + "--with-system-ffi" 251 + "--with-system-icu" 252 "--with-system-jpeg" 253 "--with-system-libevent" 254 "--with-system-libvpx" 255 "--with-system-nspr" 256 "--with-system-nss" 257 + "--with-system-png" # needs APNG support 258 + "--with-system-webp" 259 + "--with-system-zlib" 260 ] 261 ++ lib.optional (!ltoSupport) "--with-clang-path=${llvmPackages.clang}/bin/clang" 262 # LTO is done using clang and lld on Linux. 263 + ++ lib.optionals ltoSupport [ 264 + "--enable-lto=cross" # Cross-Language LTO 265 + "--enable-linker=lld" 266 + ] 267 # elf-hack is broken when using clang+lld: 268 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204 269 ++ lib.optional (ltoSupport && (buildStdenv.isAarch32 || buildStdenv.isi686 || buildStdenv.isx86_64)) "--disable-elf-hack" 270 ++ lib.optional (lib.versionAtLeast version "95") "--with-wasi-sysroot=${wasiSysRoot}" 271 272 ++ flag alsaSupport "alsa" 273 ++ flag pulseaudioSupport "pulseaudio" 274 ++ flag ffmpegSupport "ffmpeg" 275 ++ flag jemallocSupport "jemalloc" 276 + ++ flag geolocationSupport "necko-wifi" 277 ++ flag gssSupport "negotiateauth" 278 ++ flag webrtcSupport "webrtc" 279 ++ flag crashreporterSupport "crashreporter" ··· 290 ++ lib.optional enableOfficialBranding "--enable-official-branding" 291 ++ extraConfigureFlags; 292 293 + buildInputs = [ 294 + bzip2 295 + dbus 296 + dbus-glib 297 + file 298 + fontconfig 299 + freetype 300 + glib 301 + gnum4 302 + gtk3 303 + icu 304 + libffi 305 + libGL 306 + libGLU 307 + libevent 308 + libjpeg 309 + libpng 310 + libstartup_notification 311 + libvpx 312 + libwebp 313 + nasm 314 + nspr 315 + nss 316 + pango 317 + perl 318 + xorg.libX11 319 + xorg.libXcursor 320 + xorg.libXdamage 321 + xorg.libXext 322 + xorg.libXft 323 + xorg.libXi 324 + xorg.libXrender 325 + xorg.libXt 326 + xorg.libXtst 327 + xorg.pixman 328 + xorg.xorgproto 329 + zip 330 + zlib 331 + ] 332 + ++ lib.optional alsaSupport alsa-lib 333 + ++ lib.optional pulseaudioSupport libpulseaudio # only headers are needed 334 + ++ lib.optional gssSupport libkrb5 335 + ++ lib.optionals waylandSupport [ libxkbcommon libdrm ] 336 + ++ lib.optional jemallocSupport jemalloc 337 + ++ extraBuildInputs; 338 + 339 + preBuild = '' 340 + cd mozobj 341 ''; 342 343 makeFlags = extraMakeFlags; 344 + separateDebugInfo = enableDebugSymbols; 345 enableParallelBuilding = true; 346 347 + # tests were disabled in configureFlags 348 + doCheck = false; 349 350 postInstall = lib.optionalString buildStdenv.isLinux '' 351 # Remove SDK cruft. FIXME: move to a separate output? ··· 357 358 # Workaround: The separateDebugInfo hook skips artifacts whose build ID's length is not 40. 359 # But we got 16-length build ID here. The function body is mainly copied from pkgs/build-support/setup-hooks/separate-debug-info.sh 360 + # Remove it when https://github.com/NixOS/nixpkgs/pull/146275 is merged. 361 preFixup = lib.optionalString enableDebugSymbols '' 362 _separateDebugInfo() { 363 [ -e "$prefix" ] || return 0 ··· 394 doInstallCheck = true; 395 installCheckPhase = '' 396 # Some basic testing 397 + "$out/bin/${binaryName}" --version 398 ''; 399 400 passthru = { 401 inherit updateScript; 402 inherit version; 403 inherit alsaSupport; 404 + inherit binaryName; 405 inherit pipewireSupport; 406 inherit nspr; 407 inherit ffmpegSupport; 408 inherit gssSupport; 409 inherit tests; 410 inherit gtk3; 411 inherit wasiSysRoot;
+2 -2
pkgs/applications/networking/browsers/firefox/librewolf/default.nix
··· 6 7 inherit (src) packageVersion firefox source; 8 9 - patches = [ ./verify-telemetry-macros.patch ]; 10 11 extraConfigureFlags = [ 12 "--with-app-name=librewolf" ··· 34 extraPoliciesFiles = [ "${source}/submodules/settings/distribution/policies.json" ]; 35 36 extraPassthru = { 37 - librewolf = { inherit src patches; }; 38 inherit extraPrefsFiles extraPoliciesFiles; 39 }; 40 }
··· 6 7 inherit (src) packageVersion firefox source; 8 9 + extraPatches = [ ./verify-telemetry-macros.patch ]; 10 11 extraConfigureFlags = [ 12 "--with-app-name=librewolf" ··· 34 extraPoliciesFiles = [ "${source}/submodules/settings/distribution/policies.json" ]; 35 36 extraPassthru = { 37 + librewolf = { inherit src extraPatches; }; 38 inherit extraPrefsFiles extraPoliciesFiles; 39 }; 40 }
+5 -5
pkgs/applications/networking/browsers/firefox/librewolf/src.json
··· 1 { 2 - "packageVersion": "98.0-1", 3 "source": { 4 - "rev": "98.0-1", 5 - "sha256": "1z42a42d6z0gyc5i0pamcqq5bak6pgg1ldvlrjdyjnpvda74s0fn" 6 }, 7 "firefox": { 8 - "version": "98.0", 9 - "sha512": "5b9186dd2a5dee5f2d2a2ce156fc06e2073cf71a70891a294cf3358218592f19ec3413d33b68d6f38e3cc5f940213e590a188e2b6efc39f416e90a55f89bfd9b" 10 } 11 }
··· 1 { 2 + "packageVersion": "98.0.2-1", 3 "source": { 4 + "rev": "98.0.2-1", 5 + "sha256": "033l6mjmhfhf7b8p652s7ziw8zz725082hhzzvr3ahi498wshkx6" 6 }, 7 "firefox": { 8 + "version": "98.0.2", 9 + "sha512": "b567b53fcdc08491063d535545f558ea56ec5be02ca540661de116986245b79f509e0103cea5661faf9f4b3d30b67758ebdb4b30401e260ee27cbb300203f36e" 10 } 11 }
+14 -17
pkgs/applications/networking/browsers/firefox/wrapper.nix
··· 12 , libva 13 , mesa # firefox wants gbm for drm+dmabuf 14 , cups 15 }: 16 17 ## configurability of the wrapper itself ··· 20 21 let 22 wrapper = 23 - { applicationName ? browser.applicationName or (lib.getName browser) 24 , pname ? applicationName 25 , version ? lib.getVersion browser 26 , desktopName ? # applicationName with first letter capitalized ··· 66 ++ lib.optional (cfg.enableFXCastBridge or false) fx_cast_bridge 67 ++ extraNativeMessagingHosts 68 ); 69 - libs = lib.optionals stdenv.isLinux [ udev libva mesa libnotify xorg.libXScrnSaver cups ] 70 - ++ lib.optional (pipewireSupport && lib.versionAtLeast version "83") pipewire 71 ++ lib.optional ffmpegSupport ffmpeg 72 ++ lib.optional gssSupport libkrb5 73 ++ lib.optional useGlvnd libglvnd ··· 179 buildInputs = [ browser.gtk3 ]; 180 181 182 - buildCommand = lib.optionalString stdenv.isDarwin '' 183 - mkdir -p $out/Applications 184 - cp -R --no-preserve=mode,ownership ${browser}/Applications/${applicationName}.app $out/Applications 185 - rm -f $out${browser.execdir or "/bin"}/${applicationName} 186 - '' + '' 187 - if [ ! -x "${browser}${browser.execdir or "/bin"}/${applicationName}" ] 188 then 189 - echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${applicationName}'" 190 exit 1 191 fi 192 ··· 223 224 # create the wrapper 225 226 - executablePrefix="$out${browser.execdir or "/bin"}" 227 executablePath="$executablePrefix/${applicationName}" 228 229 if [ ! -x "$executablePath" ] 230 then 231 - echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${applicationName}'" 232 exit 1 233 fi 234 ··· 243 oldExe="$(readlink -v --canonicalize-existing "$executablePath")" 244 fi 245 246 - if [ ! -x "${browser}${browser.execdir or "/bin"}/${applicationName}" ] 247 then 248 - echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${applicationName}'" 249 exit 1 250 fi 251 252 makeWrapper "$oldExe" \ 253 - "$out${browser.execdir or "/bin"}/${applicationName}${nameSuffix}" \ 254 --prefix LD_LIBRARY_PATH ':' "$libs" \ 255 --suffix-each GTK_PATH ':' "$gtk_modules" \ 256 --prefix PATH ':' "${xdg-utils}/bin" \ 257 - --suffix PATH ':' "$out${browser.execdir or "/bin"}" \ 258 --set MOZ_APP_LAUNCHER "${applicationName}${nameSuffix}" \ 259 --set MOZ_SYSTEM_DIR "$out/lib/mozilla" \ 260 --set MOZ_LEGACY_PROFILES 1 \ ··· 278 mkdir -p "$out/share/icons/hicolor/''${res}x''${res}/apps" 279 icon=$( find "${browser}/lib/" -name "default''${res}.png" ) 280 if [ -e "$icon" ]; then ln -s "$icon" \ 281 - "$out/share/icons/hicolor/''${res}x''${res}/apps/${applicationName}.png" 282 fi 283 done 284 fi
··· 12 , libva 13 , mesa # firefox wants gbm for drm+dmabuf 14 , cups 15 + , pciutils 16 }: 17 18 ## configurability of the wrapper itself ··· 21 22 let 23 wrapper = 24 + { applicationName ? browser.binaryName or (lib.getName browser) 25 , pname ? applicationName 26 , version ? lib.getVersion browser 27 , desktopName ? # applicationName with first letter capitalized ··· 67 ++ lib.optional (cfg.enableFXCastBridge or false) fx_cast_bridge 68 ++ extraNativeMessagingHosts 69 ); 70 + libs = lib.optionals stdenv.isLinux [ udev libva mesa libnotify xorg.libXScrnSaver cups pciutils ] 71 + ++ lib.optional pipewireSupport pipewire 72 ++ lib.optional ffmpegSupport ffmpeg 73 ++ lib.optional gssSupport libkrb5 74 ++ lib.optional useGlvnd libglvnd ··· 180 buildInputs = [ browser.gtk3 ]; 181 182 183 + buildCommand = '' 184 + if [ ! -x "${browser}/bin/${applicationName}" ] 185 then 186 + echo "cannot find executable file \`${browser}/bin/${applicationName}'" 187 exit 1 188 fi 189 ··· 220 221 # create the wrapper 222 223 + executablePrefix="$out/bin" 224 executablePath="$executablePrefix/${applicationName}" 225 226 if [ ! -x "$executablePath" ] 227 then 228 + echo "cannot find executable file \`${browser}/bin/${applicationName}'" 229 exit 1 230 fi 231 ··· 240 oldExe="$(readlink -v --canonicalize-existing "$executablePath")" 241 fi 242 243 + if [ ! -x "${browser}/bin/${applicationName}" ] 244 then 245 + echo "cannot find executable file \`${browser}/bin/${applicationName}'" 246 exit 1 247 fi 248 249 makeWrapper "$oldExe" \ 250 + "$out/bin/${applicationName}${nameSuffix}" \ 251 --prefix LD_LIBRARY_PATH ':' "$libs" \ 252 --suffix-each GTK_PATH ':' "$gtk_modules" \ 253 --prefix PATH ':' "${xdg-utils}/bin" \ 254 + --suffix PATH ':' "$out/bin" \ 255 --set MOZ_APP_LAUNCHER "${applicationName}${nameSuffix}" \ 256 --set MOZ_SYSTEM_DIR "$out/lib/mozilla" \ 257 --set MOZ_LEGACY_PROFILES 1 \ ··· 275 mkdir -p "$out/share/icons/hicolor/''${res}x''${res}/apps" 276 icon=$( find "${browser}/lib/" -name "default''${res}.png" ) 277 if [ -e "$icon" ]; then ln -s "$icon" \ 278 + "$out/share/icons/hicolor/''${res}x''${res}/apps/${icon}.png" 279 fi 280 done 281 fi
+2 -2
pkgs/applications/networking/cluster/cmctl/default.nix
··· 2 3 buildGoModule rec { 4 pname = "cmctl"; 5 - version = "1.7.1"; 6 7 src = fetchFromGitHub { 8 owner = "cert-manager"; 9 repo = "cert-manager"; 10 rev = "v${version}"; 11 - sha256 = "sha256-RO7YcGEfAQ9kTxfqgekYf6M5b6Fg64hCPLA/vt6IWp8="; 12 }; 13 14 vendorSha256 = "sha256-4zhdpedOmLl/i1G0QCto4ACxguWRZLzOm5HfMBMtvPY=";
··· 2 3 buildGoModule rec { 4 pname = "cmctl"; 5 + version = "1.7.2"; 6 7 src = fetchFromGitHub { 8 owner = "cert-manager"; 9 repo = "cert-manager"; 10 rev = "v${version}"; 11 + sha256 = "sha256-Hx6MG5GCZyOX0tfpg1bfUT0BOI3p7Mws1VCz2PuUuw8="; 12 }; 13 14 vendorSha256 = "sha256-4zhdpedOmLl/i1G0QCto4ACxguWRZLzOm5HfMBMtvPY=";
-1
pkgs/applications/networking/cluster/flink/default.nix
··· 34 license = licenses.asl20; 35 platforms = platforms.all; 36 maintainers = with maintainers; [ mbode ]; 37 - repositories.git = "git://git.apache.org/flink.git"; 38 }; 39 }
··· 34 license = licenses.asl20; 35 platforms = platforms.all; 36 maintainers = with maintainers; [ mbode ]; 37 }; 38 }
+3 -3
pkgs/applications/networking/cluster/helmfile/default.nix
··· 2 3 buildGoModule rec { 4 pname = "helmfile"; 5 - version = "0.143.1"; 6 7 src = fetchFromGitHub { 8 owner = "roboll"; 9 repo = "helmfile"; 10 rev = "v${version}"; 11 - sha256 = "sha256-eV2+lQVLv+bU/CmFFYM7CLjomXblT0XVZH5HVq0S+WM="; 12 }; 13 14 - vendorSha256 = "sha256-JHXSEOR/+ON5x0iQgaFsnb9hEDFf5/8TTh4T54qE/HE="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "helmfile"; 5 + version = "0.143.3"; 6 7 src = fetchFromGitHub { 8 owner = "roboll"; 9 repo = "helmfile"; 10 rev = "v${version}"; 11 + sha256 = "sha256-A0xpXsMWUaJYTzo9O4KkdyjonSGZ+FylTK140pqnJX8="; 12 }; 13 14 + vendorSha256 = "sha256-qolmWat7An4HFm4O5vSCYZe+w79nsRIrnBLJacUCeA4="; 15 16 doCheck = false; 17
-1
pkgs/applications/networking/cluster/kontemplate/default.nix
··· 20 license = licenses.gpl3; 21 maintainers = with maintainers; [ mbode tazjin ]; 22 platforms = platforms.unix; 23 - repositories.git = "git://github.com/tazjin/kontemplate.git"; 24 25 longDescription = '' 26 Kontemplate is a simple CLI tool that can take sets of
··· 20 license = licenses.gpl3; 21 maintainers = with maintainers; [ mbode tazjin ]; 22 platforms = platforms.unix; 23 24 longDescription = '' 25 Kontemplate is a simple CLI tool that can take sets of
+29
pkgs/applications/networking/cluster/kubent/default.nix
···
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "kubent"; 5 + version = "0.5.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "doitintl"; 9 + repo = "kube-no-trouble"; 10 + rev = "${version}"; 11 + sha256 = "0pwb9g1hhfqn3rl87fg6sf07m7aviadljb05bbnd241hhlcyslv6"; 12 + }; 13 + 14 + vendorSha256 = "1z4cvk936l7011fbimsgpw89yqzyikw9jb4184l37mnj9hl5wpcp"; 15 + 16 + ldflags = [ 17 + "-w" "-s" 18 + "-X main.version=v${version}" 19 + ]; 20 + 21 + subPackages = [ "cmd/kubent" ]; 22 + 23 + meta = with lib; { 24 + homepage = "https://github.com/doitintl/kube-no-trouble"; 25 + description = "Easily check your cluster for use of deprecated APIs"; 26 + license = licenses.mit; 27 + maintainers = with maintainers; [ peterromfeldhk ]; 28 + }; 29 + }
-1
pkgs/applications/networking/cluster/popeye/default.nix
··· 32 changelog = "https://github.com/derailed/popeye/releases/tag/v${version}"; 33 license = licenses.asl20; 34 maintainers = [ maintainers.bryanasdev000 ]; 35 - platforms = platforms.linux; 36 }; 37 }
··· 32 changelog = "https://github.com/derailed/popeye/releases/tag/v${version}"; 33 license = licenses.asl20; 34 maintainers = [ maintainers.bryanasdev000 ]; 35 }; 36 }
-1
pkgs/applications/networking/cluster/spark/default.nix
··· 63 license = lib.licenses.asl20; 64 platforms = lib.platforms.all; 65 maintainers = with maintainers; [ thoughtpolice offline kamilchm illustris ]; 66 - repositories.git = "git://git.apache.org/spark.git"; 67 }; 68 }; 69 in
··· 63 license = lib.licenses.asl20; 64 platforms = lib.platforms.all; 65 maintainers = with maintainers; [ thoughtpolice offline kamilchm illustris ]; 66 }; 67 }; 68 in
+3 -3
pkgs/applications/networking/cluster/werf/default.nix
··· 11 12 buildGoModule rec { 13 pname = "werf"; 14 - version = "1.2.77"; 15 16 src = fetchFromGitHub { 17 owner = "werf"; 18 repo = "werf"; 19 rev = "v${version}"; 20 - sha256 = "sha256-JmadwNERjexnJN+fBUjgMkvPtAaTbb7GITPsZlx2vik="; 21 }; 22 - vendorSha256 = "sha256-IPQiS1GgNP+k/INv3f3VitoHActC3MrRys905nTSXyI="; 23 proxyVendor = true; 24 25 nativeBuildInputs = [ pkg-config ];
··· 11 12 buildGoModule rec { 13 pname = "werf"; 14 + version = "1.2.78"; 15 16 src = fetchFromGitHub { 17 owner = "werf"; 18 repo = "werf"; 19 rev = "v${version}"; 20 + sha256 = "sha256-ehrzb7WvkYL8oj2RSzKc1KDagV0zg6vMzgpT2sPyhcI="; 21 }; 22 + vendorSha256 = "sha256-w8ZeAQbZIVOBoRa9fJhXgTeYRCYpkh/U4pwb5u6A9mQ="; 23 proxyVendor = true; 24 25 nativeBuildInputs = [ pkg-config ];
+12 -1
pkgs/applications/networking/instant-messengers/fractal/default.nix
··· 1 - { lib, stdenv 2 , fetchFromGitLab 3 , nix-update-script 4 , meson 5 , ninja ··· 32 rev = version; 33 sha256 = "DSNVd9YvI7Dd3s3+M0+wE594tmL1yPNMnD1W9wLhSuw="; 34 }; 35 36 cargoDeps = rustPlatform.fetchCargoTarball { 37 inherit src;
··· 1 + { stdenv 2 + , lib 3 , fetchFromGitLab 4 + , fetchpatch 5 , nix-update-script 6 , meson 7 , ninja ··· 34 rev = version; 35 sha256 = "DSNVd9YvI7Dd3s3+M0+wE594tmL1yPNMnD1W9wLhSuw="; 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 + ]; 46 47 cargoDeps = rustPlatform.fetchCargoTarball { 48 inherit src;
+2 -2
pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
··· 24 25 in stdenv.mkDerivation rec { 26 pname = "signal-desktop"; 27 - version = "5.35.0"; # Please backport all updates to the stable channel. 28 # All releases have a limited lifetime and "expire" 90 days after the release. 29 # When releases "expire" the application becomes unusable until an update is 30 # applied. The expiration date for the current release can be extracted with: ··· 34 35 src = fetchurl { 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="; 38 }; 39 40 nativeBuildInputs = [
··· 24 25 in stdenv.mkDerivation rec { 26 pname = "signal-desktop"; 27 + version = "5.36.0"; # Please backport all updates to the stable channel. 28 # All releases have a limited lifetime and "expire" 90 days after the release. 29 # When releases "expire" the application becomes unusable until an update is 30 # applied. The expiration date for the current release can be extracted with: ··· 34 35 src = fetchurl { 36 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb"; 37 + sha256 = "sha256-x1PUEDq/0B1T14mBs2FuKtcGpJHWOIvHAs8hptpzhZk="; 38 }; 39 40 nativeBuildInputs = [
-1
pkgs/applications/networking/irc/quassel/default.nix
··· 88 ''; 89 license = licenses.gpl3; 90 maintainers = with maintainers; [ ttuegel ]; 91 - repositories.git = "https://github.com/quassel/quassel.git"; 92 inherit (qtbase.meta) platforms; 93 }; 94 }
··· 88 ''; 89 license = licenses.gpl3; 90 maintainers = with maintainers; [ ttuegel ]; 91 inherit (qtbase.meta) platforms; 92 }; 93 }
-1
pkgs/applications/networking/lieer/default.nix
··· 33 GMail account. 34 ''; 35 homepage = "https://lieer.gaute.vetsj.com/"; 36 - repositories.git = "https://github.com/gauteh/lieer.git"; 37 license = licenses.gpl3Plus; 38 maintainers = with maintainers; [ flokli kaiha ]; 39 };
··· 33 GMail account. 34 ''; 35 homepage = "https://lieer.gaute.vetsj.com/"; 36 license = licenses.gpl3Plus; 37 maintainers = with maintainers; [ flokli kaiha ]; 38 };
+1 -1
pkgs/applications/networking/mailreaders/thunderbird/packages.nix
··· 17 url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; 18 sha512 = "2afaee16f155edcb0bdb46ebe282a733cf041ec6f562aebd06f8b675e46917f6f500fcc532fc54d74f3f4b0b489a88934a2c6c304f849873de4bc2690b9056a0"; 19 }; 20 - patches = [ 21 # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`. 22 ./no-buildconfig.patch 23 ];
··· 17 url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz"; 18 sha512 = "2afaee16f155edcb0bdb46ebe282a733cf041ec6f562aebd06f8b675e46917f6f500fcc532fc54d74f3f4b0b489a88934a2c6c304f849873de4bc2690b9056a0"; 19 }; 20 + extraPatches = [ 21 # The file to be patched is different from firefox's `no-buildconfig-ffx90.patch`. 22 ./no-buildconfig.patch 23 ];
+7 -1
pkgs/applications/networking/n8n/default.nix
··· 17 meta = with lib; { 18 description = "Free and open fair-code licensed node based Workflow Automation Tool"; 19 maintainers = with maintainers; [ freezeboy k900 ]; 20 - license = licenses.asl20; 21 }; 22 }
··· 17 meta = with lib; { 18 description = "Free and open fair-code licensed node based Workflow Automation Tool"; 19 maintainers = with maintainers; [ freezeboy k900 ]; 20 + license = { 21 + fullName = "Sustainable Use License"; 22 + url = "https://github.com/n8n-io/n8n/blob/master/LICENSE.md"; 23 + free = false; 24 + # only free to redistribute "for non-commercial purposes" 25 + redistributable = false; 26 + }; 27 }; 28 }
+73 -113
pkgs/applications/networking/n8n/node-packages.nix
··· 112 sha512 = "ank38FdCLfJ+EoeMzCz3hkYJuZAd63ARvDKkxZYRDb+beBYf+/+gx8jNTqkq/hfyUl4dJQ/a7tECU0Y0F98CHg=="; 113 }; 114 }; 115 - "@babel/runtime-7.17.7" = { 116 name = "_at_babel_slash_runtime"; 117 packageName = "@babel/runtime"; 118 - version = "7.17.7"; 119 src = fetchurl { 120 - url = "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.7.tgz"; 121 - sha512 = "L6rvG9GDxaLgFjg41K+5Yv9OMrU98sWe+Ykmc6FDJW/+vYZMhdOMKkISgzptMaERHvS2Y2lw9MDRm2gHhlQQoA=="; 122 }; 123 }; 124 "@colors/colors-1.5.0" = { ··· 670 sha512 = "f5nltvjl+PRUh6YNfUstRaXwJxtfnKEWhAWWlmKvh+Y3J2+98a0KKVYDEhz6NdKGqswLhjNGznxfSsZGOvOd9g=="; 671 }; 672 }; 673 - "agent-base-4.3.0" = { 674 - name = "agent-base"; 675 - packageName = "agent-base"; 676 - version = "4.3.0"; 677 - src = fetchurl { 678 - url = "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz"; 679 - sha512 = "salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg=="; 680 - }; 681 - }; 682 "agent-base-6.0.2" = { 683 name = "agent-base"; 684 packageName = "agent-base"; ··· 976 sha512 = "uUbetCWczQHbsKyX1C99XpQHBM8SWfovvaZhPIj23/1uV7SQf0WeRZbiLpw0JZm+LHTChfNgrLfDJOVoU2kU+A=="; 977 }; 978 }; 979 - "aws-sdk-2.1093.0" = { 980 name = "aws-sdk"; 981 packageName = "aws-sdk"; 982 - version = "2.1093.0"; 983 src = fetchurl { 984 - url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1093.0.tgz"; 985 - sha512 = "YD6VNemoKkzDMHsUiGP/MwpM0T20ukp3KTSxPY34Xw3Ww0zP19C54CfjaXhn//R27f2c57BtVez+he2RZ5GwyQ=="; 986 }; 987 }; 988 "aws-sign2-0.7.0" = { ··· 1975 sha512 = "mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw=="; 1976 }; 1977 }; 1978 - "debug-4.3.3" = { 1979 name = "debug"; 1980 packageName = "debug"; 1981 - version = "4.3.3"; 1982 src = fetchurl { 1983 - url = "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz"; 1984 - sha512 = "/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q=="; 1985 }; 1986 }; 1987 "debuglog-1.0.1" = { ··· 2146 sha512 = "DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A=="; 2147 }; 2148 }; 2149 - "domhandler-4.3.0" = { 2150 name = "domhandler"; 2151 packageName = "domhandler"; 2152 - version = "4.3.0"; 2153 src = fetchurl { 2154 - url = "https://registry.npmjs.org/domhandler/-/domhandler-4.3.0.tgz"; 2155 - sha512 = "fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g=="; 2156 }; 2157 }; 2158 "domutils-2.8.0" = { ··· 2335 sha1 = "aba8d9e1943a895ac96837a62a39b3f55ecd94ab"; 2336 }; 2337 }; 2338 - "es6-promise-4.2.8" = { 2339 - name = "es6-promise"; 2340 - packageName = "es6-promise"; 2341 - version = "4.2.8"; 2342 - src = fetchurl { 2343 - url = "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz"; 2344 - sha512 = "HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="; 2345 - }; 2346 - }; 2347 - "es6-promisify-5.0.0" = { 2348 - name = "es6-promisify"; 2349 - packageName = "es6-promisify"; 2350 - version = "5.0.0"; 2351 - src = fetchurl { 2352 - url = "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz"; 2353 - sha1 = "5109d62f3e56ea967c4b63505aef08291c8a5203"; 2354 - }; 2355 - }; 2356 "escalade-3.1.1" = { 2357 name = "escalade"; 2358 packageName = "escalade"; ··· 3118 sha512 = "3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw=="; 3119 }; 3120 }; 3121 - "https-proxy-agent-3.0.1" = { 3122 - name = "https-proxy-agent"; 3123 - packageName = "https-proxy-agent"; 3124 - version = "3.0.1"; 3125 - src = fetchurl { 3126 - url = "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.1.tgz"; 3127 - sha512 = "+ML2Rbh6DAuee7d07tYGEKOEi2voWPUGan+ExdPbPW6Z3svq+JCqr0v8WmKPOkz1vOVykPCBSuobe7G8GJUtVg=="; 3128 - }; 3129 - }; 3130 "https-proxy-agent-5.0.0" = { 3131 name = "https-proxy-agent"; 3132 packageName = "https-proxy-agent"; ··· 3874 sha512 = "2Bm96d5ktnE217Ib1FldvUaPAaOst6GtZrsxJCwnJgi9lnsoAKIHyU0sae8rNx6DNYbjdqqh8lv5/b9poD8qOg=="; 3875 }; 3876 }; 3877 - "libphonenumber-js-1.9.49" = { 3878 name = "libphonenumber-js"; 3879 packageName = "libphonenumber-js"; 3880 - version = "1.9.49"; 3881 src = fetchurl { 3882 - url = "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.9.49.tgz"; 3883 - sha512 = "/wEOIONcVboFky+lWlCaF7glm1FhBz11M5PHeCApA+xDdVfmhKjHktHS8KjyGxouV5CSXIr4f3GvLSpJa4qMSg=="; 3884 }; 3885 }; 3886 "libqp-1.1.0" = { ··· 4225 sha512 = "etgt+n4LlOkGSJbBTV9VROHA5R7ekIPS4vfh+bCAoJgRrJWdqJCBbpS3osRJ/HrT7R68MzMiY3L3sDJ/Fd8aBg=="; 4226 }; 4227 }; 4228 - "mappersmith-2.38.0" = { 4229 name = "mappersmith"; 4230 packageName = "mappersmith"; 4231 - version = "2.38.0"; 4232 src = fetchurl { 4233 - url = "https://registry.npmjs.org/mappersmith/-/mappersmith-2.38.0.tgz"; 4234 - sha512 = "D2+ICkvNGnGCz01MADdQQilcHGffwLd1ell4b4uXS9QYvLfrX0r5nl5zb9V+2YDy3142u6VUl1b154pxJAxw3g=="; 4235 }; 4236 }; 4237 "material-colors-1.2.6" = { ··· 4540 sha512 = "z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="; 4541 }; 4542 }; 4543 - "n8n-core-0.109.0" = { 4544 name = "n8n-core"; 4545 packageName = "n8n-core"; 4546 - version = "0.109.0"; 4547 src = fetchurl { 4548 - url = "https://registry.npmjs.org/n8n-core/-/n8n-core-0.109.0.tgz"; 4549 - sha512 = "hzimsUZbWHfG9RofSX7czg0DgB7YAIcLi7JRFUVB90HVdasFf1HQFVM2AwFZC/lLVckktuadWSpq2MOKW+lE3Q=="; 4550 }; 4551 }; 4552 - "n8n-design-system-0.14.0" = { 4553 name = "n8n-design-system"; 4554 packageName = "n8n-design-system"; 4555 - version = "0.14.0"; 4556 src = fetchurl { 4557 - url = "https://registry.npmjs.org/n8n-design-system/-/n8n-design-system-0.14.0.tgz"; 4558 - sha512 = "E9Tvnjd9hktVPsqBcX579Fr4Nn/QEVAHQaYZlPGrqxXLVD76mF0WQWJpU6XTZEs/9pKfEftk/TmDihtENLVTxg=="; 4559 }; 4560 }; 4561 - "n8n-editor-ui-0.135.0" = { 4562 name = "n8n-editor-ui"; 4563 packageName = "n8n-editor-ui"; 4564 - version = "0.135.0"; 4565 src = fetchurl { 4566 - url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.135.0.tgz"; 4567 - sha512 = "oM+Pnh4ZaUnDy5lj6u71EyXUPGNlbEIn3lpi4+xyO8tYtFyaN1kifS/q/a1sYrgZlwbWaksgUvTqufZ3Te6Yqw=="; 4568 }; 4569 }; 4570 - "n8n-nodes-base-0.166.0" = { 4571 name = "n8n-nodes-base"; 4572 packageName = "n8n-nodes-base"; 4573 - version = "0.166.0"; 4574 src = fetchurl { 4575 - url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.166.0.tgz"; 4576 - sha512 = "Iet76bGJrS3rTal5KbuBsJvYzAw3o9xfcLHERpDJyXOxgvrPfZ62A7RpmLMLA3KJLfKevY+VLGLWW5odTSvtEg=="; 4577 }; 4578 }; 4579 - "n8n-workflow-0.91.0" = { 4580 name = "n8n-workflow"; 4581 packageName = "n8n-workflow"; 4582 - version = "0.91.0"; 4583 src = fetchurl { 4584 - url = "https://registry.npmjs.org/n8n-workflow/-/n8n-workflow-0.91.0.tgz"; 4585 - sha512 = "a4yqSvcalQs2MEDkOeadQc9cwK/3f6t+EKr/e8rEN5D9djnmuvoRJC+V9v6KPuHy66q1pv6w7fpmnrLRO+2WrA=="; 4586 }; 4587 }; 4588 "named-placeholders-1.1.2" = { ··· 4702 sha512 = "TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q=="; 4703 }; 4704 }; 4705 - "node-ssh-12.0.3" = { 4706 name = "node-ssh"; 4707 packageName = "node-ssh"; 4708 - version = "12.0.3"; 4709 src = fetchurl { 4710 - url = "https://registry.npmjs.org/node-ssh/-/node-ssh-12.0.3.tgz"; 4711 - sha512 = "+TrX99Fvu50ZwBu/1Z9oWV1xC+vjADCJACSmvdgYUeUH/PKIX6Y5ltPvrh30WFXcxaP1wHN09BBVdQ3jfZlfoA=="; 4712 }; 4713 }; 4714 "nodeify-1.0.1" = { ··· 5935 sha512 = "wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g=="; 5936 }; 5937 }; 5938 - "requestretry-6.0.0" = { 5939 name = "requestretry"; 5940 packageName = "requestretry"; 5941 - version = "6.0.0"; 5942 src = fetchurl { 5943 - url = "https://registry.npmjs.org/requestretry/-/requestretry-6.0.0.tgz"; 5944 - sha512 = "X7O+BMlfHgzetfSDtgQIMinLn1BuT+95W12iffDzyOS+HLoBEIQqCZv++UTChUWVjOu+pudbocD76+4j+jK9ww=="; 5945 }; 5946 }; 5947 "require-at-1.0.6" = { ··· 6367 sha512 = "LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg=="; 6368 }; 6369 }; 6370 - "snowflake-sdk-1.6.7" = { 6371 name = "snowflake-sdk"; 6372 packageName = "snowflake-sdk"; 6373 - version = "1.6.7"; 6374 src = fetchurl { 6375 - url = "https://registry.npmjs.org/snowflake-sdk/-/snowflake-sdk-1.6.7.tgz"; 6376 - sha512 = "pisHqO5ALTggbNhE7LGEG5bnD6NKebcqyirOl4IsoKsD7g6d+vC3gHgRR/cm8kAH1GhLHY/WwhDq2fr7lundpA=="; 6377 }; 6378 }; 6379 "source-map-0.6.1" = { ··· 7615 n8n = nodeEnv.buildNodePackage { 7616 name = "n8n"; 7617 packageName = "n8n"; 7618 - version = "0.168.1"; 7619 src = fetchurl { 7620 - url = "https://registry.npmjs.org/n8n/-/n8n-0.168.1.tgz"; 7621 - sha512 = "bghyOcF+KZmRsmyC9p2ARb+RIlUBDwTKCMLd5eUFW1SKMBCWgQZwG8KCLCRApWjXjP1SYekeyDo1PSl5fa7Hxw=="; 7622 }; 7623 dependencies = [ 7624 (sources."@azure/abort-controller-1.0.5" // { ··· 7670 sources."tslib-2.3.1" 7671 ]; 7672 }) 7673 - sources."@babel/runtime-7.17.7" 7674 sources."@colors/colors-1.5.0" 7675 (sources."@dabh/diagnostics-2.0.3" // { 7676 dependencies = [ ··· 7799 ]; 7800 }) 7801 sources."avsc-5.7.3" 7802 - (sources."aws-sdk-2.1093.0" // { 7803 dependencies = [ 7804 sources."buffer-4.9.2" 7805 sources."events-1.1.1" ··· 7997 sources."cssfilter-0.0.10" 7998 sources."dashdash-1.14.1" 7999 sources."date-utils-1.2.21" 8000 - sources."debug-4.3.3" 8001 sources."debuglog-1.0.1" 8002 sources."deep-extend-0.6.0" 8003 sources."deepmerge-4.2.2" ··· 8014 sources."discontinuous-range-1.0.0" 8015 sources."dom-serializer-1.3.2" 8016 sources."domelementtype-2.2.0" 8017 - sources."domhandler-4.3.0" 8018 sources."domutils-2.8.0" 8019 (sources."dot-case-3.0.4" // { 8020 dependencies = [ ··· 8045 sources."es-abstract-1.19.1" 8046 sources."es-to-primitive-1.2.1" 8047 sources."es5-ext-0.8.2" 8048 - sources."es6-promise-4.2.8" 8049 - sources."es6-promisify-5.0.0" 8050 sources."escalade-3.1.1" 8051 sources."escape-html-1.0.3" 8052 sources."escape-string-regexp-4.0.0" ··· 8249 sources."iconv-lite-0.6.2" 8250 ]; 8251 }) 8252 - sources."libphonenumber-js-1.9.49" 8253 sources."libqp-1.1.0" 8254 sources."limiter-1.1.5" 8255 sources."linkify-it-3.0.3" ··· 8308 }) 8309 sources."make-error-1.3.6" 8310 sources."make-error-cause-2.3.0" 8311 - sources."mappersmith-2.38.0" 8312 sources."material-colors-1.2.6" 8313 sources."md5-2.3.0" 8314 sources."media-typer-0.3.0" ··· 8365 ]; 8366 }) 8367 sources."mz-2.7.0" 8368 - (sources."n8n-core-0.109.0" // { 8369 dependencies = [ 8370 sources."qs-6.10.3" 8371 ]; 8372 }) 8373 - sources."n8n-design-system-0.14.0" 8374 - sources."n8n-editor-ui-0.135.0" 8375 - (sources."n8n-nodes-base-0.166.0" // { 8376 dependencies = [ 8377 sources."iconv-lite-0.6.3" 8378 ]; 8379 }) 8380 - sources."n8n-workflow-0.91.0" 8381 (sources."named-placeholders-1.1.2" // { 8382 dependencies = [ 8383 sources."lru-cache-4.1.5" ··· 8414 sources."semver-5.7.1" 8415 ]; 8416 }) 8417 - sources."node-ssh-12.0.3" 8418 sources."nodeify-1.0.1" 8419 sources."nodemailer-6.7.2" 8420 sources."nopt-4.0.3" ··· 8596 sources."tough-cookie-2.5.0" 8597 ]; 8598 }) 8599 - sources."requestretry-6.0.0" 8600 sources."require-at-1.0.6" 8601 sources."require-directory-2.1.1" 8602 sources."requires-port-1.0.0" ··· 8659 sources."tslib-2.3.1" 8660 ]; 8661 }) 8662 - (sources."snowflake-sdk-1.6.7" // { 8663 dependencies = [ 8664 - sources."agent-base-4.3.0" 8665 sources."debug-3.2.7" 8666 sources."http-signature-1.3.6" 8667 - sources."https-proxy-agent-3.0.1" 8668 sources."jsprim-2.0.2" 8669 sources."tmp-0.2.1" 8670 sources."uuid-3.4.0"
··· 112 sha512 = "ank38FdCLfJ+EoeMzCz3hkYJuZAd63ARvDKkxZYRDb+beBYf+/+gx8jNTqkq/hfyUl4dJQ/a7tECU0Y0F98CHg=="; 113 }; 114 }; 115 + "@babel/runtime-7.17.8" = { 116 name = "_at_babel_slash_runtime"; 117 packageName = "@babel/runtime"; 118 + version = "7.17.8"; 119 src = fetchurl { 120 + url = "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.8.tgz"; 121 + sha512 = "dQpEpK0O9o6lj6oPu0gRDbbnk+4LeHlNcBpspf6Olzt3GIX4P1lWF1gS+pHLDFlaJvbR6q7jCfQ08zA4QJBnmA=="; 122 }; 123 }; 124 "@colors/colors-1.5.0" = { ··· 670 sha512 = "f5nltvjl+PRUh6YNfUstRaXwJxtfnKEWhAWWlmKvh+Y3J2+98a0KKVYDEhz6NdKGqswLhjNGznxfSsZGOvOd9g=="; 671 }; 672 }; 673 "agent-base-6.0.2" = { 674 name = "agent-base"; 675 packageName = "agent-base"; ··· 967 sha512 = "uUbetCWczQHbsKyX1C99XpQHBM8SWfovvaZhPIj23/1uV7SQf0WeRZbiLpw0JZm+LHTChfNgrLfDJOVoU2kU+A=="; 968 }; 969 }; 970 + "aws-sdk-2.1096.0" = { 971 name = "aws-sdk"; 972 packageName = "aws-sdk"; 973 + version = "2.1096.0"; 974 src = fetchurl { 975 + url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1096.0.tgz"; 976 + sha512 = "q+hotU57U8bGpz1pf5CkO4z630ay0xGJ9HedahKPZ0Xk3/X0GH+QFYPBWJ5IMTtO30bjfPH0zTaL2vJmMXLBrQ=="; 977 }; 978 }; 979 "aws-sign2-0.7.0" = { ··· 1966 sha512 = "mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw=="; 1967 }; 1968 }; 1969 + "debug-4.3.4" = { 1970 name = "debug"; 1971 packageName = "debug"; 1972 + version = "4.3.4"; 1973 src = fetchurl { 1974 + url = "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz"; 1975 + sha512 = "PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ=="; 1976 }; 1977 }; 1978 "debuglog-1.0.1" = { ··· 2137 sha512 = "DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A=="; 2138 }; 2139 }; 2140 + "domhandler-4.3.1" = { 2141 name = "domhandler"; 2142 packageName = "domhandler"; 2143 + version = "4.3.1"; 2144 src = fetchurl { 2145 + url = "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz"; 2146 + sha512 = "GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ=="; 2147 }; 2148 }; 2149 "domutils-2.8.0" = { ··· 2326 sha1 = "aba8d9e1943a895ac96837a62a39b3f55ecd94ab"; 2327 }; 2328 }; 2329 "escalade-3.1.1" = { 2330 name = "escalade"; 2331 packageName = "escalade"; ··· 3091 sha512 = "3adrsD6zqo4GsTqtO7FyrejHNv+NgiIfAfv68+jVlFmSr9OGy7zrxONceFRLKvnnZA5jbxQBX1u9PpB6Wi32Gw=="; 3092 }; 3093 }; 3094 "https-proxy-agent-5.0.0" = { 3095 name = "https-proxy-agent"; 3096 packageName = "https-proxy-agent"; ··· 3838 sha512 = "2Bm96d5ktnE217Ib1FldvUaPAaOst6GtZrsxJCwnJgi9lnsoAKIHyU0sae8rNx6DNYbjdqqh8lv5/b9poD8qOg=="; 3839 }; 3840 }; 3841 + "libphonenumber-js-1.9.50" = { 3842 name = "libphonenumber-js"; 3843 packageName = "libphonenumber-js"; 3844 + version = "1.9.50"; 3845 src = fetchurl { 3846 + url = "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.9.50.tgz"; 3847 + sha512 = "cCzQPChw2XbordcO2LKiw5Htx5leHVfFk/EXkxNHqJfFo7Fndcb1kF5wPJpc316vCJhhikedYnVysMh3Sc7Ocw=="; 3848 }; 3849 }; 3850 "libqp-1.1.0" = { ··· 4189 sha512 = "etgt+n4LlOkGSJbBTV9VROHA5R7ekIPS4vfh+bCAoJgRrJWdqJCBbpS3osRJ/HrT7R68MzMiY3L3sDJ/Fd8aBg=="; 4190 }; 4191 }; 4192 + "mappersmith-2.38.1" = { 4193 name = "mappersmith"; 4194 packageName = "mappersmith"; 4195 + version = "2.38.1"; 4196 src = fetchurl { 4197 + url = "https://registry.npmjs.org/mappersmith/-/mappersmith-2.38.1.tgz"; 4198 + sha512 = "ecZ+YyzBK7r3tC8MTaGo5tySHPhB6f9jdxN706Tux6dMlcE2fgwiBM/bf/+Sz5m2yKlTq5ntiahz7xSPgurD6w=="; 4199 }; 4200 }; 4201 "material-colors-1.2.6" = { ··· 4504 sha512 = "z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="; 4505 }; 4506 }; 4507 + "n8n-core-0.110.0" = { 4508 name = "n8n-core"; 4509 packageName = "n8n-core"; 4510 + version = "0.110.0"; 4511 src = fetchurl { 4512 + url = "https://registry.npmjs.org/n8n-core/-/n8n-core-0.110.0.tgz"; 4513 + sha512 = "E+BrrAxO1TZbu19NDO66rubih6DNSoUdceM6S9pjtAEQukya9J2BAqnPsrZJ7Trs97W2q8G4wSKP4G6lzKobhQ=="; 4514 }; 4515 }; 4516 + "n8n-design-system-0.15.0" = { 4517 name = "n8n-design-system"; 4518 packageName = "n8n-design-system"; 4519 + version = "0.15.0"; 4520 src = fetchurl { 4521 + url = "https://registry.npmjs.org/n8n-design-system/-/n8n-design-system-0.15.0.tgz"; 4522 + sha512 = "ZHlJJdaZ8ug9OV/SbqdF4FSEqTAoGBO+jqPECcUiYmHbL3BHcY8ZgWcnzmTnIPYTRGtIdc8snv3ti1USgASE5Q=="; 4523 }; 4524 }; 4525 + "n8n-editor-ui-0.136.0" = { 4526 name = "n8n-editor-ui"; 4527 packageName = "n8n-editor-ui"; 4528 + version = "0.136.0"; 4529 src = fetchurl { 4530 + url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.136.0.tgz"; 4531 + sha512 = "582dHNfp4upne8IhcaYznSPq26wsruAK5ZmOSfjcQMJqVBOm26IKFXCwn7ZL3KxNznmlHLHTfbAsrjE+ZTKPTA=="; 4532 }; 4533 }; 4534 + "n8n-nodes-base-0.167.0" = { 4535 name = "n8n-nodes-base"; 4536 packageName = "n8n-nodes-base"; 4537 + version = "0.167.0"; 4538 src = fetchurl { 4539 + url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.167.0.tgz"; 4540 + sha512 = "9+pCjtPDptMO3nBqfizwsQ7+C+QUYPbW4YGT/X0+CaF+2wMkGEbKGADH6V0eWHHWKtzcyoLXqldSnilboXXxmw=="; 4541 }; 4542 }; 4543 + "n8n-workflow-0.92.0" = { 4544 name = "n8n-workflow"; 4545 packageName = "n8n-workflow"; 4546 + version = "0.92.0"; 4547 src = fetchurl { 4548 + url = "https://registry.npmjs.org/n8n-workflow/-/n8n-workflow-0.92.0.tgz"; 4549 + sha512 = "d16p4co9I6v+AxVOxXyeWAgUY/7PwwlgJFaKH8XTA/fRARah3/DzLdb9Kmq5I1fqtr1VoZ+a1uTQCJi11bnRzA=="; 4550 }; 4551 }; 4552 "named-placeholders-1.1.2" = { ··· 4666 sha512 = "TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q=="; 4667 }; 4668 }; 4669 + "node-ssh-12.0.4" = { 4670 name = "node-ssh"; 4671 packageName = "node-ssh"; 4672 + version = "12.0.4"; 4673 src = fetchurl { 4674 + url = "https://registry.npmjs.org/node-ssh/-/node-ssh-12.0.4.tgz"; 4675 + sha512 = "5M3FBeAWjEpAQvVakQde6CeviEoEiYb6IjJL9mrMen9at63GAv0Q5vOFHFP+SM1Y7pTN3EBvJ/I+oxn2Lpydbw=="; 4676 }; 4677 }; 4678 "nodeify-1.0.1" = { ··· 5899 sha512 = "wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g=="; 5900 }; 5901 }; 5902 + "requestretry-7.0.2" = { 5903 name = "requestretry"; 5904 packageName = "requestretry"; 5905 + version = "7.0.2"; 5906 src = fetchurl { 5907 + url = "https://registry.npmjs.org/requestretry/-/requestretry-7.0.2.tgz"; 5908 + sha512 = "Zz8z7G2OuVs4F0wR0shKMEMm7lNvPNHM0UIHNns9qfyuBDKSExoTsZGtSjKst6nPEwlMrbA9G+m/yC0AbGj+8w=="; 5909 }; 5910 }; 5911 "require-at-1.0.6" = { ··· 6331 sha512 = "LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg=="; 6332 }; 6333 }; 6334 + "snowflake-sdk-1.6.8" = { 6335 name = "snowflake-sdk"; 6336 packageName = "snowflake-sdk"; 6337 + version = "1.6.8"; 6338 src = fetchurl { 6339 + url = "https://registry.npmjs.org/snowflake-sdk/-/snowflake-sdk-1.6.8.tgz"; 6340 + sha512 = "ZmzeR2W4mQVri546mUxUW+jBxTn0JRKm06EtndO7MUFLcS8YChf60tXTa+s7A0hO8FxQkSQAFonCmtz4nzPoSA=="; 6341 }; 6342 }; 6343 "source-map-0.6.1" = { ··· 7579 n8n = nodeEnv.buildNodePackage { 7580 name = "n8n"; 7581 packageName = "n8n"; 7582 + version = "0.169.0"; 7583 src = fetchurl { 7584 + url = "https://registry.npmjs.org/n8n/-/n8n-0.169.0.tgz"; 7585 + sha512 = "mqZJUnulA/xNelNxebJeYioQeLtzNSFD8vzEsoxzoVbeaRkXQeC6CVBCldSGUMMSPcw2QchnzAKp9YauRE5cAA=="; 7586 }; 7587 dependencies = [ 7588 (sources."@azure/abort-controller-1.0.5" // { ··· 7634 sources."tslib-2.3.1" 7635 ]; 7636 }) 7637 + sources."@babel/runtime-7.17.8" 7638 sources."@colors/colors-1.5.0" 7639 (sources."@dabh/diagnostics-2.0.3" // { 7640 dependencies = [ ··· 7763 ]; 7764 }) 7765 sources."avsc-5.7.3" 7766 + (sources."aws-sdk-2.1096.0" // { 7767 dependencies = [ 7768 sources."buffer-4.9.2" 7769 sources."events-1.1.1" ··· 7961 sources."cssfilter-0.0.10" 7962 sources."dashdash-1.14.1" 7963 sources."date-utils-1.2.21" 7964 + sources."debug-4.3.4" 7965 sources."debuglog-1.0.1" 7966 sources."deep-extend-0.6.0" 7967 sources."deepmerge-4.2.2" ··· 7978 sources."discontinuous-range-1.0.0" 7979 sources."dom-serializer-1.3.2" 7980 sources."domelementtype-2.2.0" 7981 + sources."domhandler-4.3.1" 7982 sources."domutils-2.8.0" 7983 (sources."dot-case-3.0.4" // { 7984 dependencies = [ ··· 8009 sources."es-abstract-1.19.1" 8010 sources."es-to-primitive-1.2.1" 8011 sources."es5-ext-0.8.2" 8012 sources."escalade-3.1.1" 8013 sources."escape-html-1.0.3" 8014 sources."escape-string-regexp-4.0.0" ··· 8211 sources."iconv-lite-0.6.2" 8212 ]; 8213 }) 8214 + sources."libphonenumber-js-1.9.50" 8215 sources."libqp-1.1.0" 8216 sources."limiter-1.1.5" 8217 sources."linkify-it-3.0.3" ··· 8270 }) 8271 sources."make-error-1.3.6" 8272 sources."make-error-cause-2.3.0" 8273 + sources."mappersmith-2.38.1" 8274 sources."material-colors-1.2.6" 8275 sources."md5-2.3.0" 8276 sources."media-typer-0.3.0" ··· 8327 ]; 8328 }) 8329 sources."mz-2.7.0" 8330 + (sources."n8n-core-0.110.0" // { 8331 dependencies = [ 8332 sources."qs-6.10.3" 8333 ]; 8334 }) 8335 + sources."n8n-design-system-0.15.0" 8336 + sources."n8n-editor-ui-0.136.0" 8337 + (sources."n8n-nodes-base-0.167.0" // { 8338 dependencies = [ 8339 sources."iconv-lite-0.6.3" 8340 ]; 8341 }) 8342 + sources."n8n-workflow-0.92.0" 8343 (sources."named-placeholders-1.1.2" // { 8344 dependencies = [ 8345 sources."lru-cache-4.1.5" ··· 8376 sources."semver-5.7.1" 8377 ]; 8378 }) 8379 + sources."node-ssh-12.0.4" 8380 sources."nodeify-1.0.1" 8381 sources."nodemailer-6.7.2" 8382 sources."nopt-4.0.3" ··· 8558 sources."tough-cookie-2.5.0" 8559 ]; 8560 }) 8561 + sources."requestretry-7.0.2" 8562 sources."require-at-1.0.6" 8563 sources."require-directory-2.1.1" 8564 sources."requires-port-1.0.0" ··· 8621 sources."tslib-2.3.1" 8622 ]; 8623 }) 8624 + (sources."snowflake-sdk-1.6.8" // { 8625 dependencies = [ 8626 sources."debug-3.2.7" 8627 sources."http-signature-1.3.6" 8628 sources."jsprim-2.0.2" 8629 sources."tmp-0.2.1" 8630 sources."uuid-3.4.0"
+6 -6
pkgs/applications/networking/p2p/frostwire/default.nix
··· 2 3 let 4 version = "6.6.7-build-529"; 5 - name = "frostwire-desktop-${version}"; 6 7 src = fetchFromGitHub { 8 owner = "frostwire"; 9 repo = "frostwire"; 10 - rev = name; 11 sha256 = "03wdj2kr8akzx8m1scvg98132zbaxh81qjdsxn2645b3gahjwz0m"; 12 }; 13 ··· 23 24 # fake build to pre-download deps into fixed-output derivation 25 deps = stdenv.mkDerivation { 26 - name = "${name}-deps"; 27 - inherit src; 28 buildInputs = [ gradle_6 perl ]; 29 buildPhase = '' 30 export GRADLE_USER_HOME=$(mktemp -d) ··· 40 ''; 41 outputHashAlgo = "sha256"; 42 outputHashMode = "recursive"; 43 - outputHash = "11zd98g0d0fdgls4lsskkagwfxyh26spfd6c6g9cahl89czvlg3c"; 44 }; 45 46 in stdenv.mkDerivation { 47 - inherit name src; 48 49 nativeBuildInputs = [ makeWrapper ]; 50 buildInputs = [ gradle_6 ];
··· 2 3 let 4 version = "6.6.7-build-529"; 5 6 src = fetchFromGitHub { 7 owner = "frostwire"; 8 repo = "frostwire"; 9 + rev = "frostwire-desktop-${version}"; 10 sha256 = "03wdj2kr8akzx8m1scvg98132zbaxh81qjdsxn2645b3gahjwz0m"; 11 }; 12 ··· 22 23 # fake build to pre-download deps into fixed-output derivation 24 deps = stdenv.mkDerivation { 25 + pname = "frostwire-desktop-deps"; 26 + inherit version src; 27 buildInputs = [ gradle_6 perl ]; 28 buildPhase = '' 29 export GRADLE_USER_HOME=$(mktemp -d) ··· 39 ''; 40 outputHashAlgo = "sha256"; 41 outputHashMode = "recursive"; 42 + outputHash = "sha256-r6YSrbSJbM3063JrX4tCVKFrJxTaLN4Trc+33jzpwcE="; 43 }; 44 45 in stdenv.mkDerivation { 46 + pname = "frostwire-desktop"; 47 + inherit version src; 48 49 nativeBuildInputs = [ makeWrapper ]; 50 buildInputs = [ gradle_6 ];
+2 -1
pkgs/applications/networking/remote/vmware-horizon-client/default.nix
··· 115 116 in 117 stdenv.mkDerivation { 118 - name = "vmware-horizon-client"; 119 120 dontUnpack = true; 121
··· 115 116 in 117 stdenv.mkDerivation { 118 + pname = "vmware-horizon-client"; 119 + inherit version; 120 121 dontUnpack = true; 122
-11
pkgs/applications/office/autokey/remove-requires-dbus-python.patch
··· 1 - --- a/setup.py 2 - +++ b/setup.py 3 - @@ -71,7 +71,7 @@ 4 - 'console_scripts': ['autokey-gtk=autokey.gtkui.__main__:main'] 5 - }, 6 - scripts=['autokey-qt', 'autokey-run', 'autokey-shell'], 7 - - install_requires=['dbus-python', 'pyinotify', 'python3-xlib'], 8 - + install_requires=['pyinotify', 'python-xlib'], 9 - classifiers=[ 10 - 'Development Status :: 4 - Beta', 11 - 'Intended Audience :: Developers',
···
+6 -6
pkgs/applications/office/jameica/default.nix
··· 4 _version = "2.10.1"; 5 _build = "482"; 6 version = "${_version}-${_build}"; 7 - name = "jameica-${version}"; 8 9 swtSystem = if stdenv.hostPlatform.system == "i686-linux" then "linux" 10 else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64" ··· 22 }; 23 in 24 stdenv.mkDerivation rec { 25 - inherit name version; 26 27 nativeBuildInputs = [ ant jdk makeWrapper ]; 28 buildInputs = lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ] ··· 42 ''; 43 44 installPhase = '' 45 - mkdir -p $out/libexec $out/lib $out/bin $out/share/{applications,${name},java}/ 46 47 # copy libraries except SWT 48 - cp $(find lib -type f -iname '*.jar' | grep -ve 'swt/.*/swt.jar') $out/share/${name}/ 49 # copy platform-specific SWT 50 - cp lib/swt/${swtSystem}/swt.jar $out/share/${name}/ 51 52 install -Dm644 releases/${_version}-*/jameica/jameica.jar $out/share/java/ 53 install -Dm644 plugin.xml $out/share/java/ ··· 55 cp ${desktopItem}/share/applications/* $out/share/applications/ 56 57 makeWrapper ${jre}/bin/java $out/bin/jameica \ 58 - --add-flags "-cp $out/share/java/jameica.jar:$out/share/${name}/* ${ 59 lib.optionalString stdenv.isDarwin ''-Xdock:name="Jameica" -XstartOnFirstThread'' 60 } de.willuhn.jameica.Main" \ 61 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs} \
··· 4 _version = "2.10.1"; 5 _build = "482"; 6 version = "${_version}-${_build}"; 7 8 swtSystem = if stdenv.hostPlatform.system == "i686-linux" then "linux" 9 else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64" ··· 21 }; 22 in 23 stdenv.mkDerivation rec { 24 + pname = "jameica"; 25 + inherit version; 26 27 nativeBuildInputs = [ ant jdk makeWrapper ]; 28 buildInputs = lib.optionals stdenv.isLinux [ gtk2 glib xorg.libXtst ] ··· 42 ''; 43 44 installPhase = '' 45 + mkdir -p $out/libexec $out/lib $out/bin $out/share/{applications,jameica-${version},java}/ 46 47 # copy libraries except SWT 48 + cp $(find lib -type f -iname '*.jar' | grep -ve 'swt/.*/swt.jar') $out/share/jameica-${version}/ 49 # copy platform-specific SWT 50 + cp lib/swt/${swtSystem}/swt.jar $out/share/jameica-${version}/ 51 52 install -Dm644 releases/${_version}-*/jameica/jameica.jar $out/share/java/ 53 install -Dm644 plugin.xml $out/share/java/ ··· 55 cp ${desktopItem}/share/applications/* $out/share/applications/ 56 57 makeWrapper ${jre}/bin/java $out/bin/jameica \ 58 + --add-flags "-cp $out/share/java/jameica.jar:$out/share/jameica-${version}/* ${ 59 lib.optionalString stdenv.isDarwin ''-Xdock:name="Jameica" -XstartOnFirstThread'' 60 } de.willuhn.jameica.Main" \ 61 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs} \
+4 -3
pkgs/applications/radio/gnuradio/wrapper.nix
··· 50 ; 51 pythonEnv = unwrapped.python.withPackages(ps: pythonPkgs); 52 53 - name = (lib.appendToName "wrapped" unwrapped).name; 54 makeWrapperArgs = builtins.concatStringsSep " " ([ 55 ] 56 # Emulating wrapGAppsHook & wrapQtAppsHook working together ··· 59 || (unwrapped.hasFeature "gr-qtgui") 60 ) [ 61 "--prefix" "XDG_DATA_DIRS" ":" "$out/share" 62 - "--prefix" "XDG_DATA_DIRS" ":" "$out/share/gsettings-schemas/${name}" 63 "--prefix" "XDG_DATA_DIRS" ":" "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}" 64 "--prefix" "XDG_DATA_DIRS" ":" "${hicolor-icon-theme}/share" 65 # Needs to run `gsettings` on startup, see: ··· 135 }; 136 self = if doWrap then 137 stdenv.mkDerivation { 138 - inherit name passthru; 139 buildInputs = [ 140 makeWrapper 141 xorg.lndir
··· 50 ; 51 pythonEnv = unwrapped.python.withPackages(ps: pythonPkgs); 52 53 + pname = unwrapped.pname + "-wrapped"; 54 + inherit (unwrapped) version; 55 makeWrapperArgs = builtins.concatStringsSep " " ([ 56 ] 57 # Emulating wrapGAppsHook & wrapQtAppsHook working together ··· 60 || (unwrapped.hasFeature "gr-qtgui") 61 ) [ 62 "--prefix" "XDG_DATA_DIRS" ":" "$out/share" 63 + "--prefix" "XDG_DATA_DIRS" ":" "$out/share/gsettings-schemas/${pname}" 64 "--prefix" "XDG_DATA_DIRS" ":" "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}" 65 "--prefix" "XDG_DATA_DIRS" ":" "${hicolor-icon-theme}/share" 66 # Needs to run `gsettings` on startup, see: ··· 136 }; 137 self = if doWrap then 138 stdenv.mkDerivation { 139 + inherit pname version passthru; 140 buildInputs = [ 141 makeWrapper 142 xorg.lndir
+1 -1
pkgs/applications/radio/rtl-ais/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, pkg-config, libusb1, rtl-sdr }: 2 3 stdenv.mkDerivation { 4 - name = "rtl-ais"; 5 version = "0.8.1"; 6 buildInputs = [ pkg-config rtl-sdr libusb1 ]; 7
··· 1 { lib, stdenv, fetchFromGitHub, pkg-config, libusb1, rtl-sdr }: 2 3 stdenv.mkDerivation { 4 + pname = "rtl-ais"; 5 version = "0.8.1"; 6 buildInputs = [ pkg-config rtl-sdr libusb1 ]; 7
+1 -1
pkgs/applications/radio/sdrplay/default.nix
··· 4 else if stdenv.isi686 then "i686" 5 else throw "unsupported architecture"; 6 in stdenv.mkDerivation rec { 7 - name = "sdrplay"; 8 version = "3.07.1"; 9 10 src = fetchurl {
··· 4 else if stdenv.isi686 then "i686" 5 else throw "unsupported architecture"; 6 in stdenv.mkDerivation rec { 7 + pname = "sdrplay"; 8 version = "3.07.1"; 9 10 src = fetchurl {
+2 -2
pkgs/applications/radio/soapysdrplay/default.nix
··· 1 { stdenv, lib, fetchFromGitHub, cmake, pkg-config, soapysdr, sdrplay }: 2 3 stdenv.mkDerivation { 4 - name = "soapysdr-sdrplay3"; 5 - version = "20210425"; 6 7 src = fetchFromGitHub { 8 owner = "pothosware";
··· 1 { stdenv, lib, fetchFromGitHub, cmake, pkg-config, soapysdr, sdrplay }: 2 3 stdenv.mkDerivation { 4 + pname = "soapysdr-sdrplay3"; 5 + version = "unstable-2021-04-25"; 6 7 src = fetchFromGitHub { 8 owner = "pothosware";
+3 -3
pkgs/applications/radio/soundmodem/default.nix
··· 1 { lib, stdenv, fetchurl, pkg-config, alsa-lib, audiofile, gtk2, libxml2 }: 2 3 stdenv.mkDerivation rec { 4 - name = "soundmodem"; 5 version = "0.20"; 6 7 src = fetchurl { 8 - url = "https://archive.org/download/${name}-${version}/${name}-${version}.tar.gz"; 9 sha256 = "156l3wjnh5rcisxb42kcmlf74swf679v4xnj09zy5j74rd4h721z"; 10 }; 11 ··· 28 ''; 29 #homepage = "http://gna.org/projects/soundmodem"; # official, but "Connection refused" 30 homepage = "http://soundmodem.vk4msl.id.au/"; 31 - downloadPage = "https://archive.org/download/${name}-${version}/${name}-${version}.tar.gz"; 32 license = licenses.gpl2Only; 33 maintainers = with maintainers; [ ymarkus ]; 34 platforms = platforms.all;
··· 1 { lib, stdenv, fetchurl, pkg-config, alsa-lib, audiofile, gtk2, libxml2 }: 2 3 stdenv.mkDerivation rec { 4 + pname = "soundmodem"; 5 version = "0.20"; 6 7 src = fetchurl { 8 + url = "https://archive.org/download/soundmodem-${version}/soundmodem-${version}.tar.gz"; 9 sha256 = "156l3wjnh5rcisxb42kcmlf74swf679v4xnj09zy5j74rd4h721z"; 10 }; 11 ··· 28 ''; 29 #homepage = "http://gna.org/projects/soundmodem"; # official, but "Connection refused" 30 homepage = "http://soundmodem.vk4msl.id.au/"; 31 + downloadPage = "https://archive.org/download/${pname}-${version}/${pname}-${version}.tar.gz"; 32 license = licenses.gpl2Only; 33 maintainers = with maintainers; [ ymarkus ]; 34 platforms = platforms.all;
+36
pkgs/applications/science/astronomy/gnuastro/default.nix
···
··· 1 + { lib, stdenv, fetchurl, libtool 2 + , cfitsio, curl, ghostscript, gsl, libgit2, libjpeg, libtiff, lzlib, wcslib }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "gnuastro"; 6 + version = "0.17"; 7 + 8 + src = fetchurl { 9 + url = "mirror://gnu/gnuastro/gnuastro-${version}.tar.gz"; 10 + sha256 = "sha256-xBvtM8wkDOqXg/Q2dNfPR0R0ZgRm4QiPJZoLDKivaPU="; 11 + }; 12 + 13 + nativeBuildInputs = [ libtool ]; 14 + 15 + buildInputs = [ 16 + cfitsio 17 + curl 18 + ghostscript 19 + gsl 20 + libgit2 21 + libjpeg 22 + libtiff 23 + lzlib 24 + wcslib 25 + ]; 26 + 27 + enableParallelBuilding = true; 28 + 29 + meta = with lib; { 30 + description = "GNU astronomy utilities and library"; 31 + homepage = "https://www.gnu.org/software/gnuastro/"; 32 + license = licenses.gpl3Plus; 33 + platforms = platforms.unix; 34 + maintainers = with maintainers; [ sikmir ]; 35 + }; 36 + }
+3 -3
pkgs/applications/science/biology/ncbi-tools/default.nix
··· 8 # 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 10 stdenv.mkDerivation rec { 11 - name = "ncbi_tools"; 12 - ncbi_version = "Dec_31_2008"; 13 src = fetchurl { 14 - url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${ncbi_version}/ncbi_cxx--${ncbi_version}.tar.gz"; 15 sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr"; 16 }; 17
··· 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 10 stdenv.mkDerivation rec { 11 + pname = "ncbi_tools"; 12 + version = "Dec_31_2008"; 13 src = fetchurl { 14 + url = "ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/2008/${version}/ncbi_cxx--${version}.tar.gz"; 15 sha256 = "1b2v0dcdqn3bysgdkj57sxmd6s0hc9wpnxssviz399g6plhxggbr"; 16 }; 17
+2 -2
pkgs/applications/science/chemistry/marvin/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 pname = "marvin"; 7 - version = "22.7.0"; 8 9 src = fetchurl { 10 name = "marvin-${version}.deb"; 11 url = "http://dl.chemaxon.com/marvin/${version}/marvin_linux_${versions.majorMinor version}.deb"; 12 - sha256 = "sha256-xK4C+0/Qpc2vXPmsI8KuHuDJLmJ5LXdAfRIREE+gkWA="; 13 }; 14 15 nativeBuildInputs = [ dpkg makeWrapper ];
··· 4 5 stdenv.mkDerivation rec { 6 pname = "marvin"; 7 + version = "22.8.0"; 8 9 src = fetchurl { 10 name = "marvin-${version}.deb"; 11 url = "http://dl.chemaxon.com/marvin/${version}/marvin_linux_${versions.majorMinor version}.deb"; 12 + sha256 = "sha256-dmG2p4KqzjLuuVw+wPWaxVoqOqba8Tx5l44PauWpqv4="; 13 }; 14 15 nativeBuildInputs = [ dpkg makeWrapper ];
+4 -8
pkgs/applications/science/electronics/xcircuit/default.nix
··· 1 { lib, stdenv, fetchurl, autoreconfHook, automake, pkg-config 2 , cairo, ghostscript, ngspice, tcl, tk, xorg, zlib }: 3 4 - let 5 version = "3.10.12"; 6 - name = "xcircuit-${version}"; 7 - inherit (lib) getBin; 8 - 9 - in stdenv.mkDerivation { 10 - inherit name version; 11 12 src = fetchurl { 13 - url = "http://opencircuitdesign.com/xcircuit/archive/${name}.tgz"; 14 sha256 = "1h1ywc3mr7plvwnhdii2zgnnv5ih2nhyl4qbdjpi83dq0aq1s2mn"; 15 }; 16 ··· 20 configureFlags = [ 21 "--with-tcl=${tcl}/lib" 22 "--with-tk=${tk}/lib" 23 - "--with-ngspice=${getBin ngspice}/bin/ngspice" 24 ]; 25 26 buildInputs = with xorg; [ cairo ghostscript libSM libXt libICE libX11 libXpm tcl tk zlib ];
··· 1 { lib, stdenv, fetchurl, autoreconfHook, automake, pkg-config 2 , cairo, ghostscript, ngspice, tcl, tk, xorg, zlib }: 3 4 + stdenv.mkDerivation rec { 5 version = "3.10.12"; 6 + pname = "xcircuit"; 7 8 src = fetchurl { 9 + url = "http://opencircuitdesign.com/xcircuit/archive/xcircuit-${version}.tgz"; 10 sha256 = "1h1ywc3mr7plvwnhdii2zgnnv5ih2nhyl4qbdjpi83dq0aq1s2mn"; 11 }; 12 ··· 16 configureFlags = [ 17 "--with-tcl=${tcl}/lib" 18 "--with-tk=${tk}/lib" 19 + "--with-ngspice=${lib.getBin ngspice}/bin/ngspice" 20 ]; 21 22 buildInputs = with xorg; [ cairo ghostscript libSM libXt libICE libX11 libXpm tcl tk zlib ];
+1
pkgs/applications/science/logic/coq/default.nix
··· 47 "8.14.0".sha256 = "04y2z0qyvag66zanfyc3f9agvmzbn4lsr0p1l7ck6yjhqx7vbm17"; 48 "8.14.1".sha256 = "0sx78pgx0qw8v7v2r32zzy3l161zipzq95iacda628girim7psnl"; 49 "8.15.0".sha256 = "sha256:1ma76wfrpfsl72yh10w1ys2a0vi0mdc2jc79kdc8nrmxkhpw1nxx"; 50 }; 51 releaseRev = v: "V${v}"; 52 fetched = import ../../../../build-support/coq/meta-fetch/default.nix
··· 47 "8.14.0".sha256 = "04y2z0qyvag66zanfyc3f9agvmzbn4lsr0p1l7ck6yjhqx7vbm17"; 48 "8.14.1".sha256 = "0sx78pgx0qw8v7v2r32zzy3l161zipzq95iacda628girim7psnl"; 49 "8.15.0".sha256 = "sha256:1ma76wfrpfsl72yh10w1ys2a0vi0mdc2jc79kdc8nrmxkhpw1nxx"; 50 + "8.15.1".sha256 = "sha256:1dsa04jzkx5pw69pmxn0l55q4w88lg6fvz7clbga0bazzsfnsgd6"; 51 }; 52 releaseRev = v: "V${v}"; 53 fetched = import ../../../../build-support/coq/meta-fetch/default.nix
+1 -1
pkgs/applications/science/logic/why3/with-provers.nix
··· 12 ''; 13 in 14 stdenv.mkDerivation { 15 - name = "${why3.name}-with-provers"; 16 17 nativeBuildInputs = [ makeWrapper ]; 18 buildInputs = [ why3 ] ++ provers;
··· 12 ''; 13 in 14 stdenv.mkDerivation { 15 + pname = "${why3.pname}-with-provers"; 16 17 nativeBuildInputs = [ makeWrapper ]; 18 buildInputs = [ why3 ] ++ provers;
+1 -1
pkgs/applications/science/logic/z3/4.4.0.nix
··· 1 { lib, stdenv, fetchFromGitHub, python }: 2 3 stdenv.mkDerivation rec { 4 - name = "z3-${version}"; 5 version = "4.4.0"; 6 7 src = fetchFromGitHub {
··· 1 { lib, stdenv, fetchFromGitHub, python }: 2 3 stdenv.mkDerivation rec { 4 + pname = "z3"; 5 version = "4.4.0"; 6 7 src = fetchFromGitHub {
+3 -6
pkgs/applications/science/math/fricas/default.nix
··· 1 { lib, stdenv, fetchurl, sbcl, libX11, libXpm, libICE, libSM, libXt, libXau, libXdmcp }: 2 3 - let 4 version = "1.3.7"; 5 - name = "fricas-" + version; 6 - in 7 - stdenv.mkDerivation { 8 - inherit name; 9 10 src = fetchurl { 11 - url = "mirror://sourceforge/fricas/fricas/${version}/${name}-full.tar.bz2"; 12 sha256 = "sha256-cOqMvSe3ef/ZeVy5cj/VU/aTRtxgfxZfRbE4lWE5TU4="; 13 }; 14
··· 1 { lib, stdenv, fetchurl, sbcl, libX11, libXpm, libICE, libSM, libXt, libXau, libXdmcp }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "fricas"; 5 version = "1.3.7"; 6 7 src = fetchurl { 8 + url = "mirror://sourceforge/fricas/fricas/${version}/fricas-${version}-full.tar.bz2"; 9 sha256 = "sha256-cOqMvSe3ef/ZeVy5cj/VU/aTRtxgfxZfRbE4lWE5TU4="; 10 }; 11
+17 -20
pkgs/applications/science/math/scilab-bin/default.nix
··· 1 { stdenv, fetchurl, lib, xorg }: 2 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"; 9 10 architecture = 11 if stdenv.hostPlatform.system == "i686-linux" then ··· 15 else 16 badArch; 17 in 18 - stdenv.mkDerivation { 19 - inherit name; 20 21 src = fetchurl { 22 - url = "https://www.scilab.org/download/${ver}/scilab-${ver}.bin.linux-${architecture}.tar.gz"; 23 sha256 = 24 if stdenv.hostPlatform.system == "i686-linux" then 25 "0fgjc2ak3b2qi6yin3fy50qwk2bcj0zbz1h4lyyic9n1n1qcliib" ··· 43 sed -i 's|\$(/bin/|$(|g' bin/scilab 44 sed -i 's|/usr/bin/||g' bin/scilab 45 46 - sci="$out/opt/scilab-${ver}" 47 fullLibPath="$sci/lib/scilab:$sci/lib/thirdparty:$libPath" 48 fullLibPath="$fullLibPath:$sci/lib/thirdparty/redist" 49 ··· 55 ''; 56 57 installPhase = '' 58 - mkdir -p "$out/opt/scilab-${ver}" 59 - cp -r . "$out/opt/scilab-${ver}/" 60 61 # Create bin/ dir 62 mkdir "$out/bin" 63 64 # 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" 68 69 # Creating desktop config dir 70 mkdir -p "$out/share/applications" 71 72 # Moving desktop config files 73 - mv $out/opt/scilab-${ver}/share/applications/*.desktop $out/share/applications 74 75 # Fixing Exec paths and launching each app with a terminal 76 - sed -i -e "s|Exec=|Exec=$out/opt/scilab-${ver}/bin/|g" \ 77 -e "s|Terminal=.*$|Terminal=true|g" $out/share/applications/*.desktop 78 79 # Moving icons to the appropriate locations 80 - for path in $out/opt/scilab-${ver}/share/icons/hicolor/*/*/* 81 do 82 - newpath=$(echo $path | sed 's|/opt/scilab-${ver}||g') 83 filename=$(echo $path | sed 's|.*/||g') 84 dir=$(echo $newpath | sed "s|$filename||g") 85 mkdir -p $dir ··· 87 done 88 89 # Removing emptied folders 90 - rm -rf $out/opt/scilab-${ver}/share/{applications,icons} 91 92 # Moving other share/ folders 93 - mv $out/opt/scilab-${ver}/share/{appdata,locale,mime} $out/share 94 ''; 95 96 meta = {
··· 1 { stdenv, fetchurl, lib, xorg }: 2 3 let 4 + badArch = throw "scilab-bin requires i686-linux or x86_64-linux"; 5 6 architecture = 7 if stdenv.hostPlatform.system == "i686-linux" then ··· 11 else 12 badArch; 13 in 14 + stdenv.mkDerivation rec { 15 + pname = "scilab-bin"; 16 + version = "6.1.1"; 17 18 src = fetchurl { 19 + url = "https://www.scilab.org/download/${version}/scilab-${version}.bin.linux-${architecture}.tar.gz"; 20 sha256 = 21 if stdenv.hostPlatform.system == "i686-linux" then 22 "0fgjc2ak3b2qi6yin3fy50qwk2bcj0zbz1h4lyyic9n1n1qcliib" ··· 40 sed -i 's|\$(/bin/|$(|g' bin/scilab 41 sed -i 's|/usr/bin/||g' bin/scilab 42 43 + sci="$out/opt/scilab-${version}" 44 fullLibPath="$sci/lib/scilab:$sci/lib/thirdparty:$libPath" 45 fullLibPath="$fullLibPath:$sci/lib/thirdparty/redist" 46 ··· 52 ''; 53 54 installPhase = '' 55 + mkdir -p "$out/opt/scilab-${version}" 56 + cp -r . "$out/opt/scilab-${version}/" 57 58 # Create bin/ dir 59 mkdir "$out/bin" 60 61 # Creating executable symlinks 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" 65 66 # Creating desktop config dir 67 mkdir -p "$out/share/applications" 68 69 # Moving desktop config files 70 + mv $out/opt/scilab-${version}/share/applications/*.desktop $out/share/applications 71 72 # Fixing Exec paths and launching each app with a terminal 73 + sed -i -e "s|Exec=|Exec=$out/opt/scilab-${version}/bin/|g" \ 74 -e "s|Terminal=.*$|Terminal=true|g" $out/share/applications/*.desktop 75 76 # Moving icons to the appropriate locations 77 + for path in $out/opt/scilab-${version}/share/icons/hicolor/*/*/* 78 do 79 + newpath=$(echo $path | sed 's|/opt/scilab-${version}||g') 80 filename=$(echo $path | sed 's|.*/||g') 81 dir=$(echo $newpath | sed "s|$filename||g") 82 mkdir -p $dir ··· 84 done 85 86 # Removing emptied folders 87 + rm -rf $out/opt/scilab-${version}/share/{applications,icons} 88 89 # Moving other share/ folders 90 + mv $out/opt/scilab-${version}/share/{appdata,locale,mime} $out/share 91 ''; 92 93 meta = {
+2 -5
pkgs/applications/science/misc/fityk/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2 2 , xylib, readline, gnuplot, swig3 }: 3 4 - let 5 - name = "fityk"; 6 version = "1.3.1"; 7 - in 8 - stdenv.mkDerivation { 9 - name = "${name}-${version}"; 10 11 src = fetchFromGitHub { 12 owner = "wojdyr";
··· 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, boost, lua, zlib, bzip2 2 , xylib, readline, gnuplot, swig3 }: 3 4 + stdenv.mkDerivation rec { 5 + pname = "fityk"; 6 version = "1.3.1"; 7 8 src = fetchFromGitHub { 9 owner = "wojdyr";
+1 -1
pkgs/applications/terminal-emulators/rxvt-unicode-plugins/urxvt-font-size/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, xrdb, xlsfonts }: 2 3 stdenv.mkDerivation rec { 4 - name = "urxvt-font-size"; 5 version = "1.3"; 6 7 src = fetchFromGitHub {
··· 1 { lib, stdenv, fetchFromGitHub, xrdb, xlsfonts }: 2 3 stdenv.mkDerivation rec { 4 + pname = "urxvt-font-size"; 5 version = "1.3"; 6 7 src = fetchFromGitHub {
+2 -1
pkgs/applications/terminal-emulators/termonad/default.nix
··· 3 let 4 termonadEnv = haskellPackages.ghcWithPackages (self: [ self.termonad ] ++ packages self); 5 in stdenv.mkDerivation { 6 - name = "termonad-with-packages-${termonadEnv.version}"; 7 8 nativeBuildInputs = [ makeWrapper ]; 9
··· 3 let 4 termonadEnv = haskellPackages.ghcWithPackages (self: [ self.termonad ] ++ packages self); 5 in stdenv.mkDerivation { 6 + pname = "termonad-with-packages"; 7 + inherit (termonadEnv) version; 8 9 nativeBuildInputs = [ makeWrapper ]; 10
+35 -39
pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix
··· 1 { lib, stdenv, fetchurl, jre, makeWrapper }: 2 3 - let 4 version = "1.13.0"; 5 jarName = "bfg-${version}.jar"; 6 - mavenUrl = "mirror://maven/com/madgag/bfg/${version}/${jarName}"; 7 - in 8 - stdenv.mkDerivation { 9 - inherit version jarName; 10 11 - name = "bfg-repo-cleaner-${version}"; 12 13 - src = fetchurl { 14 - url = mavenUrl; 15 - sha256 = "1kn84rsvms1v5l1j2xgrk7dc7mnsmxkc6sqd94mnim22vnwvl8mz"; 16 - }; 17 18 - nativeBuildInputs = [ makeWrapper ]; 19 - buildInputs = [ jre ]; 20 - 21 - dontUnpack = true; 22 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 - ''; 29 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. 38 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 - }; 49 50 - }
··· 1 { lib, stdenv, fetchurl, jre, makeWrapper }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "bfg-repo-cleaner"; 5 version = "1.13.0"; 6 + 7 jarName = "bfg-${version}.jar"; 8 9 + src = fetchurl { 10 + url = "mirror://maven/com/madgag/bfg/${version}/${jarName}"; 11 + sha256 = "1kn84rsvms1v5l1j2xgrk7dc7mnsmxkc6sqd94mnim22vnwvl8mz"; 12 + }; 13 14 + nativeBuildInputs = [ makeWrapper ]; 15 + buildInputs = [ jre ]; 16 17 + dontUnpack = true; 18 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 + ''; 25 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. 34 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 + }; 45 46 + }
+77
pkgs/applications/version-management/git-and-tools/cgit/common.nix
···
··· 1 + { pname, version, src, gitSrc, buildInputs ? [] 2 + , homepage, description, maintainers 3 + }: 4 + 5 + { lib, stdenv, openssl, zlib, asciidoc, libxml2, libxslt 6 + , docbook_xsl, pkg-config 7 + , coreutils, gnused, groff, docutils 8 + , gzip, bzip2, lzip, xz, zstd 9 + , python3Packages 10 + }: 11 + 12 + stdenv.mkDerivation { 13 + inherit pname version src gitSrc; 14 + 15 + nativeBuildInputs = [ 16 + pkg-config asciidoc 17 + ] ++ (with python3Packages; [ python wrapPython ]); 18 + buildInputs = buildInputs ++ [ 19 + openssl zlib libxml2 libxslt docbook_xsl 20 + ]; 21 + pythonPath = with python3Packages; [ pygments markdown ]; 22 + 23 + postPatch = '' 24 + sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \ 25 + -e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \ 26 + -e 's|"lzip"|"${lzip}/bin/lzip"|' \ 27 + -e 's|"xz"|"${xz.bin}/bin/xz"|' \ 28 + -e 's|"zstd"|"${zstd}/bin/zstd"|' \ 29 + -i ui-snapshot.c 30 + 31 + substituteInPlace filters/html-converters/man2html \ 32 + --replace 'groff' '${groff}/bin/groff' 33 + 34 + substituteInPlace filters/html-converters/rst2html \ 35 + --replace 'rst2html.py' '${docutils}/bin/rst2html.py' 36 + ''; 37 + 38 + # Give cgit a git source tree and pass configuration parameters (as make 39 + # variables). 40 + preBuild = '' 41 + mkdir -p git 42 + tar --strip-components=1 -xf "$gitSrc" -C git 43 + ''; 44 + 45 + makeFlags = [ 46 + "prefix=$(out)" 47 + "CGIT_SCRIPT_PATH=$(out)/cgit/" 48 + "CC=${stdenv.cc.targetPrefix}cc" 49 + "AR=${stdenv.cc.targetPrefix}ar" 50 + ]; 51 + 52 + # Install manpage. 53 + postInstall = '' 54 + # xmllint fails: 55 + #make install-man 56 + 57 + # bypassing xmllint works: 58 + a2x --no-xmllint -f manpage cgitrc.5.txt 59 + mkdir -p "$out/share/man/man5" 60 + cp cgitrc.5 "$out/share/man/man5" 61 + 62 + wrapPythonProgramsIn "$out/lib/cgit/filters" "$out $pythonPath" 63 + 64 + for script in $out/lib/cgit/filters/*.sh $out/lib/cgit/filters/html-converters/txt2html; do 65 + wrapProgram $script --prefix PATH : '${lib.makeBinPath [ coreutils gnused ]}' 66 + done 67 + ''; 68 + 69 + stripDebugList = [ "cgit" ]; 70 + 71 + meta = { 72 + inherit homepage description; 73 + license = lib.licenses.gpl2; 74 + platforms = lib.platforms.linux; 75 + maintainers = maintainers ++ (with lib.maintainers; [ qyliss ]); 76 + }; 77 + }
+7 -69
pkgs/applications/version-management/git-and-tools/cgit/default.nix
··· 1 - { lib, stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt 2 - , docbook_xsl, pkg-config, luajit 3 - , coreutils, gnused, groff, docutils 4 - , gzip, bzip2, lzip, xz, zstd 5 - , python, wrapPython, pygments, markdown 6 - }: 7 8 - stdenv.mkDerivation rec { 9 pname = "cgit"; 10 version = "1.2.3"; 11 ··· 22 sha256 = "09lzwa183nblr6l8ib35g2xrjf9wm9yhk3szfvyzkwivdv69c9r2"; 23 }; 24 25 - nativeBuildInputs = [ pkg-config asciidoc ] ++ [ python wrapPython ]; 26 - buildInputs = [ 27 - openssl zlib libxml2 libxslt docbook_xsl luajit 28 - ]; 29 - pythonPath = [ pygments markdown ]; 30 - 31 - postPatch = '' 32 - sed -e 's|"gzip"|"${gzip}/bin/gzip"|' \ 33 - -e 's|"bzip2"|"${bzip2.bin}/bin/bzip2"|' \ 34 - -e 's|"lzip"|"${lzip}/bin/lzip"|' \ 35 - -e 's|"xz"|"${xz.bin}/bin/xz"|' \ 36 - -e 's|"zstd"|"${zstd}/bin/zstd"|' \ 37 - -i ui-snapshot.c 38 - 39 - substituteInPlace filters/html-converters/man2html \ 40 - --replace 'groff' '${groff}/bin/groff' 41 - 42 - substituteInPlace filters/html-converters/rst2html \ 43 - --replace 'rst2html.py' '${docutils}/bin/rst2html.py' 44 - ''; 45 - 46 - # Give cgit a git source tree and pass configuration parameters (as make 47 - # variables). 48 - preBuild = '' 49 - mkdir -p git 50 - tar --strip-components=1 -xf "$gitSrc" -C git 51 - ''; 52 - 53 - makeFlags = [ 54 - "prefix=$(out)" 55 - "CGIT_SCRIPT_PATH=$(out)/cgit/" 56 - "CC=${stdenv.cc.targetPrefix}cc" 57 - "AR=${stdenv.cc.targetPrefix}ar" 58 - ]; 59 - 60 - # Install manpage. 61 - postInstall = '' 62 - # xmllint fails: 63 - #make install-man 64 - 65 - # bypassing xmllint works: 66 - a2x --no-xmllint -f manpage cgitrc.5.txt 67 - mkdir -p "$out/share/man/man5" 68 - cp cgitrc.5 "$out/share/man/man5" 69 - 70 - wrapPythonProgramsIn "$out/lib/cgit/filters" "$out $pythonPath" 71 - 72 - for script in $out/lib/cgit/filters/*.sh $out/lib/cgit/filters/html-converters/txt2html; do 73 - wrapProgram $script --prefix PATH : '${lib.makeBinPath [ coreutils gnused ]}' 74 - done 75 - ''; 76 - 77 - stripDebugList = [ "cgit" ]; 78 79 - meta = { 80 - homepage = "https://git.zx2c4.com/cgit/about/"; 81 - repositories.git = "git://git.zx2c4.com/cgit"; 82 - description = "Web frontend for git repositories"; 83 - license = lib.licenses.gpl2; 84 - platforms = lib.platforms.linux; 85 - maintainers = with lib.maintainers; [ bjornfor ]; 86 - }; 87 - }
··· 1 + { lib, fetchurl, callPackage, luajit }: 2 3 + callPackage (import ./common.nix rec { 4 pname = "cgit"; 5 version = "1.2.3"; 6 ··· 17 sha256 = "09lzwa183nblr6l8ib35g2xrjf9wm9yhk3szfvyzkwivdv69c9r2"; 18 }; 19 20 + buildInputs = [ luajit ]; 21 22 + homepage = "https://git.zx2c4.com/cgit/about/"; 23 + description = "Web frontend for git repositories"; 24 + maintainers = with lib.maintainers; [ bjornfor ]; 25 + }) {}
+23
pkgs/applications/version-management/git-and-tools/cgit/pink.nix
···
··· 1 + { lib, fetchurl, callPackage }: 2 + 3 + callPackage (import ./common.nix rec { 4 + pname = "cgit-pink"; 5 + version = "1.3.0"; 6 + 7 + src = fetchurl { 8 + url = "https://git.causal.agency/cgit-pink/snapshot/cgit-pink-${version}.tar.gz"; 9 + sha256 = "sha256-oL46NWgqi1VqKNEt0QGBWNXbi2l7nOQDZy1aMivcWuM="; 10 + }; 11 + 12 + # cgit-pink is tightly coupled with git and needs a git source tree to build. 13 + # IMPORTANT: Remember to check which git version cgit-pink needs on every 14 + # version bump (look for "GIT_VER" in the top-level Makefile). 15 + gitSrc = fetchurl { 16 + url = "mirror://kernel/software/scm/git/git-2.35.1.tar.xz"; 17 + sha256 = "sha256-12hSjmRD9logMDYmbxylD50Se6iXUeMurTcRftkZEIA="; 18 + }; 19 + 20 + homepage = "https://git.causal.agency/cgit-pink/about/"; 21 + description = "cgit fork aiming for better maintenance"; 22 + maintainers = with lib.maintainers; [ qyliss sternenseemann ]; 23 + }) {}
+3 -6
pkgs/applications/version-management/git-and-tools/git-secret/default.nix
··· 1 { stdenv, lib, fetchFromGitHub, makeWrapper, git, gnupg, gawk }: 2 3 - let 4 version = "0.4.0"; 5 - repo = "git-secret"; 6 - 7 - in stdenv.mkDerivation { 8 - name = "${repo}-${version}"; 9 10 src = fetchFromGitHub { 11 - inherit repo; 12 owner = "sobolevn"; 13 rev = "v${version}"; 14 sha256 = "sha256-Mtuj+e/yCDr4XkmYkWUFJB3cqOT5yOMOq9P/QJV1S80=";
··· 1 { stdenv, lib, fetchFromGitHub, makeWrapper, git, gnupg, gawk }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "git-secret"; 5 version = "0.4.0"; 6 7 src = fetchFromGitHub { 8 + repo = "git-secret"; 9 owner = "sobolevn"; 10 rev = "v${version}"; 11 sha256 = "sha256-Mtuj+e/yCDr4XkmYkWUFJB3cqOT5yOMOq9P/QJV1S80=";
+2 -2
pkgs/applications/version-management/gitea/default.nix
··· 16 17 buildGoPackage rec { 18 pname = "gitea"; 19 - version = "1.16.4"; 20 21 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 22 src = fetchurl { 23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; 24 - sha256 = "sha256-7zlreX05pkhn381FMgQ8Nj3OP+BUr6o3u5f4ouo/Khg="; 25 }; 26 27 unpackPhase = ''
··· 16 17 buildGoPackage rec { 18 pname = "gitea"; 19 + version = "1.16.5"; 20 21 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 22 src = fetchurl { 23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; 24 + sha256 = "sha256-2aqy6DV8oaIur/syg1bk41Wo+FGk3m+05+tUyoDwGHs="; 25 }; 26 27 unpackPhase = ''
+4 -12
pkgs/applications/video/corrscope/default.nix
··· 2 , mkDerivationWith 3 , python3Packages 4 , fetchFromGitHub 5 - , fetchpatch 6 , wrapQtAppsHook 7 , ffmpeg 8 , qtbase ··· 10 11 mkDerivationWith python3Packages.buildPythonApplication rec { 12 pname = "corrscope"; 13 - version = "0.7.1"; 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "corrscope"; 18 repo = "corrscope"; 19 rev = version; 20 - sha256 = "0c9kmrw6pcda68li04b5j2kmsgdw1q463qlc32wn96zn9hl82v6m"; 21 }; 22 23 - patches = [ 24 - # Remove when bumping past 0.7.1 25 - (fetchpatch { 26 - name = "0001-Use-poetry-core.patch"; 27 - url = "https://github.com/corrscope/corrscope/commit/d40d1846dd54b8bccd7b8055d6aece48aacbb943.patch"; 28 - sha256 = "0xxsbmxdbh3agfm6ww3rpa7ab0ysppan490w0gaqwmwzrxmmdljv"; 29 - }) 30 - ]; 31 - 32 nativeBuildInputs = [ 33 wrapQtAppsHook 34 ] ++ (with python3Packages; [ ··· 48 matplotlib 49 numpy 50 packaging 51 pyqt5 52 ruamel-yaml 53 ]; 54 55 dontWrapQtApps = true;
··· 2 , mkDerivationWith 3 , python3Packages 4 , fetchFromGitHub 5 , wrapQtAppsHook 6 , ffmpeg 7 , qtbase ··· 9 10 mkDerivationWith python3Packages.buildPythonApplication rec { 11 pname = "corrscope"; 12 + version = "0.8.0"; 13 format = "pyproject"; 14 15 src = fetchFromGitHub { 16 owner = "corrscope"; 17 repo = "corrscope"; 18 rev = version; 19 + sha256 = "1wdla4ryif1ss37aqi61lcvzddvf568wyh5s3xv1lrryh4al9vpd"; 20 }; 21 22 nativeBuildInputs = [ 23 wrapQtAppsHook 24 ] ++ (with python3Packages; [ ··· 38 matplotlib 39 numpy 40 packaging 41 + qtpy 42 pyqt5 43 ruamel-yaml 44 + colorspacious 45 ]; 46 47 dontWrapQtApps = true;
+2 -1
pkgs/applications/video/p2pvc/default.nix
··· 1 { lib, stdenv, pkg-config, fetchFromGitHub, opencv2, ncurses, portaudio }: 2 3 stdenv.mkDerivation { 4 - name = "p2pvc"; 5 6 nativeBuildInputs = [ pkg-config ]; 7 buildInputs = [ opencv2 ncurses portaudio ];
··· 1 { lib, stdenv, pkg-config, fetchFromGitHub, opencv2, ncurses, portaudio }: 2 3 stdenv.mkDerivation { 4 + pname = "p2pvc"; 5 + version = "unstable-2015-02-12"; 6 7 nativeBuildInputs = [ pkg-config ]; 8 buildInputs = [ opencv2 ncurses portaudio ];
+2 -1
pkgs/applications/virtualization/OVMF/default.nix
··· 22 in 23 24 edk2.mkDerivation projectDscPath { 25 - name = "OVMF-${version}"; 26 27 outputs = [ "out" "fd" ]; 28
··· 22 in 23 24 edk2.mkDerivation projectDscPath { 25 + pname = "OVMF"; 26 + inherit version; 27 28 outputs = [ "out" "fd" ]; 29
+2 -2
pkgs/applications/virtualization/containerd/default.nix
··· 10 11 buildGoModule rec { 12 pname = "containerd"; 13 - version = "1.6.1"; 14 15 src = fetchFromGitHub { 16 owner = "containerd"; 17 repo = "containerd"; 18 rev = "v${version}"; 19 - sha256 = "sha256-NOFDUOypq/1ePM8rdK2cDnH1LsSZJ7eQOzDc5h4/PvY="; 20 }; 21 22 vendorSha256 = null;
··· 10 11 buildGoModule rec { 12 pname = "containerd"; 13 + version = "1.6.2"; 14 15 src = fetchFromGitHub { 16 owner = "containerd"; 17 repo = "containerd"; 18 rev = "v${version}"; 19 + sha256 = "sha256-l/9jOvZ4nn/wy+XPRoT1lojfGvPEXhPz2FJjLpZ/EE8="; 20 }; 21 22 vendorSha256 = null;
+2 -2
pkgs/applications/virtualization/crun/default.nix
··· 38 in 39 stdenv.mkDerivation rec { 40 pname = "crun"; 41 - version = "1.4.3"; 42 43 src = fetchFromGitHub { 44 owner = "containers"; 45 repo = pname; 46 rev = version; 47 - sha256 = "sha256-5q8HirGOPsbaJ7JoLa4DRYkZX3kucWOZ633nzx4zVhg="; 48 fetchSubmodules = true; 49 }; 50
··· 38 in 39 stdenv.mkDerivation rec { 40 pname = "crun"; 41 + version = "1.4.4"; 42 43 src = fetchFromGitHub { 44 owner = "containers"; 45 repo = pname; 46 rev = version; 47 + sha256 = "sha256-ITUj905ZSdCH0mcw8tubyVKqI6p/oNcC4OW7/NbkR5o="; 48 fetchSubmodules = true; 49 }; 50
+4 -4
pkgs/applications/virtualization/docker/default.nix
··· 243 # Get revisions from 244 # https://github.com/moby/moby/tree/${version}/hack/dockerfile/install/* 245 docker_20_10 = callPackage dockerGen rec { 246 - version = "20.10.13"; 247 rev = "v${version}"; 248 sha256 = "sha256-eDwgqFx4io++SMOjhxMxVzqzcOgOnv6Xe/qmmPCvZts="; 249 moby-src = fetchFromGitHub { 250 owner = "moby"; 251 repo = "moby"; 252 rev = "v${version}"; 253 - sha256 = "sha256-ajceIdMM8yAa+bvTjRwZ/zF7yTLF2LhGmbrweWni7hM="; 254 }; 255 runcRev = "v1.0.3"; 256 runcSha256 = "sha256-Tl/JKbIpao+FCjngPzaVkxse50zo3XQ9Mg/AdkblMcI="; 257 - containerdRev = "v1.5.10"; 258 - containerdSha256 = "sha256-ee0dwWSGedo08omKOmZtW5qQ1J5M9Mm+kZHq7a+zyT4="; 259 tiniRev = "v0.19.0"; 260 tiniSha256 = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI="; 261 };
··· 243 # Get revisions from 244 # https://github.com/moby/moby/tree/${version}/hack/dockerfile/install/* 245 docker_20_10 = callPackage dockerGen rec { 246 + version = "20.10.14"; 247 rev = "v${version}"; 248 sha256 = "sha256-eDwgqFx4io++SMOjhxMxVzqzcOgOnv6Xe/qmmPCvZts="; 249 moby-src = fetchFromGitHub { 250 owner = "moby"; 251 repo = "moby"; 252 rev = "v${version}"; 253 + sha256 = "sha256-I5oxpFLH789I2Sb29OXDaM4fCbQT/KvPq0DYcAVp0aI="; 254 }; 255 runcRev = "v1.0.3"; 256 runcSha256 = "sha256-Tl/JKbIpao+FCjngPzaVkxse50zo3XQ9Mg/AdkblMcI="; 257 + containerdRev = "v1.5.11"; 258 + containerdSha256 = "sha256-YzFtv6DIjImSK0SywxhZrEeEmCnHTceAi3pfwnPubKg="; 259 tiniRev = "v0.19.0"; 260 tiniSha256 = "sha256-ZDKu/8yE5G0RYFJdhgmCdN3obJNyRWv6K/Gd17zc1sI="; 261 };
+3 -3
pkgs/applications/virtualization/docker/gc.nix
··· 3 with lib; 4 5 stdenv.mkDerivation rec { 6 - name = "docker-gc-${rev}"; 7 - rev = "b0cc52aa3da2e2ac0080794e0be6e674b1f063fc"; 8 9 src = fetchFromGitHub { 10 - inherit rev; 11 owner = "spotify"; 12 repo = "docker-gc"; 13 sha256 = "07wf9yn0f771xkm3x12946x5rp83hxjkd70xgfgy35zvj27wskzm"; 14 }; 15
··· 3 with lib; 4 5 stdenv.mkDerivation rec { 6 + pname = "docker-gc"; 7 + version = "unstable-2015-10-5"; 8 9 src = fetchFromGitHub { 10 owner = "spotify"; 11 repo = "docker-gc"; 12 + rev = "b0cc52aa3da2e2ac0080794e0be6e674b1f063fc"; 13 sha256 = "07wf9yn0f771xkm3x12946x5rp83hxjkd70xgfgy35zvj27wskzm"; 14 }; 15
+3 -3
pkgs/applications/virtualization/docker/proxy.nix
··· 1 { lib, buildGoPackage, fetchFromGitHub }: 2 3 buildGoPackage rec { 4 - name = "docker-proxy-${rev}"; 5 - rev = "fa125a3512ee0f6187721c88582bf8c4378bd4d7"; 6 7 src = fetchFromGitHub { 8 - inherit rev; 9 owner = "docker"; 10 repo = "libnetwork"; 11 sha256 = "1r47y0gww3j7fas4kgiqbhrz5fazsx1c6sxnccdfhj8fzik77s9y"; 12 }; 13
··· 1 { lib, buildGoPackage, fetchFromGitHub }: 2 3 buildGoPackage rec { 4 + pname = "docker-proxy"; 5 + version = "unstable-2020-12-15"; 6 7 src = fetchFromGitHub { 8 owner = "docker"; 9 repo = "libnetwork"; 10 + rev = "fa125a3512ee0f6187721c88582bf8c4378bd4d7"; 11 sha256 = "1r47y0gww3j7fas4kgiqbhrz5fazsx1c6sxnccdfhj8fzik77s9y"; 12 }; 13
+2 -2
pkgs/applications/virtualization/gvisor/containerd-shim.nix
··· 1 { lib, fetchFromGitHub, buildGoModule }: 2 3 buildGoModule rec { 4 - name = "gvisor-containerd-shim-${version}"; 5 - version = "2019-10-09"; 6 7 src = fetchFromGitHub { 8 owner = "google";
··· 1 { lib, fetchFromGitHub, buildGoModule }: 2 3 buildGoModule rec { 4 + pname = "gvisor-containerd-shim"; 5 + version = "unstable-2019-10-09"; 6 7 src = fetchFromGitHub { 8 owner = "google";
+1 -1
pkgs/applications/virtualization/gvisor/default.nix
··· 52 }; 53 54 in buildBazelPackage rec { 55 - name = "gvisor-${version}"; 56 version = "20210518.0"; 57 58 src = fetchFromGitHub {
··· 52 }; 53 54 in buildBazelPackage rec { 55 + pname = "gvisor"; 56 version = "20210518.0"; 57 58 src = fetchFromGitHub {
+2 -2
pkgs/applications/virtualization/qemu/utils.nix
··· 1 { stdenv, installShellFiles, qemu }: 2 3 stdenv.mkDerivation rec { 4 - name = "qemu-utils-${version}"; 5 - version = qemu.version; 6 7 nativeBuildInputs = [ installShellFiles ]; 8 buildInputs = [ qemu ];
··· 1 { stdenv, installShellFiles, qemu }: 2 3 stdenv.mkDerivation rec { 4 + pname = "qemu-utils"; 5 + inherit (qemu) version; 6 7 nativeBuildInputs = [ installShellFiles ]; 8 buildInputs = [ qemu ];
+2 -3
pkgs/applications/virtualization/virt-viewer/default.nix
··· 35 with lib; 36 37 stdenv.mkDerivation rec { 38 - baseName = "virt-viewer"; 39 version = "11.0"; 40 - name = "${baseName}-${version}"; 41 42 src = fetchurl { 43 - url = "http://virt-manager.org/download/sources/${baseName}/${name}.tar.xz"; 44 sha256 = "sha256-pD+iMlxMHHelyMmAZaww7wURohrJjlkPIjQIabrZq9A="; 45 }; 46
··· 35 with lib; 36 37 stdenv.mkDerivation rec { 38 + pname = "virt-viewer"; 39 version = "11.0"; 40 41 src = fetchurl { 42 + url = "https://releases.pagure.org/virt-viewer/virt-viewer-${version}.tar.xz"; 43 sha256 = "sha256-pD+iMlxMHHelyMmAZaww7wURohrJjlkPIjQIabrZq9A="; 44 }; 45
+3 -2
pkgs/applications/window-managers/clfswm/default.nix
··· 2 , makeWrapper }: 3 4 stdenv.mkDerivation { 5 - name = "clfswm"; 6 7 src = fetchgit { 8 url = "https://gitlab.common-lisp.net/clfswm/clfswm.git"; 9 - rev = "refs/heads/master"; 10 sha256 = "0hynzh3a1zr719cxfb0k4cvh5lskzs616hwn7p942isyvhwzhynd"; 11 }; 12
··· 2 , makeWrapper }: 3 4 stdenv.mkDerivation { 5 + pname = "clfswm"; 6 + version = "unstable-2016-11-12"; 7 8 src = fetchgit { 9 url = "https://gitlab.common-lisp.net/clfswm/clfswm.git"; 10 + rev = "3c7721dba6339ebb4f8c8d7ce2341740fa86f837"; 11 sha256 = "0hynzh3a1zr719cxfb0k4cvh5lskzs616hwn7p942isyvhwzhynd"; 12 }; 13
+2 -1
pkgs/applications/window-managers/taffybar/default.nix
··· 5 self.taffybar 6 ] ++ packages self); 7 in stdenv.mkDerivation { 8 - name = "taffybar-with-packages-${taffybarEnv.version}"; 9 10 nativeBuildInputs = [ makeWrapper ]; 11
··· 5 self.taffybar 6 ] ++ packages self); 7 in stdenv.mkDerivation { 8 + pname = "taffybar-with-packages"; 9 + inherit (taffybarEnv) version; 10 11 nativeBuildInputs = [ makeWrapper ]; 12
+2 -1
pkgs/applications/window-managers/xmonad/wrapper.nix
··· 3 let 4 xmonadEnv = ghcWithPackages (self: [ self.xmonad ] ++ packages self); 5 in stdenv.mkDerivation { 6 - name = "xmonad-with-packages-${xmonadEnv.version}"; 7 8 nativeBuildInputs = [ makeWrapper ]; 9
··· 3 let 4 xmonadEnv = ghcWithPackages (self: [ self.xmonad ] ++ packages self); 5 in stdenv.mkDerivation { 6 + pname = "xmonad-with-packages"; 7 + inherit (xmonadEnv) version; 8 9 nativeBuildInputs = [ makeWrapper ]; 10
+3
pkgs/build-support/build-fhs-userenv-bubblewrap/env.nix
··· 59 export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH" 60 export TZDIR='/etc/zoneinfo' 61 62 # Force compilers and other tools to look in default search paths 63 unset NIX_ENFORCE_PURITY 64 export NIX_CC_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}=1
··· 59 export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH" 60 export TZDIR='/etc/zoneinfo' 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 + 65 # Force compilers and other tools to look in default search paths 66 unset NIX_ENFORCE_PURITY 67 export NIX_CC_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}=1
+3
pkgs/build-support/build-fhs-userenv/env.nix
··· 60 export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH" 61 export TZDIR='/etc/zoneinfo' 62 63 # Force compilers and other tools to look in default search paths 64 unset NIX_ENFORCE_PURITY 65 export NIX_CC_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}=1
··· 60 export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH" 61 export TZDIR='/etc/zoneinfo' 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 + 66 # Force compilers and other tools to look in default search paths 67 unset NIX_ENFORCE_PURITY 68 export NIX_CC_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}=1
+3 -5
pkgs/build-support/make-darwin-bundle/write-darwin-bundle.nix
··· 5 CFBundleDevelopmentRegion = "English"; 6 CFBundleExecutable = "$name"; 7 CFBundleIconFile = "$icon"; 8 CFBundleIdentifier = "org.nixos.$name"; 9 CFBundleInfoDictionaryVersion = "6.0"; 10 CFBundleName = "$name"; ··· 25 ${pListText} 26 EOF 27 28 - if [[ $squircle != 0 && $squircle != "false" ]]; then 29 - sed " 30 - s|CFBundleIconFile|CFBundleIconFiles|; 31 - s|<string>$icon</string>|<array><string>$icon</string></array>| 32 - " -i "$plist" 33 fi 34 35 cat > "$prefix/Applications/$name.app/Contents/MacOS/$name" <<EOF
··· 5 CFBundleDevelopmentRegion = "English"; 6 CFBundleExecutable = "$name"; 7 CFBundleIconFile = "$icon"; 8 + CFBundleIconFiles = [ "$icon" ]; 9 CFBundleIdentifier = "org.nixos.$name"; 10 CFBundleInfoDictionaryVersion = "6.0"; 11 CFBundleName = "$name"; ··· 26 ${pListText} 27 EOF 28 29 + if [[ $squircle == 0 || $squircle == "false" ]]; then 30 + sed '/CFBundleIconFiles/,\|</array>|d' -i "$plist" 31 fi 32 33 cat > "$prefix/Applications/$name.app/Contents/MacOS/$name" <<EOF
+37 -11
pkgs/build-support/setup-hooks/desktop-to-darwin-bundle.sh
··· 18 local -r iconName=$3 19 local -r theme=${4:-hicolor} 20 21 - local -ra iconSizes=(16 32 48 128 256 512) 22 local -ra scales=([1]="" [2]="@2") 23 24 # Based loosely on the algorithm at: ··· 31 local scaleSuffix=${scales[$scale]} 32 local exactSize=${iconSize}x${iconSize}${scaleSuffix} 33 34 - if [[ $exactSize = '48x48@2' ]]; then 35 - # macOS does not support a 2x scale variant of 48x48 icons 36 - # See: https://en.wikipedia.org/wiki/Apple_Icon_Image_format#Icon_types 37 - echo "unsupported" 38 - return 0 39 - fi 40 - 41 local -a validSizes=( 42 ${exactSize} 43 $((iconSize + 1))x$((iconSize + 1))${scaleSuffix} ··· 55 else 56 echo "threshold $icon" 57 fi 58 - return 0 59 fi 60 done 61 done 62 echo "scalable" ··· 106 scalableIcon=('-') 107 fi 108 109 for iconSize in "${iconSizes[@]}"; do 110 for scale in "${!scales[@]}"; do 111 local iconResult=$(findIcon $iconSize $scale) ··· 117 fixed) 118 local density=$((72 * scale))x$((72 * scale)) 119 magick convert -density "$density" -units PixelsPerInch "$icon" "$result" 120 ;; 121 threshold) 122 # Synthesize an icon of the exact size if a scalable icon is available ··· 124 if ! synthesizeIcon "${scalableIcon[0]}" "$result" "$iconSize" "$scale"; then 125 resizeIcon "$icon" "$result" "$iconSize" "$scale" 126 fi 127 ;; 128 scalable) 129 synthesizeIcon "${scalableIcon[0]}" "$result" "$iconSize" "$scale" || true 130 ;; 131 *) 132 ;; 133 esac 134 done 135 done 136 echo "$resultdir" 137 } 138 139 iconsdir=$(getIcons "$sharePath" "apps/${iconName}" "$theme") 140 - if [[ ! -z "$(ls -1 "$iconsdir/"*)" ]]; then 141 - icnsutil compose "$out/${iconName}.icns" "$iconsdir/"* 142 else 143 echo "Warning: no icons were found. Creating an empty icon for ${iconName}.icns." 144 touch "$out/${iconName}.icns"
··· 18 local -r iconName=$3 19 local -r theme=${4:-hicolor} 20 21 + # Sizes based on archived Apple documentation: 22 + # https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon#app-icon-sizes 23 + local -ra iconSizes=(16 32 128 256 512) 24 local -ra scales=([1]="" [2]="@2") 25 26 # Based loosely on the algorithm at: ··· 33 local scaleSuffix=${scales[$scale]} 34 local exactSize=${iconSize}x${iconSize}${scaleSuffix} 35 36 local -a validSizes=( 37 ${exactSize} 38 $((iconSize + 1))x$((iconSize + 1))${scaleSuffix} ··· 50 else 51 echo "threshold $icon" 52 fi 53 + elif [[ -a $icon ]]; then 54 + echo "fallback $icon" 55 fi 56 + return 0 57 done 58 done 59 echo "scalable" ··· 103 scalableIcon=('-') 104 fi 105 106 + # Tri-state variable, NONE means no icons have been found, an empty 107 + # icns file will be generated, not sure that's necessary because macOS 108 + # will default to a generic icon if no icon can be found. 109 + # 110 + # OTHER means an appropriate icon was found. 111 + # 112 + # Any other value is a path to an icon file that isn't scalable or 113 + # within the threshold. This is used as a fallback in case no better 114 + # icon can be found and will be scaled as much as 115 + # necessary to result in appropriate icon sizes. 116 + local foundIcon=NONE 117 for iconSize in "${iconSizes[@]}"; do 118 for scale in "${!scales[@]}"; do 119 local iconResult=$(findIcon $iconSize $scale) ··· 125 fixed) 126 local density=$((72 * scale))x$((72 * scale)) 127 magick convert -density "$density" -units PixelsPerInch "$icon" "$result" 128 + foundIcon=OTHER 129 ;; 130 threshold) 131 # Synthesize an icon of the exact size if a scalable icon is available ··· 133 if ! synthesizeIcon "${scalableIcon[0]}" "$result" "$iconSize" "$scale"; then 134 resizeIcon "$icon" "$result" "$iconSize" "$scale" 135 fi 136 + foundIcon=OTHER 137 ;; 138 scalable) 139 synthesizeIcon "${scalableIcon[0]}" "$result" "$iconSize" "$scale" || true 140 + foundIcon=OTHER 141 + ;; 142 + fallback) 143 + # Use the largest size available to scale to 144 + # appropriate sizes. 145 + if [[ $foundIcon != OTHER ]]; then 146 + foundIcon=$icon 147 + fi 148 ;; 149 *) 150 ;; 151 esac 152 done 153 done 154 + if [[ $foundIcon != NONE && $foundIcon != OTHER ]]; then 155 + # Ideally we'd only resize to whatever the closest sizes are, 156 + # starting from whatever icon sizes are available. 157 + for iconSize in 16 32 128 256 512; do 158 + local result=${resultdir}/${iconSize}x${iconSize}.png 159 + resizeIcon "$foundIcon" "$result" "$iconSize" 1 160 + done 161 + fi 162 echo "$resultdir" 163 } 164 165 iconsdir=$(getIcons "$sharePath" "apps/${iconName}" "$theme") 166 + if [[ -n "$(ls -1 "$iconsdir/"*)" ]]; then 167 + icnsutil compose --toc "$out/${iconName}.icns" "$iconsdir/"* 168 else 169 echo "Warning: no icons were found. Creating an empty icon for ${iconName}.icns." 170 touch "$out/${iconName}.icns"
-1
pkgs/data/documentation/man-pages/default.nix
··· 24 meta = with lib; { 25 description = "Linux development manual pages"; 26 homepage = "https://www.kernel.org/doc/man-pages/"; 27 - repositories.git = "https://git.kernel.org/pub/scm/docs/man-pages/man-pages"; 28 license = licenses.gpl2Plus; 29 platforms = with platforms; unix; 30 priority = 30; # if a package comes with its own man page, prefer it
··· 24 meta = with lib; { 25 description = "Linux development manual pages"; 26 homepage = "https://www.kernel.org/doc/man-pages/"; 27 license = licenses.gpl2Plus; 28 platforms = with platforms; unix; 29 priority = 30; # if a package comes with its own man page, prefer it
+4 -3
pkgs/data/documentation/std-man-pages/default.nix
··· 1 { stdenv, lib, fetchurl }: 2 3 - stdenv.mkDerivation { 4 - name = "std-man-pages-4.4.0"; 5 6 src = fetchurl { 7 - url = "mirror://gcc/libstdc++/doxygen/libstdc++-man.4.4.0.tar.bz2"; 8 sha256 = "0153py77ll759jacq41dp2z2ksr08pdcfic0rwjd6pr84dk89y9v"; 9 }; 10
··· 1 { stdenv, lib, fetchurl }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "std-man-pages"; 5 + version = "4.4.0"; 6 7 src = fetchurl { 8 + url = "mirror://gcc/libstdc++/doxygen/libstdc++-man.${version}.tar.bz2"; 9 sha256 = "0153py77ll759jacq41dp2z2ksr08pdcfic0rwjd6pr84dk89y9v"; 10 }; 11
+2 -2
pkgs/data/fonts/sarasa-gothic/default.nix
··· 1 { lib, fetchurl, libarchive }: 2 3 let 4 - version = "0.36.0"; 5 in fetchurl { 6 name = "sarasa-gothic-${version}"; 7 8 # Use the 'ttc' files here for a smaller closure size. 9 # (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.) 10 url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z"; 11 - sha256 = "sha256-ENBF7dVFp9lrGGRwNIB0Yg7y1F5XbVivgD2e9pLZQwQ="; 12 13 recursiveHash = true; 14 downloadToTemp = true;
··· 1 { lib, fetchurl, libarchive }: 2 3 let 4 + version = "0.36.1"; 5 in fetchurl { 6 name = "sarasa-gothic-${version}"; 7 8 # Use the 'ttc' files here for a smaller closure size. 9 # (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.) 10 url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z"; 11 + sha256 = "sha256-w8PVDvbnHFZF7/X4EzO0IJsEKMC7c+GPng1sn8Q8G14="; 12 13 recursiveHash = true; 14 downloadToTemp = true;
+2 -3
pkgs/data/icons/faba-icon-theme/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, meson, ninja, python3, gtk3, pantheon, gnome-icon-theme, hicolor-icon-theme }: 2 3 stdenv.mkDerivation rec { 4 - name = "${package-name}-${version}"; 5 - package-name = "faba-icon-theme"; 6 version = "4.3"; 7 8 src = fetchFromGitHub { 9 owner = "moka-project"; 10 - repo = package-name; 11 rev = "v${version}"; 12 sha256 = "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"; 13 };
··· 1 { lib, stdenv, fetchFromGitHub, meson, ninja, python3, gtk3, pantheon, gnome-icon-theme, hicolor-icon-theme }: 2 3 stdenv.mkDerivation rec { 4 + pname = "faba-icon-theme"; 5 version = "4.3"; 6 7 src = fetchFromGitHub { 8 owner = "moka-project"; 9 + repo = "faba-icon-theme"; 10 rev = "v${version}"; 11 sha256 = "0xh6ppr73p76z60ym49b4d0liwdc96w41cc5p07d48hxjsa6qd6n"; 12 };
+3 -2
pkgs/data/icons/tango-icon-theme/default.nix
··· 3 }: 4 5 stdenv.mkDerivation rec { 6 - name = "tango-icon-theme-0.8.90"; 7 8 src = fetchurl { 9 - url = "http://tango.freedesktop.org/releases/${name}.tar.gz"; 10 sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f"; 11 }; 12
··· 3 }: 4 5 stdenv.mkDerivation rec { 6 + pname = "tango-icon-theme"; 7 + version = "0.8.90"; 8 9 src = fetchurl { 10 + url = "http://tango.freedesktop.org/releases/tango-icon-theme-${version}.tar.gz"; 11 sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f"; 12 }; 13
+2 -1
pkgs/data/misc/brise/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, librime }: 2 3 stdenv.mkDerivation { 4 - name = "brise-unstable-2017-09-16"; 5 6 src = fetchFromGitHub { 7 owner = "rime";
··· 1 { lib, stdenv, fetchFromGitHub, librime }: 2 3 stdenv.mkDerivation { 4 + pname = "brise"; 5 + version = "unstable-2017-09-16"; 6 7 src = fetchFromGitHub { 8 owner = "rime";
+3 -2
pkgs/data/misc/miscfiles/default.nix
··· 1 {lib, stdenv, fetchurl}: 2 3 stdenv.mkDerivation rec { 4 - name = "miscfiles-1.5"; 5 6 src = fetchurl { 7 - url = "mirror://gnu/miscfiles/${name}.tar.gz"; 8 sha256 = "005588vfrwx8ghsdv9p7zczj9lbc9a3r4m5aphcaqv8gif4siaka"; 9 }; 10
··· 1 {lib, stdenv, fetchurl}: 2 3 stdenv.mkDerivation rec { 4 + pname = "miscfiles"; 5 + version = "1.5"; 6 7 src = fetchurl { 8 + url = "mirror://gnu/miscfiles/miscfiles-${version}.tar.gz"; 9 sha256 = "005588vfrwx8ghsdv9p7zczj9lbc9a3r4m5aphcaqv8gif4siaka"; 10 }; 11
+3 -2
pkgs/data/misc/shared-desktop-ontologies/default.nix
··· 1 { lib, stdenv, fetchurl, cmake }: 2 3 stdenv.mkDerivation rec { 4 - name = "shared-desktop-ontologies-0.11.0"; 5 6 src = fetchurl { 7 - url = "mirror://sourceforge/oscaf/${name}.tar.bz2"; 8 sha256 = "1m5vnijg7rnwg41vig2ckg632dlczzdab1gsq51g4x7m9k1fdbw2"; 9 }; 10
··· 1 { lib, stdenv, fetchurl, cmake }: 2 3 stdenv.mkDerivation rec { 4 + pname = "shared-desktop-ontologies"; 5 + version = "0.11.0"; 6 7 src = fetchurl { 8 + url = "mirror://sourceforge/oscaf/shared-desktop-ontologies-${version}.tar.bz2"; 9 sha256 = "1m5vnijg7rnwg41vig2ckg632dlczzdab1gsq51g4x7m9k1fdbw2"; 10 }; 11
+3 -3
pkgs/data/misc/v2ray-geoip/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "v2ray-geoip"; 5 - version = "202203170039"; 6 7 src = fetchFromGitHub { 8 owner = "v2fly"; 9 repo = "geoip"; 10 - rev = "0b5c94c368dc5f70ebf995e87188aa8f40d45489"; 11 - sha256 = "sha256-iaqU6CkrewICONps43nbZaUiM2aahSwfSD5bZz1P4Zc="; 12 }; 13 14 installPhase = ''
··· 2 3 stdenv.mkDerivation rec { 4 pname = "v2ray-geoip"; 5 + version = "202203240042"; 6 7 src = fetchFromGitHub { 8 owner = "v2fly"; 9 repo = "geoip"; 10 + rev = "d7ff77f883216595a4b6674e9507f305195dcda3"; 11 + sha256 = "sha256-wSm24nXz4QIM8e7Z8d08NjluLaBWEdl09FNAL3GR9so="; 12 }; 13 14 installPhase = ''
+15 -12
pkgs/data/themes/arc/default.nix
··· 3 , sassc 4 , meson 5 , ninja 6 - , pkg-config 7 - , gtk3 8 , glib 9 , gnome 10 , gtk-engine-murrine 11 - , optipng 12 , inkscape 13 , cinnamon 14 }: 15 16 stdenv.mkDerivation rec { 17 pname = "arc-theme"; 18 - version = "20211018"; 19 20 src = fetchFromGitHub { 21 owner = "jnsh"; 22 repo = pname; 23 rev = version; 24 - sha256 = "1rrxm5b7l8kq1h0lm08ck54xljzm8w573mxx904n3rhdg3ri9d63"; 25 }; 26 27 nativeBuildInputs = [ 28 meson 29 ninja 30 - pkg-config 31 sassc 32 - optipng 33 inkscape 34 - gtk3 35 glib # for glib-compile-resources 36 ]; 37 38 propagatedUserEnvPkgs = [ ··· 40 gtk-engine-murrine 41 ]; 42 43 preBuild = '' 44 # Shut up inkscape's warnings about creating profile directory 45 - export HOME="$NIX_BUILD_ROOT" 46 ''; 47 48 mesonFlags = [ 49 - "-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity" 50 - "-Dvariants=light,darker,dark,lighter" 51 "-Dcinnamon_version=${cinnamon.cinnamon-common.version}" 52 "-Dgnome_shell_version=${gnome.gnome-shell.version}" 53 - "-Dgtk3_version=${gtk3.version}" 54 # You will need to patch gdm to make use of this. 55 "-Dgnome_shell_gresource=true" 56 ];
··· 3 , sassc 4 , meson 5 , ninja 6 , glib 7 , gnome 8 , gtk-engine-murrine 9 , inkscape 10 , cinnamon 11 + , makeFontsConf 12 + , python3 13 }: 14 15 stdenv.mkDerivation rec { 16 pname = "arc-theme"; 17 + version = "20220223"; 18 19 src = fetchFromGitHub { 20 owner = "jnsh"; 21 repo = pname; 22 rev = version; 23 + sha256 = "sha256-qsZdXDNxT1/gIlkUsC1cfVrULApC+dHreBXXjVTJQiA="; 24 }; 25 26 nativeBuildInputs = [ 27 meson 28 ninja 29 sassc 30 inkscape 31 glib # for glib-compile-resources 32 + python3 33 ]; 34 35 propagatedUserEnvPkgs = [ ··· 37 gtk-engine-murrine 38 ]; 39 40 + postPatch = '' 41 + patchShebangs meson/install-file.py 42 + ''; 43 + 44 preBuild = '' 45 # Shut up inkscape's warnings about creating profile directory 46 + export HOME="$TMPDIR" 47 ''; 48 49 + # Fontconfig error: Cannot load default config file: No such file: (null) 50 + FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; }; 51 + 52 mesonFlags = [ 53 + # "-Dthemes=cinnamon,gnome-shell,gtk2,gtk3,plank,xfwm,metacity" 54 + # "-Dvariants=light,darker,dark,lighter" 55 "-Dcinnamon_version=${cinnamon.cinnamon-common.version}" 56 "-Dgnome_shell_version=${gnome.gnome-shell.version}" 57 # You will need to patch gdm to make use of this. 58 "-Dgnome_shell_gresource=true" 59 ];
+1 -1
pkgs/data/themes/dracula-theme/default.nix
··· 22 installPhase = '' 23 runHook preInstall 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} 26 27 cp -a kde/{color-schemes,plasma} $out/share/ 28 cp -a kde/kvantum $out/share/Kvantum
··· 22 installPhase = '' 23 runHook preInstall 24 mkdir -p $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 27 cp -a kde/{color-schemes,plasma} $out/share/ 28 cp -a kde/kvantum $out/share/Kvantum
+3 -3
pkgs/data/themes/kwin-decorations/kde-rounded-corners/default.nix
··· 12 13 stdenv.mkDerivation rec { 14 pname = "kde-rounded-corners"; 15 - version = "unstable-2021-11-06"; 16 17 src = fetchFromGitHub { 18 owner = "matinlotfali"; 19 repo = "KDE-Rounded-Corners"; 20 - rev = "8ad8f5f5eff9d1625abc57cb24dc484d51f0e1bd"; 21 - sha256 = "0xbskf7jd03d2invfz1nnfc82klzvc784snw539n4kn6c6rc381p"; 22 }; 23 24 postConfigure = ''
··· 12 13 stdenv.mkDerivation rec { 14 pname = "kde-rounded-corners"; 15 + version = "0.1.1"; 16 17 src = fetchFromGitHub { 18 owner = "matinlotfali"; 19 repo = "KDE-Rounded-Corners"; 20 + rev = "v${version}"; 21 + hash = "sha256-cXpJabeOHnat7OljtRzduUdOaA6Z3z6vV3aBKwiIrR0="; 22 }; 23 24 postConfigure = ''
+12 -1
pkgs/desktops/gnome/apps/gnome-notes/default.nix
··· 1 - { lib, stdenv 2 , meson 3 , ninja 4 , gettext 5 , fetchurl 6 , pkg-config 7 , wrapGAppsHook 8 , itstool ··· 31 url = "mirror://gnome/sources/bijiben/${lib.versions.major version}/bijiben-${version}.tar.xz"; 32 sha256 = "1gvvb2klkzbmyzwkjgmscdiqcl8lyz9b0rxb4igjz079csq6z805"; 33 }; 34 35 doCheck = true; 36
··· 1 + { stdenv 2 + , lib 3 , meson 4 , ninja 5 , gettext 6 , fetchurl 7 + , fetchpatch 8 , pkg-config 9 , wrapGAppsHook 10 , itstool ··· 33 url = "mirror://gnome/sources/bijiben/${lib.versions.major version}/bijiben-${version}.tar.xz"; 34 sha256 = "1gvvb2klkzbmyzwkjgmscdiqcl8lyz9b0rxb4igjz079csq6z805"; 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 + ]; 45 46 doCheck = true; 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 }: 4 5 stdenv.mkDerivation rec { 6 pname = "gnome-dictionary"; ··· 11 sha256 = "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f"; 12 }; 13 14 - doCheck = true; 15 16 nativeBuildInputs = [ 17 - meson ninja pkg-config wrapGAppsHook libxml2 gettext itstool 18 - desktop-file-utils appstream-glib libxslt docbook_xsl docbook_xml_dtd_43 19 ]; 20 - buildInputs = [ gtk3 glib gsettings-desktop-schemas gnome.adwaita-icon-theme ]; 21 22 passthru = { 23 updateScript = gnome.updateScript {
··· 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 + }: 22 23 stdenv.mkDerivation rec { 24 pname = "gnome-dictionary"; ··· 29 sha256 = "1d8dhcfys788vv27v34i3s3x3jdvdi2kqn2a5p8c937a9hm0qr9f"; 30 }; 31 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 + ]; 46 47 nativeBuildInputs = [ 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 67 ]; 68 + 69 + doCheck = true; 70 71 passthru = { 72 updateScript = gnome.updateScript {
+4 -4
pkgs/desktops/gnome/core/gucharmap/default.nix
··· 7 , pkg-config 8 , python3 9 , gtk3 10 - , adwaita-icon-theme 11 , glib 12 , desktop-file-utils 13 , gtk-doc ··· 45 }; 46 in stdenv.mkDerivation rec { 47 pname = "gucharmap"; 48 - version = "14.0.0"; 49 50 outputs = [ "out" "lib" "dev" "devdoc" ]; 51 ··· 54 owner = "GNOME"; 55 repo = pname; 56 rev = version; 57 - sha256 = "sha256-d283zVRH42NZNq+vGmItN3ZBrRrl9gpYDco7osm3RoY="; 58 }; 59 60 nativeBuildInputs = [ ··· 79 gtk3 80 glib 81 gsettings-desktop-schemas 82 - adwaita-icon-theme 83 ]; 84 85 mesonFlags = [
··· 7 , pkg-config 8 , python3 9 , gtk3 10 + , pcre2 11 , glib 12 , desktop-file-utils 13 , gtk-doc ··· 45 }; 46 in stdenv.mkDerivation rec { 47 pname = "gucharmap"; 48 + version = "14.0.2"; 49 50 outputs = [ "out" "lib" "dev" "devdoc" ]; 51 ··· 54 owner = "GNOME"; 55 repo = pname; 56 rev = version; 57 + sha256 = "sha256-gyOm/S0ae0kX4AFUiglqyGRGB8C/KUuaG/dr/Wf1ug0="; 58 }; 59 60 nativeBuildInputs = [ ··· 79 gtk3 80 glib 81 gsettings-desktop-schemas 82 + pcre2 83 ]; 84 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 4 }: 5 6 stdenv.mkDerivation rec { ··· 12 sha256 = "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"; 13 }; 14 15 nativeBuildInputs = [ 16 - meson ninja vala desktop-file-utils 17 - pkg-config gnome.adwaita-icon-theme 18 - libxml2 itstool gettext wrapGAppsHook 19 glib # for glib-compile-schemas 20 ]; 21 buildInputs = [ 22 glib 23 gtk3
··· 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 18 }: 19 20 stdenv.mkDerivation rec { ··· 26 sha256 = "144ia3zn9rhwa1xbdkvsz6m0dsysl6mxvqw9bnrlh845hmyy9cfj"; 27 }; 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 + 39 nativeBuildInputs = [ 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 50 glib # for glib-compile-schemas 51 ]; 52 + 53 buildInputs = [ 54 glib 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 4 }: 5 6 stdenv.mkDerivation rec { ··· 12 sha256 = "06wihvqp2p52zd2dnknsc3rii69qib4a30yp15h558xrg44z3k8z"; 13 }; 14 15 - passthru = { 16 - updateScript = gnome.updateScript { packageName = "gnome-tetravex"; attrPath = "gnome.gnome-tetravex"; }; 17 - }; 18 19 nativeBuildInputs = [ 20 - wrapGAppsHook itstool libxml2 gnome.adwaita-icon-theme 21 - pkg-config gettext meson ninja python3 vala desktop-file-utils 22 ]; 23 buildInputs = [ 24 gtk3 25 ]; ··· 28 chmod +x build-aux/meson_post_install.py 29 patchShebangs build-aux/meson_post_install.py 30 ''; 31 32 meta = with lib; { 33 homepage = "https://wiki.gnome.org/Apps/Tetravex";
··· 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 17 }: 18 19 stdenv.mkDerivation rec { ··· 25 sha256 = "06wihvqp2p52zd2dnknsc3rii69qib4a30yp15h558xrg44z3k8z"; 26 }; 27 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 + ]; 38 39 nativeBuildInputs = [ 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 51 ]; 52 + 53 buildInputs = [ 54 gtk3 55 ]; ··· 58 chmod +x build-aux/meson_post_install.py 59 patchShebangs build-aux/meson_post_install.py 60 ''; 61 + 62 + passthru = { 63 + updateScript = gnome.updateScript { 64 + packageName = "gnome-tetravex"; 65 + attrPath = "gnome.gnome-tetravex"; 66 + }; 67 + }; 68 69 meta = with lib; { 70 homepage = "https://wiki.gnome.org/Apps/Tetravex";
+12 -1
pkgs/desktops/gnome/games/hitori/default.nix
··· 1 - { lib, stdenv 2 , fetchurl 3 , meson 4 , ninja 5 , pkg-config ··· 24 url = "mirror://gnome/sources/hitori/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 sha256 = "99cQPLBjP7ATcwExqYw646IWK5+5SZ/H8ZUS1YG/ZWk="; 26 }; 27 28 nativeBuildInputs = [ 29 meson
··· 1 + { stdenv 2 + , lib 3 , fetchurl 4 + , fetchpatch 5 , meson 6 , ninja 7 , pkg-config ··· 26 url = "mirror://gnome/sources/hitori/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 27 sha256 = "99cQPLBjP7ATcwExqYw646IWK5+5SZ/H8ZUS1YG/ZWk="; 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 + ]; 38 39 nativeBuildInputs = [ 40 meson
+10
pkgs/desktops/gnome/misc/gitg/default.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 , vala 5 , gettext 6 , pkg-config ··· 35 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 36 sha256 = "f7Ybn7EPuqVI0j1wZbq9cq1j5iHeVYQMBlzm45hsRik="; 37 }; 38 39 nativeBuildInputs = [ 40 gobject-introspection
··· 1 { lib 2 , stdenv 3 , fetchurl 4 + , fetchpatch 5 , vala 6 , gettext 7 , pkg-config ··· 36 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 37 sha256 = "f7Ybn7EPuqVI0j1wZbq9cq1j5iHeVYQMBlzm45hsRik="; 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 + ]; 48 49 nativeBuildInputs = [ 50 gobject-introspection
+2 -1
pkgs/desktops/plasma-5/default.nix
··· 133 milou = callPackage ./milou.nix {}; 134 oxygen = callPackage ./oxygen.nix {}; 135 plasma-browser-integration = callPackage ./plasma-browser-integration.nix {}; 136 - plasma-phone-components = callPackage ./plasma-phone-components {}; 137 plasma-desktop = callPackage ./plasma-desktop {}; 138 plasma-disks = callPackage ./plasma-disks.nix {}; 139 plasma-integration = callPackage ./plasma-integration {}; 140 plasma-nano = callPackage ./plasma-nano {}; 141 plasma-nm = callPackage ./plasma-nm {}; 142 plasma-pa = callPackage ./plasma-pa.nix { inherit gconf; }; ··· 168 169 } // lib.optionalAttrs (config.allowAliases or true) { 170 ksysguard = throw "ksysguard has been replaced with plasma-systemmonitor"; 171 }; 172 in 173 lib.makeScope libsForQt5.newScope packages
··· 133 milou = callPackage ./milou.nix {}; 134 oxygen = callPackage ./oxygen.nix {}; 135 plasma-browser-integration = callPackage ./plasma-browser-integration.nix {}; 136 plasma-desktop = callPackage ./plasma-desktop {}; 137 plasma-disks = callPackage ./plasma-disks.nix {}; 138 plasma-integration = callPackage ./plasma-integration {}; 139 + plasma-mobile = callPackage ./plasma-mobile {}; 140 plasma-nano = callPackage ./plasma-nano {}; 141 plasma-nm = callPackage ./plasma-nm {}; 142 plasma-pa = callPackage ./plasma-pa.nix { inherit gconf; }; ··· 168 169 } // lib.optionalAttrs (config.allowAliases or true) { 170 ksysguard = throw "ksysguard has been replaced with plasma-systemmonitor"; 171 + plasma-phone-components = throw "'plasma-phone-components' has been renamed to/replaced by 'plasma-mobile'"; 172 }; 173 in 174 lib.makeScope libsForQt5.newScope packages
+1 -1
pkgs/desktops/plasma-5/fetch.sh
··· 1 - WGET_ARGS=( https://download.kde.org/stable/plasma/5.24.0/ -A '*.tar.xz' )
··· 1 + WGET_ARGS=( https://download.kde.org/stable/plasma/5.24.3/ -A '*.tar.xz' )
+3 -3
pkgs/desktops/plasma-5/plasma-phone-components/default.nix pkgs/desktops/plasma-5/plasma-mobile/default.nix
··· 7 8 kdeclarative, kdelibs4support, kpeople, kconfig, krunner, kinit, kwayland, kwin, 9 plasma-framework, telepathy, libphonenumber, protobuf, libqofono, modemmanager-qt, 10 - plasma-workspace, 11 maliit-framework, maliit-keyboard, 12 13 qtwayland, qttools ··· 16 let inherit (lib) getBin getLib; in 17 18 mkDerivation { 19 - pname = "plasma-phone-components"; 20 21 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 22 buildInputs = [ 23 appstream libdbusmenu pam wayland 24 kdeclarative kdelibs4support kpeople kconfig krunner kinit kwayland kwin 25 plasma-framework telepathy libphonenumber protobuf libqofono modemmanager-qt 26 - maliit-framework maliit-keyboard 27 ]; 28 29 postPatch = ''
··· 7 8 kdeclarative, kdelibs4support, kpeople, kconfig, krunner, kinit, kwayland, kwin, 9 plasma-framework, telepathy, libphonenumber, protobuf, libqofono, modemmanager-qt, 10 + networkmanager-qt, plasma-workspace, 11 maliit-framework, maliit-keyboard, 12 13 qtwayland, qttools ··· 16 let inherit (lib) getBin getLib; in 17 18 mkDerivation { 19 + pname = "plasma-mobile"; 20 21 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 22 buildInputs = [ 23 appstream libdbusmenu pam wayland 24 kdeclarative kdelibs4support kpeople kconfig krunner kinit kwayland kwin 25 plasma-framework telepathy libphonenumber protobuf libqofono modemmanager-qt 26 + networkmanager-qt maliit-framework maliit-keyboard 27 ]; 28 29 postPatch = ''
+2 -2
pkgs/desktops/plasma-5/plasma-workspace/0001-startkde.patch
··· 71 } 72 73 void cleanupPlasmaEnvironment(const std::optional<QProcessEnvironment> &oldSystemdEnvironment) 74 - @@ -500,7 +500,7 @@ QProcess *setupKSplash() 75 - KConfigGroup ksplashCfg = cfg.group("KSplash"); 76 if (ksplashCfg.readEntry("Engine", QStringLiteral("KSplashQML")) == QLatin1String("KSplashQML")) { 77 p = new QProcess; 78 - p->start(QStringLiteral("ksplashqml"), {ksplashCfg.readEntry("Theme", QStringLiteral("Breeze"))}); 79 + p->start(QStringLiteral(CMAKE_INSTALL_FULL_BINDIR "/ksplashqml"), {ksplashCfg.readEntry("Theme", QStringLiteral("Breeze"))}); 80 }
··· 71 } 72 73 void cleanupPlasmaEnvironment(const std::optional<QProcessEnvironment> &oldSystemdEnvironment) 74 + @@ -501,7 +501,7 @@ QProcess *setupKSplash() 75 if (ksplashCfg.readEntry("Engine", QStringLiteral("KSplashQML")) == QLatin1String("KSplashQML")) { 76 p = new QProcess; 77 + p->setProcessChannelMode(QProcess::ForwardedChannels); 78 - p->start(QStringLiteral("ksplashqml"), {ksplashCfg.readEntry("Theme", QStringLiteral("Breeze"))}); 79 + p->start(QStringLiteral(CMAKE_INSTALL_FULL_BINDIR "/ksplashqml"), {ksplashCfg.readEntry("Theme", QStringLiteral("Breeze"))}); 80 }
+214 -222
pkgs/desktops/plasma-5/srcs.nix
··· 4 5 { 6 bluedevil = { 7 - version = "5.24.0"; 8 src = fetchurl { 9 - url = "${mirror}/stable/plasma/5.24.0/bluedevil-5.24.0.tar.xz"; 10 - sha256 = "128br83hkxxrb6wca3d1racygdnfgk3r5md1gcjvgwb0gpy6bnzp"; 11 - name = "bluedevil-5.24.0.tar.xz"; 12 }; 13 }; 14 breeze = { 15 - version = "5.24.0"; 16 src = fetchurl { 17 - url = "${mirror}/stable/plasma/5.24.0/breeze-5.24.0.tar.xz"; 18 - sha256 = "08b3hihz98z7kdybb0y1b74q1dn511ga81qqqxzlfirgpp8c9f9q"; 19 - name = "breeze-5.24.0.tar.xz"; 20 }; 21 }; 22 breeze-grub = { 23 - version = "5.24.0"; 24 src = fetchurl { 25 - url = "${mirror}/stable/plasma/5.24.0/breeze-grub-5.24.0.tar.xz"; 26 - sha256 = "0p0pzmsd6scssyxcm9n58mp7fc9vz1lg4n7c1ch4bqragih1gnlr"; 27 - name = "breeze-grub-5.24.0.tar.xz"; 28 }; 29 }; 30 breeze-gtk = { 31 - version = "5.24.0"; 32 src = fetchurl { 33 - url = "${mirror}/stable/plasma/5.24.0/breeze-gtk-5.24.0.tar.xz"; 34 - sha256 = "090cczxc1ciic6wghz3p21gpfdwnc8pjcvq6wn7bfkp1i3r5mihp"; 35 - name = "breeze-gtk-5.24.0.tar.xz"; 36 }; 37 }; 38 breeze-plymouth = { 39 - version = "5.24.0"; 40 src = fetchurl { 41 - url = "${mirror}/stable/plasma/5.24.0/breeze-plymouth-5.24.0.tar.xz"; 42 - sha256 = "1qqpwgp1yy3p1s0z21xwds6wx4z8daibkgk1bynj73cx7a2wch9g"; 43 - name = "breeze-plymouth-5.24.0.tar.xz"; 44 }; 45 }; 46 discover = { 47 - version = "5.24.0"; 48 src = fetchurl { 49 - url = "${mirror}/stable/plasma/5.24.0/discover-5.24.0.tar.xz"; 50 - sha256 = "0dbfvqana31wqharsbyb8rcrw1w6l9x1g6p02aqwiph0inkrz20q"; 51 - name = "discover-5.24.0.tar.xz"; 52 }; 53 }; 54 drkonqi = { 55 - version = "5.24.0"; 56 src = fetchurl { 57 - url = "${mirror}/stable/plasma/5.24.0/drkonqi-5.24.0.tar.xz"; 58 - sha256 = "1ismgg7rcxijkprn4sci15wn4w2gmdn0fdbgvzxdcrqaf4g6qc3s"; 59 - name = "drkonqi-5.24.0.tar.xz"; 60 }; 61 }; 62 kactivitymanagerd = { 63 - version = "5.24.0"; 64 src = fetchurl { 65 - url = "${mirror}/stable/plasma/5.24.0/kactivitymanagerd-5.24.0.tar.xz"; 66 - sha256 = "12dvgm3ilyqlxzm8209b7g42nfk0ahfzizs3pbmi18zapjszcsps"; 67 - name = "kactivitymanagerd-5.24.0.tar.xz"; 68 }; 69 }; 70 kde-cli-tools = { 71 - version = "5.24.0"; 72 src = fetchurl { 73 - url = "${mirror}/stable/plasma/5.24.0/kde-cli-tools-5.24.0.tar.xz"; 74 - sha256 = "0l8a4ysz1cqwdh3c20q51qamwh58vvs8yzb5jdvbp8bahsyyc4mr"; 75 - name = "kde-cli-tools-5.24.0.tar.xz"; 76 }; 77 }; 78 - kde-gtk-config = { 79 - version = "5.24.0"; 80 src = fetchurl { 81 - url = "${mirror}/stable/plasma/5.24.0/kde-gtk-config-5.24.0.tar.xz"; 82 - sha256 = "024pglycz2kbp9npnvbx5qpkz9381wyyp6xkalqynzr9gy58syrx"; 83 - name = "kde-gtk-config-5.24.0.tar.xz"; 84 }; 85 }; 86 - kdecoration = { 87 - version = "5.24.0"; 88 src = fetchurl { 89 - url = "${mirror}/stable/plasma/5.24.0/kdecoration-5.24.0.tar.xz"; 90 - sha256 = "0xl8892w49z11k9mxgh7lp8a4l1x8wldmaij82kd1vnh9sxvb3f3"; 91 - name = "kdecoration-5.24.0.tar.xz"; 92 }; 93 }; 94 kdeplasma-addons = { 95 - version = "5.24.0"; 96 src = fetchurl { 97 - url = "${mirror}/stable/plasma/5.24.0/kdeplasma-addons-5.24.0.tar.xz"; 98 - sha256 = "0q8yf0gz4gjn1kyf545i8fpsn2dpy48qhjpm8ssp3ywv6s2abjxn"; 99 - name = "kdeplasma-addons-5.24.0.tar.xz"; 100 }; 101 }; 102 kgamma5 = { 103 - version = "5.24.0"; 104 src = fetchurl { 105 - url = "${mirror}/stable/plasma/5.24.0/kgamma5-5.24.0.tar.xz"; 106 - sha256 = "07w7l25snpi98j5bxg3zri5lsymabnli6h9d5w0qx0c19wzjwayl"; 107 - name = "kgamma5-5.24.0.tar.xz"; 108 }; 109 }; 110 khotkeys = { 111 - version = "5.24.0"; 112 src = fetchurl { 113 - url = "${mirror}/stable/plasma/5.24.0/khotkeys-5.24.0.tar.xz"; 114 - sha256 = "0gjdwdzg5vybalima8jnwrprqj0rnxmzds0x8w707nb9ypz4k7k6"; 115 - name = "khotkeys-5.24.0.tar.xz"; 116 }; 117 }; 118 kinfocenter = { 119 - version = "5.24.0"; 120 src = fetchurl { 121 - url = "${mirror}/stable/plasma/5.24.0/kinfocenter-5.24.0.tar.xz"; 122 - sha256 = "09fq69q4300ppi1y9pp8s4h1bbai1p5qsz384bb445pjvwsyn6nf"; 123 - name = "kinfocenter-5.24.0.tar.xz"; 124 }; 125 }; 126 kmenuedit = { 127 - version = "5.24.0"; 128 src = fetchurl { 129 - url = "${mirror}/stable/plasma/5.24.0/kmenuedit-5.24.0.tar.xz"; 130 - sha256 = "0bjiqdw4wqi5vpkn98wjjz23x6k47lvxac8nyxs8ddd9i8mlklij"; 131 - name = "kmenuedit-5.24.0.tar.xz"; 132 }; 133 }; 134 kscreen = { 135 - version = "5.24.0"; 136 src = fetchurl { 137 - url = "${mirror}/stable/plasma/5.24.0/kscreen-5.24.0.tar.xz"; 138 - sha256 = "19kqvvgj209ri035ldzn1k5l36l54rvagsnfzhw61v8rd9r6r02x"; 139 - name = "kscreen-5.24.0.tar.xz"; 140 }; 141 }; 142 kscreenlocker = { 143 - version = "5.24.0"; 144 src = fetchurl { 145 - url = "${mirror}/stable/plasma/5.24.0/kscreenlocker-5.24.0.tar.xz"; 146 - sha256 = "0d827h5br27sdd925brljb1mwnkzj739g5q0k8xkw9f9q9bxk8l8"; 147 - name = "kscreenlocker-5.24.0.tar.xz"; 148 }; 149 }; 150 ksshaskpass = { 151 - version = "5.24.0"; 152 src = fetchurl { 153 - url = "${mirror}/stable/plasma/5.24.0/ksshaskpass-5.24.0.tar.xz"; 154 - sha256 = "1xiw25imhmkcikp746q9s393djmkdpkh9jb7h1diwwhambnimy6d"; 155 - name = "ksshaskpass-5.24.0.tar.xz"; 156 }; 157 }; 158 ksystemstats = { 159 - version = "5.24.0"; 160 src = fetchurl { 161 - url = "${mirror}/stable/plasma/5.24.0/ksystemstats-5.24.0.tar.xz"; 162 - sha256 = "1182dfcg1av9329g9p9ll64yiwyxm46kczakxb3vj4d2ajaclzm1"; 163 - name = "ksystemstats-5.24.0.tar.xz"; 164 }; 165 }; 166 kwallet-pam = { 167 - version = "5.24.0"; 168 src = fetchurl { 169 - url = "${mirror}/stable/plasma/5.24.0/kwallet-pam-5.24.0.tar.xz"; 170 - sha256 = "0jzi2rcwxxjp3lg8cywp96ysnwm51a0m9pdwk8z7n3v1ncr2p38q"; 171 - name = "kwallet-pam-5.24.0.tar.xz"; 172 }; 173 }; 174 kwayland-integration = { 175 - version = "5.24.0"; 176 src = fetchurl { 177 - url = "${mirror}/stable/plasma/5.24.0/kwayland-integration-5.24.0.tar.xz"; 178 - sha256 = "1yq9cjb8xcvqr747p5hm8xxg4rn6mahchd5c2camv3qrjbqm8ll6"; 179 - name = "kwayland-integration-5.24.0.tar.xz"; 180 }; 181 }; 182 kwayland-server = { 183 - version = "5.24.0"; 184 src = fetchurl { 185 - url = "${mirror}/stable/plasma/5.24.0/kwayland-server-5.24.0.tar.xz"; 186 - sha256 = "1zbi4c14zvjwkxxqlg80mv749ybnkmcdvn72irmrzbbf4g1z7k32"; 187 - name = "kwayland-server-5.24.0.tar.xz"; 188 }; 189 }; 190 kwin = { 191 - version = "5.24.0"; 192 src = fetchurl { 193 - url = "${mirror}/stable/plasma/5.24.0/kwin-5.24.0.tar.xz"; 194 - sha256 = "19q5pphqnr1xc1c4z0sd3yr60jsiq190llwllfmlj4acjlbcbbn6"; 195 - name = "kwin-5.24.0.tar.xz"; 196 }; 197 }; 198 kwrited = { 199 - version = "5.24.0"; 200 src = fetchurl { 201 - url = "${mirror}/stable/plasma/5.24.0/kwrited-5.24.0.tar.xz"; 202 - sha256 = "018wvkkqzg4qyjd0w1h2d3ms72ghlq8mg79rrsj518l7hhlv6rsg"; 203 - name = "kwrited-5.24.0.tar.xz"; 204 }; 205 }; 206 layer-shell-qt = { 207 - version = "5.24.0"; 208 src = fetchurl { 209 - url = "${mirror}/stable/plasma/5.24.0/layer-shell-qt-5.24.0.tar.xz"; 210 - sha256 = "0y3z2xr9vpxnm84gs1zpa1apma341wza7pjcpwibaqd6aiz9vpqv"; 211 - name = "layer-shell-qt-5.24.0.tar.xz"; 212 }; 213 }; 214 libkscreen = { 215 - version = "5.24.0"; 216 src = fetchurl { 217 - url = "${mirror}/stable/plasma/5.24.0/libkscreen-5.24.0.tar.xz"; 218 - sha256 = "0h6sycib940gbw2rf6ax3v7mg77pzga36xzwzbyz9h49fba3dpjk"; 219 - name = "libkscreen-5.24.0.tar.xz"; 220 }; 221 }; 222 libksysguard = { 223 - version = "5.24.0"; 224 src = fetchurl { 225 - url = "${mirror}/stable/plasma/5.24.0/libksysguard-5.24.0.tar.xz"; 226 - sha256 = "1f0hwk2kzmgpjxmsjfd4g25sr91qyazp4hysyfjdhrrs2ajdkm0b"; 227 - name = "libksysguard-5.24.0.tar.xz"; 228 }; 229 }; 230 milou = { 231 - version = "5.24.0"; 232 src = fetchurl { 233 - url = "${mirror}/stable/plasma/5.24.0/milou-5.24.0.tar.xz"; 234 - sha256 = "0sxsisrzfancxwk8lsxhj2b85sgjdb9gzy4l0nax4fp942ygiirs"; 235 - name = "milou-5.24.0.tar.xz"; 236 }; 237 }; 238 oxygen = { 239 - version = "5.24.0"; 240 src = fetchurl { 241 - url = "${mirror}/stable/plasma/5.24.0/oxygen-5.24.0.tar.xz"; 242 - sha256 = "0ym74q29c2f32l1xm3kd0s2p7zzbg6a96g7d39fkp5paxicx5fb7"; 243 - name = "oxygen-5.24.0.tar.xz"; 244 }; 245 }; 246 plasma-browser-integration = { 247 - version = "5.24.0"; 248 src = fetchurl { 249 - url = "${mirror}/stable/plasma/5.24.0/plasma-browser-integration-5.24.0.tar.xz"; 250 - sha256 = "1gp9m7drwxflb0ms0vbvk7qydm1bghhzalc00lpcjh4nrf0bgh33"; 251 - name = "plasma-browser-integration-5.24.0.tar.xz"; 252 }; 253 }; 254 plasma-desktop = { 255 - version = "5.24.0"; 256 src = fetchurl { 257 - url = "${mirror}/stable/plasma/5.24.0/plasma-desktop-5.24.0.tar.xz"; 258 - sha256 = "1brnm6yivjy2piy88ncmclv4g2rxkaiyi923c557dmiipah2bx7z"; 259 - name = "plasma-desktop-5.24.0.tar.xz"; 260 }; 261 }; 262 plasma-disks = { 263 - version = "5.24.0"; 264 src = fetchurl { 265 - url = "${mirror}/stable/plasma/5.24.0/plasma-disks-5.24.0.tar.xz"; 266 - sha256 = "1c3pwnyhdmj7grk3gjh4kw5437m5cxhp70qsbhnfsaacps3mdv5d"; 267 - name = "plasma-disks-5.24.0.tar.xz"; 268 }; 269 }; 270 plasma-firewall = { 271 - version = "5.24.0"; 272 src = fetchurl { 273 - url = "${mirror}/stable/plasma/5.24.0/plasma-firewall-5.24.0.tar.xz"; 274 - sha256 = "1jjw414547qksjxg2x5n666iq6qildbn9k9c8hqipmwnlkprpbb1"; 275 - name = "plasma-firewall-5.24.0.tar.xz"; 276 }; 277 }; 278 plasma-integration = { 279 - version = "5.24.0"; 280 src = fetchurl { 281 - url = "${mirror}/stable/plasma/5.24.0/plasma-integration-5.24.0.tar.xz"; 282 - sha256 = "17dqf6j1za3q8hzk7jfc5wc7s4kr28slrkq5iqvzqgyqjqy3z7rv"; 283 - name = "plasma-integration-5.24.0.tar.xz"; 284 }; 285 }; 286 plasma-mobile = { 287 - version = "5.24.0"; 288 src = fetchurl { 289 - url = "${mirror}/stable/plasma/5.24.0/plasma-mobile-5.24.0.tar.xz"; 290 - sha256 = "0g9mbb8dzqcngc1sq43knwyc3kr81w3vl359wyrgvnr8r1qikv2z"; 291 - name = "plasma-mobile-5.24.0.tar.xz"; 292 }; 293 }; 294 plasma-nano = { 295 - version = "5.24.0"; 296 src = fetchurl { 297 - url = "${mirror}/stable/plasma/5.24.0/plasma-nano-5.24.0.tar.xz"; 298 - sha256 = "0i8lsp83g2i3c88djkmxawwbwa6lr0w89lzxj73fr6az6vdcrypj"; 299 - name = "plasma-nano-5.24.0.tar.xz"; 300 }; 301 }; 302 plasma-nm = { 303 - version = "5.24.0"; 304 src = fetchurl { 305 - url = "${mirror}/stable/plasma/5.24.0/plasma-nm-5.24.0.tar.xz"; 306 - sha256 = "17pmyklmr46qg21w4ql9q5nhfdjw1xmmv1qz7lyhlww7qa6mz1ny"; 307 - name = "plasma-nm-5.24.0.tar.xz"; 308 }; 309 }; 310 plasma-pa = { 311 - version = "5.24.0"; 312 src = fetchurl { 313 - url = "${mirror}/stable/plasma/5.24.0/plasma-pa-5.24.0.tar.xz"; 314 - sha256 = "19n2plbk455qwgq0lcpb7rj2ck78ck64fpvlldmh53j9vxyzcasl"; 315 - name = "plasma-pa-5.24.0.tar.xz"; 316 - }; 317 - }; 318 - plasma-phone-components = { 319 - version = "5.24.0"; 320 - src = fetchurl { 321 - url = "${mirror}/stable/plasma/5.24.0/plasma-phone-components-5.24.0.tar.xz"; 322 - sha256 = "0g9mbb8dzqcngc1sq43knwyc3kr81w3vl359wyrgvnr8r1qikv2z"; 323 - name = "plasma-phone-components-5.24.0.tar.xz"; 324 }; 325 }; 326 plasma-sdk = { 327 - version = "5.24.0"; 328 src = fetchurl { 329 - url = "${mirror}/stable/plasma/5.24.0/plasma-sdk-5.24.0.tar.xz"; 330 - sha256 = "16fn98rv4qaci3b5whzjs6csbbxyrnmnr9gngn5dirdpla8cffld"; 331 - name = "plasma-sdk-5.24.0.tar.xz"; 332 }; 333 }; 334 plasma-systemmonitor = { 335 - version = "5.24.0"; 336 src = fetchurl { 337 - url = "${mirror}/stable/plasma/5.24.0/plasma-systemmonitor-5.24.0.tar.xz"; 338 - sha256 = "0zkvbgwm2rpyisbx72a75ywy45d2primjjpnmw76x6924j8sp7pd"; 339 - name = "plasma-systemmonitor-5.24.0.tar.xz"; 340 }; 341 }; 342 plasma-tests = { 343 - version = "5.24.0"; 344 src = fetchurl { 345 - url = "${mirror}/stable/plasma/5.24.0/plasma-tests-5.24.0.tar.xz"; 346 - sha256 = "1q95mrrb0p9ah4dg3bhkc9yh2ydasdmyd87jclraybcsfl6fi9kf"; 347 - name = "plasma-tests-5.24.0.tar.xz"; 348 }; 349 }; 350 plasma-thunderbolt = { 351 - version = "5.24.0"; 352 src = fetchurl { 353 - url = "${mirror}/stable/plasma/5.24.0/plasma-thunderbolt-5.24.0.tar.xz"; 354 - sha256 = "1vsb3wf2sgbfbm2wk8kj18qhv4z9l4yzxaf8g30zpz4d1sva7jdc"; 355 - name = "plasma-thunderbolt-5.24.0.tar.xz"; 356 }; 357 }; 358 plasma-vault = { 359 - version = "5.24.0"; 360 src = fetchurl { 361 - url = "${mirror}/stable/plasma/5.24.0/plasma-vault-5.24.0.tar.xz"; 362 - sha256 = "1vk38iarhsr6rdrmhbcyjziw3dn8yjmgyn4dy2xdr0l4yqpq7qzz"; 363 - name = "plasma-vault-5.24.0.tar.xz"; 364 }; 365 }; 366 plasma-workspace = { 367 - version = "5.24.0"; 368 src = fetchurl { 369 - url = "${mirror}/stable/plasma/5.24.0/plasma-workspace-5.24.0.tar.xz"; 370 - sha256 = "0jnksl2i2viw5aaqv38b371z4lxrxah6p1bjp40a1zfa68vr8dz3"; 371 - name = "plasma-workspace-5.24.0.tar.xz"; 372 }; 373 }; 374 plasma-workspace-wallpapers = { 375 - version = "5.24.0"; 376 src = fetchurl { 377 - url = "${mirror}/stable/plasma/5.24.0/plasma-workspace-wallpapers-5.24.0.tar.xz"; 378 - sha256 = "0329ks3q32nb9k3dxddlmxccjilgyxx5jplwbpln5b0p4plkn77k"; 379 - name = "plasma-workspace-wallpapers-5.24.0.tar.xz"; 380 }; 381 }; 382 plymouth-kcm = { 383 - version = "5.24.0"; 384 src = fetchurl { 385 - url = "${mirror}/stable/plasma/5.24.0/plymouth-kcm-5.24.0.tar.xz"; 386 - sha256 = "1pcvfrv8vmk43s14209iv8gngi3al9g4za74yz2l79nxscyppzh5"; 387 - name = "plymouth-kcm-5.24.0.tar.xz"; 388 }; 389 }; 390 polkit-kde-agent = { 391 - version = "1-5.24.0"; 392 src = fetchurl { 393 - url = "${mirror}/stable/plasma/5.24.0/polkit-kde-agent-1-5.24.0.tar.xz"; 394 - sha256 = "1qayxff5hl8qr9p5bsfrq0cz3x1jlwc8f0nx66rkbngphdm7085n"; 395 - name = "polkit-kde-agent-1-5.24.0.tar.xz"; 396 }; 397 }; 398 powerdevil = { 399 - version = "5.24.0"; 400 src = fetchurl { 401 - url = "${mirror}/stable/plasma/5.24.0/powerdevil-5.24.0.tar.xz"; 402 - sha256 = "06mrahlrqibvgfhcxywh72h6jblqq6sjsxqjzbq7zbq61vgc3jg3"; 403 - name = "powerdevil-5.24.0.tar.xz"; 404 }; 405 }; 406 qqc2-breeze-style = { 407 - version = "5.24.0"; 408 src = fetchurl { 409 - url = "${mirror}/stable/plasma/5.24.0/qqc2-breeze-style-5.24.0.tar.xz"; 410 - sha256 = "11kwrqsq5i1y1kvhg75hvax7bz122cjdsvb66f6hvni09yfcgyci"; 411 - name = "qqc2-breeze-style-5.24.0.tar.xz"; 412 }; 413 }; 414 sddm-kcm = { 415 - version = "5.24.0"; 416 src = fetchurl { 417 - url = "${mirror}/stable/plasma/5.24.0/sddm-kcm-5.24.0.tar.xz"; 418 - sha256 = "011b68vca8nnmj9rxlyl5gl3xrrbysmcrx8szyfhha0wl9rgy2hx"; 419 - name = "sddm-kcm-5.24.0.tar.xz"; 420 }; 421 }; 422 systemsettings = { 423 - version = "5.24.0"; 424 src = fetchurl { 425 - url = "${mirror}/stable/plasma/5.24.0/systemsettings-5.24.0.tar.xz"; 426 - sha256 = "1jx1kllfd5561fq11d90r7m68736rsdlyzb109yq8awdwrl1vkp3"; 427 - name = "systemsettings-5.24.0.tar.xz"; 428 }; 429 }; 430 xdg-desktop-portal-kde = { 431 - version = "5.24.0"; 432 src = fetchurl { 433 - url = "${mirror}/stable/plasma/5.24.0/xdg-desktop-portal-kde-5.24.0.tar.xz"; 434 - sha256 = "0f5wv4557avzcn7gf2hjqpn2p9r0d16k1iqcijzcfdmnvh2cp69d"; 435 - name = "xdg-desktop-portal-kde-5.24.0.tar.xz"; 436 }; 437 }; 438 }
··· 4 5 { 6 bluedevil = { 7 + version = "5.24.3"; 8 src = fetchurl { 9 + url = "${mirror}/stable/plasma/5.24.3/bluedevil-5.24.3.tar.xz"; 10 + sha256 = "1hlyqhn14yq7960zfjwjygkpkvbmrlsanm1g1wrr7dwbmrp5dlcx"; 11 + name = "bluedevil-5.24.3.tar.xz"; 12 }; 13 }; 14 breeze = { 15 + version = "5.24.3"; 16 src = fetchurl { 17 + url = "${mirror}/stable/plasma/5.24.3/breeze-5.24.3.tar.xz"; 18 + sha256 = "0h19m6wmhjw8v6ys47kgzcb0h2nb9w2fcjzypnvmkvbjbkjr53sb"; 19 + name = "breeze-5.24.3.tar.xz"; 20 }; 21 }; 22 breeze-grub = { 23 + version = "5.24.3"; 24 src = fetchurl { 25 + url = "${mirror}/stable/plasma/5.24.3/breeze-grub-5.24.3.tar.xz"; 26 + sha256 = "15cpmqp7klp4dhcil3i78iff4kjasfx273v36ml8y05hm8w0igjq"; 27 + name = "breeze-grub-5.24.3.tar.xz"; 28 }; 29 }; 30 breeze-gtk = { 31 + version = "5.24.3"; 32 src = fetchurl { 33 + url = "${mirror}/stable/plasma/5.24.3/breeze-gtk-5.24.3.tar.xz"; 34 + sha256 = "1922s17mh4ifaqbf4b7p6yj8pwd6z3qwpbf21j1fqhmdk4pvn499"; 35 + name = "breeze-gtk-5.24.3.tar.xz"; 36 }; 37 }; 38 breeze-plymouth = { 39 + version = "5.24.3"; 40 src = fetchurl { 41 + url = "${mirror}/stable/plasma/5.24.3/breeze-plymouth-5.24.3.tar.xz"; 42 + sha256 = "0nkf0ll4hcawmkd7nrh8gcf6hhbl0ajxiz2azf9njab9pv2lcz1j"; 43 + name = "breeze-plymouth-5.24.3.tar.xz"; 44 }; 45 }; 46 discover = { 47 + version = "5.24.3"; 48 src = fetchurl { 49 + url = "${mirror}/stable/plasma/5.24.3/discover-5.24.3.tar.xz"; 50 + sha256 = "097m5njz86vi4innap1mvizas60r1qcrdzdgsid1hd6p5a92rwca"; 51 + name = "discover-5.24.3.tar.xz"; 52 }; 53 }; 54 drkonqi = { 55 + version = "5.24.3"; 56 src = fetchurl { 57 + url = "${mirror}/stable/plasma/5.24.3/drkonqi-5.24.3.tar.xz"; 58 + sha256 = "1n6psvr3washk796zrc8ag011fwy677h2mdkw9ijx8dhrk80br0k"; 59 + name = "drkonqi-5.24.3.tar.xz"; 60 }; 61 }; 62 kactivitymanagerd = { 63 + version = "5.24.3"; 64 src = fetchurl { 65 + url = "${mirror}/stable/plasma/5.24.3/kactivitymanagerd-5.24.3.tar.xz"; 66 + sha256 = "0qxf3j36dj1yklnl27znsi9qdjmn6nr779cnzms38x76dq9kxblw"; 67 + name = "kactivitymanagerd-5.24.3.tar.xz"; 68 }; 69 }; 70 kde-cli-tools = { 71 + version = "5.24.3"; 72 src = fetchurl { 73 + url = "${mirror}/stable/plasma/5.24.3/kde-cli-tools-5.24.3.tar.xz"; 74 + sha256 = "00z8yxic5ibk05x8c25dsc4ijvk6yv0aw1iyfhnpnzmdwdydlr7y"; 75 + name = "kde-cli-tools-5.24.3.tar.xz"; 76 }; 77 }; 78 + kdecoration = { 79 + version = "5.24.3"; 80 src = fetchurl { 81 + url = "${mirror}/stable/plasma/5.24.3/kdecoration-5.24.3.tar.xz"; 82 + sha256 = "0dpnaf5myn1h368cnkq9g6xfm1sqmyam6bxyidbd5j3dyy1kvz5v"; 83 + name = "kdecoration-5.24.3.tar.xz"; 84 }; 85 }; 86 + kde-gtk-config = { 87 + version = "5.24.3"; 88 src = fetchurl { 89 + url = "${mirror}/stable/plasma/5.24.3/kde-gtk-config-5.24.3.tar.xz"; 90 + sha256 = "0p50kf34csdrgck1y09d3lnz0r9ly0ca4778achrc59yr4qcsjzv"; 91 + name = "kde-gtk-config-5.24.3.tar.xz"; 92 }; 93 }; 94 kdeplasma-addons = { 95 + version = "5.24.3"; 96 src = fetchurl { 97 + url = "${mirror}/stable/plasma/5.24.3/kdeplasma-addons-5.24.3.tar.xz"; 98 + sha256 = "0g7jcvd6abnlzz9ibnc7phzm58pn6dv3795w4hhy47738jkhizl6"; 99 + name = "kdeplasma-addons-5.24.3.tar.xz"; 100 }; 101 }; 102 kgamma5 = { 103 + version = "5.24.3"; 104 src = fetchurl { 105 + url = "${mirror}/stable/plasma/5.24.3/kgamma5-5.24.3.tar.xz"; 106 + sha256 = "0rwqvz14a50s43p74n19v1zzd9y8f2lylfappxmhrdyxmbgkpnk6"; 107 + name = "kgamma5-5.24.3.tar.xz"; 108 }; 109 }; 110 khotkeys = { 111 + version = "5.24.3"; 112 src = fetchurl { 113 + url = "${mirror}/stable/plasma/5.24.3/khotkeys-5.24.3.tar.xz"; 114 + sha256 = "1jxg91rpz09sh13fz270pxfw40qdy6p50j5xw7cpnyqlk2l5zx0p"; 115 + name = "khotkeys-5.24.3.tar.xz"; 116 }; 117 }; 118 kinfocenter = { 119 + version = "5.24.3"; 120 src = fetchurl { 121 + url = "${mirror}/stable/plasma/5.24.3/kinfocenter-5.24.3.tar.xz"; 122 + sha256 = "08z2044bl0v4ydlx2chv849y6m4py0yd4lnw76sycd14lnvsrxfj"; 123 + name = "kinfocenter-5.24.3.tar.xz"; 124 }; 125 }; 126 kmenuedit = { 127 + version = "5.24.3"; 128 src = fetchurl { 129 + url = "${mirror}/stable/plasma/5.24.3/kmenuedit-5.24.3.tar.xz"; 130 + sha256 = "1yivrdix4jiycfbw9g6pzx8zkmdq4g8g51ndc7sy3r0qxzgx1icb"; 131 + name = "kmenuedit-5.24.3.tar.xz"; 132 }; 133 }; 134 kscreen = { 135 + version = "5.24.3"; 136 src = fetchurl { 137 + url = "${mirror}/stable/plasma/5.24.3/kscreen-5.24.3.tar.xz"; 138 + sha256 = "1wjbd33h8473v8i5qxdccxrsv04v6jyd7scrqdxqaln9n8ylp08f"; 139 + name = "kscreen-5.24.3.tar.xz"; 140 }; 141 }; 142 kscreenlocker = { 143 + version = "5.24.3"; 144 src = fetchurl { 145 + url = "${mirror}/stable/plasma/5.24.3/kscreenlocker-5.24.3.tar.xz"; 146 + sha256 = "1dh3z55hwakj11ffn2fm79vnlw7gcg1nkcxbxvcdcpq84ahpq583"; 147 + name = "kscreenlocker-5.24.3.tar.xz"; 148 }; 149 }; 150 ksshaskpass = { 151 + version = "5.24.3"; 152 src = fetchurl { 153 + url = "${mirror}/stable/plasma/5.24.3/ksshaskpass-5.24.3.tar.xz"; 154 + sha256 = "0ivq9nyyqm1rrm6ck26jlsh8qv9q98dz5qwvcnpgpmxb3mr1dgiv"; 155 + name = "ksshaskpass-5.24.3.tar.xz"; 156 }; 157 }; 158 ksystemstats = { 159 + version = "5.24.3"; 160 src = fetchurl { 161 + url = "${mirror}/stable/plasma/5.24.3/ksystemstats-5.24.3.tar.xz"; 162 + sha256 = "03ikpd3m0qk8cb92g63i7q9c8bks7ggf1pmmig559cmg7gbknc2c"; 163 + name = "ksystemstats-5.24.3.tar.xz"; 164 }; 165 }; 166 kwallet-pam = { 167 + version = "5.24.3"; 168 src = fetchurl { 169 + url = "${mirror}/stable/plasma/5.24.3/kwallet-pam-5.24.3.tar.xz"; 170 + sha256 = "0zxdrpjq8sg3qw2gfkvjs567b41labi940cq4qrix395v7251p9k"; 171 + name = "kwallet-pam-5.24.3.tar.xz"; 172 }; 173 }; 174 kwayland-integration = { 175 + version = "5.24.3"; 176 src = fetchurl { 177 + url = "${mirror}/stable/plasma/5.24.3/kwayland-integration-5.24.3.tar.xz"; 178 + sha256 = "1kq5vrrplbdxri8610h89apfz07a6xi1gnlvmr8gbsvas5zicvwz"; 179 + name = "kwayland-integration-5.24.3.tar.xz"; 180 }; 181 }; 182 kwayland-server = { 183 + version = "5.24.3"; 184 src = fetchurl { 185 + url = "${mirror}/stable/plasma/5.24.3/kwayland-server-5.24.3.tar.xz"; 186 + sha256 = "0fq61qk3cp4xg9759ylqqw5ncx9s7kayjf0bilg5m725bfhj02sn"; 187 + name = "kwayland-server-5.24.3.tar.xz"; 188 }; 189 }; 190 kwin = { 191 + version = "5.24.3"; 192 src = fetchurl { 193 + url = "${mirror}/stable/plasma/5.24.3/kwin-5.24.3.tar.xz"; 194 + sha256 = "0szlrcsj4h4fa5yf27nmza7c4dyc0xcwdrihs05pl5qk5bivfkfq"; 195 + name = "kwin-5.24.3.tar.xz"; 196 }; 197 }; 198 kwrited = { 199 + version = "5.24.3"; 200 src = fetchurl { 201 + url = "${mirror}/stable/plasma/5.24.3/kwrited-5.24.3.tar.xz"; 202 + sha256 = "1sgd3iik647pz2zr5cpsbwm2ll8f11xyw2jv2sfxkbiiw53qaxid"; 203 + name = "kwrited-5.24.3.tar.xz"; 204 }; 205 }; 206 layer-shell-qt = { 207 + version = "5.24.3"; 208 src = fetchurl { 209 + url = "${mirror}/stable/plasma/5.24.3/layer-shell-qt-5.24.3.tar.xz"; 210 + sha256 = "0h3xlvmgyxyzxvazgbbn0a9l14hg5d38cl9hclnwmrnpwbn0bqax"; 211 + name = "layer-shell-qt-5.24.3.tar.xz"; 212 }; 213 }; 214 libkscreen = { 215 + version = "5.24.3"; 216 src = fetchurl { 217 + url = "${mirror}/stable/plasma/5.24.3/libkscreen-5.24.3.tar.xz"; 218 + sha256 = "18777lwn5j0isc347dks25731byyfdyls79lj6hnxqb6807lz1x6"; 219 + name = "libkscreen-5.24.3.tar.xz"; 220 }; 221 }; 222 libksysguard = { 223 + version = "5.24.3"; 224 src = fetchurl { 225 + url = "${mirror}/stable/plasma/5.24.3/libksysguard-5.24.3.tar.xz"; 226 + sha256 = "18piiy24rd5fzvp4cnhgx0d4x4m6fnxx01zm1mx0sh676g7m31hl"; 227 + name = "libksysguard-5.24.3.tar.xz"; 228 }; 229 }; 230 milou = { 231 + version = "5.24.3"; 232 src = fetchurl { 233 + url = "${mirror}/stable/plasma/5.24.3/milou-5.24.3.tar.xz"; 234 + sha256 = "06xx4afym92hfpvbiqrv7mx30bdm3dhdfn8vki5zxq2k0rv0pmri"; 235 + name = "milou-5.24.3.tar.xz"; 236 }; 237 }; 238 oxygen = { 239 + version = "5.24.3"; 240 src = fetchurl { 241 + url = "${mirror}/stable/plasma/5.24.3/oxygen-5.24.3.tar.xz"; 242 + sha256 = "02j0drc24mf2pfhdgzri5sdcscq1bbj4lhhmhp6bn1v74wybv381"; 243 + name = "oxygen-5.24.3.tar.xz"; 244 }; 245 }; 246 plasma-browser-integration = { 247 + version = "5.24.3"; 248 src = fetchurl { 249 + url = "${mirror}/stable/plasma/5.24.3/plasma-browser-integration-5.24.3.tar.xz"; 250 + sha256 = "1msib3c8arybqbv1vfj1ijx74a34a02hn8gvjy4sf95zcl07mc20"; 251 + name = "plasma-browser-integration-5.24.3.tar.xz"; 252 }; 253 }; 254 plasma-desktop = { 255 + version = "5.24.3"; 256 src = fetchurl { 257 + url = "${mirror}/stable/plasma/5.24.3/plasma-desktop-5.24.3.tar.xz"; 258 + sha256 = "1lwizprs6nk6nibydwkwmpi9c7c50lvg2k188pb6ddz2sb7pwgjq"; 259 + name = "plasma-desktop-5.24.3.tar.xz"; 260 }; 261 }; 262 plasma-disks = { 263 + version = "5.24.3"; 264 src = fetchurl { 265 + url = "${mirror}/stable/plasma/5.24.3/plasma-disks-5.24.3.tar.xz"; 266 + sha256 = "0nklcimxyvci3xa6nc5jxbcxds4a14vkkwihgc6xfpc7xcca0wcy"; 267 + name = "plasma-disks-5.24.3.tar.xz"; 268 }; 269 }; 270 plasma-firewall = { 271 + version = "5.24.3"; 272 src = fetchurl { 273 + url = "${mirror}/stable/plasma/5.24.3/plasma-firewall-5.24.3.tar.xz"; 274 + sha256 = "0r7gh3asnc5lbfsp1jb33lmgcxfpjmlrqlyz41g0wv9aj9x6pwxz"; 275 + name = "plasma-firewall-5.24.3.tar.xz"; 276 }; 277 }; 278 plasma-integration = { 279 + version = "5.24.3"; 280 src = fetchurl { 281 + url = "${mirror}/stable/plasma/5.24.3/plasma-integration-5.24.3.tar.xz"; 282 + sha256 = "031w205icblf50ps7bw7wp5q4azbqpcp4bnig2wh5d1lc8xqzvvs"; 283 + name = "plasma-integration-5.24.3.tar.xz"; 284 }; 285 }; 286 plasma-mobile = { 287 + version = "5.24.3"; 288 src = fetchurl { 289 + url = "${mirror}/stable/plasma/5.24.3/plasma-mobile-5.24.3.tar.xz"; 290 + sha256 = "1bwmy7xvd8wmh0snqqjh9jjgawib8ks2g30w48sqxwhplhf3da58"; 291 + name = "plasma-mobile-5.24.3.tar.xz"; 292 }; 293 }; 294 plasma-nano = { 295 + version = "5.24.3"; 296 src = fetchurl { 297 + url = "${mirror}/stable/plasma/5.24.3/plasma-nano-5.24.3.tar.xz"; 298 + sha256 = "13jxhfi3c3dhg7zdyfqnsii661h1am0w9dsv82dalqvwr1mw28l5"; 299 + name = "plasma-nano-5.24.3.tar.xz"; 300 }; 301 }; 302 plasma-nm = { 303 + version = "5.24.3"; 304 src = fetchurl { 305 + url = "${mirror}/stable/plasma/5.24.3/plasma-nm-5.24.3.tar.xz"; 306 + sha256 = "1z9vzj2mbvqklnjxf2izpx9s6cq097im0kz41fy4c5cjxna4xxic"; 307 + name = "plasma-nm-5.24.3.tar.xz"; 308 }; 309 }; 310 plasma-pa = { 311 + version = "5.24.3"; 312 src = fetchurl { 313 + url = "${mirror}/stable/plasma/5.24.3/plasma-pa-5.24.3.tar.xz"; 314 + sha256 = "0n87rb04izd0ix50iy2dgj6yzzr626vhpfk76lnqr57jz6fbx3z1"; 315 + name = "plasma-pa-5.24.3.tar.xz"; 316 }; 317 }; 318 plasma-sdk = { 319 + version = "5.24.3"; 320 src = fetchurl { 321 + url = "${mirror}/stable/plasma/5.24.3/plasma-sdk-5.24.3.tar.xz"; 322 + sha256 = "0g6nypqsbmsp9msixd7p25lk58zismdamkp41f5lx3cbb49x1fpr"; 323 + name = "plasma-sdk-5.24.3.tar.xz"; 324 }; 325 }; 326 plasma-systemmonitor = { 327 + version = "5.24.3"; 328 src = fetchurl { 329 + url = "${mirror}/stable/plasma/5.24.3/plasma-systemmonitor-5.24.3.tar.xz"; 330 + sha256 = "17a3q1az4d3xpk2ifqsj6sz7r4apxy58kk2r2l14p6s6aszhqk4h"; 331 + name = "plasma-systemmonitor-5.24.3.tar.xz"; 332 }; 333 }; 334 plasma-tests = { 335 + version = "5.24.3"; 336 src = fetchurl { 337 + url = "${mirror}/stable/plasma/5.24.3/plasma-tests-5.24.3.tar.xz"; 338 + sha256 = "1x5hr465kj3dg6c335lji2lxvp7cbn86181l78qk4l75sj1ss721"; 339 + name = "plasma-tests-5.24.3.tar.xz"; 340 }; 341 }; 342 plasma-thunderbolt = { 343 + version = "5.24.3"; 344 src = fetchurl { 345 + url = "${mirror}/stable/plasma/5.24.3/plasma-thunderbolt-5.24.3.tar.xz"; 346 + sha256 = "1px5vfk37ak6hj6q3ipljj2dpazdbgdsga6nbkwcfn31708c7gjj"; 347 + name = "plasma-thunderbolt-5.24.3.tar.xz"; 348 }; 349 }; 350 plasma-vault = { 351 + version = "5.24.3"; 352 src = fetchurl { 353 + url = "${mirror}/stable/plasma/5.24.3/plasma-vault-5.24.3.tar.xz"; 354 + sha256 = "0f5yhz7qz4bqj7mc7hv7mvh2ji82pp02c901ws5cwwsh23yrhjcd"; 355 + name = "plasma-vault-5.24.3.tar.xz"; 356 }; 357 }; 358 plasma-workspace = { 359 + version = "5.24.3"; 360 src = fetchurl { 361 + url = "${mirror}/stable/plasma/5.24.3/plasma-workspace-5.24.3.tar.xz"; 362 + sha256 = "1d1a8k75q0rdbbwkx8p1i38hc6xv9kggvfm6973lh3q0pc75qk0h"; 363 + name = "plasma-workspace-5.24.3.tar.xz"; 364 }; 365 }; 366 plasma-workspace-wallpapers = { 367 + version = "5.24.3"; 368 src = fetchurl { 369 + url = "${mirror}/stable/plasma/5.24.3/plasma-workspace-wallpapers-5.24.3.tar.xz"; 370 + sha256 = "0j1qqjc27grh3k02dgfb657ps11gym28lc9hzcw3qdxkf3djw9fs"; 371 + name = "plasma-workspace-wallpapers-5.24.3.tar.xz"; 372 }; 373 }; 374 plymouth-kcm = { 375 + version = "5.24.3"; 376 src = fetchurl { 377 + url = "${mirror}/stable/plasma/5.24.3/plymouth-kcm-5.24.3.tar.xz"; 378 + sha256 = "196nx8h54bnnrly12zvnwl22ksr9nk2mi6g39k4xmp28agw94jv5"; 379 + name = "plymouth-kcm-5.24.3.tar.xz"; 380 }; 381 }; 382 polkit-kde-agent = { 383 + version = "1-5.24.3"; 384 src = fetchurl { 385 + url = "${mirror}/stable/plasma/5.24.3/polkit-kde-agent-1-5.24.3.tar.xz"; 386 + sha256 = "1mbr8xpjvd8w9b5nd6k8fxcnjykzzygwqk19il4wirqyh4n3k3bq"; 387 + name = "polkit-kde-agent-1-5.24.3.tar.xz"; 388 }; 389 }; 390 powerdevil = { 391 + version = "5.24.3"; 392 src = fetchurl { 393 + url = "${mirror}/stable/plasma/5.24.3/powerdevil-5.24.3.tar.xz"; 394 + sha256 = "047h4lz8d1kdyakh5x7fr3kpk35r38z39vm7wb974rd9hjz7alj9"; 395 + name = "powerdevil-5.24.3.tar.xz"; 396 }; 397 }; 398 qqc2-breeze-style = { 399 + version = "5.24.3"; 400 src = fetchurl { 401 + url = "${mirror}/stable/plasma/5.24.3/qqc2-breeze-style-5.24.3.tar.xz"; 402 + sha256 = "1y21ldxwlb12kfqzxpyhdw9lkcaf5sfamwhg68r512hy785sg490"; 403 + name = "qqc2-breeze-style-5.24.3.tar.xz"; 404 }; 405 }; 406 sddm-kcm = { 407 + version = "5.24.3"; 408 src = fetchurl { 409 + url = "${mirror}/stable/plasma/5.24.3/sddm-kcm-5.24.3.tar.xz"; 410 + sha256 = "15n6drklwk3lmiaklw1af98qcixml4w83hngy23lwwv2lbnirl6h"; 411 + name = "sddm-kcm-5.24.3.tar.xz"; 412 }; 413 }; 414 systemsettings = { 415 + version = "5.24.3"; 416 src = fetchurl { 417 + url = "${mirror}/stable/plasma/5.24.3/systemsettings-5.24.3.tar.xz"; 418 + sha256 = "11fmjdh6v0a4gacqshhrk374i07px989p3x70w8438gr6y0n2032"; 419 + name = "systemsettings-5.24.3.tar.xz"; 420 }; 421 }; 422 xdg-desktop-portal-kde = { 423 + version = "5.24.3"; 424 src = fetchurl { 425 + url = "${mirror}/stable/plasma/5.24.3/xdg-desktop-portal-kde-5.24.3.tar.xz"; 426 + sha256 = "06qdr7j2m9s9l60mk8vspb2173va10zdv6sinhmkhxxp78h857z6"; 427 + name = "xdg-desktop-portal-kde-5.24.3.tar.xz"; 428 }; 429 }; 430 }
+2 -2
pkgs/development/compilers/llvm/14/default.nix
··· 19 20 let 21 release_version = "14.0.0"; 22 - candidate = "rc4"; # empty or "rcN" 23 dash-candidate = lib.optionalString (candidate != "") "-${candidate}"; 24 rev = ""; # When using a Git commit 25 rev-version = ""; # When using a Git commit ··· 30 owner = "llvm"; 31 repo = "llvm-project"; 32 rev = if rev != "" then rev else "llvmorg-${version}"; 33 - sha256 = "0xm3hscg6xv48rjdi7sg9ky960af1qyg5k3jyavnaqimlaj9wxgp"; 34 }; 35 36 llvm_meta = {
··· 19 20 let 21 release_version = "14.0.0"; 22 + candidate = ""; # empty or "rcN" 23 dash-candidate = lib.optionalString (candidate != "") "-${candidate}"; 24 rev = ""; # When using a Git commit 25 rev-version = ""; # When using a Git commit ··· 30 owner = "llvm"; 31 repo = "llvm-project"; 32 rev = if rev != "" then rev else "llvmorg-${version}"; 33 + sha256 = "1ixqzjzq4ad3mv1w44gwcg1shy34c2b3i9ja71vx1wa7l2ms2376"; 34 }; 35 36 llvm_meta = {
+15 -4
pkgs/development/compilers/llvm/14/openmp/default.nix
··· 5 , runCommand 6 , cmake 7 , llvm 8 , clang-unwrapped 9 , perl 10 , pkg-config ··· 25 26 patches = [ 27 ./gnu-install-dirs.patch 28 - ./fix-find-tool.patch 29 ]; 30 31 outputs = [ "out" "dev" ]; 32 33 - nativeBuildInputs = [ cmake perl pkg-config clang-unwrapped ]; 34 buildInputs = [ llvm ]; 35 36 cmakeFlags = [ 37 - "-DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF" # Building the AMDGCN device RTL currently fails 38 ]; 39 40 meta = llvm_meta // { ··· 50 # "All of the code is dual licensed under the MIT license and the UIUC 51 # License (a BSD-like license)": 52 license = with lib.licenses; [ mit ncsa ]; 53 - broken = true; # TODO: gnu-install-dirs.patch fails to apply 54 }; 55 }
··· 5 , runCommand 6 , cmake 7 , llvm 8 + , lit 9 , clang-unwrapped 10 , perl 11 , pkg-config ··· 26 27 patches = [ 28 ./gnu-install-dirs.patch 29 + ./run-lit-directly.patch 30 ]; 31 32 outputs = [ "out" "dev" ]; 33 34 + nativeBuildInputs = [ cmake perl pkg-config lit ]; 35 buildInputs = [ llvm ]; 36 37 + # Unsup:Pass:XFail:Fail 38 + # 26:267:16:8 39 + doCheck = false; 40 + checkTarget = "check-openmp"; 41 + 42 + preCheck = '' 43 + patchShebangs ../tools/archer/tests/deflake.bash 44 + ''; 45 + 46 cmakeFlags = [ 47 + "-DCLANG_TOOL=${clang-unwrapped}/bin/clang" 48 + "-DOPT_TOOL=${llvm}/bin/opt" 49 + "-DLINK_TOOL=${llvm}/bin/llvm-link" 50 ]; 51 52 meta = llvm_meta // { ··· 62 # "All of the code is dual licensed under the MIT license and the UIUC 63 # License (a BSD-like license)": 64 license = with lib.licenses; [ mit ncsa ]; 65 }; 66 }
-54
pkgs/development/compilers/llvm/14/openmp/fix-find-tool.patch
··· 1 - diff --git a/libomptarget/DeviceRTL/CMakeLists.txt b/libomptarget/DeviceRTL/CMakeLists.txt 2 - index 242df638f80d..a4654e96371f 100644 3 - --- a/libomptarget/DeviceRTL/CMakeLists.txt 4 - +++ b/libomptarget/DeviceRTL/CMakeLists.txt 5 - @@ -25,16 +25,16 @@ endif() 6 - 7 - if (LLVM_DIR) 8 - # Builds that use pre-installed LLVM have LLVM_DIR set. 9 - - find_program(CLANG_TOOL clang PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) 10 - + find_program(CLANG_TOOL clang PATHS ${LLVM_TOOLS_BINARY_DIR} REQUIRED) 11 - find_program(LINK_TOOL llvm-link PATHS ${LLVM_TOOLS_BINARY_DIR} 12 - - NO_DEFAULT_PATH) 13 - - find_program(OPT_TOOL opt PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) 14 - + REQUIRED) 15 - + find_program(OPT_TOOL opt PATHS ${LLVM_TOOLS_BINARY_DIR} REQUIRED) 16 - libomptarget_say("Building DeviceRTL. Using clang: ${CLANG_TOOL}") 17 - elseif (LLVM_TOOL_CLANG_BUILD AND NOT CMAKE_CROSSCOMPILING AND NOT OPENMP_STANDALONE_BUILD) 18 - # LLVM in-tree builds may use CMake target names to discover the tools. 19 - - set(CLANG_TOOL $<TARGET_FILE:clang>) 20 - - set(LINK_TOOL $<TARGET_FILE:llvm-link>) 21 - - set(OPT_TOOL $<TARGET_FILE:opt>) 22 - + set(CLANG_TOOL $<TARGET_FILE:clang> REQUIRED) 23 - + set(LINK_TOOL $<TARGET_FILE:llvm-link> REQUIRED) 24 - + set(OPT_TOOL $<TARGET_FILE:opt> REQUIRED) 25 - libomptarget_say("Building DeviceRTL. Using clang from in-tree build") 26 - else() 27 - libomptarget_say("Not building DeviceRTL. No appropriate clang found") 28 - diff --git a/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt b/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt 29 - index 3f4c02671aeb..be9f4677d7b5 100644 30 - --- a/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt 31 - +++ b/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt 32 - @@ -38,16 +38,16 @@ endif() 33 - 34 - if (LLVM_DIR) 35 - # Builds that use pre-installed LLVM have LLVM_DIR set. 36 - - find_program(CLANG_TOOL clang PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) 37 - + find_program(CLANG_TOOL clang PATHS ${LLVM_TOOLS_BINARY_DIR} REQUIRED) 38 - find_program(LINK_TOOL llvm-link PATHS ${LLVM_TOOLS_BINARY_DIR} 39 - - NO_DEFAULT_PATH) 40 - - find_program(OPT_TOOL opt PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH) 41 - + REQUIRED) 42 - + find_program(OPT_TOOL opt PATHS ${LLVM_TOOLS_BINARY_DIR} REQUIRED) 43 - libomptarget_say("Building AMDGCN device RTL. Using clang: ${CLANG_TOOL}") 44 - elseif (LLVM_TOOL_CLANG_BUILD AND NOT CMAKE_CROSSCOMPILING AND NOT OPENMP_STANDALONE_BUILD) 45 - # LLVM in-tree builds may use CMake target names to discover the tools. 46 - - set(CLANG_TOOL $<TARGET_FILE:clang>) 47 - - set(LINK_TOOL $<TARGET_FILE:llvm-link>) 48 - - set(OPT_TOOL $<TARGET_FILE:opt>) 49 - + set(CLANG_TOOL $<TARGET_FILE:clang> REQUIRED) 50 - + set(LINK_TOOL $<TARGET_FILE:llvm-link> REQUIRED) 51 - + set(OPT_TOOL $<TARGET_FILE:opt> REQUIRED) 52 - libomptarget_say("Building AMDGCN device RTL. Using clang from in-tree build") 53 - else() 54 - libomptarget_say("Not building AMDGCN device RTL. No appropriate clang found")
···
+4 -48
pkgs/development/compilers/llvm/14/openmp/gnu-install-dirs.patch
··· 1 diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 7f11a05f5622..fb90f8f6a49b 100644 3 --- a/CMakeLists.txt 4 +++ b/CMakeLists.txt 5 - @@ -8,6 +8,8 @@ if (OPENMP_STANDALONE_BUILD OR "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_S 6 - set(OPENMP_STANDALONE_BUILD TRUE) 7 - project(openmp C CXX) 8 - 9 - + include(GNUInstallDirs) 10 - + 11 - # CMAKE_BUILD_TYPE was not set, default to Release. 12 - if (NOT CMAKE_BUILD_TYPE) 13 - set(CMAKE_BUILD_TYPE Release) 14 - @@ -19,7 +21,7 @@ if (OPENMP_STANDALONE_BUILD OR "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_S 15 set(OPENMP_LIBDIR_SUFFIX "" CACHE STRING 16 "Suffix of lib installation directory, e.g. 64 => lib64") 17 # Do not use OPENMP_LIBDIR_SUFFIX directly, use OPENMP_INSTALL_LIBDIR. ··· 20 21 # Group test settings. 22 set(OPENMP_TEST_C_COMPILER ${CMAKE_C_COMPILER} CACHE STRING 23 - @@ -30,7 +32,7 @@ if (OPENMP_STANDALONE_BUILD OR "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_S 24 else() 25 set(OPENMP_ENABLE_WERROR ${LLVM_ENABLE_WERROR}) 26 # If building in tree, we honor the same install suffix LLVM uses. ··· 29 30 if (NOT MSVC) 31 set(OPENMP_TEST_C_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/clang) 32 - index 0e1ce2afd154..8b3810f83713 100644 33 --- a/libomptarget/plugins/amdgpu/CMakeLists.txt 34 +++ b/libomptarget/plugins/amdgpu/CMakeLists.txt 35 - @@ -80,7 +80,7 @@ add_library(omptarget.rtl.amdgpu SHARED 36 37 # Install plugin under the lib destination folder. 38 # When we build for debug, OPENMP_LIBDIR_SUFFIX get set to -debug ··· 42 43 if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") 44 diff --git a/libomptarget/plugins/ve/CMakeLists.txt b/libomptarget/plugins/ve/CMakeLists.txt 45 - index 16ce0891ca23..db30ee9c769f 100644 46 --- a/libomptarget/plugins/ve/CMakeLists.txt 47 +++ b/libomptarget/plugins/ve/CMakeLists.txt 48 @@ -32,7 +32,7 @@ if(${LIBOMPTARGET_DEP_VEO_FOUND}) ··· 54 55 target_link_libraries( 56 "omptarget.rtl.${tmachine_libname}" 57 - diff --git a/runtime/src/CMakeLists.txt b/runtime/src/CMakeLists.txt 58 - index e4f4e6e1e73f..1164b3b22b0e 100644 59 - --- a/runtime/src/CMakeLists.txt 60 - +++ b/runtime/src/CMakeLists.txt 61 - @@ -346,13 +346,13 @@ add_dependencies(libomp-micro-tests libomp-test-deps) 62 - # We want to install libomp in DESTDIR/CMAKE_INSTALL_PREFIX/lib 63 - # We want to install headers in DESTDIR/CMAKE_INSTALL_PREFIX/include 64 - if(${OPENMP_STANDALONE_BUILD}) 65 - - set(LIBOMP_HEADERS_INSTALL_PATH include) 66 - + set(LIBOMP_HEADERS_INSTALL_PATH "${CMAKE_INSTALL_INCLUDEDIR}") 67 - else() 68 - string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION ${PACKAGE_VERSION}) 69 - set(LIBOMP_HEADERS_INSTALL_PATH "${OPENMP_INSTALL_LIBDIR}/clang/${CLANG_VERSION}/include") 70 - endif() 71 - if(WIN32) 72 - - install(TARGETS omp RUNTIME DESTINATION bin) 73 - + install(TARGETS omp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 74 - install(TARGETS ${LIBOMP_IMP_LIB_TARGET} ARCHIVE DESTINATION "${OPENMP_INSTALL_LIBDIR}") 75 - # Create aliases (regular copies) of the library for backwards compatibility 76 - set(LIBOMP_ALIASES "libiomp5md") 77 - diff --git a/tools/multiplex/CMakeLists.txt b/tools/multiplex/CMakeLists.txt 78 - index 64317c112176..4002784da736 100644 79 - --- a/tools/multiplex/CMakeLists.txt 80 - +++ b/tools/multiplex/CMakeLists.txt 81 - @@ -4,7 +4,7 @@ if(LIBOMP_OMPT_SUPPORT) 82 - add_library(ompt-multiplex INTERFACE) 83 - target_include_directories(ompt-multiplex INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) 84 - 85 - - install(FILES ompt-multiplex.h DESTINATION include) 86 - + install(FILES ompt-multiplex.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) 87 - 88 - add_subdirectory(tests) 89 - endif()
··· 1 diff --git a/CMakeLists.txt b/CMakeLists.txt 2 --- a/CMakeLists.txt 3 +++ b/CMakeLists.txt 4 + @@ -24,7 +24,7 @@ if (OPENMP_STANDALONE_BUILD) 5 set(OPENMP_LIBDIR_SUFFIX "" CACHE STRING 6 "Suffix of lib installation directory, e.g. 64 => lib64") 7 # Do not use OPENMP_LIBDIR_SUFFIX directly, use OPENMP_INSTALL_LIBDIR. ··· 10 11 # Group test settings. 12 set(OPENMP_TEST_C_COMPILER ${CMAKE_C_COMPILER} CACHE STRING 13 + @@ -35,7 +35,7 @@ if (OPENMP_STANDALONE_BUILD) 14 else() 15 set(OPENMP_ENABLE_WERROR ${LLVM_ENABLE_WERROR}) 16 # If building in tree, we honor the same install suffix LLVM uses. ··· 19 20 if (NOT MSVC) 21 set(OPENMP_TEST_C_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/clang) 22 + diff --git a/libomptarget/plugins/amdgpu/CMakeLists.txt b/libomptarget/plugins/amdgpu/CMakeLists.txt 23 --- a/libomptarget/plugins/amdgpu/CMakeLists.txt 24 +++ b/libomptarget/plugins/amdgpu/CMakeLists.txt 25 + @@ -74,7 +74,7 @@ add_library(omptarget.rtl.amdgpu SHARED 26 27 # Install plugin under the lib destination folder. 28 # When we build for debug, OPENMP_LIBDIR_SUFFIX get set to -debug ··· 32 33 if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") 34 diff --git a/libomptarget/plugins/ve/CMakeLists.txt b/libomptarget/plugins/ve/CMakeLists.txt 35 --- a/libomptarget/plugins/ve/CMakeLists.txt 36 +++ b/libomptarget/plugins/ve/CMakeLists.txt 37 @@ -32,7 +32,7 @@ if(${LIBOMPTARGET_DEP_VEO_FOUND}) ··· 43 44 target_link_libraries( 45 "omptarget.rtl.${tmachine_libname}"
+12
pkgs/development/compilers/llvm/14/openmp/run-lit-directly.patch
···
··· 1 + diff --git a/cmake/OpenMPTesting.cmake b/cmake/OpenMPTesting.cmake 2 + --- a/cmake/OpenMPTesting.cmake 3 + +++ b/cmake/OpenMPTesting.cmake 4 + @@ -185,7 +185,7 @@ function(add_openmp_testsuite target comment) 5 + if (${OPENMP_STANDALONE_BUILD}) 6 + set(LIT_ARGS ${OPENMP_LIT_ARGS} ${ARG_ARGS}) 7 + add_custom_target(${target} 8 + - COMMAND ${PYTHON_EXECUTABLE} ${OPENMP_LLVM_LIT_EXECUTABLE} ${LIT_ARGS} ${ARG_UNPARSED_ARGUMENTS} 9 + + COMMAND ${OPENMP_LLVM_LIT_EXECUTABLE} ${LIT_ARGS} ${ARG_UNPARSED_ARGUMENTS} 10 + COMMENT ${comment} 11 + DEPENDS ${ARG_DEPENDS} 12 + USES_TERMINAL
+3 -3
pkgs/development/compilers/ocaml/4.14.nix
··· 1 import ./generic.nix { 2 major_version = "4"; 3 minor_version = "14"; 4 - patch_version = "0-beta1"; 5 src = fetchTarball { 6 - url = "https://caml.inria.fr/pub/distrib/ocaml-4.14/ocaml-4.14.0~beta1.tar.xz"; 7 - sha256 = "0jiz20hb58jbbk8j38agx11ra4hg0v3prmzc5a9j70lm09mnzfcd"; 8 }; 9 }
··· 1 import ./generic.nix { 2 major_version = "4"; 3 minor_version = "14"; 4 + patch_version = "0-rc2"; 5 src = fetchTarball { 6 + url = "https://caml.inria.fr/pub/distrib/ocaml-4.14/ocaml-4.14.0~rc2.tar.xz"; 7 + sha256 = "sha256:0ch8nyfk2mzwhmlxb434cyamp7n14zxhwsq1h8033g629kw50kb0"; 8 }; 9 }
+10 -69
pkgs/development/compilers/openjdk/8.nix
··· 1 - { stdenv, lib, fetchurl, pkg-config, lndir, bash, cpio, file, which, unzip, zip 2 , cups, freetype, alsa-lib, cacert, perl, liberation_ttf, fontconfig, zlib 3 , libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama, libXcursor, libXrandr 4 , libjpeg, giflib ··· 19 aarch64-linux = "aarch64"; 20 }.${stdenv.system} or (throw "Unsupported platform"); 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}"; 28 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 { 78 pname = "openjdk" + lib.optionalString headless "-headless"; 79 version = "8u${update}-${build}"; 80 81 - srcs = [ jdk8 langtools hotspot corba jdk jaxws jaxp nashorn ]; 82 - sourceRoot = "."; 83 - 84 outputs = [ "out" "jre" ]; 85 86 nativeBuildInputs = [ pkg-config lndir unzip ]; ··· 91 ] ++ lib.optionals (!headless && enableGnome2) [ 92 gtk2 gnome_vfs GConf glib 93 ]; 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 105 patches = [ 106 ./fix-java-home-jdk8.patch
··· 1 + { stdenv, lib, fetchFromGitHub, pkg-config, lndir, bash, cpio, file, which, unzip, zip 2 , cups, freetype, alsa-lib, cacert, perl, liberation_ttf, fontconfig, zlib 3 , libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama, libXcursor, libXrandr 4 , libjpeg, giflib ··· 19 aarch64-linux = "aarch64"; 20 }.${stdenv.system} or (throw "Unsupported platform"); 21 22 + update = "322"; 23 + build = "ga"; 24 25 + openjdk8 = stdenv.mkDerivation rec { 26 pname = "openjdk" + lib.optionalString headless "-headless"; 27 version = "8u${update}-${build}"; 28 29 + src = fetchFromGitHub { 30 + owner = "openjdk"; 31 + repo = "jdk8u"; 32 + rev = "jdk${version}"; 33 + sha256 = "sha256-e39Yv+NDQG7z6fGmpKEnkKd5MoHZ50SXlq/Q7lzWcDA="; 34 + }; 35 outputs = [ "out" "jre" ]; 36 37 nativeBuildInputs = [ pkg-config lndir unzip ]; ··· 42 ] ++ lib.optionals (!headless && enableGnome2) [ 43 gtk2 gnome_vfs GConf glib 44 ]; 45 46 patches = [ 47 ./fix-java-home-jdk8.patch
+1
pkgs/development/coq-modules/VST/default.nix
··· 37 preConfigure = '' 38 patchShebangs util 39 substituteInPlace Makefile \ 40 --replace 'FLOYD_FILES=' 'FLOYD_FILES= ${toString extra_floyd_files}' 41 ''; 42
··· 37 preConfigure = '' 38 patchShebangs util 39 substituteInPlace Makefile \ 40 + --replace 'COQVERSION= ' 'COQVERSION= 8.15.1 or-else '\ 41 --replace 'FLOYD_FILES=' 'FLOYD_FILES= ${toString extra_floyd_files}' 42 ''; 43
+5
pkgs/development/coq-modules/compcert/default.nix
··· 119 url = "https://github.com/AbsInt/CompCert/commit/a882f78c069f7337dd9f4abff117d4df98ef38a6.patch"; 120 sha256 = "sha256:16i87s608fj9ni7cvd5wrd7gicqniad7w78wi26pxdy0pacl7bjg"; 121 }) 122 ]; 123 } 124 ] [];
··· 119 url = "https://github.com/AbsInt/CompCert/commit/a882f78c069f7337dd9f4abff117d4df98ef38a6.patch"; 120 sha256 = "sha256:16i87s608fj9ni7cvd5wrd7gicqniad7w78wi26pxdy0pacl7bjg"; 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 + }) 127 ]; 128 } 129 ] [];
+2 -2
pkgs/development/interpreters/php/8.0.nix
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.0.16"; 6 - sha256 = "sha256-9J+Bge4pRjoNI6DGWWnpLVj+6KxWTfkXz/WOSNZeGEk="; 7 }); 8 9 in
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 + version = "8.0.17"; 6 + sha256 = "52811ee2dde71660ca32737a4ac696c24591eb22e846dd8e09ee77122660283f"; 7 }); 8 9 in
+2 -2
pkgs/development/interpreters/php/8.1.nix
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 - version = "8.1.3"; 6 - sha256 = "sha256-NUxOLFBgRuyoEtH8JSaISi9UtePSDvDt6RmmnrIy0L4="; 7 }); 8 9 in
··· 2 3 let 4 base = callPackage ./generic.nix (_args // { 5 + version = "8.1.4"; 6 + sha256 = "b3f688cb69758523838b8e7f509aaef0152133d9b84a84a0b7cf68eeafc1df76"; 7 }); 8 9 in
+2 -2
pkgs/development/libraries/bctoolbox/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "bctoolbox"; 10 - version = "5.1.10"; 11 12 nativeBuildInputs = [ cmake bcunit ]; 13 buildInputs = [ mbedtls ]; ··· 18 group = "BC"; 19 repo = pname; 20 rev = version; 21 - sha256 = "sha256-BOJ/NUJnoTeDuURH8Lx6S4RlNZPfsQX4blJkpUdraBg="; 22 }; 23 24 # Do not build static libraries
··· 7 8 stdenv.mkDerivation rec { 9 pname = "bctoolbox"; 10 + version = "5.1.12"; 11 12 nativeBuildInputs = [ cmake bcunit ]; 13 buildInputs = [ mbedtls ]; ··· 18 group = "BC"; 19 repo = pname; 20 rev = version; 21 + sha256 = "sha256-tmZ1XC8z4NUww58pvvqxZifOxFNXSrEBMY2biCJ55XM="; 22 }; 23 24 # Do not build static libraries
+2 -2
pkgs/development/libraries/cglm/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "cglm"; 9 - version = "0.8.4"; 10 11 src = fetchFromGitHub { 12 owner = "recp"; 13 repo = "cglm"; 14 rev = "v${version}"; 15 - sha256 = "sha256-AJK1M6iyYdL61pZQhbUWzf+YOUE5FEvUyKqxbQqc7H0="; 16 }; 17 18 nativeBuildInputs = [ cmake ];
··· 6 7 stdenv.mkDerivation rec { 8 pname = "cglm"; 9 + version = "0.8.5"; 10 11 src = fetchFromGitHub { 12 owner = "recp"; 13 repo = "cglm"; 14 rev = "v${version}"; 15 + sha256 = "sha256-PJHDZXc0DD/d+K/4uouv5F8gAf1sE5e3jLkGILPMpnI="; 16 }; 17 18 nativeBuildInputs = [ cmake ];
+11
pkgs/development/libraries/gcr/default.nix
··· 1 { lib, stdenv 2 , fetchurl 3 , pkg-config 4 , meson 5 , ninja ··· 33 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 34 sha256 = "CQn8SeqK1IMtJ1ZP8v0dxmZpbioHxzlBxIgp5gVy2gE="; 35 }; 36 37 nativeBuildInputs = [ 38 pkg-config
··· 1 { lib, stdenv 2 , fetchurl 3 + , fetchpatch 4 , pkg-config 5 , meson 6 , ninja ··· 34 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 35 sha256 = "CQn8SeqK1IMtJ1ZP8v0dxmZpbioHxzlBxIgp5gVy2gE="; 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 + ]; 47 48 nativeBuildInputs = [ 49 pkg-config
+4 -3
pkgs/development/libraries/kde-frameworks/kauth/default.nix
··· 1 { 2 - mkDerivation, propagate, 3 - extra-cmake-modules, kcoreaddons, polkit-qt, qttools 4 }: 5 6 mkDerivation { 7 pname = "kauth"; 8 nativeBuildInputs = [ extra-cmake-modules ]; 9 - buildInputs = [ polkit-qt qttools ]; 10 propagatedBuildInputs = [ kcoreaddons ]; 11 patches = [ 12 ./cmake-install-paths.patch
··· 1 { 2 + lib, mkDerivation, propagate, 3 + extra-cmake-modules, kcoreaddons, qttools, 4 + enablePolkit ? true, polkit-qt 5 }: 6 7 mkDerivation { 8 pname = "kauth"; 9 nativeBuildInputs = [ extra-cmake-modules ]; 10 + buildInputs = lib.optional enablePolkit polkit-qt ++ [ qttools ]; 11 propagatedBuildInputs = [ kcoreaddons ]; 12 patches = [ 13 ./cmake-install-paths.patch
-1
pkgs/development/libraries/libass/default.nix
··· 40 license = licenses.isc; 41 platforms = platforms.unix; 42 maintainers = with maintainers; [ codyopel ]; 43 - repositories.git = "git://github.com/libass/libass.git"; 44 }; 45 }
··· 40 license = licenses.isc; 41 platforms = platforms.unix; 42 maintainers = with maintainers; [ codyopel ]; 43 }; 44 }
-1
pkgs/development/libraries/libcec/default.nix
··· 25 meta = with lib; { 26 description = "Allows you (with the right hardware) to control your device with your TV remote control using existing HDMI cabling"; 27 homepage = "http://libcec.pulse-eight.com"; 28 - repositories.git = "https://github.com/Pulse-Eight/libcec.git"; 29 license = lib.licenses.gpl2Plus; 30 platforms = platforms.linux; 31 maintainers = [ maintainers.titanous ];
··· 25 meta = with lib; { 26 description = "Allows you (with the right hardware) to control your device with your TV remote control using existing HDMI cabling"; 27 homepage = "http://libcec.pulse-eight.com"; 28 license = lib.licenses.gpl2Plus; 29 platforms = platforms.linux; 30 maintainers = [ maintainers.titanous ];
-1
pkgs/development/libraries/libcec/platform.nix
··· 16 meta = with lib; { 17 description = "Platform library for libcec and Kodi addons"; 18 homepage = "https://github.com/Pulse-Eight/platform"; 19 - repositories.git = "https://github.com/Pulse-Eight/platform.git"; 20 license = lib.licenses.gpl2Plus; 21 platforms = platforms.all; 22 maintainers = [ maintainers.titanous ];
··· 16 meta = with lib; { 17 description = "Platform library for libcec and Kodi addons"; 18 homepage = "https://github.com/Pulse-Eight/platform"; 19 license = lib.licenses.gpl2Plus; 20 platforms = platforms.all; 21 maintainers = [ maintainers.titanous ];
-1
pkgs/development/libraries/libgcrypt/1.5.nix
··· 38 description = "General-pupose cryptographic library"; 39 license = licenses.lgpl2Plus; 40 platforms = platforms.all; 41 - repositories.git = "git://git.gnupg.org/libgcrypt.git"; 42 knownVulnerabilities = [ 43 "CVE-2014-3591" 44 "CVE-2015-0837"
··· 38 description = "General-pupose cryptographic library"; 39 license = licenses.lgpl2Plus; 40 platforms = platforms.all; 41 knownVulnerabilities = [ 42 "CVE-2014-3591" 43 "CVE-2015-0837"
-1
pkgs/development/libraries/libgcrypt/default.nix
··· 78 license = licenses.lgpl2Plus; 79 platforms = platforms.all; 80 maintainers = with maintainers; [ vrthra ]; 81 - repositories.git = "git://git.gnupg.org/libgcrypt.git"; 82 }; 83 }
··· 78 license = licenses.lgpl2Plus; 79 platforms = platforms.all; 80 maintainers = with maintainers; [ vrthra ]; 81 }; 82 }
+2
pkgs/development/libraries/libgpg-error/default.nix
··· 40 '' + lib.optionalString (stdenv.hostPlatform.isAarch32 && stdenv.hostPlatform.isMusl) '' 41 ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.arm-unknown-linux-musleabihf.h 42 ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.linux-musleabihf.h 43 ''; 44 45 outputs = [ "out" "dev" "info" ];
··· 40 '' + lib.optionalString (stdenv.hostPlatform.isAarch32 && stdenv.hostPlatform.isMusl) '' 41 ln -s lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.arm-unknown-linux-musleabihf.h 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 45 ''; 46 47 outputs = [ "out" "dev" "info" ];
-1
pkgs/development/libraries/libidn/default.nix
··· 35 included. 36 ''; 37 38 - repositories.git = "git://git.savannah.gnu.org/libidn.git"; 39 license = lib.licenses.lgpl2Plus; 40 platforms = lib.platforms.all; 41 maintainers = with lib.maintainers; [ lsix ];
··· 35 included. 36 ''; 37 38 license = lib.licenses.lgpl2Plus; 39 platforms = lib.platforms.all; 40 maintainers = with lib.maintainers; [ lsix ];
-1
pkgs/development/libraries/libidn2/default.nix
··· 39 detailed information. 40 ''; 41 42 - repositories.git = "https://gitlab.com/jas/libidn2"; 43 license = with lib.licenses; [ lgpl3Plus gpl2Plus gpl3Plus ]; 44 platforms = lib.platforms.all; 45 maintainers = with lib.maintainers; [ fpletz ];
··· 39 detailed information. 40 ''; 41 42 license = with lib.licenses; [ lgpl3Plus gpl2Plus gpl3Plus ]; 43 platforms = lib.platforms.all; 44 maintainers = with lib.maintainers; [ fpletz ];
-1
pkgs/development/libraries/liblastfm/default.nix
··· 27 28 meta = with lib; { 29 homepage = "https://github.com/lastfm/liblastfm"; 30 - repositories.git = "git://github.com/lastfm/liblastfm.git"; 31 description = "Official LastFM library"; 32 platforms = platforms.unix; 33 maintainers = [ ];
··· 27 28 meta = with lib; { 29 homepage = "https://github.com/lastfm/liblastfm"; 30 description = "Official LastFM library"; 31 platforms = platforms.unix; 32 maintainers = [ ];
-1
pkgs/development/libraries/liboauth/default.nix
··· 27 platforms = platforms.all; 28 description = "C library implementing the OAuth secure authentication protocol"; 29 homepage = "http://liboauth.sourceforge.net/"; 30 - repositories.git = "https://github.com/x42/liboauth.git"; 31 license = licenses.mit; 32 }; 33
··· 27 platforms = platforms.all; 28 description = "C library implementing the OAuth secure authentication protocol"; 29 homepage = "http://liboauth.sourceforge.net/"; 30 license = licenses.mit; 31 }; 32
-1
pkgs/development/libraries/libotr/default.nix
··· 16 17 meta = with lib; { 18 homepage = "http://www.cypherpunks.ca/otr/"; 19 - repositories.git = "git://git.code.sf.net/p/otr/libotr"; 20 license = licenses.lgpl21; 21 description = "Library for Off-The-Record Messaging"; 22 platforms = platforms.unix;
··· 16 17 meta = with lib; { 18 homepage = "http://www.cypherpunks.ca/otr/"; 19 license = licenses.lgpl21; 20 description = "Library for Off-The-Record Messaging"; 21 platforms = platforms.unix;
+2 -2
pkgs/development/libraries/libqb/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libqb"; 5 - version = "2.0.5"; 6 7 src = fetchFromGitHub { 8 owner = "ClusterLabs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-G49JBEUkO4ySAamvI7xN6ct1SvN4afcOmdrzpDL90FE="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libqb"; 5 + version = "2.0.6"; 6 7 src = fetchFromGitHub { 8 owner = "ClusterLabs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-vt9FmIRojX3INOn3CXAjkswVFD8Th4sRIz3RR4GJHFQ="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ];
+2 -2
pkgs/development/libraries/libtoxcore/default.nix
··· 53 }; 54 55 libtoxcore_0_2 = generic { 56 - version = "0.2.13"; 57 - sha256 = "0a1cp00bnxl3q4l74yqp4aa6fg9slz4rg4lfzkl3khvmm6nzckds"; 58 }; 59 }
··· 53 }; 54 55 libtoxcore_0_2 = generic { 56 + version = "0.2.17"; 57 + sha256 = "sha256-SOI6QKOSt/EK9JDrSaV6CrD5sx8aYb5ZL3StYq8u/Dg="; 58 }; 59 }
-1
pkgs/development/libraries/libusb-compat/0.1.nix
··· 35 36 meta = with lib; { 37 homepage = "https://libusb.info/"; 38 - repositories.git = "https://github.com/libusb/libusb-compat-0.1"; 39 description = "cross-platform user-mode USB device library"; 40 longDescription = '' 41 libusb is a cross-platform user-mode library that provides access to USB devices.
··· 35 36 meta = with lib; { 37 homepage = "https://libusb.info/"; 38 description = "cross-platform user-mode USB device library"; 39 longDescription = '' 40 libusb is a cross-platform user-mode library that provides access to USB devices.
-1
pkgs/development/libraries/libusb1/default.nix
··· 39 40 meta = with lib; { 41 homepage = "https://libusb.info/"; 42 - repositories.git = "https://github.com/libusb/libusb"; 43 description = "cross-platform user-mode USB device library"; 44 longDescription = '' 45 libusb is a cross-platform user-mode library that provides access to USB devices.
··· 39 40 meta = with lib; { 41 homepage = "https://libusb.info/"; 42 description = "cross-platform user-mode USB device library"; 43 longDescription = '' 44 libusb is a cross-platform user-mode library that provides access to USB devices.
-1
pkgs/development/libraries/libvirt/default.nix
··· 331 332 meta = { 333 homepage = "https://libvirt.org/"; 334 - repositories.git = "git://libvirt.org/libvirt.git"; 335 description = '' 336 A toolkit to interact with the virtualization capabilities of recent 337 versions of Linux (and other OSes)
··· 331 332 meta = { 333 homepage = "https://libvirt.org/"; 334 description = '' 335 A toolkit to interact with the virtualization capabilities of recent 336 versions of Linux (and other OSes)
-1
pkgs/development/libraries/pcg-c/default.nix
··· 33 ''; 34 platforms = platforms.unix; 35 maintainers = [ maintainers.linus ]; 36 - repositories.git = "git://github.com/imneme/pcg-c.git"; 37 broken = stdenv.isi686; # https://github.com/imneme/pcg-c/issues/11 38 }; 39 }
··· 33 ''; 34 platforms = platforms.unix; 35 maintainers = [ maintainers.linus ]; 36 broken = stdenv.isi686; # https://github.com/imneme/pcg-c/issues/11 37 }; 38 }
+2 -13
pkgs/development/libraries/pipewire/wireplumber.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitLab 4 - , fetchpatch 5 , nix-update-script 6 , # base build deps 7 meson ··· 27 in 28 stdenv.mkDerivation rec { 29 pname = "wireplumber"; 30 - version = "0.4.8"; 31 32 outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc"; 33 ··· 36 owner = "pipewire"; 37 repo = "wireplumber"; 38 rev = version; 39 - sha256 = "sha256-xwfggrjKHh5mZdvH6dKqQo6o1ltxuYdjoGYaWl31C/Y="; 40 }; 41 - 42 - patches = [ 43 - # backport a patch to fix hangs in some applications 44 - # ref: https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/213 45 - # FIXME: drop this in 0.4.9 46 - (fetchpatch { 47 - url = "https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/afbc0ce57aac7aee8dc1651de4620f15c73dbace.patch"; 48 - sha256 = "sha256-8ycFnrzDq7QHgjwJ/772OTMsSsN3m7gjbdvTmlMJ+mU="; 49 - }) 50 - ]; 51 52 nativeBuildInputs = [ 53 meson
··· 1 { lib 2 , stdenv 3 , fetchFromGitLab 4 , nix-update-script 5 , # base build deps 6 meson ··· 26 in 27 stdenv.mkDerivation rec { 28 pname = "wireplumber"; 29 + version = "0.4.9"; 30 31 outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc"; 32 ··· 35 owner = "pipewire"; 36 repo = "wireplumber"; 37 rev = version; 38 + sha256 = "sha256-U92ozuEUFJA416qKnalVowJuBjLRdORHfhmznGf1IFU="; 39 }; 40 41 nativeBuildInputs = [ 42 meson
-1
pkgs/development/libraries/taglib/default.nix
··· 24 25 meta = with lib; { 26 homepage = "https://taglib.org/"; 27 - repositories.git = "git://github.com/taglib/taglib.git"; 28 description = "A library for reading and editing audio file metadata"; 29 longDescription = '' 30 TagLib is a library for reading and editing the meta-data of several
··· 24 25 meta = with lib; { 26 homepage = "https://taglib.org/"; 27 description = "A library for reading and editing audio file metadata"; 28 longDescription = '' 29 TagLib is a library for reading and editing the meta-data of several
+19 -9
pkgs/development/libraries/wxwidgets/wxGTK31.nix
··· 17 , compat28 ? false 18 , compat30 ? true 19 , unicode ? true 20 - , withGtk2 ? true 21 , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 22 - , withWebKit ? false, webkitgtk 23 , setfile 24 , AGL 25 , Carbon 26 , Cocoa 27 , Kernel 28 , QTKit 29 }: 30 31 assert withGtk2 -> (!withWebKit); 32 33 let ··· 55 buildInputs = [ 56 gst_all_1.gst-plugins-base 57 gst_all_1.gstreamer 58 gtk 59 libSM 60 libXinerama ··· 66 gnome2.GConf 67 ] 68 ++ lib.optional withMesa libGLU 69 - ++ lib.optional withWebKit webkitgtk 70 ++ lib.optionals stdenv.isDarwin [ 71 Carbon 72 Cocoa 73 Kernel 74 QTKit 75 - setfile 76 ]; 77 78 propagatedBuildInputs = lib.optional stdenv.isDarwin AGL; 79 80 configureFlags = [ 81 "--disable-precomp-headers" 82 "--enable-mediactrl" 83 (if compat28 then "--enable-compat28" else "--disable-compat28") 84 (if compat30 then "--enable-compat30" else "--disable-compat30") ··· 86 ++ lib.optional unicode "--enable-unicode" 87 ++ lib.optional withMesa "--with-opengl" 88 ++ lib.optionals stdenv.isDarwin [ 89 - # allow building on 64-bit 90 - "--enable-universal-binaries" 91 - "--with-cocoa" 92 - "--with-macosx-version-min=10.7" 93 ] 94 ++ lib.optionals withWebKit [ 95 "--enable-webview" ··· 137 license = licenses.wxWindows; 138 maintainers = with maintainers; [ AndersonTorres tfmoraes ]; 139 platforms = platforms.unix; 140 - badPlatforms = platforms.darwin; # ofBorg is failing, don't know if internal 141 }; 142 143 passthru = {
··· 17 , compat28 ? false 18 , compat30 ? true 19 , unicode ? true 20 + , withGtk2 ? (!stdenv.isDarwin) 21 , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 22 + , withWebKit ? stdenv.isDarwin 23 + , webkitgtk 24 , setfile 25 , AGL 26 , Carbon 27 , Cocoa 28 , Kernel 29 , QTKit 30 + , AVFoundation 31 + , AVKit 32 + , WebKit 33 }: 34 35 + assert withWebKit -> stdenv.isDarwin; 36 assert withGtk2 -> (!withWebKit); 37 38 let ··· 60 buildInputs = [ 61 gst_all_1.gst-plugins-base 62 gst_all_1.gstreamer 63 + ] 64 + ++ lib.optionals (!stdenv.isDarwin) [ 65 gtk 66 libSM 67 libXinerama ··· 73 gnome2.GConf 74 ] 75 ++ lib.optional withMesa libGLU 76 + ++ lib.optional (withWebKit && !stdenv.isDarwin) webkitgtk 77 + ++ lib.optional (withWebKit && stdenv.isDarwin) WebKit 78 ++ lib.optionals stdenv.isDarwin [ 79 + setfile 80 Carbon 81 Cocoa 82 Kernel 83 QTKit 84 + AVFoundation 85 + AVKit 86 + WebKit 87 ]; 88 89 propagatedBuildInputs = lib.optional stdenv.isDarwin AGL; 90 91 configureFlags = [ 92 "--disable-precomp-headers" 93 + # This is the default option, but be explicit 94 + "--disable-monolithic" 95 "--enable-mediactrl" 96 (if compat28 then "--enable-compat28" else "--disable-compat28") 97 (if compat30 then "--enable-compat30" else "--disable-compat30") ··· 99 ++ lib.optional unicode "--enable-unicode" 100 ++ lib.optional withMesa "--with-opengl" 101 ++ lib.optionals stdenv.isDarwin [ 102 + "--with-osx_cocoa" 103 + "--with-libiconv" 104 ] 105 ++ lib.optionals withWebKit [ 106 "--enable-webview" ··· 148 license = licenses.wxWindows; 149 maintainers = with maintainers; [ AndersonTorres tfmoraes ]; 150 platforms = platforms.unix; 151 }; 152 153 passthru = {
+1 -1
pkgs/development/ocaml-modules/biniou/1.0.nix
··· 26 makeFlags = [ "PREFIX=$(out)" ]; 27 28 preBuild = '' 29 - mkdir $out/bin 30 ''; 31 32 meta = with lib; {
··· 26 makeFlags = [ "PREFIX=$(out)" ]; 27 28 preBuild = '' 29 + mkdir -p $out/bin 30 ''; 31 32 meta = with lib; {
+6 -2
pkgs/development/ocaml-modules/csv/1.5.nix
··· 22 doCheck = true; 23 checkPhase = "ocaml setup.ml -test"; 24 25 - installPhase = "ocaml setup.ml -install"; 26 27 meta = with lib; { 28 description = "A pure OCaml library to read and write CSV files"; 29 homepage = "https://github.com/Chris00/ocaml-csv"; 30 license = licenses.lgpl21; 31 maintainers = [ maintainers.vbgl ]; 32 - platforms = ocaml.meta.platforms or [ ]; 33 }; 34 }
··· 22 doCheck = true; 23 checkPhase = "ocaml setup.ml -test"; 24 25 + installPhase = '' 26 + runHook preInstall 27 + ocaml setup.ml -install 28 + runHook postInstall 29 + ''; 30 31 meta = with lib; { 32 description = "A pure OCaml library to read and write CSV files"; 33 homepage = "https://github.com/Chris00/ocaml-csv"; 34 license = licenses.lgpl21; 35 maintainers = [ maintainers.vbgl ]; 36 + inherit (ocaml.meta) platforms; 37 }; 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 { lib, stdenv, fetchFromGitLab, libvirt, autoreconfHook, pkg-config, ocaml, findlib, perl }: 2 3 stdenv.mkDerivation rec { 4 pname = "ocaml-libvirt"; 5 version = "0.6.1.5";
··· 1 { lib, stdenv, fetchFromGitLab, libvirt, autoreconfHook, pkg-config, ocaml, findlib, perl }: 2 3 + lib.throwIfNot (lib.versionAtLeast ocaml.version "4.02") 4 + "libvirt is not available for OCaml ${ocaml.version}" 5 + 6 stdenv.mkDerivation rec { 7 pname = "ocaml-libvirt"; 8 version = "0.6.1.5";
+2 -2
pkgs/development/python-modules/aioairzone/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "aioairzone"; 10 - version = "0.1.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; ··· 16 owner = "Noltari"; 17 repo = pname; 18 rev = version; 19 - hash = "sha256-QruXxC/+61P2Mi0UILUIKp4S3wS1+E+WmzBbiUqlVe4="; 20 }; 21 22 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "aioairzone"; 10 + version = "0.1.2"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; ··· 16 owner = "Noltari"; 17 repo = pname; 18 rev = version; 19 + hash = "sha256-8OpC/w83us85NWpRXXLsWsLNiPG3v+8BHAToADdLaP4="; 20 }; 21 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/ansible-runner/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "ansible-runner"; 21 - version = "2.1.2"; 22 format = "setuptools"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - hash = "sha256-GK/CqmMm67VmvzlhMV6ow+40m0DYUpXCFkP+9NgR/e4="; 27 }; 28 29 propagatedBuildInputs = [
··· 18 19 buildPythonPackage rec { 20 pname = "ansible-runner"; 21 + version = "2.1.3"; 22 format = "setuptools"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-2m5dD+gGDL5LnY7QbDYiGdu4GYu0C49WU29GZY2bnBo="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/auth0-python/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "auth0-python"; 13 - version = "3.20.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - sha256 = "sha256-WIH2lMPehrqkXCh+JbEI5nf99nt61OwLhP/pF6BbsnQ="; 21 }; 22 23 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "auth0-python"; 13 + version = "3.22.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + sha256 = "sha256-05yJbF6eXz+vJx+plY5gqzRRYL2SjDnF7gSfX6WIS4E="; 21 }; 22 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-applicationinsights/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "azure-mgmt-applicationinsights"; 14 - version = "2.1.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 extension = "zip"; 19 - sha256 = "68deed8ee884dd0b9631804e8b9c65fcd94e8e01c7218beae96a9fe557d7a0d7"; 20 }; 21 22 propagatedBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "azure-mgmt-applicationinsights"; 14 + version = "3.0.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 extension = "zip"; 19 + sha256 = "sha256-K46J0WqQt4vwr1CE4yjxKUT/Atds5BLs0k8EjOA4yzA="; 20 }; 21 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/azure-mgmt-resource/default.nix
··· 8 9 10 buildPythonPackage rec { 11 - version = "20.1.0"; 12 pname = "azure-mgmt-resource"; 13 disabled = !isPy3k; 14 15 src = fetchPypi { 16 inherit pname version; 17 extension = "zip"; 18 - sha256 = "4fbb2158320e0bdd367882642f266a6dfb3b4b8610792b3afbbca39089f212d7"; 19 }; 20 21 propagatedBuildInputs = [
··· 8 9 10 buildPythonPackage rec { 11 + version = "21.0.0"; 12 pname = "azure-mgmt-resource"; 13 disabled = !isPy3k; 14 15 src = fetchPypi { 16 inherit pname version; 17 extension = "zip"; 18 + sha256 = "sha256-y9J/UhxwtA/YO/Y88XsStbwD5ecNwrbnpxtevYuQDQM="; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/bidict/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "bidict"; 16 - version = "0.21.4"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - sha256 = "sha256-QshP++b43omK9gc7S+nqfM7c1400dKqETFTknVoHn28="; 23 }; 24 25 propagatedBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "bidict"; 16 + version = "0.22.0"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + sha256 = "sha256-XIJrPhXpfMbmFd4pV1aEfCgqebecVDDTv8kJsayfW9g="; 23 }; 24 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/blis/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "blis"; 12 - version = "0.7.6"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - sha256 = "sha256-/pexD2ihx7VMDlS+rahOGPTvto3UDJBvuHSPURR0PsY="; 17 }; 18 19 nativeBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "blis"; 12 + version = "0.7.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + sha256 = "sha256-XUqB+UONt6GayOZK1BMx9lplnqjzuxiJqcIIjP2f4QQ="; 17 }; 18 19 nativeBuildInputs = [
+1 -1
pkgs/development/python-modules/brotlicffi/default.nix
··· 34 export USE_SHARED_BROTLI=1 35 ''; 36 37 - # Test data is not available, only when using libbortli git checkout 38 doCheck = false; 39 40 pythonImportsCheck = [ "brotlicffi" ];
··· 34 export USE_SHARED_BROTLI=1 35 ''; 36 37 + # Test data is not available, only when using libbrotli git checkout 38 doCheck = false; 39 40 pythonImportsCheck = [ "brotlicffi" ];
+15 -6
pkgs/development/python-modules/coqui-trainer/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 5 , coqpit 6 , fsspec 7 - , pytorch 8 9 , pytestCheckHook 10 , soundfile 11 - , tensorboardx 12 - , torchvision 13 }: 14 15 let ··· 19 buildPythonPackage { 20 inherit pname version; 21 format = "pyproject"; 22 23 src = fetchFromGitHub { 24 owner = "coqui-ai"; ··· 27 hash = "sha256-NsgCh+N2qWmRkTOjXqisVCP5aInH2zcNz6lsnIfVLiY="; 28 }; 29 30 propagatedBuildInputs = [ 31 coqpit 32 fsspec 33 - pytorch 34 soundfile 35 - tensorboardx 36 ]; 37 38 # only one test and that requires training data from the internet ··· 40 41 checkInputs = [ 42 pytestCheckHook 43 - torchvision 44 ]; 45 46 pythonImportsCheck = [
··· 1 { lib 2 , buildPythonPackage 3 + , fetchpatch 4 , fetchFromGitHub 5 + , pythonAtLeast 6 7 , coqpit 8 , fsspec 9 + , pytorch-bin 10 11 , pytestCheckHook 12 , soundfile 13 + , torchvision-bin 14 }: 15 16 let ··· 20 buildPythonPackage { 21 inherit pname version; 22 format = "pyproject"; 23 + 24 + disabled = pythonAtLeast "3.10"; # https://github.com/coqui-ai/Trainer/issues/22 25 26 src = fetchFromGitHub { 27 owner = "coqui-ai"; ··· 30 hash = "sha256-NsgCh+N2qWmRkTOjXqisVCP5aInH2zcNz6lsnIfVLiY="; 31 }; 32 33 + patches = [ 34 + (fetchpatch { 35 + url = "https://github.com/coqui-ai/Trainer/commit/07b447abf3290c8f2e5e723687b8a480b7382265.patch"; 36 + sha256 = "0v1hl784d9rghkblcfwgzp0gg9d6r5r0yv2kapzdz2qymiajy7y2"; 37 + }) 38 + ]; 39 + 40 propagatedBuildInputs = [ 41 coqpit 42 fsspec 43 + pytorch-bin 44 soundfile 45 ]; 46 47 # only one test and that requires training data from the internet ··· 49 50 checkInputs = [ 51 pytestCheckHook 52 + torchvision-bin 53 ]; 54 55 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/datasette/default.nix
··· 30 31 buildPythonPackage rec { 32 pname = "datasette"; 33 - version = "0.60.2"; 34 35 disabled = pythonOlder "3.6"; 36 ··· 38 owner = "simonw"; 39 repo = pname; 40 rev = version; 41 - sha256 = "sha256-GehtjukmSVHffAnDeDwjopgnuycD1CLQRHzLtO1iLsE="; 42 }; 43 44 propagatedBuildInputs = [
··· 30 31 buildPythonPackage rec { 32 pname = "datasette"; 33 + version = "0.61.1"; 34 35 disabled = pythonOlder "3.6"; 36 ··· 38 owner = "simonw"; 39 repo = pname; 40 rev = version; 41 + sha256 = "sha256-HVzMyF4ujYK12UQ25il/XROPo+iBldsMxOTx+duoc5o="; 42 }; 43 44 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/evdev/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "evdev"; 5 - version = "1.4.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "8782740eb1a86b187334c07feb5127d3faa0b236e113206dfe3ae8f77fb1aaf1"; 10 }; 11 12 buildInputs = [ linuxHeaders ];
··· 2 3 buildPythonPackage rec { 4 pname = "evdev"; 5 + version = "1.5.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "sha256-WzOxdPfIRXbn3WBx5Di/WtIn2pXv1DVqOf5Mg1VBL+Y="; 10 }; 11 12 buildInputs = [ linuxHeaders ];
+2 -21
pkgs/development/python-modules/fakeredis/default.nix
··· 3 , async_generator 4 , buildPythonPackage 5 , fetchPypi 6 - , fetchpatch 7 , hypothesis 8 , lupa 9 , pytest-asyncio ··· 17 18 buildPythonPackage rec { 19 pname = "fakeredis"; 20 - version = "1.7.0"; 21 - 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.7"; 25 26 src = fetchPypi { 27 inherit pname version; 28 - sha256 = "sha256-yb0S5DAzbL0+GJ+uDpHrmZl7k+dtv91u1n+jUtxoTHE="; 29 }; 30 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 propagatedBuildInputs = [ 44 aioredis 45 lupa ··· 59 pythonImportsCheck = [ 60 "fakeredis" 61 ]; 62 - 63 - postPatch = '' 64 - substituteInPlace setup.cfg \ 65 - --replace "redis<4.1.0" "redis" 66 - ''; 67 68 meta = with lib; { 69 description = "Fake implementation of Redis API";
··· 3 , async_generator 4 , buildPythonPackage 5 , fetchPypi 6 , hypothesis 7 , lupa 8 , pytest-asyncio ··· 16 17 buildPythonPackage rec { 18 pname = "fakeredis"; 19 + version = "1.7.1"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-fCxLobQuCnUzfFS3d78GcQVrRWllDj/5J+S5s4WvyOw="; 27 }; 28 29 propagatedBuildInputs = [ 30 aioredis 31 lupa ··· 45 pythonImportsCheck = [ 46 "fakeredis" 47 ]; 48 49 meta = with lib; { 50 description = "Fake implementation of Redis API";
+2 -2
pkgs/development/python-modules/flake8-bugbear/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "flake8-bugbear"; 13 - version = "22.3.20"; 14 15 src = fetchFromGitHub { 16 owner = "PyCQA"; 17 repo = pname; 18 rev = version; 19 - sha256 = "sha256-tq008SNytZCttnVY1NLf9/2aeqP+iPLUNsRLZu0k3Uk="; 20 }; 21 22 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "flake8-bugbear"; 13 + version = "22.3.23"; 14 15 src = fetchFromGitHub { 16 owner = "PyCQA"; 17 repo = pname; 18 rev = version; 19 + sha256 = "sha256-s1EnPM2He+R+vafu14XI1Xuft8Rg6W3vPH2Atc6N7I0="; 20 }; 21 22 propagatedBuildInputs = [
+1 -1
pkgs/development/python-modules/flask/default.nix
··· 38 ]; 39 40 meta = with lib; { 41 - homepage = "http://flask.pocoo.org/"; 42 description = "The Python micro framework for building web applications"; 43 longDescription = '' 44 Flask is a lightweight WSGI web application framework. It is
··· 38 ]; 39 40 meta = with lib; { 41 + homepage = "https://flask.palletsprojects.com/"; 42 description = "The Python micro framework for building web applications"; 43 longDescription = '' 44 Flask is a lightweight WSGI web application framework. It is
+2 -2
pkgs/development/python-modules/gaphas/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "gaphas"; 15 - version = "3.5.1"; 16 disabled = pythonOlder "3.7"; 17 18 format = "pyproject"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - sha256 = "sha256-71oYuLhqJ7bst0W7v9tQSoaisjONZSa9zEWzYWtGl2E="; 23 }; 24 25 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "gaphas"; 15 + version = "3.6.0"; 16 disabled = pythonOlder "3.7"; 17 18 format = "pyproject"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + sha256 = "sha256-yleYbAJdDVzZrMQ3izi9UX3Ji1vIuQDc+RK5+wzrMi4="; 23 }; 24 25 nativeBuildInputs = [
+17 -4
pkgs/development/python-modules/google-cloud-container/default.nix
··· 8 , proto-plus 9 , pytestCheckHook 10 , pytest-asyncio 11 }: 12 13 buildPythonPackage rec { 14 pname = "google-cloud-container"; 15 - version = "2.10.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - sha256 = "sha256-dBt2Vs9J0+l534YtKS70MuUEUegwVoU66zghmcz7fGk="; 20 }; 21 22 - propagatedBuildInputs = [ google-api-core grpc-google-iam-v1 libcst proto-plus ]; 23 24 - checkInputs = [ mock pytestCheckHook pytest-asyncio ]; 25 26 disabledTests = [ 27 # requires credentials
··· 8 , proto-plus 9 , pytestCheckHook 10 , pytest-asyncio 11 + , pythonOlder 12 }: 13 14 buildPythonPackage rec { 15 pname = "google-cloud-container"; 16 + version = "2.10.7"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-I3oYldj915GBCX5VLEZRqGS7jMHWasQGVIvj50EUTK4="; 24 }; 25 26 + propagatedBuildInputs = [ 27 + google-api-core 28 + grpc-google-iam-v1 29 + libcst 30 + proto-plus 31 + ]; 32 33 + checkInputs = [ 34 + mock 35 + pytestCheckHook 36 + pytest-asyncio 37 + ]; 38 39 disabledTests = [ 40 # requires credentials
+1 -1
pkgs/development/python-modules/h2/default.nix
··· 39 description = "HTTP/2 State-Machine based protocol implementation"; 40 homepage = "https://github.com/python-hyper/h2"; 41 license = licenses.mit; 42 - maintainers = with maintainers; [ ]; 43 }; 44 }
··· 39 description = "HTTP/2 State-Machine based protocol implementation"; 40 homepage = "https://github.com/python-hyper/h2"; 41 license = licenses.mit; 42 + maintainers = with maintainers; [ SuperSandro2000 ]; 43 }; 44 }
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "hahomematic"; 17 - version = "0.38.4"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "danielperna84"; 24 repo = pname; 25 rev = version; 26 - sha256 = "sha256-WvcQTaYlKTOYbYwH/FbNTMoHdUhesYeeNYP8RDgQms4="; 27 }; 28 29 propagatedBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "hahomematic"; 17 + version = "0.38.5"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "danielperna84"; 24 repo = pname; 25 rev = version; 26 + sha256 = "sha256-RzTRRWHmdEjDQM/x4pX1gy7mIJD3K2hjQRAkz53xL50="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/jdatetime/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "jdatetime"; 10 - version = "4.0.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - sha256 = "sha256-01uuou0hPk6Hu4QMYWNwAVQL0h6ORFS9EjUrBlkewI4="; 18 }; 19 20 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "jdatetime"; 10 + version = "4.1.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + sha256 = "sha256-SmeoLuV+NbX2+ff75qDtpj9Wzh3Yr0CbTComozQEV9s="; 18 }; 19 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mkdocs-material/default.nix
··· 9 10 buildPythonApplication rec { 11 pname = "mkdocs-material"; 12 - version = "8.2.5"; 13 14 src = fetchFromGitHub { 15 owner = "squidfunk"; 16 repo = pname; 17 rev = version; 18 - sha256 = "0v30x2cgc5i307p0hsy5h58pfd8w6xpnvimsb75614xlmx3ycaqd"; 19 }; 20 21 propagatedBuildInputs = [
··· 9 10 buildPythonApplication rec { 11 pname = "mkdocs-material"; 12 + version = "8.2.6"; 13 14 src = fetchFromGitHub { 15 owner = "squidfunk"; 16 repo = pname; 17 rev = version; 18 + sha256 = "sha256-4t9LBZc73V8eAIUO+BAZPgak+AX3o2YKZJWug+b6TBY="; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/motionblinds/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "motionblinds"; 10 - version = "0.6.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; ··· 16 owner = "starkillerOG"; 17 repo = "motion-blinds"; 18 rev = version; 19 - sha256 = "sha256-31ofLiBQjSMDtptgYF5rqS1bB5UDUbsbo25Nrk4WvIY="; 20 }; 21 22 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "motionblinds"; 10 + version = "0.6.3"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; ··· 16 owner = "starkillerOG"; 17 repo = "motion-blinds"; 18 rev = version; 19 + sha256 = "sha256-Y5yF/dJUm0ICUY8UU8ILypSAnCVanvW4hzyz7ZOdBrc="; 20 }; 21 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/mypy-boto3-builder/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "mypy-boto3-builder"; 19 - version = "7.3.0"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.10"; ··· 25 owner = "vemel"; 26 repo = "mypy_boto3_builder"; 27 rev = version; 28 - hash = "sha256-X/dPO2p6GmnyJwcVPOmyo9zYda2uYfBAkuKTeX0Bt0Q="; 29 }; 30 31 nativeBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "mypy-boto3-builder"; 19 + version = "7.4.1"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.10"; ··· 25 owner = "vemel"; 26 repo = "mypy_boto3_builder"; 27 rev = version; 28 + hash = "sha256-7sl6S1/bQceVP6i/3KMYqsrOxNBvpBZUKdpOrnlhYNk="; 29 }; 30 31 nativeBuildInputs = [
+31 -9
pkgs/development/python-modules/ndspy/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, crcmod }: 2 3 buildPythonPackage rec { 4 pname = "ndspy"; 5 - version = "3.0.0"; 6 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "1s0i81gspas22bjwk9vhy3x5sw1svyybk7c2j1ixc77drr9ym20a"; 10 }; 11 12 - propagatedBuildInputs = [ crcmod ]; 13 14 - doCheck = false; # there are no tests 15 - pythonImportsCheck = [ "ndspy" ]; 16 17 meta = with lib; { 18 homepage = "https://github.com/RoadrunnerWMC/ndspy"; 19 - description = "A Python library for many Nintendo DS file formats"; 20 license = licenses.gpl3Plus; 21 maintainers = with maintainers; [ xfix ]; 22 };
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , crcmod 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 8 9 buildPythonPackage rec { 10 pname = "ndspy"; 11 + version = "4.0.0"; 12 + format = "setuptools"; 13 14 + disabled = pythonOlder "3.6"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "RoadrunnerWMC"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + sha256 = "0x3sp10had1mq192m7kgjivvs8kpjagxjgj9d4z95dfjhzzbjh70"; 21 }; 22 23 + propagatedBuildInputs = [ 24 + crcmod 25 + ]; 26 27 + checkInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + pythonImportsCheck = [ 32 + "ndspy" 33 + ]; 34 + 35 + preCheck = '' 36 + cd tests 37 + ''; 38 39 meta = with lib; { 40 + description = "Python library for many Nintendo DS file formats"; 41 homepage = "https://github.com/RoadrunnerWMC/ndspy"; 42 license = licenses.gpl3Plus; 43 maintainers = with maintainers; [ xfix ]; 44 };
+1 -2
pkgs/development/python-modules/obfsproxy/default.nix
··· 12 version = "0.2.13"; 13 14 src = fetchgit { 15 - url = meta.repositories.git; 16 rev = "refs/tags/${pname}-${version}"; 17 sha256 = "04ja1cl8xzqnwrd2gi6nlnxbmjri141bzwa5gybvr44d8h3k2nfa"; 18 }; ··· 30 meta = with lib; { 31 description = "A pluggable transport proxy"; 32 homepage = "https://www.torproject.org/projects/obfsproxy"; 33 - repositories.git = "https://git.torproject.org/pluggable-transports/obfsproxy.git"; 34 maintainers = with maintainers; [ thoughtpolice ]; 35 }; 36
··· 12 version = "0.2.13"; 13 14 src = fetchgit { 15 + url = "https://git.torproject.org/pluggable-transports/obfsproxy.git"; 16 rev = "refs/tags/${pname}-${version}"; 17 sha256 = "04ja1cl8xzqnwrd2gi6nlnxbmjri141bzwa5gybvr44d8h3k2nfa"; 18 }; ··· 30 meta = with lib; { 31 description = "A pluggable transport proxy"; 32 homepage = "https://www.torproject.org/projects/obfsproxy"; 33 maintainers = with maintainers; [ thoughtpolice ]; 34 }; 35
+6
pkgs/development/python-modules/ocrmypdf/default.nix
··· 80 pytestCheckHook 81 ]; 82 83 pythonImportsCheck = [ 84 "ocrmypdf" 85 ];
··· 80 pytestCheckHook 81 ]; 82 83 + postPatch = '' 84 + # https://github.com/ocrmypdf/OCRmyPDF/issues/933 85 + substituteInPlace setup.cfg \ 86 + --replace "pdfminer.six!=20200720,>=20191110,<=20211012" "pdfminer.six!=20200720,>=20191110,<=20220319" 87 + ''; 88 + 89 pythonImportsCheck = [ 90 "ocrmypdf" 91 ];
+6
pkgs/development/python-modules/pdfminer_six/default.nix
··· 21 done 22 ''; 23 24 checkInputs = [ pytestCheckHook ]; 25 26 meta = with lib; {
··· 21 done 22 ''; 23 24 + postPatch = '' 25 + # Verion is not stored in repo, gets added by a GitHub action after tag is created 26 + # https://github.com/pdfminer/pdfminer.six/pull/727 27 + substituteInPlace pdfminer/__init__.py --replace "__VERSION__" ${version} 28 + ''; 29 + 30 checkInputs = [ pytestCheckHook ]; 31 32 meta = with lib; {
+2 -1
pkgs/development/python-modules/pdfx/default.nix
··· 13 14 postPatch = '' 15 substituteInPlace requirements.txt \ 16 - --replace "chardet==4.0.0" "chardet" 17 ''; 18 19 propagatedBuildInputs = [ pdfminer chardet ];
··· 13 14 postPatch = '' 15 substituteInPlace requirements.txt \ 16 + --replace "chardet==4.0.0" "chardet" \ 17 + --replace "pdfminer.six==20201018" "pdfminer.six" 18 ''; 19 20 propagatedBuildInputs = [ pdfminer chardet ];
+5 -2
pkgs/development/python-modules/pex/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , flit-core 5 }: 6 7 buildPythonPackage rec { 8 pname = "pex"; 9 - version = "2.1.72"; 10 format = "flit"; 11 12 src = fetchPypi { 13 inherit pname version; 14 - sha256 = "sha256-0hhnBkbgt4bSlqjvYKX2Mhty/T1vBGm91HhKmyvVzmA="; 15 }; 16 17 nativeBuildInputs = [
··· 2 , buildPythonPackage 3 , fetchPypi 4 , flit-core 5 + , pythonOlder 6 }: 7 8 buildPythonPackage rec { 9 pname = "pex"; 10 + version = "2.1.73"; 11 format = "flit"; 12 13 + disabled = pythonOlder "3.7"; 14 + 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-OxIm0vFH0JadaKMGrKNNj8mA7ue1kazjpauSK6XNGiU="; 18 }; 19 20 nativeBuildInputs = [
+48
pkgs/development/python-modules/pint-pandas/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , fetchpatch 5 + , setuptools-scm 6 + , pint 7 + , pandas 8 + , pytestCheckHook 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "pint-pandas"; 13 + version = "0.2"; 14 + 15 + src = fetchPypi { 16 + pname = "Pint-Pandas"; 17 + inherit version; 18 + sha256 = "sha256-b2DS6ArBAuD5St25IG4PbMpe5C8Lf4kw2MeYAC5B+oc="; 19 + }; 20 + 21 + patches = [ 22 + # Fixes a failing test, see: https://github.com/hgrecco/pint-pandas/issues/107 23 + (fetchpatch{ 24 + url = "https://github.com/hgrecco/pint-pandas/commit/4c31e25609af968665ee60d019b9b5366f328680.patch"; 25 + sha256 = "vIT0LI4S73D4MBfGI8vtCZAM+Zb4PZ4E3xfpGKNyA4I="; 26 + }) 27 + ]; 28 + 29 + nativeBuildInputs = [ 30 + setuptools-scm 31 + ]; 32 + 33 + propagatedBuildInputs = [ 34 + pint 35 + pandas 36 + ]; 37 + 38 + checkInputs = [ 39 + pytestCheckHook 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "Pandas support for pint"; 44 + license = licenses.bsd3; 45 + homepage = "https://github.com/hgrecco/pint-pandas"; 46 + maintainers = with maintainers; [ doronbehar ]; 47 + }; 48 + }
+31
pkgs/development/python-modules/preprocess-cancellation/default.nix
···
··· 1 + { lib, fetchFromGitHub, buildPythonPackage, pythonOlder, poetry-core 2 + , pytestCheckHook, pytest-cov 3 + , shapely }: 4 + 5 + buildPythonPackage rec { 6 + pname = "preprocess-cancellation"; 7 + version = "0.2.0"; 8 + disabled = pythonOlder "3.6"; # >= 3.6 9 + format = "pyproject"; 10 + 11 + # No tests in PyPI 12 + src = fetchFromGitHub { 13 + owner = "kageurufu"; 14 + repo = "cancelobject-preprocessor"; 15 + rev = version; 16 + hash = "sha256-mn3/etXA5dkL+IsyxwD4/XjU/t4/roYFVyqQxlLOoOI="; 17 + }; 18 + 19 + nativeBuildInputs = [ poetry-core ]; 20 + 21 + propagatedBuildInputs = [ shapely ]; 22 + 23 + checkInputs = [ pytestCheckHook pytest-cov ]; 24 + 25 + meta = with lib; { 26 + description = "Klipper GCode Preprocessor for Object Cancellation"; 27 + homepage = "https://github.com/kageurufu/cancelobject-preprocessor"; 28 + license = licenses.gpl3Only; 29 + maintainers = with maintainers; [ zhaofengli ]; 30 + }; 31 + }
+2 -2
pkgs/development/python-modules/pulsectl/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "pulsectl"; 5 - version = "22.1.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "sha256-8o/kuIHdLMFE0tlPg+xg2MWaUmQqCtNjXMTQ+EBvSFg="; 10 }; 11 12 patches = [
··· 2 3 buildPythonPackage rec { 4 pname = "pulsectl"; 5 + version = "22.3.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "sha256-zBdOHO69TmIixbePT0FfEugHU8mrdas1QVm0y1lQsIQ="; 10 }; 11 12 patches = [
+2 -2
pkgs/development/python-modules/py-synologydsm-api/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "py-synologydsm-api"; 12 - version = "1.0.6"; 13 format = "pyproject"; 14 15 src = fetchFromGitHub { 16 owner = "mib1185"; 17 repo = "synologydsm-api"; 18 rev = "v${version}"; 19 - sha256 = "sha256-jAdD6FCbsBocJNX7o+dpthgHaPLIueFWJMzBNoKAq7w="; 20 }; 21 22 nativeBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "py-synologydsm-api"; 12 + version = "1.0.7"; 13 format = "pyproject"; 14 15 src = fetchFromGitHub { 16 owner = "mib1185"; 17 repo = "synologydsm-api"; 18 rev = "v${version}"; 19 + sha256 = "sha256-VhAzR/knvun6hJj8/YREqMfNvOKpTyYNI9fk9hsbHDQ="; 20 }; 21 22 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pyaussiebb/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "pyaussiebb"; 14 - version = "0.0.14"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "yaleman"; 21 repo = "aussiebb"; 22 rev = "v${version}"; 23 - hash = "sha256-Z+xLCKnUnBAH9nm0YR11zx1lyNrIb8BZLFmaZdpnfdw="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "pyaussiebb"; 14 + version = "0.0.15"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "yaleman"; 21 repo = "aussiebb"; 22 rev = "v${version}"; 23 + hash = "sha256-V9yN05Bkv5vkHgXZ77ps3d6JS39M5iMuiijOGRBFi0U="; 24 }; 25 26 nativeBuildInputs = [
+3 -5
pkgs/development/python-modules/pycurl/default.nix
··· 7 , openssl 8 , bottle 9 , pytestCheckHook 10 - , nose 11 , flaky 12 }: 13 ··· 38 checkInputs = [ 39 bottle 40 pytestCheckHook 41 - nose 42 flaky 43 ]; 44 ··· 76 ]; 77 78 meta = with lib; { 79 - homepage = "http://pycurl.sourceforge.net/"; 80 - description = "Python wrapper for libcurl"; 81 - license = licenses.lgpl2Only; 82 maintainers = with maintainers; []; 83 }; 84 }
··· 7 , openssl 8 , bottle 9 , pytestCheckHook 10 , flaky 11 }: 12 ··· 37 checkInputs = [ 38 bottle 39 pytestCheckHook 40 flaky 41 ]; 42 ··· 74 ]; 75 76 meta = with lib; { 77 + homepage = "http://pycurl.io/"; 78 + description = "Python Interface To The cURL library"; 79 + license = with licenses; [ lgpl2Only mit ]; 80 maintainers = with maintainers; []; 81 }; 82 }
+1
pkgs/development/python-modules/pygame/default.nix
··· 25 buildinputs_include = builtins.toJSON (builtins.concatMap (dep: [ 26 "${lib.getDev dep}/" 27 "${lib.getDev dep}/include" 28 ]) buildInputs); 29 buildinputs_lib = builtins.toJSON (builtins.concatMap (dep: [ 30 "${lib.getLib dep}/"
··· 25 buildinputs_include = builtins.toJSON (builtins.concatMap (dep: [ 26 "${lib.getDev dep}/" 27 "${lib.getDev dep}/include" 28 + "${lib.getDev dep}/include/SDL2" 29 ]) buildInputs); 30 buildinputs_lib = builtins.toJSON (builtins.concatMap (dep: [ 31 "${lib.getLib dep}/"
+2 -2
pkgs/development/python-modules/pyglet/default.nix
··· 18 }: 19 20 buildPythonPackage rec { 21 - version = "1.5.22"; 22 pname = "pyglet"; 23 disabled = pythonOlder "3.6"; 24 25 src = fetchPypi { 26 inherit pname version; 27 - sha256 = "sha256-VjDcNuoA/cEa06g5TGdkF+w2WyX92a9XoQfhmtxBGw8="; 28 extension = "zip"; 29 }; 30
··· 18 }: 19 20 buildPythonPackage rec { 21 + version = "1.5.23"; 22 pname = "pyglet"; 23 disabled = pythonOlder "3.6"; 24 25 src = fetchPypi { 26 inherit pname version; 27 + sha256 = "sha256-3ukgIDzzBhWcUDurti84eHJocIl39clF0oM3WUt5fEY="; 28 extension = "zip"; 29 }; 30
+2 -2
pkgs/development/python-modules/pypandoc/default.nix
··· 4 5 buildPythonPackage rec { 6 pname = "pypandoc"; 7 - version = "1.7.3"; 8 9 src = fetchPypi { 10 inherit pname version; 11 - sha256 = "sha256-Tv0vqKN9AAXdfQRMt/QuqeFB3wNTh1DsWu0XNZukTUc="; 12 }; 13 14 patches = [
··· 4 5 buildPythonPackage rec { 6 pname = "pypandoc"; 7 + version = "1.7.4"; 8 9 src = fetchPypi { 10 inherit pname version; 11 + sha256 = "sha256-KN4j9kbZ6ARAPGth180yptdso1arx563IXvb/2dI+G4="; 12 }; 13 14 patches = [
+2 -2
pkgs/development/python-modules/pyrogram/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "pyrogram"; 15 - version = "1.4.8"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 pname = "Pyrogram"; 21 inherit version; 22 - hash = "sha256-mUJEV8DLYhXNvYiuiVDCfgMmZRDCNZuydngj9C9FvQU="; 23 }; 24 25 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "pyrogram"; 15 + version = "1.4.9"; 16 17 disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 pname = "Pyrogram"; 21 inherit version; 22 + hash = "sha256-iAPzQDHRyFl8m/23zTGOFXA3v5ONU5BGp7KT1ZSywA4="; 23 }; 24 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pysigma-backend-splunk/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "pysigma-backend-splunk"; 13 - version = "0.2.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.8"; ··· 19 owner = "SigmaHQ"; 20 repo = "pySigma-backend-splunk"; 21 rev = "v${version}"; 22 - hash = "sha256-EP0gcK05hZ5TCOgTePezfEGbW45dGrnnksWyI9Jo9MQ="; 23 }; 24 25 nativeBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "pysigma-backend-splunk"; 13 + version = "0.2.2"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.8"; ··· 19 owner = "SigmaHQ"; 20 repo = "pySigma-backend-splunk"; 21 rev = "v${version}"; 22 + hash = "sha256-NAhAWK1eSSGQAlMGgMHrW/RTpT9LJMqwkhE9/8xWGT8="; 23 }; 24 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/pysigma/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "pysigma"; 14 - version = "0.4.2"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.8"; ··· 20 owner = "SigmaHQ"; 21 repo = "pySigma"; 22 rev = "v${version}"; 23 - hash = "sha256-0k6m86RQoP4QTuxmCWBpxiGqaJt3alOLS5BAuOFwdb4="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "pysigma"; 14 + version = "0.4.3"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.8"; ··· 20 owner = "SigmaHQ"; 21 repo = "pySigma"; 22 rev = "v${version}"; 23 + hash = "sha256-NE6XmylUc3MeDRMOJo51jtb6J0Vi9tDT6tbYBepDsvw="; 24 }; 25 26 nativeBuildInputs = [
+3 -2
pkgs/development/python-modules/pytorch/bin.nix
··· 4 , isPy37 5 , isPy38 6 , isPy39 7 , python 8 , addOpenGLRunpath 9 , future ··· 19 pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; 20 srcs = import ./binary-hashes.nix version; 21 unsupported = throw "Unsupported system"; 22 - version = "1.10.0"; 23 in buildPythonPackage { 24 inherit version; 25 ··· 28 29 format = "wheel"; 30 31 - disabled = !(isPy37 || isPy38 || isPy39); 32 33 src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; 34
··· 4 , isPy37 5 , isPy38 6 , isPy39 7 + , isPy310 8 , python 9 , addOpenGLRunpath 10 , future ··· 20 pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; 21 srcs = import ./binary-hashes.nix version; 22 unsupported = throw "Unsupported system"; 23 + version = "1.11.0"; 24 in buildPythonPackage { 25 inherit version; 26 ··· 29 30 format = "wheel"; 31 32 + disabled = !(isPy37 || isPy38 || isPy39 || isPy310); 33 34 src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; 35
+40 -25
pkgs/development/python-modules/pytorch/binary-hashes.nix
··· 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 8 version : builtins.getAttr version { 9 - "1.10.0" = { 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="; 14 }; 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="; 19 }; 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="; 24 }; 25 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="; 29 }; 30 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="; 34 }; 35 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="; 39 }; 40 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="; 44 }; 45 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="; 49 }; 50 }; 51 }
··· 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 8 version : builtins.getAttr version { 9 + "1.11.0" = { 10 x86_64-linux-37 = { 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 }; 15 x86_64-linux-38 = { 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 }; 20 x86_64-linux-39 = { 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="; 29 }; 30 x86_64-darwin-37 = { 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="; 34 }; 35 x86_64-darwin-38 = { 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="; 39 }; 40 x86_64-darwin-39 = { 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="; 49 }; 50 aarch64-darwin-38 = { 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="; 54 }; 55 aarch64-darwin-39 = { 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="; 64 }; 65 }; 66 }
+13 -4
pkgs/development/python-modules/pytorch/prefetch.sh
··· 5 6 version=$1 7 8 - bucket="https://download.pytorch.org/whl/cu113" 9 10 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" 14 ) 15 16 hashfile="binary-hashes-$version.nix"
··· 5 6 version=$1 7 8 + linux_bucket="https://download.pytorch.org/whl/cu113" 9 + darwin_bucket="https://download.pytorch.org/whl/cpu" 10 11 url_and_key_list=( 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" 23 ) 24 25 hashfile="binary-hashes-$version.nix"
+2 -2
pkgs/development/python-modules/pyudev/default.nix
··· 1 { lib, fetchPypi, buildPythonPackage 2 - , six, systemd, pytest, mock, hypothesis, docutils 3 }: 4 5 buildPythonPackage rec { ··· 13 14 postPatch = '' 15 substituteInPlace src/pyudev/_ctypeslib/utils.py \ 16 - --replace "find_library(name)" "'${lib.getLib systemd}/lib/libudev.so'" 17 ''; 18 19 checkInputs = [ pytest mock hypothesis docutils ];
··· 1 { lib, fetchPypi, buildPythonPackage 2 + , six, udev, pytest, mock, hypothesis, docutils 3 }: 4 5 buildPythonPackage rec { ··· 13 14 postPatch = '' 15 substituteInPlace src/pyudev/_ctypeslib/utils.py \ 16 + --replace "find_library(name)" "'${lib.getLib udev}/lib/libudev.so'" 17 ''; 18 19 checkInputs = [ pytest mock hypothesis docutils ];
+40
pkgs/development/python-modules/pyzbar/default.nix
···
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, numpy, pillow, zbar, pytestCheckHook }: 2 + 3 + buildPythonPackage rec { 4 + pname = "pyzbar"; 5 + version = "0.1.9"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "NaturalHistoryMuseum"; 9 + repo = "pyzbar"; 10 + rev = "v${version}"; 11 + sha256 = "8IZQY6qB4r1SUPItDlTDnVQuPs0I38K3yJ6LiPJuwbU="; 12 + }; 13 + 14 + propagatedBuildInputs = [ zbar pillow numpy ]; 15 + 16 + checkInputs = [ pytestCheckHook ]; 17 + 18 + # find_library doesn't return an absolute path 19 + # https://github.com/NixOS/nixpkgs/issues/7307 20 + postPatch = '' 21 + substituteInPlace pyzbar/zbar_library.py \ 22 + --replace "find_library('zbar')" "'${lib.getLib zbar}/lib/libzbar.so.0'" 23 + ''; 24 + 25 + disabledTests = [ 26 + # find_library has been replaced by a hardcoded path 27 + # the test fails due to find_library not called 28 + "test_found_non_windows" 29 + "test_not_found_non_windows" 30 + ]; 31 + 32 + pythonImportsCheck = [ "pyzbar" ]; 33 + 34 + meta = with lib; { 35 + description = "Read one-dimensional barcodes and QR codes from Python using the zbar library."; 36 + homepage = "https://github.com/NaturalHistoryMuseum/pyzbar"; 37 + license = licenses.mit; 38 + maintainers = with maintainers; [ gador ]; 39 + }; 40 + }
+2 -2
pkgs/development/python-modules/qtpy/default.nix
··· 21 22 src = fetchPypi { 23 inherit pname version; 24 - sha256 = "sha256-rf0HP/vS3oHceqoLmDSZ71xZyWrc/cyd6mDULKiF648="; 25 }; 26 27 propagatedBuildInputs = [ ··· 46 ]; 47 48 meta = with lib; { 49 - description = "Abstraction layer for PyQt5/PyQt4/PySide2/PySide"; 50 homepage = "https://github.com/spyder-ide/qtpy"; 51 license = licenses.mit; 52 };
··· 21 22 src = fetchPypi { 23 inherit pname version; 24 + sha256 = "13zbhnl2rm30xafwrzfwdb4mjp7gk4s9h2xagbf83pnjzczhgzdd"; 25 }; 26 27 propagatedBuildInputs = [ ··· 46 ]; 47 48 meta = with lib; { 49 + description = "Abstraction layer for PyQt5/PyQt6/PySide2/PySide6"; 50 homepage = "https://github.com/spyder-ide/qtpy"; 51 license = licenses.mit; 52 };
+2 -2
pkgs/development/python-modules/samsungtvws/default.nix
··· 5 6 buildPythonPackage rec { 7 pname = "samsungtvws"; 8 - version = "2.4.0"; 9 disabled = isPy27; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "sha256-LbNHaSbNCwoffox6B8kEUzxjkSJotB+P1bw3wbU7DZk="; 14 }; 15 16 propagatedBuildInputs = [
··· 5 6 buildPythonPackage rec { 7 pname = "samsungtvws"; 8 + version = "2.5.0"; 9 disabled = isPy27; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "sha256-AFCN1b80GZ24g3oWe1qqc72yWQy4+/sorL8zwOYM7vo="; 14 }; 15 16 propagatedBuildInputs = [
+1
pkgs/development/python-modules/scancode-toolkit/default.nix
··· 131 132 postPatch = '' 133 substituteInPlace setup.cfg \ 134 --replace "pluggy >= 0.12.0, < 1.0" "pluggy" \ 135 --replace "pygmars >= 0.7.0" "pygmars" \ 136 --replace "license_expression >= 21.6.14" "license_expression"
··· 131 132 postPatch = '' 133 substituteInPlace setup.cfg \ 134 + --replace "pdfminer.six >= 20200101" "pdfminer.six" \ 135 --replace "pluggy >= 0.12.0, < 1.0" "pluggy" \ 136 --replace "pygmars >= 0.7.0" "pygmars" \ 137 --replace "license_expression >= 21.6.14" "license_expression"
+2 -2
pkgs/development/python-modules/sense-energy/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "sense-energy"; 12 - version = "0.10.2"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "scottbonline"; 17 repo = "sense"; 18 rev = version; 19 - hash = "sha256-0D0AagmLozF5nLbdcmtE9q65vG2WxWv+hZLTnjmmfEY="; 20 }; 21 22 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "sense-energy"; 12 + version = "0.10.3"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "scottbonline"; 17 repo = "sense"; 18 rev = version; 19 + hash = "sha256-oekzLnEQleJPYO6QI2EwflXsbnrQVbqXQOZOnCfEHdg="; 20 }; 21 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/stripe/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "stripe"; 10 - version = "2.67.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - hash = "sha256-cYuT1qGBBSQ7zgybSOUY9y8fCD0n8H4HuL2zpUH+ODU="; 18 }; 19 20 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "stripe"; 10 + version = "2.68.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-X3lYAxM/KlC4NjBJrq/4Gze37wpcVKTA11VaQRpAt68="; 18 }; 19 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/teslajsonpy/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "teslajsonpy"; 18 - version = "1.8.0"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.6"; ··· 24 owner = "zabuldon"; 25 repo = pname; 26 rev = "v${version}"; 27 - sha256 = "sha256-9EFbsJPn543fVGQ46cikEE9rE4qBr/2q6vX7u4tui7I="; 28 }; 29 30 nativeBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "teslajsonpy"; 18 + version = "1.9.0"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.6"; ··· 24 owner = "zabuldon"; 25 repo = pname; 26 rev = "v${version}"; 27 + sha256 = "sha256-Q/ltNdr2Huvfj1RmKFopJbaR4FSM7ziWadmDKPS26vc="; 28 }; 29 30 nativeBuildInputs = [
+6 -2
pkgs/development/python-modules/torchaudio/bin.nix
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchurl 5 , python 6 , pytorch-bin 7 , pythonOlder ··· 10 11 buildPythonPackage rec { 12 pname = "torchaudio"; 13 - version = "0.10.0"; 14 format = "wheel"; 15 16 src = ··· 19 srcs = (import ./binary-hashes.nix version)."${stdenv.system}-${pyVerNoDot}" or unsupported; 20 in fetchurl srcs; 21 22 - disabled = ! (pythonAtLeast "3.7" && pythonOlder "3.10"); 23 24 propagatedBuildInputs = [ 25 pytorch-bin
··· 2 , stdenv 3 , buildPythonPackage 4 , fetchurl 5 + , isPy37 6 + , isPy38 7 + , isPy39 8 + , isPy310 9 , python 10 , pytorch-bin 11 , pythonOlder ··· 14 15 buildPythonPackage rec { 16 pname = "torchaudio"; 17 + version = "0.11.0"; 18 format = "wheel"; 19 20 src = ··· 23 srcs = (import ./binary-hashes.nix version)."${stdenv.system}-${pyVerNoDot}" or unsupported; 24 in fetchurl srcs; 25 26 + disabled = !(isPy37 || isPy38 || isPy39 || isPy310); 27 28 propagatedBuildInputs = [ 29 pytorch-bin
+50 -10
pkgs/development/python-modules/torchaudio/binary-hashes.nix
··· 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 8 version : builtins.getAttr version { 9 - "0.10.0" = { 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="; 14 }; 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="; 19 }; 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="; 24 }; 25 }; 26 }
··· 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 8 version : builtins.getAttr version { 9 + "0.11.0" = { 10 x86_64-linux-37 = { 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 }; 15 x86_64-linux-38 = { 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 }; 20 x86_64-linux-39 = { 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="; 64 }; 65 }; 66 }
+13 -4
pkgs/development/python-modules/torchaudio/prefetch.sh
··· 5 6 version=$1 7 8 - bucket="https://download.pytorch.org/whl/cu113" 9 10 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" 14 ) 15 16 hashfile=binary-hashes-"$version".nix
··· 5 6 version=$1 7 8 + linux_bucket="https://download.pytorch.org/whl/cu113" 9 + darwin_bucket="https://download.pytorch.org/whl" 10 11 url_and_key_list=( 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" 23 ) 24 25 hashfile=binary-hashes-"$version".nix
+3 -2
pkgs/development/python-modules/torchvision/bin.nix
··· 5 , isPy37 6 , isPy38 7 , isPy39 8 , patchelf 9 , pillow 10 , python ··· 15 pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; 16 srcs = import ./binary-hashes.nix version; 17 unsupported = throw "Unsupported system"; 18 - version = "0.11.1"; 19 in buildPythonPackage { 20 inherit version; 21 ··· 25 26 src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; 27 28 - disabled = !(isPy37 || isPy38 || isPy39); 29 30 nativeBuildInputs = [ 31 patchelf
··· 5 , isPy37 6 , isPy38 7 , isPy39 8 + , isPy310 9 , patchelf 10 , pillow 11 , python ··· 16 pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; 17 srcs = import ./binary-hashes.nix version; 18 unsupported = throw "Unsupported system"; 19 + version = "0.12.0"; 20 in buildPythonPackage { 21 inherit version; 22 ··· 26 27 src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported; 28 29 + disabled = !(isPy37 || isPy38 || isPy39 || isPy310); 30 31 nativeBuildInputs = [ 32 patchelf
+50 -10
pkgs/development/python-modules/torchvision/binary-hashes.nix
··· 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 8 version : builtins.getAttr version { 9 - "0.11.1" = { 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="; 14 }; 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="; 19 }; 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="; 24 }; 25 }; 26 }
··· 6 # To add a new version, run "prefetch.sh 'new-version'" to paste the generated file as follows. 7 8 version : builtins.getAttr version { 9 + "0.12.0" = { 10 x86_64-linux-37 = { 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 }; 15 x86_64-linux-38 = { 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 }; 20 x86_64-linux-39 = { 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="; 64 }; 65 }; 66 }
+13 -4
pkgs/development/python-modules/torchvision/prefetch.sh
··· 5 6 version=$1 7 8 - bucket="https://download.pytorch.org/whl/cu113" 9 10 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" 14 ) 15 16 hashfile="binary-hashes-$version.nix"
··· 5 6 version=$1 7 8 + linux_bucket="https://download.pytorch.org/whl/cu113" 9 + darwin_bucket="https://download.pytorch.org/whl" 10 11 url_and_key_list=( 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" 23 ) 24 25 hashfile="binary-hashes-$version.nix"
+2 -2
pkgs/development/python-modules/trimesh/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "trimesh"; 9 - version = "3.10.5"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "sha256-GtdxStdWtioRgf/Y2/broyYElqIJ2RxP3otgROw3epI="; 14 }; 15 16 propagatedBuildInputs = [ numpy ];
··· 6 7 buildPythonPackage rec { 8 pname = "trimesh"; 9 + version = "3.10.6"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "sha256-oFNJ2hynf4bUY6sIXx7y4jEkCATi5rZetiCvNpwNzio="; 14 }; 15 16 propagatedBuildInputs = [ numpy ];
+2 -2
pkgs/development/python-modules/twisted/default.nix
··· 17 }: 18 buildPythonPackage rec { 19 pname = "Twisted"; 20 - version = "22.1.0"; 21 22 src = fetchPypi { 23 inherit pname version; 24 extension = "tar.gz"; 25 - sha256 = "sha256-t5ceyYBbD4Dh3LGjch17+tY21fkJ3mh0MM43OXnWe2E="; 26 }; 27 28 propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs setuptools typing-extensions ];
··· 17 }: 18 buildPythonPackage rec { 19 pname = "Twisted"; 20 + version = "22.2.0"; 21 22 src = fetchPypi { 23 inherit pname version; 24 extension = "tar.gz"; 25 + sha256 = "1wml02jxni8k15984pskks7d6yin81w4d2ac026cpyiqd0gjpwsp"; 26 }; 27 28 propagatedBuildInputs = [ zope_interface incremental automat constantly hyperlink pyhamcrest attrs setuptools typing-extensions ];
+2 -2
pkgs/development/python-modules/types-protobuf/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "types-protobuf"; 9 - version = "3.19.12"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 - sha256 = "sha256-sCIkc0dHEhmsvi/mjS82I9eIJS6Z6blzWLerkE0ming="; 15 }; 16 17 propagatedBuildInputs = [
··· 6 7 buildPythonPackage rec { 8 pname = "types-protobuf"; 9 + version = "3.19.14"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 + sha256 = "sha256-ANWbHgfICPLwPGyouksHcoFYW7KBSKMCDPv37F/H+4Y="; 15 }; 16 17 propagatedBuildInputs = [
+14 -5
pkgs/development/python-modules/urwid/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k, isPy27, glibcLocales }: 2 3 buildPythonPackage rec { 4 pname = "urwid"; 5 version = "2.1.2"; 6 disabled = isPy27; 7 8 src = fetchPypi { ··· 17 # tests which assert on strings don't decode results correctly 18 doCheck = isPy3k; 19 20 - pythonImportsCheck = [ "urwid" ]; 21 22 meta = with lib; { 23 description = "A full-featured console (xterm et al.) user interface library"; 24 - homepage = "https://excess.org/urwid"; 25 - repositories.git = "git://github.com/wardi/urwid.git"; 26 - license = licenses.lgpl21; 27 maintainers = with maintainers; [ ]; 28 }; 29 }
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , isPy3k 5 + , isPy27 6 + , glibcLocales 7 + }: 8 9 buildPythonPackage rec { 10 pname = "urwid"; 11 version = "2.1.2"; 12 + format = "setuptools"; 13 + 14 disabled = isPy27; 15 16 src = fetchPypi { ··· 25 # tests which assert on strings don't decode results correctly 26 doCheck = isPy3k; 27 28 + pythonImportsCheck = [ 29 + "urwid" 30 + ]; 31 32 meta = with lib; { 33 description = "A full-featured console (xterm et al.) user interface library"; 34 + homepage = "https://urwid.org/"; 35 + license = licenses.lgpl21Plus; 36 maintainers = with maintainers; [ ]; 37 }; 38 }
+2 -2
pkgs/development/python-modules/yamale/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "yamale"; 12 - version = "4.0.3"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; ··· 18 owner = "23andMe"; 19 repo = pname; 20 rev = version; 21 - sha256 = "sha256-EkCKUSPRrj3g2AY17tquBDxf+nWfpdnILu5AS/2SsLo="; 22 }; 23 24 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "yamale"; 12 + version = "4.0.4"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.6"; ··· 18 owner = "23andMe"; 19 repo = pname; 20 rev = version; 21 + sha256 = "sha256-1GFvgfy3MDsJGKSEm0yaQoLM7VqIS2wphw16trNTUOc="; 22 }; 23 24 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/analysis/checkov/default.nix
··· 32 33 buildPythonApplication rec { 34 pname = "checkov"; 35 - version = "2.0.975"; 36 37 src = fetchFromGitHub { 38 owner = "bridgecrewio"; 39 repo = pname; 40 rev = version; 41 - hash = "sha256-vzq6HKugjM9LBaklv0IlMauSAl3bqHOikDCzrhVBVPA="; 42 }; 43 44 nativeBuildInputs = with py.pkgs; [
··· 32 33 buildPythonApplication rec { 34 pname = "checkov"; 35 + version = "2.0.988"; 36 37 src = fetchFromGitHub { 38 owner = "bridgecrewio"; 39 repo = pname; 40 rev = version; 41 + hash = "sha256-0/SL20N5d/oqWdyvVMZ+pzpPbehrYepaPi8P8SS8DSA="; 42 }; 43 44 nativeBuildInputs = with py.pkgs; [
+3 -3
pkgs/development/tools/analysis/tfsec/default.nix
··· 5 6 buildGoModule rec { 7 pname = "tfsec"; 8 - version = "1.13.0"; 9 10 src = fetchFromGitHub { 11 owner = "aquasecurity"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-/N8p/tw97sDW4I1ysfJ2QXACGsSc5nRFSu6jHwQvPU4="; 15 }; 16 17 ldflags = [ ··· 21 # "-extldflags '-fno-PIC -static'" 22 ]; 23 24 - vendorSha256 = "sha256-nTma96kT84mpJHRA9+/sZQVvwtz9arv/OHY9lgWJDFc="; 25 26 subPackages = [ 27 "cmd/tfsec"
··· 5 6 buildGoModule rec { 7 pname = "tfsec"; 8 + version = "1.13.2"; 9 10 src = fetchFromGitHub { 11 owner = "aquasecurity"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-ixiuAm1MCLS7daUwiFUPoO86YOoz9qEkQT5i/YlIdf0="; 15 }; 16 17 ldflags = [ ··· 21 # "-extldflags '-fno-PIC -static'" 22 ]; 23 24 + vendorSha256 = "sha256-WlZJvBIdJCMA+GJ0svEzwqrdPz2wnlJx/csVarjyExw="; 25 26 subPackages = [ 27 "cmd/tfsec"
+2 -2
pkgs/development/tools/continuous-integration/gitlab-runner/default.nix
··· 1 { lib, buildGoModule, fetchFromGitLab, fetchurl }: 2 3 let 4 - version = "14.9.0"; 5 in 6 buildGoModule rec { 7 inherit version; ··· 20 owner = "gitlab-org"; 21 repo = "gitlab-runner"; 22 rev = "v${version}"; 23 - sha256 = "0qqwg2k50cq7bc7k1389knrjq6xdbmlxd5kavyj7pg4sfapa3i8l"; 24 }; 25 26 patches = [
··· 1 { lib, buildGoModule, fetchFromGitLab, fetchurl }: 2 3 let 4 + version = "14.9.1"; 5 in 6 buildGoModule rec { 7 inherit version; ··· 20 owner = "gitlab-org"; 21 repo = "gitlab-runner"; 22 rev = "v${version}"; 23 + sha256 = "1h6fyhbc154fr6a8brva3clirgvga6sal6ikylf9mbkxbh7d9rcn"; 24 }; 25 26 patches = [
+3 -3
pkgs/development/tools/earthly/default.nix
··· 2 3 buildGoModule rec { 4 pname = "earthly"; 5 - version = "0.6.11"; 6 7 src = fetchFromGitHub { 8 owner = "earthly"; 9 repo = "earthly"; 10 rev = "v${version}"; 11 - sha256 = "sha256-awlE+k4Oa64Z2n+XbeDuezea+5D0ol7hyscVY6j52gI="; 12 }; 13 14 - vendorSha256 = "sha256-uUx9C7uEdXjhDWxehGHuhuFQXdUjZAXK3qogESkRm8E="; 15 16 ldflags = [ 17 "-s" "-w"
··· 2 3 buildGoModule rec { 4 pname = "earthly"; 5 + version = "0.6.12"; 6 7 src = fetchFromGitHub { 8 owner = "earthly"; 9 repo = "earthly"; 10 rev = "v${version}"; 11 + sha256 = "sha256-M8DnSpQhW4i83cu9wp0ZKyP7137IQVjyBl0cgVvQmPI="; 12 }; 13 14 + vendorSha256 = "sha256-GvTWj0uEsCyC4/RL6woym8UwA3OCFx8NWkNQApnVMM8="; 15 16 ldflags = [ 17 "-s" "-w"
+3 -3
pkgs/development/tools/efm-langserver/default.nix
··· 2 3 buildGoModule rec { 4 pname = "efm-langserver"; 5 - version = "0.0.41"; 6 7 src = fetchFromGitHub { 8 owner = "mattn"; 9 repo = "efm-langserver"; 10 rev = "v${version}"; 11 - sha256 = "sha256-0s6GmMbjtXGUcChzc8Pkqvmt3iU5uDUqe76OUDngboU="; 12 }; 13 14 - vendorSha256 = "sha256-tca+1SRrFyvU8ttHmfMFiGXd1A8rQSEWm1Mc2qp0EfI="; 15 subPackages = [ "." ]; 16 17 meta = with lib; {
··· 2 3 buildGoModule rec { 4 pname = "efm-langserver"; 5 + version = "0.0.42"; 6 7 src = fetchFromGitHub { 8 owner = "mattn"; 9 repo = "efm-langserver"; 10 rev = "v${version}"; 11 + sha256 = "sha256-1IAPtqIozp9Wp3L95mmhFuWvWvCDuTh1VsCVaJSzyfk="; 12 }; 13 14 + vendorSha256 = "sha256-KABezphT5/o3XWSFNe2OvfawFR8uwsGMnjsI9xh378Q="; 15 subPackages = [ "." ]; 16 17 meta = with lib; {
+19 -1
pkgs/development/tools/glade/default.nix
··· 1 - { lib, stdenv 2 , gettext 3 , fetchurl 4 , python3 5 , meson 6 , ninja ··· 29 url = "mirror://gnome/sources/glade/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 sha256 = "1dxsiz9ahqkxg2a1dw9sbd8jg59y5pdz4c1gvnbmql48gmj8gz4q"; 31 }; 32 33 nativeBuildInputs = [ 34 meson
··· 1 + { stdenv 2 + , lib 3 , gettext 4 , fetchurl 5 + , fetchpatch 6 , python3 7 , meson 8 , ninja ··· 31 url = "mirror://gnome/sources/glade/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 sha256 = "1dxsiz9ahqkxg2a1dw9sbd8jg59y5pdz4c1gvnbmql48gmj8gz4q"; 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 + ]; 50 51 nativeBuildInputs = [ 52 meson
+3 -3
pkgs/development/tools/jql/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "jql"; 5 - version = "3.1.2"; 6 7 src = fetchFromGitHub { 8 owner = "yamafaktory"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-UC+1I87PPDuu+/A5zO2Q/Z5KbO/5jHuxsJ0r7a+uDLM="; 12 }; 13 14 - cargoSha256 = "sha256-0ezrcploLboYExcRzNnKj/vWgbJuBhteWi/Imlr4Wsg="; 15 16 meta = with lib; { 17 description = "A JSON Query Language CLI tool built with Rust";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "jql"; 5 + version = "3.1.3"; 6 7 src = fetchFromGitHub { 8 owner = "yamafaktory"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-kYAVgQa5NAfZ7EVzO/3fW3A5Zl8uaFXguvxBco8DfRY="; 12 }; 13 14 + cargoSha256 = "sha256-Mz+1A7Wg7sh0pxg7umRym3UkXsMkRE0AQDTkt+e7l+s="; 15 16 meta = with lib; { 17 description = "A JSON Query Language CLI tool built with Rust";
+3 -3
pkgs/development/tools/kube-linter/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kube-linter"; 5 - version = "0.2.5"; 6 7 src = fetchFromGitHub { 8 owner = "stackrox"; 9 repo = pname; 10 rev = "${version}"; 11 - sha256 = "GUDrUEBorV4/ZqPnfNYcsbW4Zr1LpS3yL+4OgxFbTOk="; 12 }; 13 14 - vendorSha256 = "xGghTP9thICOGIfc5VPJK06DeXfLiTckwa4nXv83/P8="; 15 16 ldflags = [ 17 "-s" "-w" "-X golang.stackrox.io/kube-linter/internal/version.version=${version}"
··· 2 3 buildGoModule rec { 4 pname = "kube-linter"; 5 + version = "0.2.6"; 6 7 src = fetchFromGitHub { 8 owner = "stackrox"; 9 repo = pname; 10 rev = "${version}"; 11 + sha256 = "nBF/AX4hgZxIj9/RYowpHX1eAJMMhvU7wunvEXWnO80="; 12 }; 13 14 + vendorSha256 = "HJW28BZ9qFLtdH1qdW8/K4TzHA2ptekXaMF0XnMKbOY="; 15 16 ldflags = [ 17 "-s" "-w" "-X golang.stackrox.io/kube-linter/internal/version.version=${version}"
-2
pkgs/development/tools/misc/cgdb/default.nix
··· 16 17 homepage = "https://cgdb.github.io/"; 18 19 - repositories.git = "git://github.com/cgdb/cgdb.git"; 20 - 21 license = licenses.gpl2Plus; 22 23 platforms = with platforms; linux ++ cygwin;
··· 16 17 homepage = "https://cgdb.github.io/"; 18 19 license = licenses.gpl2Plus; 20 21 platforms = with platforms; linux ++ cygwin;
+77
pkgs/development/tools/misc/gef/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , gdb 6 + , python3 7 + , file 8 + , ps 9 + , git 10 + , coreutils 11 + }: 12 + 13 + let 14 + pythonPath = with python3.pkgs; makePythonPath [ 15 + keystone-engine 16 + unicorn 17 + capstone 18 + ropper 19 + ]; 20 + 21 + in stdenv.mkDerivation rec { 22 + pname = "gef"; 23 + version = "2022.01"; 24 + 25 + src = fetchFromGitHub { 26 + owner = "hugsy"; 27 + repo = "gef"; 28 + rev = version; 29 + sha256 = "sha256-Ot0OYMbXFGCzJdmDHD+LoZRDShCbYJ+IGzLTcU2Rfd4="; 30 + }; 31 + 32 + dontBuild = true; 33 + 34 + nativeBuildInputs = [ makeWrapper ]; 35 + 36 + installPhase = '' 37 + mkdir -p $out/share/gef 38 + cp gef.py $out/share/gef 39 + makeWrapper ${gdb}/bin/gdb $out/bin/gef \ 40 + --add-flags "-q -x $out/share/gef/gef.py" \ 41 + --set NIX_PYTHONPATH ${pythonPath} \ 42 + --prefix PATH : ${lib.makeBinPath [ python3 file ps ]} 43 + ''; 44 + 45 + checkInputs = [ 46 + gdb 47 + file 48 + ps 49 + git 50 + python3 51 + python3.pkgs.pytest 52 + python3.pkgs.pytest-xdist 53 + python3.pkgs.keystone-engine 54 + python3.pkgs.unicorn 55 + python3.pkgs.capstone 56 + python3.pkgs.ropper 57 + ]; 58 + checkPhase = '' 59 + # Skip some tests that require network access. 60 + sed -i '/def test_cmd_shellcode_get(self):/i \ \ \ \ @unittest.skip(reason="not available in sandbox")' tests/runtests.py 61 + sed -i '/def test_cmd_shellcode_search(self):/i \ \ \ \ @unittest.skip(reason="not available in sandbox")' tests/runtests.py 62 + 63 + # Patch the path to /bin/ls. 64 + sed -i 's+/bin/ls+${coreutils}/bin/ls+g' tests/runtests.py 65 + 66 + # Run the tests. 67 + make test 68 + ''; 69 + 70 + meta = with lib; { 71 + description = "A modern experience for GDB with advanced debugging features for exploit developers & reverse engineers"; 72 + homepage = "https://github.com/hugsy/gef"; 73 + license = licenses.mit; 74 + platforms = platforms.all; 75 + maintainers = with maintainers; [ freax13 ]; 76 + }; 77 + }
+1 -1
pkgs/development/tools/ocaml/cppo/default.nix
··· 61 makeFlags = [ "PREFIX=$(out)" ]; 62 63 preBuild = '' 64 - mkdir $out/bin 65 ''; 66 67 }
··· 61 makeFlags = [ "PREFIX=$(out)" ]; 62 63 preBuild = '' 64 + mkdir -p $out/bin 65 ''; 66 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 20 in buildPythonApplication rec { 21 pname = "pipenv"; 22 - version = "2022.1.8"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - sha256 = "f84d7119239b22ab2ac2b8fbc7d619d83cf41135206d72a17c4f151cda529fd0"; 27 }; 28 29 LC_ALL = "en_US.UTF-8";
··· 19 20 in buildPythonApplication rec { 21 pname = "pipenv"; 22 + version = "2022.3.23"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + sha256 = "sha256-pt9BdR31VTfe5UNJ4dy3eB586zS7mFsITphafg3EP8U="; 27 }; 28 29 LC_ALL = "en_US.UTF-8";
-1
pkgs/development/tools/profiling/systemtap/default.nix
··· 40 nativeBuildInputs = [ makeWrapper ]; 41 meta = { 42 homepage = "https://sourceware.org/systemtap/"; 43 - repositories.git = url; 44 description = "Provides a scripting language for instrumentation on a live kernel plus user-space"; 45 license = lib.licenses.gpl2; 46 platforms = lib.platforms.linux;
··· 40 nativeBuildInputs = [ makeWrapper ]; 41 meta = { 42 homepage = "https://sourceware.org/systemtap/"; 43 description = "Provides a scripting language for instrumentation on a live kernel plus user-space"; 44 license = lib.licenses.gpl2; 45 platforms = lib.platforms.linux;
+2 -2
pkgs/development/tools/protoc-gen-go/default.nix
··· 2 3 buildGoModule rec { 4 pname = "protoc-gen-go"; 5 - version = "1.27.1"; 6 7 src = fetchFromGitHub { 8 owner = "protocolbuffers"; 9 repo = "protobuf-go"; 10 rev = "v${version}"; 11 - sha256 = "sha256-wkUvMsoJP38KMD5b3Fz65R1cnpeTtDcVqgE7tNlZXys="; 12 }; 13 14 vendorSha256 = "sha256-yb8l4ooZwqfvenlxDRg95rqiL+hmsn0weS/dPv/oD2Y=";
··· 2 3 buildGoModule rec { 4 pname = "protoc-gen-go"; 5 + version = "1.28.0"; 6 7 src = fetchFromGitHub { 8 owner = "protocolbuffers"; 9 repo = "protobuf-go"; 10 rev = "v${version}"; 11 + sha256 = "sha256-GXXhBXzeFgS4DjY3jDRaJu/9PbfUnmWJiE4BwDBh7Ns="; 12 }; 13 14 vendorSha256 = "sha256-yb8l4ooZwqfvenlxDRg95rqiL+hmsn0weS/dPv/oD2Y=";
+3 -3
pkgs/development/tools/rust/cargo-nextest/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-nextest"; 5 - version = "0.9.10"; 6 7 src = fetchFromGitHub { 8 owner = "nextest-rs"; 9 repo = "nextest"; 10 rev = "cargo-nextest-${version}"; 11 - sha256 = "0gbh990dd4514bfqh4x2nymh5w608ljp3s7akq100m4v723b6339"; 12 }; 13 14 - cargoSha256 = "0c0i274dkz3jx9dzcxl9hyf3imiga8vb6m6jc5z1f1wdq3vknh9r"; 15 16 cargoTestFlags = [ # TODO: investigate some more why these tests fail in nix 17 "--"
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-nextest"; 5 + version = "0.9.11"; 6 7 src = fetchFromGitHub { 8 owner = "nextest-rs"; 9 repo = "nextest"; 10 rev = "cargo-nextest-${version}"; 11 + sha256 = "sha256-aXGXn6kxw37v0fn2SPQnGCdTg1CFJK03OIAgFjvaxpc="; 12 }; 13 14 + cargoSha256 = "sha256-zuPWF2sxVmlhSMy70yhRZEV6dgL2W8AGkYRbnbJdMpQ="; 15 16 cargoTestFlags = [ # TODO: investigate some more why these tests fail in nix 17 "--"
+2 -2
pkgs/development/tools/skopeo/default.nix
··· 14 15 buildGoModule rec { 16 pname = "skopeo"; 17 - version = "1.6.1"; 18 19 src = fetchFromGitHub { 20 rev = "v${version}"; 21 owner = "containers"; 22 repo = "skopeo"; 23 - sha256 = "sha256-L3dHkF7yKnwXpXxCEswwA0TxVfjTzc89l0rpT7EYpIU="; 24 }; 25 26 outputs = [ "out" "man" ];
··· 14 15 buildGoModule rec { 16 pname = "skopeo"; 17 + version = "1.7.0"; 18 19 src = fetchFromGitHub { 20 rev = "v${version}"; 21 owner = "containers"; 22 repo = "skopeo"; 23 + sha256 = "sha256-sbe16IcHkhsiBznsMKtG/xYJYJfJS6aZ34++QhkGTTc="; 24 }; 25 26 outputs = [ "out" "man" ];
+3 -3
pkgs/development/tools/wrangler/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "wrangler"; 5 - version = "1.19.9"; 6 7 src = fetchFromGitHub { 8 owner = "cloudflare"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-cuntghTMGrAcrPunyi9ZWlxDcryYv7R6S3V8WJjEUtQ="; 12 }; 13 14 - cargoSha256 = "sha256-gao8vCfzb81GUte6WAt2x/pxecg443bpQxvUSQCXL40="; 15 16 nativeBuildInputs = [ pkg-config ]; 17
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "wrangler"; 5 + version = "1.19.10"; 6 7 src = fetchFromGitHub { 8 owner = "cloudflare"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-RKOAs7MRHcGx6BNBml7WQ81bNvdB9ipd0R1ErLTwjTQ="; 12 }; 13 14 + cargoSha256 = "sha256-9GvKDLuDIW5q1R5g20rtSScv2c0sLSo+hI9LSA4W3M8="; 15 16 nativeBuildInputs = [ pkg-config ]; 17
+8 -4
pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix
··· 74 preBuild ? "", 75 postBuild ? "", 76 workspaceDependencies ? [], # List of yarn packages 77 }: 78 let 79 extraNativeBuildInputs = ··· 98 99 workspaceJSON = pkgs.writeText 100 "${name}-workspace-package.json" 101 - (builtins.toJSON { private = true; workspaces = ["deps/**"]; }); # scoped packages need second splat 102 103 workspaceDependencyLinks = lib.concatMapStringsSep "\n" 104 (dep: '' ··· 176 177 packageGlobs = if lib.isList package.workspaces then package.workspaces else package.workspaces.packages; 178 179 globElemToRegex = lib.replaceStrings ["*"] [".*"]; 180 181 # PathGlob -> [PathGlobElem] ··· 223 inherit name; 224 value = mkYarnPackage ( 225 builtins.removeAttrs attrs ["packageOverrides"] 226 - // { inherit src packageJSON yarnLock workspaceDependencies; } 227 // lib.attrByPath [name] {} packageOverrides 228 ); 229 }) ··· 245 extraBuildInputs ? [], 246 publishBinsFor ? null, 247 workspaceDependencies ? [], # List of yarnPackages 248 ... 249 }@attrs: 250 let ··· 264 preBuild = yarnPreBuild; 265 postBuild = yarnPostBuild; 266 workspaceDependencies = workspaceDependenciesTransitive; 267 - inherit packageJSON pname version yarnLock offlineCache yarnFlags pkgConfig; 268 }; 269 270 publishBinsFor_ = unlessNull publishBinsFor [pname]; ··· 298 '') 299 workspaceDependenciesTransitive; 300 301 - in stdenv.mkDerivation (builtins.removeAttrs attrs ["yarnNix" "pkgConfig" "workspaceDependencies"] // { 302 inherit src pname; 303 304 name = baseName;
··· 74 preBuild ? "", 75 postBuild ? "", 76 workspaceDependencies ? [], # List of yarn packages 77 + packageResolutions ? {}, 78 }: 79 let 80 extraNativeBuildInputs = ··· 99 100 workspaceJSON = pkgs.writeText 101 "${name}-workspace-package.json" 102 + (builtins.toJSON { private = true; workspaces = ["deps/**"]; resolutions = packageResolutions; }); # scoped packages need second splat 103 104 workspaceDependencyLinks = lib.concatMapStringsSep "\n" 105 (dep: '' ··· 177 178 packageGlobs = if lib.isList package.workspaces then package.workspaces else package.workspaces.packages; 179 180 + packageResolutions = package.resolutions or {}; 181 + 182 globElemToRegex = lib.replaceStrings ["*"] [".*"]; 183 184 # PathGlob -> [PathGlobElem] ··· 226 inherit name; 227 value = mkYarnPackage ( 228 builtins.removeAttrs attrs ["packageOverrides"] 229 + // { inherit src packageJSON yarnLock packageResolutions workspaceDependencies; } 230 // lib.attrByPath [name] {} packageOverrides 231 ); 232 }) ··· 248 extraBuildInputs ? [], 249 publishBinsFor ? null, 250 workspaceDependencies ? [], # List of yarnPackages 251 + packageResolutions ? {}, 252 ... 253 }@attrs: 254 let ··· 268 preBuild = yarnPreBuild; 269 postBuild = yarnPostBuild; 270 workspaceDependencies = workspaceDependenciesTransitive; 271 + inherit packageJSON pname version yarnLock offlineCache yarnFlags pkgConfig packageResolutions; 272 }; 273 274 publishBinsFor_ = unlessNull publishBinsFor [pname]; ··· 302 '') 303 workspaceDependenciesTransitive; 304 305 + in stdenv.mkDerivation (builtins.removeAttrs attrs ["yarnNix" "pkgConfig" "workspaceDependencies" "packageResolutions"] // { 306 inherit src pname; 307 308 name = baseName;
+3 -3
pkgs/development/web/flyctl/default.nix
··· 2 3 buildGoModule rec { 4 pname = "flyctl"; 5 - version = "0.0.302"; 6 7 src = fetchFromGitHub { 8 owner = "superfly"; 9 repo = "flyctl"; 10 rev = "v${version}"; 11 - sha256 = "sha256-J6djiBT25cLAWWD0ZQBLju8pef0pG6iYRXUm/5nZm+8="; 12 }; 13 14 preBuild = '' ··· 17 18 subPackages = [ "." ]; 19 20 - vendorSha256 = "sha256-ZtP/NgKCXpShCDe7Is/moCNPX7JmxcYMh47B+IgvY/4="; 21 22 doCheck = false; 23
··· 2 3 buildGoModule rec { 4 pname = "flyctl"; 5 + version = "0.0.306"; 6 7 src = fetchFromGitHub { 8 owner = "superfly"; 9 repo = "flyctl"; 10 rev = "v${version}"; 11 + sha256 = "sha256-Nnt4Gj+/DbP3tAne99u15GYT099lBTM16O4r0QMuRXA="; 12 }; 13 14 preBuild = '' ··· 17 18 subPackages = [ "." ]; 19 20 + vendorSha256 = "sha256-n5LZ6WP1LxnhdDKIm8oc3CVFD2jXUEQ/scbOLtMTWQk="; 21 22 doCheck = false; 23
+2 -2
pkgs/development/web/grails/default.nix
··· 11 in 12 stdenv.mkDerivation rec { 13 pname = "grails"; 14 - version = "5.1.3"; 15 16 src = fetchurl { 17 url = "https://github.com/grails/grails-core/releases/download/v${version}/grails-${version}.zip"; 18 - sha256 = "sha256-BacAVAnS3qdmzHGVUdZI2hn4Arp9Qep6cAXRabpB10M="; 19 }; 20 21 nativeBuildInputs = [ unzip ];
··· 11 in 12 stdenv.mkDerivation rec { 13 pname = "grails"; 14 + version = "5.1.4"; 15 16 src = fetchurl { 17 url = "https://github.com/grails/grails-core/releases/download/v${version}/grails-${version}.zip"; 18 + sha256 = "sha256-EoMSnT1MmYGeF82XC7Ed9woe8t+xzYJaylLBVpdFvoI="; 19 }; 20 21 nativeBuildInputs = [ unzip ];
+2 -2
pkgs/development/web/kore/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "kore"; 5 - version = "4.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "jorisvink"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-w5H1USQ2aladwSFdfYsX925pjCt3QWoXK4HqyEL7rH0="; 12 }; 13 14 buildInputs = [ openssl curl postgresql yajl ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "kore"; 5 + version = "4.2.1"; 6 7 src = fetchFromGitHub { 8 owner = "jorisvink"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-MC4PCjRuAqWuGvNDsZXKohb4HdSWMV0Oc0pZ0rnhG7Y="; 12 }; 13 14 buildInputs = [ openssl curl postgresql yajl ];
-1
pkgs/games/openxcom/default.nix
··· 18 meta = { 19 description = "Open source clone of UFO: Enemy Unknown"; 20 homepage = "https://openxcom.org"; 21 - repositories.git = "https://github.com/SupSuper/OpenXcom.git"; 22 maintainers = [ lib.maintainers.cpages ]; 23 platforms = lib.platforms.linux; 24 license = lib.licenses.gpl3;
··· 18 meta = { 19 description = "Open source clone of UFO: Enemy Unknown"; 20 homepage = "https://openxcom.org"; 21 maintainers = [ lib.maintainers.cpages ]; 22 platforms = lib.platforms.linux; 23 license = lib.licenses.gpl3;
-1
pkgs/games/spring/springlobby.nix
··· 34 35 meta = with lib; { 36 homepage = "https://springlobby.info/"; 37 - repositories.git = "git://github.com/springlobby/springlobby.git"; 38 description = "Cross-platform lobby client for the Spring RTS project"; 39 license = licenses.gpl2; 40 maintainers = with maintainers; [ qknight domenkozar ];
··· 34 35 meta = with lib; { 36 homepage = "https://springlobby.info/"; 37 description = "Cross-platform lobby client for the Spring RTS project"; 38 license = licenses.gpl2; 39 maintainers = with maintainers; [ qknight domenkozar ];
-3
pkgs/games/steam/fhsenv.nix
··· 228 export TZ="$new_TZ" 229 fi 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 '' + extraProfile; 235 236 runScript = writeScript "steam-wrapper.sh" ''
··· 228 export TZ="$new_TZ" 229 fi 230 fi 231 '' + extraProfile; 232 233 runScript = writeScript "steam-wrapper.sh" ''
+93
pkgs/misc/cups/drivers/mfcl2750dw/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , dpkg 5 + , autoPatchelfHook 6 + , makeWrapper 7 + , perl 8 + , gnused 9 + , ghostscript 10 + , file 11 + , coreutils 12 + , gnugrep 13 + , which 14 + }: 15 + 16 + let 17 + arches = [ "x86_64" "i686" "armv7l" ]; 18 + 19 + runtimeDeps = [ 20 + ghostscript 21 + file 22 + gnused 23 + gnugrep 24 + coreutils 25 + which 26 + ]; 27 + in 28 + 29 + stdenv.mkDerivation rec { 30 + pname = "cups-brother-mfcl2750dw"; 31 + version = "4.0.0-1"; 32 + 33 + nativeBuildInputs = [ dpkg makeWrapper autoPatchelfHook ]; 34 + buildInputs = [ perl ]; 35 + 36 + dontUnpack = true; 37 + 38 + src = fetchurl { 39 + url = "https://download.brother.com/welcome/dlf103530/mfcl2750dwpdrv-${version}.i386.deb"; 40 + hash = "sha256-3uDwzLQTF8r1tsGZ7ChGhk4ryQmVsZYdUaj9eFaC0jc="; 41 + }; 42 + 43 + installPhase = '' 44 + runHook preInstall 45 + 46 + mkdir -p $out 47 + dpkg-deb -x $src $out 48 + 49 + # delete unnecessary files for the current architecture 50 + '' + lib.concatMapStrings (arch: '' 51 + echo Deleting files for ${arch} 52 + rm -r "$out/opt/brother/Printers/MFCL2750DW/lpd/${arch}" 53 + '') (builtins.filter (arch: arch != stdenv.hostPlatform.linuxArch) arches) + '' 54 + 55 + # bundled scripts don't understand the arch subdirectories for some reason 56 + ln -s \ 57 + "$out/opt/brother/Printers/MFCL2750DW/lpd/${stdenv.hostPlatform.linuxArch}/"* \ 58 + "$out/opt/brother/Printers/MFCL2750DW/lpd/" 59 + 60 + # Fix global references and replace auto discovery mechanism with hardcoded values 61 + substituteInPlace $out/opt/brother/Printers/MFCL2750DW/lpd/lpdfilter \ 62 + --replace /opt "$out/opt" \ 63 + --replace "my \$BR_PRT_PATH =" "my \$BR_PRT_PATH = \"$out/opt/brother/Printers/MFCL2750DW\"; #" \ 64 + --replace "PRINTER =~" "PRINTER = \"MFCL2750DW\"; #" 65 + 66 + # Make sure all executables have the necessary runtime dependencies available 67 + find "$out" -executable -and -type f | while read file; do 68 + wrapProgram "$file" --prefix PATH : "${lib.makeBinPath runtimeDeps}" 69 + done 70 + 71 + # Symlink filter and ppd into a location where CUPS will discover it 72 + mkdir -p $out/lib/cups/filter 73 + mkdir -p $out/share/cups/model 74 + 75 + ln -s \ 76 + $out/opt/brother/Printers/MFCL2750DW/lpd/lpdfilter \ 77 + $out/lib/cups/filter/brother_lpdwrapper_MFCL2750DW 78 + 79 + ln -s \ 80 + $out/opt/brother/Printers/MFCL2750DW/cupswrapper/brother-MFCL2750DW-cups-en.ppd \ 81 + $out/share/cups/model/ 82 + 83 + runHook postInstall 84 + ''; 85 + 86 + meta = with lib; { 87 + homepage = "http://www.brother.com/"; 88 + description = "Brother MFC-L2750DW printer driver"; 89 + license = licenses.unfree; 90 + platforms = builtins.map (arch: "${arch}-linux") arches; 91 + maintainers = [ maintainers.lovesegfault ]; 92 + }; 93 + }
-1
pkgs/os-specific/darwin/m-cli/default.nix
··· 35 meta = with lib; { 36 description = "Swiss Army Knife for macOS"; 37 inherit (src.meta) homepage; 38 - repositories.git = "git://github.com/rgcr/m-cli.git"; 39 40 license = licenses.mit; 41
··· 35 meta = with lib; { 36 description = "Swiss Army Knife for macOS"; 37 inherit (src.meta) homepage; 38 39 license = licenses.mit; 40
-1
pkgs/os-specific/linux/bluez/default.nix
··· 135 homepage = "http://www.bluez.org/"; 136 license = with licenses; [ gpl2 lgpl21 ]; 137 platforms = platforms.linux; 138 - repositories.git = "https://git.kernel.org/pub/scm/bluetooth/bluez.git"; 139 }; 140 }
··· 135 homepage = "http://www.bluez.org/"; 136 license = with licenses; [ gpl2 lgpl21 ]; 137 platforms = platforms.linux; 138 }; 139 }
+5 -1
pkgs/os-specific/linux/earlyoom/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pandoc, installShellFiles, withManpage ? false }: 2 3 stdenv.mkDerivation rec { 4 pname = "earlyoom"; ··· 22 '' + lib.optionalString withManpage '' 23 installManPage earlyoom.1 24 ''; 25 26 meta = with lib; { 27 description = "Early OOM Daemon for Linux";
··· 1 + { lib, stdenv, fetchFromGitHub, pandoc, installShellFiles, withManpage ? false, nixosTests }: 2 3 stdenv.mkDerivation rec { 4 pname = "earlyoom"; ··· 22 '' + lib.optionalString withManpage '' 23 installManPage earlyoom.1 24 ''; 25 + 26 + passthru.tests = { 27 + inherit (nixosTests) earlyoom; 28 + }; 29 30 meta = with lib; { 31 description = "Early OOM Daemon for Linux";
-1
pkgs/os-specific/linux/hostapd/default.nix
··· 73 74 meta = with lib; { 75 homepage = "https://hostap.epitest.fi"; 76 - repositories.git = "git://w1.fi/hostap.git"; 77 description = "A user space daemon for access point and authentication servers"; 78 license = licenses.gpl2; 79 maintainers = with maintainers; [ ninjatrappeur hexa ];
··· 73 74 meta = with lib; { 75 homepage = "https://hostap.epitest.fi"; 76 description = "A user space daemon for access point and authentication servers"; 77 license = licenses.gpl2; 78 maintainers = with maintainers; [ ninjatrappeur hexa ];
-1
pkgs/os-specific/linux/i7z/default.nix
··· 49 meta = with lib; { 50 description = "A better i7 (and now i3, i5) reporting tool for Linux"; 51 homepage = "https://github.com/DimitryAndric/i7z"; 52 - repositories.git = "https://github.com/DimitryAndric/i7z.git"; 53 license = licenses.gpl2; 54 maintainers = with maintainers; [ bluescreen303 ]; 55 # broken on ARM
··· 49 meta = with lib; { 50 description = "A better i7 (and now i3, i5) reporting tool for Linux"; 51 homepage = "https://github.com/DimitryAndric/i7z"; 52 license = licenses.gpl2; 53 maintainers = with maintainers; [ bluescreen303 ]; 54 # broken on ARM
+1
pkgs/os-specific/linux/kernel/common-config.nix
··· 482 DEFAULT_SECURITY_APPARMOR = yes; 483 484 RANDOM_TRUST_CPU = whenAtLeast "4.19" yes; # allow RDRAND to seed the RNG 485 486 MODULE_SIG = no; # r13y, generates a random key during build and bakes it in 487 # Depends on MODULE_SIG and only really helps when you sign your modules
··· 482 DEFAULT_SECURITY_APPARMOR = yes; 483 484 RANDOM_TRUST_CPU = whenAtLeast "4.19" yes; # allow RDRAND to seed the RNG 485 + RANDOM_TRUST_BOOTLOADER = whenAtLeast "5.4" yes; # allow the bootloader to seed the RNG 486 487 MODULE_SIG = no; # r13y, generates a random key during build and bakes it in 488 # Depends on MODULE_SIG and only really helps when you sign your modules
+2 -2
pkgs/os-specific/linux/kernel/linux-5.10.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "5.10.106"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "0yjrlghcxw3lhd6nc2m4zy4gk536w3a3w6mxdsml690fqz4531n6"; 17 }; 18 } // (args.argsOverride or {}))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "5.10.107"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 + sha256 = "1snzzhkzdjlj92gqig3sanxlhv0xc0xk2xwjdjr0yds6g43w6ry4"; 17 }; 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.15.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "5.15.29"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 15 16 src = fetchurl { 17 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 18 - sha256 = "0vl7xm4xs59z071wfjna392yada3hg5h6h3dfjaswircc22fc1ar"; 19 }; 20 } // (args.argsOverride or { }))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "5.15.30"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 15 16 src = fetchurl { 17 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 18 + sha256 = "0ckiz985x88x68psg6wazyk7zpv34k8rbzpzyzj0gaph13za4ki5"; 19 }; 20 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.16.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "5.16.15"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "1mi41npkk1inqchm3yp14xmzc5lrp50d7vbpazwxwq5kw04c8c4g"; 17 }; 18 } // (args.argsOverride or { }))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "5.16.16"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 + sha256 = "13qk6cjnjwgnxj25mphyv08pjf1sqz7bxxrr3fpl8gz3aghdd9yc"; 17 }; 18 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.4.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "5.4.185"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "11rp3x05bq9cs9gwy4x36ynkgl7nb5ss29zi6m7n5ywvczdfjpyi"; 17 }; 18 } // (args.argsOverride or {}))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "5.4.186"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 + sha256 = "1f9rigm58miq5s98bx7pvylqi9hlzlfnq1nrj4cd8f4arcjcvxv1"; 17 }; 18 } // (args.argsOverride or {}))
+3 -3
pkgs/os-specific/linux/kernel/linux-rt-5.10.nix
··· 6 , ... } @ args: 7 8 let 9 - version = "5.10.104-rt63"; # updated by ./update-rt.sh 10 branch = lib.versions.majorMinor version; 11 kversion = builtins.elemAt (lib.splitString "-" version) 0; 12 in buildLinux (args // { ··· 18 19 src = fetchurl { 20 url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz"; 21 - sha256 = "1wb2ql58md45wi49bp3rck7ppgisyjdl7lxarzqd094fx9kr4jir"; 22 }; 23 24 kernelPatches = let rt-patch = { 25 name = "rt"; 26 patch = fetchurl { 27 url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz"; 28 - sha256 = "17ivd6dm49axc9k6cqf39wjjqrjqbj5xd3n7lqk7vv95rg9fg0g7"; 29 }; 30 }; in [ rt-patch ] ++ kernelPatches; 31
··· 6 , ... } @ args: 7 8 let 9 + version = "5.10.106-rt64"; # updated by ./update-rt.sh 10 branch = lib.versions.majorMinor version; 11 kversion = builtins.elemAt (lib.splitString "-" version) 0; 12 in buildLinux (args // { ··· 18 19 src = fetchurl { 20 url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz"; 21 + sha256 = "0yjrlghcxw3lhd6nc2m4zy4gk536w3a3w6mxdsml690fqz4531n6"; 22 }; 23 24 kernelPatches = let rt-patch = { 25 name = "rt"; 26 patch = fetchurl { 27 url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz"; 28 + sha256 = "0z5gyi1vyjyd05vyccmk9yfgvm5v1lc8vbfywahx495xzpp9i8xb"; 29 }; 30 }; in [ rt-patch ] ++ kernelPatches; 31
-1
pkgs/os-specific/linux/kernel/manual-config.nix
··· 301 + ")"); 302 license = lib.licenses.gpl2Only; 303 homepage = "https://www.kernel.org/"; 304 - repositories.git = "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"; 305 maintainers = lib.teams.linux-kernel.members ++ [ 306 maintainers.thoughtpolice 307 ];
··· 301 + ")"); 302 license = lib.licenses.gpl2Only; 303 homepage = "https://www.kernel.org/"; 304 maintainers = lib.teams.linux-kernel.members ++ [ 305 maintainers.thoughtpolice 306 ];
+1 -4
pkgs/os-specific/linux/ldm/default.nix
··· 4 5 let 6 version = "0.5"; 7 - git = "https://github.com/LemonBoy/ldm.git"; 8 in 9 stdenv.mkDerivation rec { 10 pname = "ldm"; ··· 13 # There is a stable release, but we'll use the lvm branch, which 14 # contains important fixes for LVM setups. 15 src = fetchgit { 16 - url = meta.repositories.git; 17 rev = "refs/tags/v${version}"; 18 sha256 = "0lxfypnbamfx6p9ar5k9wra20gvwn665l4pp2j4vsx4yi5q7rw2n"; 19 }; ··· 36 meta = { 37 description = "A lightweight device mounter, with libudev as only dependency"; 38 license = lib.licenses.mit; 39 - 40 platforms = lib.platforms.linux; 41 - repositories.git = git; 42 }; 43 }
··· 4 5 let 6 version = "0.5"; 7 in 8 stdenv.mkDerivation rec { 9 pname = "ldm"; ··· 12 # There is a stable release, but we'll use the lvm branch, which 13 # contains important fixes for LVM setups. 14 src = fetchgit { 15 + url = "https://github.com/LemonBoy/ldm"; 16 rev = "refs/tags/v${version}"; 17 sha256 = "0lxfypnbamfx6p9ar5k9wra20gvwn665l4pp2j4vsx4yi5q7rw2n"; 18 }; ··· 35 meta = { 36 description = "A lightweight device mounter, with libudev as only dependency"; 37 license = lib.licenses.mit; 38 platforms = lib.platforms.linux; 39 }; 40 }
+16 -11
pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh
··· 36 # comma separated list of vars to preserve when using sudo 37 preservedSudoVars=NIXOS_INSTALL_BOOTLOADER 38 39 while [ "$#" -gt 0 ]; do 40 i="$1"; shift 1 41 case "$i" in ··· 47 action="$i" 48 ;; 49 --install-grub) 50 - echo "$0: --install-grub deprecated, use --install-bootloader instead" >&2 51 export NIXOS_INSTALL_BOOTLOADER=1 52 ;; 53 --install-bootloader) ··· 91 ;; 92 --profile-name|-p) 93 if [ -z "$1" ]; then 94 - echo "$0: ‘--profile-name’ requires an argument" 95 exit 1 96 fi 97 if [ "$1" != system ]; then ··· 132 lockFlags+=("$i" "$j" "$k") 133 ;; 134 *) 135 - echo "$0: unknown option \`$i'" 136 exit 1 137 ;; 138 esac ··· 239 NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure --to "$buildHost" "$drv" 240 buildHostCmd nix-store -r "$drv" "${buildArgs[@]}" 241 else 242 - echo "nix-instantiate failed" 243 exit 1 244 fi 245 fi ··· 290 NIX_SSHOPTS=$SSHOPTS runCmd nix "${flakeFlags[@]}" copy --derivation --to "ssh://$buildHost" "$drv" 291 buildHostCmd nix-store -r "$drv" "${buildArgs[@]}" 292 else 293 - echo "nix eval failed" 294 exit 1 295 fi 296 fi ··· 425 elif [[ "$machine" = aarch64 ]]; then 426 echo @nix_aarch64_linux@ 427 else 428 - echo "$0: unsupported platform" 429 exit 1 430 fi 431 } 432 433 if [[ -n $buildNix && -z $flake ]]; then 434 - echo "building Nix..." >&2 435 nixDrv= 436 if ! nixDrv="$(runCmd nix-instantiate '<nixpkgs/nixos>' --add-root "$tmpDir/nix.drv" --indirect -A config.nix.package.out "${extraBuildFlags[@]}")"; then 437 if ! nixDrv="$(runCmd nix-instantiate '<nixpkgs>' --add-root "$tmpDir/nix.drv" --indirect -A nix "${extraBuildFlags[@]}")"; then ··· 440 fi 441 if ! runCmd nix-store -r "$nixStorePath" --add-root "${tmpDir}/nix" --indirect \ 442 --option extra-binary-caches https://cache.nixos.org/; then 443 - echo "warning: don't know how to get latest Nix" >&2 444 fi 445 # Older version of nix-store -r don't support --add-root. 446 [ -e "$tmpDir/nix" ] || ln -sf "$nixStorePath" "$tmpDir/nix" ··· 450 if ! buildHostCmd nix-store -r "$remoteNixStorePath" \ 451 --option extra-binary-caches https://cache.nixos.org/ >/dev/null; then 452 remoteNix= 453 - echo "warning: don't know how to get latest Nix" >&2 454 fi 455 fi 456 fi ··· 490 # or "boot"), or just build it and create a symlink "result" in the 491 # current directory (for "build" and "test"). 492 if [ -z "$rollback" ]; then 493 - echo "building the system configuration..." >&2 494 if [[ "$action" = switch || "$action" = boot ]]; then 495 if [[ -z $flake ]]; then 496 pathToConfig="$(nixBuild '<nixpkgs/nixos>' --no-out-link -A system "${extraBuildFlags[@]}")" ··· 547 # default and/or activate it now. 548 if [[ "$action" = switch || "$action" = boot || "$action" = test || "$action" = dry-activate ]]; then 549 if ! targetHostCmd "$pathToConfig/bin/switch-to-configuration" "$action"; then 550 - echo "warning: error(s) occurred while switching to the new configuration" >&2 551 exit 1 552 fi 553 fi
··· 36 # comma separated list of vars to preserve when using sudo 37 preservedSudoVars=NIXOS_INSTALL_BOOTLOADER 38 39 + # log the given argument to stderr 40 + log() { 41 + echo "$@" >&2 42 + } 43 + 44 while [ "$#" -gt 0 ]; do 45 i="$1"; shift 1 46 case "$i" in ··· 52 action="$i" 53 ;; 54 --install-grub) 55 + log "$0: --install-grub deprecated, use --install-bootloader instead" 56 export NIXOS_INSTALL_BOOTLOADER=1 57 ;; 58 --install-bootloader) ··· 96 ;; 97 --profile-name|-p) 98 if [ -z "$1" ]; then 99 + log "$0: ‘--profile-name’ requires an argument" 100 exit 1 101 fi 102 if [ "$1" != system ]; then ··· 137 lockFlags+=("$i" "$j" "$k") 138 ;; 139 *) 140 + log "$0: unknown option \`$i'" 141 exit 1 142 ;; 143 esac ··· 244 NIX_SSHOPTS=$SSHOPTS runCmd nix-copy-closure --to "$buildHost" "$drv" 245 buildHostCmd nix-store -r "$drv" "${buildArgs[@]}" 246 else 247 + log "nix-instantiate failed" 248 exit 1 249 fi 250 fi ··· 295 NIX_SSHOPTS=$SSHOPTS runCmd nix "${flakeFlags[@]}" copy --derivation --to "ssh://$buildHost" "$drv" 296 buildHostCmd nix-store -r "$drv" "${buildArgs[@]}" 297 else 298 + log "nix eval failed" 299 exit 1 300 fi 301 fi ··· 430 elif [[ "$machine" = aarch64 ]]; then 431 echo @nix_aarch64_linux@ 432 else 433 + log "$0: unsupported platform" 434 exit 1 435 fi 436 } 437 438 if [[ -n $buildNix && -z $flake ]]; then 439 + log "building Nix..." 440 nixDrv= 441 if ! nixDrv="$(runCmd nix-instantiate '<nixpkgs/nixos>' --add-root "$tmpDir/nix.drv" --indirect -A config.nix.package.out "${extraBuildFlags[@]}")"; then 442 if ! nixDrv="$(runCmd nix-instantiate '<nixpkgs>' --add-root "$tmpDir/nix.drv" --indirect -A nix "${extraBuildFlags[@]}")"; then ··· 445 fi 446 if ! runCmd nix-store -r "$nixStorePath" --add-root "${tmpDir}/nix" --indirect \ 447 --option extra-binary-caches https://cache.nixos.org/; then 448 + log "warning: don't know how to get latest Nix" 449 fi 450 # Older version of nix-store -r don't support --add-root. 451 [ -e "$tmpDir/nix" ] || ln -sf "$nixStorePath" "$tmpDir/nix" ··· 455 if ! buildHostCmd nix-store -r "$remoteNixStorePath" \ 456 --option extra-binary-caches https://cache.nixos.org/ >/dev/null; then 457 remoteNix= 458 + log "warning: don't know how to get latest Nix" 459 fi 460 fi 461 fi ··· 495 # or "boot"), or just build it and create a symlink "result" in the 496 # current directory (for "build" and "test"). 497 if [ -z "$rollback" ]; then 498 + log "building the system configuration..." 499 if [[ "$action" = switch || "$action" = boot ]]; then 500 if [[ -z $flake ]]; then 501 pathToConfig="$(nixBuild '<nixpkgs/nixos>' --no-out-link -A system "${extraBuildFlags[@]}")" ··· 552 # default and/or activate it now. 553 if [[ "$action" = switch || "$action" = boot || "$action" = test || "$action" = dry-activate ]]; then 554 if ! targetHostCmd "$pathToConfig/bin/switch-to-configuration" "$action"; then 555 + log "warning: error(s) occurred while switching to the new configuration" 556 exit 1 557 fi 558 fi
+32
pkgs/os-specific/linux/projecteur/default.nix
···
··· 1 + { lib, mkDerivation, fetchFromGitHub, 2 + cmake, pkg-config, 3 + qtbase, qtgraphicaleffects, wrapQtAppsHook }: 4 + mkDerivation rec { 5 + pname = "projecteur"; 6 + version = "0.9.2"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "jahnf"; 10 + repo = "Projecteur"; 11 + rev = "v${version}"; 12 + fetchSubmodules = false; 13 + sha256 = "sha256-kg6oYtJ4H5A6RNATBg+XvMfCb9FlhEBFjfxamGosMQg="; 14 + }; 15 + 16 + buildInputs = [ qtbase qtgraphicaleffects ]; 17 + nativeBuildInputs = [ wrapQtAppsHook cmake pkg-config ]; 18 + 19 + cmakeFlags = [ 20 + "-DCMAKE_INSTALL_PREFIX:PATH=${placeholder "out"}" 21 + "-DPACKAGE_TARGETS=OFF" 22 + "-DCMAKE_INSTALL_UDEVRULESDIR=${placeholder "out"}/lib/udev/rules.d" 23 + ]; 24 + 25 + meta = with lib; { 26 + description = "Linux/X11 application for the Logitech Spotlight device (and similar devices)."; 27 + homepage = "https://github.com/jahnf/Projecteur"; 28 + license = licenses.mit; 29 + platforms = platforms.linux; 30 + maintainers = with maintainers; [ benneti ]; 31 + }; 32 + }
+3 -3
pkgs/os-specific/linux/rtl8192eu/default.nix
··· 6 7 in stdenv.mkDerivation rec { 8 pname = "rtl8192eu"; 9 - version = "${kernel.version}-4.4.1.20211023"; 10 11 src = fetchFromGitHub { 12 owner = "Mange"; 13 repo = "rtl8192eu-linux-driver"; 14 - rev = "744bbe52976e51895fce2c1d4075f97a98dca2b2"; 15 - sha256 = "1ayb3fljvpljwcgi47h8vj2d2w5imqyjxc7mvmfrvmilzg5d5cj7"; 16 }; 17 18 hardeningDisable = [ "pic" ];
··· 6 7 in stdenv.mkDerivation rec { 8 pname = "rtl8192eu"; 9 + version = "${kernel.version}-4.4.1.20220313"; 10 11 src = fetchFromGitHub { 12 owner = "Mange"; 13 repo = "rtl8192eu-linux-driver"; 14 + rev = "e0f967cea1d0037c730246c572f7fef000865ff7"; 15 + sha256 = "sha256-Wgp1MZ/z8AxbZPYsmR6t7Q4nsL0TFEqTEsrkkWPI6gI="; 16 }; 17 18 hardeningDisable = [ "pic" ];
+4 -4
pkgs/os-specific/linux/rtl8821cu/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "rtl8821cu"; 5 - version = "${kernel.version}-unstable-2021-10-21"; 6 7 src = fetchFromGitHub { 8 owner = "morrownr"; 9 - repo = "8821cu"; 10 - rev = "4e2d84c5e70245f850877f355e8bf293f252f61c"; 11 - sha256 = "1j32psvfgzfs5b1pdff6xk76iz7j8scakji6zm3vgqb2ssbxx1k1"; 12 }; 13 14 hardeningDisable = [ "pic" ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "rtl8821cu"; 5 + version = "${kernel.version}-unstable-2022-03-08"; 6 7 src = fetchFromGitHub { 8 owner = "morrownr"; 9 + repo = "8821cu-20210118"; 10 + rev = "4bdd7c8668562e43564cd5d786055633e591ad4d"; 11 + sha256 = "sha256-dfvDpjsra/nHwIGywOkZICTEP/Ex7ooH4zzkXqAaDkI="; 12 }; 13 14 hardeningDisable = [ "pic" ];
+2 -2
pkgs/os-specific/linux/rtl88xxau-aircrack/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, kernel }: 2 3 let 4 - rev = "307d694076b056588c652c2bdaa543a89eb255d9"; 5 in 6 stdenv.mkDerivation rec { 7 pname = "rtl88xxau-aircrack"; ··· 11 owner = "aircrack-ng"; 12 repo = "rtl8812au"; 13 inherit rev; 14 - sha256 = "sha256-iSJnKWc+LxGHUhb/wbFSMh7w6Oi9v4v5V+R+LI96X7w="; 15 }; 16 17 buildInputs = kernel.moduleBuildDependencies;
··· 1 { lib, stdenv, fetchFromGitHub, kernel }: 2 3 let 4 + rev = "37e27f9165300c89607144b646545fac576ec510"; 5 in 6 stdenv.mkDerivation rec { 7 pname = "rtl88xxau-aircrack"; ··· 11 owner = "aircrack-ng"; 12 repo = "rtl8812au"; 13 inherit rev; 14 + sha256 = "sha256-TpmpueKAaCe7Nlmv8pMvgMXGVmXVa/1mBwtEoy4JyCY="; 15 }; 16 17 buildInputs = kernel.moduleBuildDependencies;
-2
pkgs/servers/amqp/qpid-cpp/default.nix
··· 12 13 meta = with lib; { 14 homepage = "https://qpid.apache.org"; 15 - repositories.git = "git://git.apache.org/qpid.git"; 16 - repositories.svn = "http://svn.apache.org/repos/asf/qpid"; 17 description = "An AMQP message broker and a C++ messaging API"; 18 license = licenses.asl20; 19 platforms = platforms.linux;
··· 12 13 meta = with lib; { 14 homepage = "https://qpid.apache.org"; 15 description = "An AMQP message broker and a C++ messaging API"; 16 license = licenses.asl20; 17 platforms = platforms.linux;
+3 -3
pkgs/servers/dns/https-dns-proxy/default.nix
··· 3 stdenv.mkDerivation rec { 4 pname = "https-dns-proxy"; 5 # there are no stable releases (yet?) 6 - version = "unstable-20200419"; 7 8 src = fetchFromGitHub { 9 owner = "aarond10"; 10 repo = "https_dns_proxy"; 11 - rev = "79fc7b085e3b1ad64c8332f7115dfe2bf5f1f3e4"; 12 - sha256 = "1cdfswfjby4alp6gy7yyjm76kfyclh5ax0zadnqs2pyigg9plh0b"; 13 }; 14 15 nativeBuildInputs = [ cmake gtest ];
··· 3 stdenv.mkDerivation rec { 4 pname = "https-dns-proxy"; 5 # there are no stable releases (yet?) 6 + version = "unstable-2021-03-29"; 7 8 src = fetchFromGitHub { 9 owner = "aarond10"; 10 repo = "https_dns_proxy"; 11 + rev = "bbd9ef272dcda3ead515871f594768af13192af7"; 12 + sha256 = "sha256-r+IpDklI3vITK8ZlZvIFm3JdDe2r8DK2ND3n1a/ThrM="; 13 }; 14 15 nativeBuildInputs = [ cmake gtest ];
+2 -2
pkgs/servers/icingaweb2/default.nix
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "icingaweb2"; 5 - version = "2.9.6"; 6 7 src = fetchFromGitHub { 8 owner = "Icinga"; 9 repo = "icingaweb2"; 10 rev = "v${version}"; 11 - sha256 = "sha256:1kcn1kkhm8fkwhjqmpysd2hvnrvh6bka8r67yq8d58m117l9wnpq"; 12 }; 13 14 nativeBuildInputs = [ makeWrapper ];
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "icingaweb2"; 5 + version = "2.10.0"; 6 7 src = fetchFromGitHub { 8 owner = "Icinga"; 9 repo = "icingaweb2"; 10 rev = "v${version}"; 11 + sha256 = "sha256:0fhhq6mzpwj3dh6w583n4sngshf15dm8zgbli5cacy7jkzmsz0wn"; 12 }; 13 14 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/servers/icingaweb2/ipl.nix
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "icingaweb2-ipl"; 5 - version = "0.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "Icinga"; 9 repo = "icinga-php-library"; 10 rev = "v${version}"; 11 - sha256 = "sha256:118bg9mxjxajm2ydbycgqdmdx8przwxblsaxc373r0g1dp1lv0fz"; 12 }; 13 14 installPhase = ''
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "icingaweb2-ipl"; 5 + version = "0.8.0"; 6 7 src = fetchFromGitHub { 8 owner = "Icinga"; 9 repo = "icinga-php-library"; 10 rev = "v${version}"; 11 + sha256 = "sha256:05k0qcd5c5xb124dpp6lvfdh4dzf6bkd34v4sy7aj776p4hrlqx2"; 12 }; 13 14 installPhase = ''
+5 -3
pkgs/servers/keycloak/default.nix
··· 50 ln -s ${mkModuleXml "com.mysql" "mysql-connector-java.jar"} $module_path/com/mysql/main/module.xml 51 ''} 52 53 - wrapProgram $out/bin/standalone.sh --set JAVA_HOME ${jre} 54 - wrapProgram $out/bin/add-user-keycloak.sh --set JAVA_HOME ${jre} 55 - wrapProgram $out/bin/jboss-cli.sh --set JAVA_HOME ${jre} 56 ''; 57 58 passthru.tests = nixosTests.keycloak;
··· 50 ln -s ${mkModuleXml "com.mysql" "mysql-connector-java.jar"} $module_path/com/mysql/main/module.xml 51 ''} 52 53 + for script in add-user-keycloak.sh add-user.sh domain.sh elytron-tool.sh jboss-cli.sh jconsole.sh jdr.sh standalone.sh wsconsume.sh wsprovide.sh; do 54 + wrapProgram $out/bin/$script --set JAVA_HOME ${jre} 55 + done 56 + wrapProgram $out/bin/kcadm.sh --prefix PATH : ${jre}/bin 57 + wrapProgram $out/bin/kcreg.sh --prefix PATH : ${jre}/bin 58 ''; 59 60 passthru.tests = nixosTests.keycloak;
+5
pkgs/servers/klipper/default.nix
··· 36 mkdir -p $out/lib/klipper 37 cp -r ./* $out/lib/klipper 38 39 chmod 755 $out/lib/klipper/klippy.py 40 runHook postInstall 41 '';
··· 36 mkdir -p $out/lib/klipper 37 cp -r ./* $out/lib/klipper 38 39 + # Moonraker expects `config_examples` and `docs` to be available 40 + # under `klipper_path` 41 + cp -r $src/docs $out/lib/docs 42 + cp -r $src/config $out/lib/config 43 + 44 chmod 755 $out/lib/klipper/klippy.py 45 runHook postInstall 46 '';
-1
pkgs/servers/memcached/default.nix
··· 22 23 meta = with lib; { 24 description = "A distributed memory object caching system"; 25 - repositories.git = "https://github.com/memcached/memcached.git"; 26 homepage = "http://memcached.org/"; 27 license = licenses.bsd3; 28 maintainers = [ maintainers.coconnor ];
··· 22 23 meta = with lib; { 24 description = "A distributed memory object caching system"; 25 homepage = "http://memcached.org/"; 26 license = licenses.bsd3; 27 maintainers = [ maintainers.coconnor ];
+3 -3
pkgs/servers/minio/default.nix
··· 15 in 16 buildGoModule rec { 17 pname = "minio"; 18 - version = "2022-03-17T06-34-49Z"; 19 20 src = fetchFromGitHub { 21 owner = "minio"; 22 repo = "minio"; 23 rev = "RELEASE.${version}"; 24 - sha256 = "sha256-iHwFkxfSLrtzSiOmfVFggBvfL0SL6ZLVJWMGK3RHZGU="; 25 }; 26 27 - vendorSha256 = "sha256-ujkrbP7FuL7jdYTRaGMEYha1BJKJnpCssuO47XGMBGo="; 28 29 doCheck = false; 30
··· 15 in 16 buildGoModule rec { 17 pname = "minio"; 18 + version = "2022-03-22T02-05-10Z"; 19 20 src = fetchFromGitHub { 21 owner = "minio"; 22 repo = "minio"; 23 rev = "RELEASE.${version}"; 24 + sha256 = "sha256-N0ua+XHkLr33PElSdOzVQF3POPU+lx4/M6LJzxtkisI="; 25 }; 26 27 + vendorSha256 = "sha256-Ql3J2r489Hzhy6E9uZwQXJIw/njb5oafCYjOyWGzbXs="; 28 29 doCheck = false; 30
+3 -3
pkgs/servers/monitoring/prometheus/blackbox-exporter.nix
··· 2 3 buildGoModule rec { 4 pname = "blackbox_exporter"; 5 - version = "0.19.0"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "prometheus"; 10 repo = "blackbox_exporter"; 11 - sha256 = "1lrabbp6nsd9h3hs3y5a37yl4g8zzkv0m3vhz2vrir3wmfn07n4g"; 12 }; 13 14 - vendorSha256 = "1wi9dmbxb6i1qglnp1v0lkqpp7l29lrbsg4lvx052nkcwkgq8g1y"; 15 16 # dns-lookup is performed for the tests 17 doCheck = false;
··· 2 3 buildGoModule rec { 4 pname = "blackbox_exporter"; 5 + version = "0.20.0"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "prometheus"; 10 repo = "blackbox_exporter"; 11 + sha256 = "sha256-Y3HdFIChkQVooxy2I2Gbqw3WLHsI4Zm+osHTzFluRZA="; 12 }; 13 14 + vendorSha256 = "sha256-KFLR0In4txQQp5dt8P0yAFtf82b4SBq2xMnlz+vMuuU="; 15 16 # dns-lookup is performed for the tests 17 doCheck = false;
+11 -1
pkgs/servers/monitoring/prometheus/node-exporter.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, nixosTests }: 2 3 buildGoModule rec { 4 pname = "node_exporter"; ··· 16 17 # FIXME: tests fail due to read-only nix store 18 doCheck = false; 19 20 excludedPackages = [ "docs/node-mixin" ]; 21
··· 1 + { lib, stdenv, buildGoModule, fetchFromGitHub, nixosTests 2 + # darwin 3 + , CoreFoundation, IOKit 4 + }: 5 6 buildGoModule rec { 7 pname = "node_exporter"; ··· 19 20 # FIXME: tests fail due to read-only nix store 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 ]; 29 30 excludedPackages = [ "docs/node-mixin" ]; 31
+17
pkgs/servers/monitoring/prometheus/node-exporter/node-exporter-darwin.patch
···
··· 1 + diff --git a/collector/powersupplyclass_darwin.go b/collector/powersupplyclass_darwin.go 2 + index a070f64..01d7f18 100644 3 + --- a/collector/powersupplyclass_darwin.go 4 + +++ b/collector/powersupplyclass_darwin.go 5 + @@ -18,9 +18,11 @@ package collector 6 + 7 + /* 8 + #cgo LDFLAGS: -framework IOKit -framework CoreFoundation 9 + +#include <CoreFoundation/CFNumber.h> 10 + +#include <CoreFoundation/CFRunLoop.h> 11 + +#include <CoreFoundation/CFString.h> 12 + #include <IOKit/ps/IOPowerSources.h> 13 + #include <IOKit/ps/IOPSKeys.h> 14 + -#include <CoreFoundation/CFArray.h> 15 + 16 + // values collected from IOKit Power Source APIs 17 + // Functions documentation available at
+14 -6
pkgs/servers/moonraker/default.nix
··· 1 - { lib, stdenvNoCC, fetchFromGitHub, python3, makeWrapper, unstableGitUpdater }: 2 3 let 4 pythonEnv = python3.withPackages (packages: with packages; [ 5 tornado 6 - pyserial 7 pillow 8 lmdb 9 streaming-form-data ··· 12 libnacl 13 paho-mqtt 14 pycurl 15 ]); 16 in stdenvNoCC.mkDerivation rec { 17 pname = "moonraker"; 18 - version = "unstable-2021-12-05"; 19 20 src = fetchFromGitHub { 21 owner = "Arksine"; 22 repo = "moonraker"; 23 - rev = "ac73036857cc1ca83df072dd94bf28eb9d0ed8b0"; 24 - sha256 = "Oqjt0z4grt+hdQ4t7KQSwkkCeRGoFFedJsTpMHwMm34="; 25 }; 26 27 nativeBuildInputs = [ makeWrapper ]; ··· 34 --add-flags "$out/lib/moonraker/moonraker.py" 35 ''; 36 37 - passthru.updateScript = unstableGitUpdater { url = meta.homepage; }; 38 39 meta = with lib; { 40 description = "API web server for Klipper";
··· 1 + { lib, stdenvNoCC, fetchFromGitHub, python3, makeWrapper, unstableGitUpdater, nixosTests }: 2 3 let 4 pythonEnv = python3.withPackages (packages: with packages; [ 5 tornado 6 + pyserial-asyncio 7 pillow 8 lmdb 9 streaming-form-data ··· 12 libnacl 13 paho-mqtt 14 pycurl 15 + zeroconf 16 + preprocess-cancellation 17 + jinja2 18 + dbus-next 19 + apprise 20 ]); 21 in stdenvNoCC.mkDerivation rec { 22 pname = "moonraker"; 23 + version = "unstable-2022-03-10"; 24 25 src = fetchFromGitHub { 26 owner = "Arksine"; 27 repo = "moonraker"; 28 + rev = "ee312ee9c6597c8d077d7c3208ccea4e696c97ca"; 29 + sha256 = "l0VOQIfKgZ/Je4z+SKhWMgYzxye8WKs9W1GkNs7kABo="; 30 }; 31 32 nativeBuildInputs = [ makeWrapper ]; ··· 39 --add-flags "$out/lib/moonraker/moonraker.py" 40 ''; 41 42 + passthru = { 43 + updateScript = unstableGitUpdater { url = meta.homepage; }; 44 + tests.moonraker = nixosTests.moonraker; 45 + }; 46 47 meta = with lib; { 48 description = "API web server for Klipper";
+4 -4
pkgs/servers/nextcloud/default.nix
··· 46 ''; 47 48 nextcloud22 = generic { 49 - version = "22.2.5"; 50 - sha256 = "sha256-gb5N0u5tu4/nI2xIpjXwm2hiSDCrBhIDyN6gKGOsdS8="; 51 }; 52 53 nextcloud23 = generic { 54 - version = "23.0.2"; 55 - sha256 = "sha256-ngJGLTjqq2RX/KgHe9Rv54w6qtRC6RpuEuMvp9UbxO4="; 56 }; 57 # tip: get she sha with: 58 # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
··· 46 ''; 47 48 nextcloud22 = generic { 49 + version = "22.2.6"; 50 + sha256 = "0f1d0f0cb000c51b11886be25a8adce478846c3233572fcf28b44c5d4036e235"; 51 }; 52 53 nextcloud23 = generic { 54 + version = "23.0.3"; 55 + sha256 = "39401d400fab02a84a175ea6e995b8ed4110fbaea48c876230b4f09755a62986"; 56 }; 57 # tip: get she sha with: 58 # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
+3 -3
pkgs/servers/plex/raw.nix
··· 12 # server, and the FHS userenv and corresponding NixOS module should 13 # automatically pick up the changes. 14 stdenv.mkDerivation rec { 15 - version = "1.25.7.5604-980a13e02"; 16 pname = "plexmediaserver"; 17 18 # Fetch the source 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 - hash = "sha256-X0KaaX5NvF04pyRHSUeHtXQ+OTv9BK0bzDl1J5C6Vts="; 22 } else fetchurl { 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 - hash = "sha256-tqpOQDdHBl55jSyonNV7/UjCcx6jY9VdAzh/zBA/CAs="; 25 }; 26 27 outputs = [ "out" "basedb" ];
··· 12 # server, and the FHS userenv and corresponding NixOS module should 13 # automatically pick up the changes. 14 stdenv.mkDerivation rec { 15 + version = "1.25.8.5663-e071c3d62"; 16 pname = "plexmediaserver"; 17 18 # Fetch the source 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 + hash = "sha256-w9k8phyiA/sK+zRlK8PAciebt5UJvmVFA+cfx4r78Gs="; 22 } else fetchurl { 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 + hash = "sha256-baOofe+7PZfLhwIXrB1ibKkkEJRVivgGHDN4phlg57Q="; 25 }; 26 27 outputs = [ "out" "basedb" ];
+2 -2
pkgs/servers/sql/patroni/default.nix
··· 5 6 pythonPackages.buildPythonApplication rec { 7 pname = "patroni"; 8 - version = "2.0.2"; 9 10 src = fetchFromGitHub { 11 owner = "zalando"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "048g211njwmgl2v7nx6x5x82b4bbp35n234z7ah10aybm3yrxnc7"; 15 }; 16 17 # cdiff renamed to ydiff; remove when patroni source reflects this.
··· 5 6 pythonPackages.buildPythonApplication rec { 7 pname = "patroni"; 8 + version = "2.1.3"; 9 10 src = fetchFromGitHub { 11 owner = "zalando"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-cBkiBrty/6A3rIv9A1oh8GvPjwxhHwYEKuDIsNzHw1g="; 15 }; 16 17 # cdiff renamed to ydiff; remove when patroni source reflects this.
+4 -11
pkgs/servers/varnish/default.nix
··· 51 version = "6.0.10"; 52 sha256 = "1sr60wg5mzjb14y75cga836f19sbmmpgh13mwc4alyg3irsbz1bb"; 53 }; 54 - varnish70 = (common { 55 - version = "7.0.2"; 56 - sha256 = "0q9z1iilqwbh5flfy9pl18kxv0yjs5z91c4j81z5pgyjd9d4jjjj"; 57 - }).overrideAttrs (oA: { 58 - patches = [ 59 - (fetchpatch { 60 - url = "https://github.com/varnishcache/varnish-cache/commit/20e007a5b17c1f68f70ab42080de384f9e192900.patch"; 61 - sha256 = "0vvihbjknb0skdv2ksn2lz89pwmn4f2rjmb6q65cvgnnjfj46s82"; 62 - }) 63 - ]; 64 - }); 65 }
··· 51 version = "6.0.10"; 52 sha256 = "1sr60wg5mzjb14y75cga836f19sbmmpgh13mwc4alyg3irsbz1bb"; 53 }; 54 + varnish71 = common { 55 + version = "7.1.0"; 56 + sha256 = "1flyqr212jamqpwafdil170vc966r1mbb7n3ngjn8xk6hn3bhjpm"; 57 + }; 58 }
+3 -3
pkgs/servers/varnish/packages.nix
··· 1 - { callPackages, callPackage, varnish60, varnish70, fetchFromGitHub }: { 2 varnish60Packages = rec { 3 varnish = varnish60; 4 modules = (callPackages ./modules.nix { inherit varnish; }).modules15; ··· 13 sha256 = "1n94slrm6vn3hpymfkla03gw9603jajclg84bjhwb8kxsk3rxpmk"; 14 }; 15 }; 16 - varnish70Packages = rec { 17 - varnish = varnish70; 18 modules = (callPackages ./modules.nix { inherit varnish; }).modules19; 19 digest = callPackage ./digest.nix { 20 inherit varnish;
··· 1 + { callPackages, callPackage, varnish60, varnish71, fetchFromGitHub }: { 2 varnish60Packages = rec { 3 varnish = varnish60; 4 modules = (callPackages ./modules.nix { inherit varnish; }).modules15; ··· 13 sha256 = "1n94slrm6vn3hpymfkla03gw9603jajclg84bjhwb8kxsk3rxpmk"; 14 }; 15 }; 16 + varnish71Packages = rec { 17 + varnish = varnish71; 18 modules = (callPackages ./modules.nix { inherit varnish; }).modules19; 19 digest = callPackage ./digest.nix { 20 inherit varnish;
+3 -3
pkgs/shells/zsh/oh-my-zsh/default.nix
··· 5 , git, nix, nixfmt, jq, coreutils, gnused, curl, cacert }: 6 7 stdenv.mkDerivation rec { 8 - version = "2022-03-18"; 9 pname = "oh-my-zsh"; 10 - rev = "c96fc233c4903ba75fba5bc55e7f91f9dc8e460e"; 11 12 src = fetchFromGitHub { 13 inherit rev; 14 owner = "ohmyzsh"; 15 repo = "ohmyzsh"; 16 - sha256 = "HCFbdo08Um3ut9SngtHDbl/w265G6OOb+RF/liE1Rlg="; 17 }; 18 19 installPhase = ''
··· 5 , git, nix, nixfmt, jq, coreutils, gnused, curl, cacert }: 6 7 stdenv.mkDerivation rec { 8 + version = "2022-03-22"; 9 pname = "oh-my-zsh"; 10 + rev = "50113a53f379b7d98e6921ba58e8440324beb32c"; 11 12 src = fetchFromGitHub { 13 inherit rev; 14 owner = "ohmyzsh"; 15 repo = "ohmyzsh"; 16 + sha256 = "RBaJ6/NmPS106xWEj47zBsTWSOp19aq3WTyXcdA5T3c="; 17 }; 18 19 installPhase = ''
-1
pkgs/stdenv/generic/check-meta.nix
··· 240 outputsToInstall = listOf str; 241 position = str; 242 available = bool; 243 - repositories = attrsOf str; 244 isBuildPythonPackage = platforms; 245 schedulingPriority = int; 246 isFcitxEngine = bool;
··· 240 outputsToInstall = listOf str; 241 position = str; 242 available = bool; 243 isBuildPythonPackage = platforms; 244 schedulingPriority = int; 245 isFcitxEngine = bool;
+3 -3
pkgs/test/nixos-functions/default.nix
··· 26 fileSystems."/".device = "/dev/null"; 27 }).toplevel; 28 29 - nixosTest-test = pkgs.nixosTest ({ lib, pkgs, ... }: { 30 name = "nixosTest-test"; 31 machine = { pkgs, ... }: { 32 system.nixos = dummyVersioning; 33 - environment.systemPackages = [ pkgs.hello ]; 34 }; 35 testScript = '' 36 - machine.succeed("hello") 37 ''; 38 }); 39
··· 26 fileSystems."/".device = "/dev/null"; 27 }).toplevel; 28 29 + nixosTest-test = pkgs.nixosTest ({ lib, pkgs, figlet, ... }: { 30 name = "nixosTest-test"; 31 machine = { pkgs, ... }: { 32 system.nixos = dummyVersioning; 33 + environment.systemPackages = [ pkgs.hello figlet ]; 34 }; 35 testScript = '' 36 + machine.succeed("hello | figlet >/dev/console") 37 ''; 38 }); 39
+40 -40
pkgs/tools/admin/pulumi/data.nix
··· 29 sha256 = "07zwhy1jfgwqcybyalrlwrqfkddk1xkqgb9g8dmgs2krx8fp9bsv"; 30 } 31 { 32 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v4.38.1-linux-amd64.tar.gz"; 33 - sha256 = "0rwkdizd1hqn86vfkxli7l4syp860rgil2m01l76pbpcx11yc7zb"; 34 } 35 { 36 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-linux-amd64.tar.gz"; ··· 73 sha256 = "0n1xqsfsqi773lwg9xbvglrd4pfb060fq8llxf06qj8h2imlxx34"; 74 } 75 { 76 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.16.0-linux-amd64.tar.gz"; 77 - sha256 = "10lm10affn92qwzgry2iab5ry6bcnx5iiy2cihxk9kgb6716wql3"; 78 } 79 { 80 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.0-linux-amd64.tar.gz"; 81 - sha256 = "1lni4wzmdhjbchjjx9z5iqawv4x1bixl3s541h39cr4x3y36m66m"; 82 } 83 { 84 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-linux-amd64.tar.gz"; ··· 117 sha256 = "05nfdwgfzi5f3hgj2g6dccaidqf9a9xzlv5vp3cd1rsxd159yk9j"; 118 } 119 { 120 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.1-linux-amd64.tar.gz"; 121 - sha256 = "1yianshwmlxs70h4a19c9006n29rp6qz3nf6n0kb5l52psmq679m"; 122 } 123 { 124 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.1-linux-amd64.tar.gz"; 125 - sha256 = "0a1q41cl9r93n8zvl25sd33mxvi0ysa10lz84x59sybfay4f7ppc"; 126 } 127 { 128 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-linux-amd64.tar.gz"; ··· 187 sha256 = "0bz177xi0ifhx14jq01i94gdqgjsivikmhrf24y27k96jq7n15ld"; 188 } 189 { 190 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v4.38.1-darwin-amd64.tar.gz"; 191 - sha256 = "0qaf9q7ijkysvvnxrb942c2r6hj4y97kjfxnlwgjx1jvnv1l9859"; 192 } 193 { 194 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-darwin-amd64.tar.gz"; ··· 231 sha256 = "0i3aysdy7i13fx2a2kpnvd3qpn7vmc2mbln718kks3mikiz26aii"; 232 } 233 { 234 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.16.0-darwin-amd64.tar.gz"; 235 - sha256 = "1sdir66pqdxy5zwbx1ssv8bl63zvbzfapl3j5dl99zgjaw4k3mgx"; 236 } 237 { 238 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.0-darwin-amd64.tar.gz"; 239 - sha256 = "0i49x5s7sw69y19qmsrbrwhmjv7g07qrs5a3l1l8bsqawif5r65z"; 240 } 241 { 242 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-darwin-amd64.tar.gz"; ··· 275 sha256 = "0q19sh7l1mjl40i5vdsrjfldncxnicalmlgv3yjkw5xpxkgr98z0"; 276 } 277 { 278 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.1-darwin-amd64.tar.gz"; 279 - sha256 = "13r63s8llr3v1jvl790gcirm0n1m3nhkalrdpm9ssnhyrgfcxpj0"; 280 } 281 { 282 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.1-darwin-amd64.tar.gz"; 283 - sha256 = "1wswpqliibq1kr8vv4l6kqw57cbw76nrh4fnvdzvrcl4rhpbjrc8"; 284 } 285 { 286 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-darwin-amd64.tar.gz"; ··· 345 sha256 = "0y519wmpq6iin20kqidw7b2zkqr6zky09lfsi10klbn0gzfpwbl5"; 346 } 347 { 348 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v4.38.1-linux-arm64.tar.gz"; 349 - sha256 = "0wv7c6sp4i64wq5v90k4zpxnzyrhhv34cwa1i4g4pgqfh6ahaz56"; 350 } 351 { 352 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-linux-arm64.tar.gz"; ··· 389 sha256 = "0qpan6zvny2h2ckigwnf4dhsgmnywam1m4d2jp0nj9pm3628pldv"; 390 } 391 { 392 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.16.0-linux-arm64.tar.gz"; 393 - sha256 = "0f8n8q1in0n4z2lzd0y065ksszv05dgn2lgsa8snmxlwfkrx955h"; 394 } 395 { 396 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.0-linux-arm64.tar.gz"; 397 - sha256 = "0p8lr9iw1h9ax90aivya513bw1dipm7yycqm5094wgx08r2yfvlm"; 398 } 399 { 400 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-linux-arm64.tar.gz"; ··· 433 sha256 = "0j2c23ii4dn9yhpw6nymij65gv82y1xp4gi8lgxxf41b1i9bpb2i"; 434 } 435 { 436 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.1-linux-arm64.tar.gz"; 437 - sha256 = "1jac7dj7vsrhcn0fp03bkwmp3km4gxsi9mc5fzjgkmbhh5xnhw3b"; 438 } 439 { 440 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.1-linux-arm64.tar.gz"; 441 - sha256 = "15cd5g1kdjrfpcsicb4zgwb3q8q2h4xmkwdwbj0m2rys5ygayy2k"; 442 } 443 { 444 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-linux-arm64.tar.gz"; ··· 503 sha256 = "174dk82cx35i9x1f1kavydg3qyqax0lhl7637d2n17ca97xa7y8p"; 504 } 505 { 506 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v4.38.1-darwin-arm64.tar.gz"; 507 - sha256 = "096xd57z12rabv5375w3nb6zxsnva3nwrvjjxsr4h0sa0yip7sh0"; 508 } 509 { 510 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-darwin-arm64.tar.gz"; ··· 547 sha256 = "0jj35mj57sivi5qsbwv8qm2jginppi192qlx6ashvgm352gia9r1"; 548 } 549 { 550 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.16.0-darwin-arm64.tar.gz"; 551 - sha256 = "16llbsp06pszh4q232ly8nnj1pfr6f4p88a5k928716csh3zradq"; 552 } 553 { 554 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.0-darwin-arm64.tar.gz"; 555 - sha256 = "167f7c7mpyjym0sw71adz5ffd7g8zmn87923xmjlrsz3wm6ybsq7"; 556 } 557 { 558 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-darwin-arm64.tar.gz"; ··· 591 sha256 = "1i5ipmidg0yspayxyglbjaihajhj1bsk46saxkncfrkvqnh4iq50"; 592 } 593 { 594 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.1-darwin-arm64.tar.gz"; 595 - sha256 = "12zlmihrrcwbmy4q4ysvmz6nys547g914nl8g8vnwviijqlx05df"; 596 } 597 { 598 - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.1-darwin-arm64.tar.gz"; 599 - sha256 = "0gg80cg2f9d5ah4j7b1i6pxx7ffhbg4pcax319vymcsl9srh51hp"; 600 } 601 { 602 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-darwin-arm64.tar.gz";
··· 29 sha256 = "07zwhy1jfgwqcybyalrlwrqfkddk1xkqgb9g8dmgs2krx8fp9bsv"; 30 } 31 { 32 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v5.0.0-linux-amd64.tar.gz"; 33 + sha256 = "1h9pypyl6k1qhvwd6vkzahwmva6zbjribfh04rydhw4gn3rhlzrd"; 34 } 35 { 36 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-linux-amd64.tar.gz"; ··· 73 sha256 = "0n1xqsfsqi773lwg9xbvglrd4pfb060fq8llxf06qj8h2imlxx34"; 74 } 75 { 76 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.17.0-linux-amd64.tar.gz"; 77 + sha256 = "1dbkkrb66iz2z66bj6qhhwhaz3s0md1xgm4mgw0bcdlirkrv1kpd"; 78 } 79 { 80 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.1-linux-amd64.tar.gz"; 81 + sha256 = "0bs0haa863a2qwwx140911mh2xprgyv316y98jcm8qbl03lmyzvs"; 82 } 83 { 84 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-linux-amd64.tar.gz"; ··· 117 sha256 = "05nfdwgfzi5f3hgj2g6dccaidqf9a9xzlv5vp3cd1rsxd159yk9j"; 118 } 119 { 120 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.2-linux-amd64.tar.gz"; 121 + sha256 = "0agf96ji7mzkf4k4axm1v3psm5wkml41714dz88rn0csq0b31ca9"; 122 } 123 { 124 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.2-linux-amd64.tar.gz"; 125 + sha256 = "0b3sj2waa3l6x4xrrsf1dq4ax3n7v5r8n0wzmk9cbgmdx97297df"; 126 } 127 { 128 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-linux-amd64.tar.gz"; ··· 187 sha256 = "0bz177xi0ifhx14jq01i94gdqgjsivikmhrf24y27k96jq7n15ld"; 188 } 189 { 190 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v5.0.0-darwin-amd64.tar.gz"; 191 + sha256 = "1kw005yvima4bjkg5sa8ynixgrcapdbcnxd6s4qpgjli6q4imx8h"; 192 } 193 { 194 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-darwin-amd64.tar.gz"; ··· 231 sha256 = "0i3aysdy7i13fx2a2kpnvd3qpn7vmc2mbln718kks3mikiz26aii"; 232 } 233 { 234 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.17.0-darwin-amd64.tar.gz"; 235 + sha256 = "1cwdy4yr3c7wcj3p0sg1k0q6b6sn0mhlpqkbdi4xfk990d88c78c"; 236 } 237 { 238 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.1-darwin-amd64.tar.gz"; 239 + sha256 = "0a8lycsgk2xawhg9yd6lkbfg7j6v6l3m0llvdzs0drb2k954wbym"; 240 } 241 { 242 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-darwin-amd64.tar.gz"; ··· 275 sha256 = "0q19sh7l1mjl40i5vdsrjfldncxnicalmlgv3yjkw5xpxkgr98z0"; 276 } 277 { 278 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.2-darwin-amd64.tar.gz"; 279 + sha256 = "1wmvmhxnjp32kp43fhjp8w9nrb0biki63w23l4zjxsdk7njply7c"; 280 } 281 { 282 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.2-darwin-amd64.tar.gz"; 283 + sha256 = "0digqqr920g2ahmbiyird7kidnk0j04bbzb9nr2p6lgmdd659ayq"; 284 } 285 { 286 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-darwin-amd64.tar.gz"; ··· 345 sha256 = "0y519wmpq6iin20kqidw7b2zkqr6zky09lfsi10klbn0gzfpwbl5"; 346 } 347 { 348 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v5.0.0-linux-arm64.tar.gz"; 349 + sha256 = "10ch53avymp9j7f41mapl4ffi005vddy8x39ya1kn682i6a0y1ks"; 350 } 351 { 352 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-linux-arm64.tar.gz"; ··· 389 sha256 = "0qpan6zvny2h2ckigwnf4dhsgmnywam1m4d2jp0nj9pm3628pldv"; 390 } 391 { 392 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.17.0-linux-arm64.tar.gz"; 393 + sha256 = "01pgzyy70f77cidh228gs72hybwchp65qvs748482wakjcmf44mn"; 394 } 395 { 396 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.1-linux-arm64.tar.gz"; 397 + sha256 = "1lrbl7x7hf1i7xx10cpxz17hihl8b6654wphz8s8g9lp0jryn6am"; 398 } 399 { 400 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-linux-arm64.tar.gz"; ··· 433 sha256 = "0j2c23ii4dn9yhpw6nymij65gv82y1xp4gi8lgxxf41b1i9bpb2i"; 434 } 435 { 436 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.2-linux-arm64.tar.gz"; 437 + sha256 = "1x8v39icapr8iakp9yd50md9dyvj63z7yj93cl3b07qlwr9lcvmv"; 438 } 439 { 440 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.2-linux-arm64.tar.gz"; 441 + sha256 = "0dbqyizvx8gxlidiqc390wjfix1hyikpan32q3hq8d4f8342vjks"; 442 } 443 { 444 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.15.0-linux-arm64.tar.gz"; ··· 503 sha256 = "174dk82cx35i9x1f1kavydg3qyqax0lhl7637d2n17ca97xa7y8p"; 504 } 505 { 506 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v5.0.0-darwin-arm64.tar.gz"; 507 + sha256 = "0jqbj8fmdmsvr86vy7w6i89jm6pnhs7nchxarsqrlx1lb3qpg2xq"; 508 } 509 { 510 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v5.18.0-darwin-arm64.tar.gz"; ··· 547 sha256 = "0jj35mj57sivi5qsbwv8qm2jginppi192qlx6ashvgm352gia9r1"; 548 } 549 { 550 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v6.17.0-darwin-arm64.tar.gz"; 551 + sha256 = "06lgq9p5mgqaifl4lrr5csbprx0j3khq93x29j4jvq5kw1qa3gc5"; 552 } 553 { 554 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-github-v4.10.1-darwin-arm64.tar.gz"; 555 + sha256 = "1hx8rsf9yysvjg6df8dxzz8kqci000jxzg8wwxjfhcfb9adzjmy8"; 556 } 557 { 558 url = "https://api.pulumi.com/releases/plugins/pulumi-resource-gitlab-v4.6.0-darwin-arm64.tar.gz"; ··· 591 sha256 = "1i5ipmidg0yspayxyglbjaihajhj1bsk46saxkncfrkvqnh4iq50"; 592 } 593 { 594 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-random-v4.4.2-darwin-arm64.tar.gz"; 595 + sha256 = "1rbig2n5x2lzxpscnja0ya9a68z3jk0qz2zwdnzi66xy7i3zd39l"; 596 } 597 { 598 + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v0.5.2-darwin-arm64.tar.gz"; 599 + sha256 = "1r1ln833jfi7hpyfb0cbg8vgam1wghdgr03m75w4hbds5nllw3zm"; 600 } 601 { 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 3 buildGoModule rec { 4 pname = "syft"; 5 - version = "0.42.2"; 6 7 src = fetchFromGitHub { 8 owner = "anchore"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-ejyUe2FM8pNQO9esWi9QbSiq6PVEjGbRu+AEnbCFqDE="; 12 # populate values that require us to use git. By doing this in postFetch we 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 leaveDotGit = true; ··· 20 find "$out" -name .git -print0 | xargs -0 rm -rf 21 ''; 22 }; 23 - vendorSha256 = "sha256-o5Gq4ZN9H/rXSfIeU2hlExzV5KQZP9DfQsWbOZOB43E="; 24 25 nativeBuildInputs = [ installShellFiles ]; 26
··· 2 3 buildGoModule rec { 4 pname = "syft"; 5 + version = "0.42.4"; 6 7 src = fetchFromGitHub { 8 owner = "anchore"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-cHjtANCHEuEthfmPmV5MDw4LYY6XI+aux9Gijld7KGc="; 12 # populate values that require us to use git. By doing this in postFetch we 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 leaveDotGit = true; ··· 20 find "$out" -name .git -print0 | xargs -0 rm -rf 21 ''; 22 }; 23 + vendorSha256 = "sha256-+dul6aMsuObmWU8mu+ZnEcWhHo5ClenEDIhKbg3zjB0="; 24 25 nativeBuildInputs = [ installShellFiles ]; 26
+1 -1
pkgs/tools/audio/tts/default.nix
··· 57 ''-e 's/${package}.*[<>=]+.*/${package}/g' \'' 58 ) relaxedConstraints)} 59 requirements.txt 60 ''; 61 62 nativeBuildInputs = with python.pkgs; [ ··· 84 pyworld 85 scipy 86 soundfile 87 - tensorboardx 88 tensorflow 89 torchaudio-bin 90 tqdm
··· 57 ''-e 's/${package}.*[<>=]+.*/${package}/g' \'' 58 ) relaxedConstraints)} 59 requirements.txt 60 + sed -i '/tensorboardX/d' requirements.txt 61 ''; 62 63 nativeBuildInputs = with python.pkgs; [ ··· 85 pyworld 86 scipy 87 soundfile 88 tensorflow 89 torchaudio-bin 90 tqdm
+2 -2
pkgs/tools/misc/esphome/default.nix
··· 15 in 16 with python.pkgs; buildPythonApplication rec { 17 pname = "esphome"; 18 - version = "2022.2.6"; 19 format = "setuptools"; 20 21 src = fetchFromGitHub { 22 owner = pname; 23 repo = pname; 24 rev = version; 25 - sha256 = "sha256-AoSFtEg7GpUBdIrFCYlOMBRc2nBBtiFEkxoZnKC/xyQ="; 26 }; 27 28 postPatch = ''
··· 15 in 16 with python.pkgs; buildPythonApplication rec { 17 pname = "esphome"; 18 + version = "2022.3.1"; 19 format = "setuptools"; 20 21 src = fetchFromGitHub { 22 owner = pname; 23 repo = pname; 24 rev = version; 25 + sha256 = "sha256-x2gdRUBpyhk6iKvuW6ZKSpokaHfYz1ugclBjP15rJsk="; 26 }; 27 28 postPatch = ''
-1
pkgs/tools/misc/mc/default.nix
··· 92 license = licenses.gpl2Plus; 93 maintainers = with maintainers; [ sander ]; 94 platforms = with platforms; linux ++ darwin; 95 - repositories.git = "https://github.com/MidnightCommander/mc.git"; 96 }; 97 }
··· 92 license = licenses.gpl2Plus; 93 maintainers = with maintainers; [ sander ]; 94 platforms = with platforms; linux ++ darwin; 95 }; 96 }
+3 -3
pkgs/tools/misc/mcfly/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "mcfly"; 5 - version = "0.5.13"; 6 7 src = fetchFromGitHub { 8 owner = "cantino"; 9 repo = "mcfly"; 10 rev = "v${version}"; 11 - sha256 = "sha256-6PGh+CUQH5LEV7/qctn+ihdZgqjt888wknXTfGPS3SI="; 12 }; 13 14 postPatch = '' ··· 17 substituteInPlace mcfly.fish --replace '(command which mcfly)' '${placeholder "out"}/bin/mcfly' 18 ''; 19 20 - cargoSha256 = "sha256-dpDuM+kGuCC2xm5EdV2OoxLNbKgi8wmTGrr8K16AnpM="; 21 22 meta = with lib; { 23 homepage = "https://github.com/cantino/mcfly";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "mcfly"; 5 + version = "0.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "cantino"; 9 repo = "mcfly"; 10 rev = "v${version}"; 11 + sha256 = "sha256-k8Z/CS1vbnQvoddos7Y0KcM1zB8QDAbXaROjNCyPEN0="; 12 }; 13 14 postPatch = '' ··· 17 substituteInPlace mcfly.fish --replace '(command which mcfly)' '${placeholder "out"}/bin/mcfly' 18 ''; 19 20 + cargoSha256 = "sha256-2SKgzVJdtzH9poHx/NJba6+lj/C0PBcEgI/2ITO18Bk="; 21 22 meta = with lib; { 23 homepage = "https://github.com/cantino/mcfly";
+2 -2
pkgs/tools/misc/mmctl/default.nix
··· 1 { lib, fetchFromGitHub, buildGoModule }: 2 buildGoModule rec { 3 pname = "mmctl"; 4 - version = "6.3.3"; 5 6 src = fetchFromGitHub { 7 owner = "mattermost"; 8 repo = "mmctl"; 9 rev = "v${version}"; 10 - sha256 = "sha256-V2p6diXymu37aJdHs0ZQJ7ak4LWe55KYCq15JRzMF48="; 11 }; 12 13 vendorSha256 = null;
··· 1 { lib, fetchFromGitHub, buildGoModule }: 2 buildGoModule rec { 3 pname = "mmctl"; 4 + version = "6.4.2"; 5 6 src = fetchFromGitHub { 7 owner = "mattermost"; 8 repo = "mmctl"; 9 rev = "v${version}"; 10 + sha256 = "sha256-FlqkY4LvAW9Cibs+3UkMDWA+uc62wMh13BllWuxjVZU="; 11 }; 12 13 vendorSha256 = null;
+2 -2
pkgs/tools/misc/nix-direnv/default.nix
··· 7 }: 8 stdenv.mkDerivation rec { 9 pname = "nix-direnv"; 10 - version = "1.6.0"; 11 12 src = fetchFromGitHub { 13 owner = "nix-community"; 14 repo = "nix-direnv"; 15 rev = version; 16 - sha256 = "sha256-vMs4CyMhEy96gWMWXD74rTR1uNjU+y21i0dh6AdaMGE="; 17 }; 18 19 # Substitute instead of wrapping because the resulting file is
··· 7 }: 8 stdenv.mkDerivation rec { 9 pname = "nix-direnv"; 10 + version = "1.6.1"; 11 12 src = fetchFromGitHub { 13 owner = "nix-community"; 14 repo = "nix-direnv"; 15 rev = version; 16 + sha256 = "sha256-WgNfo9GRqIrXsIgNRhoNPU2/uwyPd8xG8xEEImEy4KY="; 17 }; 18 19 # Substitute instead of wrapping because the resulting file is
+2 -2
pkgs/tools/misc/remind/default.nix
··· 16 in 17 tcl.mkTclDerivation rec { 18 pname = "remind"; 19 - version = "03.04.01"; 20 21 src = fetchurl { 22 url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz"; 23 - sha256 = "sha256-8INtFmftMb1JSotUdDtMXdSm+UE/8zQW/wIOExr8nkI="; 24 }; 25 26 propagatedBuildInputs = tclLibraries;
··· 16 in 17 tcl.mkTclDerivation rec { 18 pname = "remind"; 19 + version = "03.04.02"; 20 21 src = fetchurl { 22 url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz"; 23 + sha256 = "sha256-kjDcO0l39l2KJXo0elZesKZWDZoSoUXIu1Ua7IxWY4w="; 24 }; 25 26 propagatedBuildInputs = tclLibraries;
+3 -13
pkgs/tools/networking/aardvark-dns/default.nix
··· 5 6 rustPlatform.buildRustPackage rec { 7 pname = "aardvark-dns"; 8 - version = "1.0.1"; 9 10 src = fetchFromGitHub { 11 owner = "containers"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-6O/7GoGH0xNbTfIFeD5VLrifNFpHcxxG0bdq/YQb3Ew="; 15 }; 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 - ''; 28 29 meta = with lib; { 30 description = "Authoritative dns server for A/AAAA container records";
··· 5 6 rustPlatform.buildRustPackage rec { 7 pname = "aardvark-dns"; 8 + version = "1.0.2"; 9 10 src = fetchFromGitHub { 11 owner = "containers"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-d4YSCVZkNung4frgAeP46E9Ptpnu9y0HwmPRADo4t0U="; 15 }; 16 17 + cargoHash = "sha256-fu7ZopS55IzzeO7uzLx1wVHQ8A1Ff+9f7FagoZPerxk="; 18 19 meta = with lib; { 20 description = "Authoritative dns server for A/AAAA container records";
-1
pkgs/tools/networking/chrony/default.nix
··· 28 meta = with lib; { 29 description = "Sets your computer's clock from time servers on the Net"; 30 homepage = "https://chrony.tuxfamily.org/"; 31 - repositories.git = "git://git.tuxfamily.org/gitroot/chrony/chrony.git"; 32 license = licenses.gpl2; 33 platforms = with platforms; linux ++ freebsd ++ openbsd; 34 maintainers = with maintainers; [ fpletz thoughtpolice ];
··· 28 meta = with lib; { 29 description = "Sets your computer's clock from time servers on the Net"; 30 homepage = "https://chrony.tuxfamily.org/"; 31 license = licenses.gpl2; 32 platforms = with platforms; linux ++ freebsd ++ openbsd; 33 maintainers = with maintainers; [ fpletz thoughtpolice ];
+3
pkgs/tools/networking/drill/default.nix
··· 24 pkg-config 25 ]; 26 27 buildInputs = lib.optionals stdenv.isLinux [ 28 openssl 29 ] ++ lib.optionals stdenv.isDarwin [
··· 24 pkg-config 25 ]; 26 27 + OPENSSL_LIB_DIR = "${openssl.out}/lib"; 28 + OPENSSL_DIR="${lib.getDev openssl}"; 29 + 30 buildInputs = lib.optionals stdenv.isLinux [ 31 openssl 32 ] ++ lib.optionals stdenv.isDarwin [
+3 -3
pkgs/tools/networking/lychee/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "lychee"; 10 - version = "0.8.2"; 11 12 src = fetchFromGitHub { 13 owner = "lycheeverse"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-zgIFJLdYHSDsO34KFK51g4nVlSkc9/TFdXx2yPJ7kRQ="; 17 }; 18 19 - cargoSha256 = "sha256-r4a+JkaXVYsynBiWUHaleATXvfxyhRHfR/qcooD0FmI="; 20 21 nativeBuildInputs = [ pkg-config ]; 22
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "lychee"; 10 + version = "0.9.0"; 11 12 src = fetchFromGitHub { 13 owner = "lycheeverse"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-XjG4u0z3u89Wg2lrcD3T0OqNMgLxmKO1e1zYlGd3dqQ="; 17 }; 18 19 + cargoSha256 = "sha256-aXxhKH0dB6VpXfoWJwXBjsxGFcK071MZfCoi4z9uHdc="; 20 21 nativeBuildInputs = [ pkg-config ]; 22
+3 -3
pkgs/tools/networking/mqttui/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "mqttui"; 10 - version = "0.16.0"; 11 12 src = fetchFromGitHub { 13 owner = "EdJoPaTo"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-kGOQIoE+0lCBm9zQwPMFfYnLJgR79hSKECerWyOFsjI="; 17 }; 18 19 - cargoSha256 = "sha256-vm4IR/yQlQDn9LN9Ifr4vJvM6cCqgjRU2vdAHVEsWnI="; 20 21 buildInputs = lib.optional stdenv.isDarwin Security; 22
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "mqttui"; 10 + version = "0.16.1"; 11 12 src = fetchFromGitHub { 13 owner = "EdJoPaTo"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-nLUDuLolv52WJAwBG5gSADWM2LmquJt5jZJioZWX8VA="; 17 }; 18 19 + cargoSha256 = "sha256-Z6V7k69fjtiG01s1Xf0UA8lhRsq3T+ImDsCHPSVIDfQ="; 20 21 buildInputs = lib.optional stdenv.isDarwin Security; 22
+3 -16
pkgs/tools/networking/netavark/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "netavark"; 10 - version = "1.0.1"; 11 12 src = fetchFromGitHub { 13 owner = "containers"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-r9NoPDFCqmzESxlovs91j0OyunGDmfWJXN+U1f0w2QQ="; 17 }; 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 - ''; 33 34 nativeBuildInputs = [ installShellFiles mandown ]; 35
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "netavark"; 10 + version = "1.0.2"; 11 12 src = fetchFromGitHub { 13 owner = "containers"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-2ElEhKit/XysRsUw+dg7SnhDl+Zf+FJb5pIYpq1ALNs="; 17 }; 18 19 + cargoHash = "sha256-w3qz4ygjIvn+Rxd1JEVO6Ax08leuuJvC4Bk7VygbBh4="; 20 21 nativeBuildInputs = [ installShellFiles mandown ]; 22
+1 -2
pkgs/tools/networking/obfs4/default.nix
··· 5 version = "0.0.11"; 6 7 src = fetchgit { 8 - url = meta.repositories.git; 9 rev = "refs/tags/${pname}proxy-${version}"; 10 sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g="; 11 }; ··· 17 meta = with lib; { 18 description = "A pluggable transport proxy"; 19 homepage = "https://www.torproject.org/projects/obfsproxy"; 20 - repositories.git = "https://git.torproject.org/pluggable-transports/obfs4.git"; 21 maintainers = with maintainers; [ thoughtpolice ]; 22 }; 23 }
··· 5 version = "0.0.11"; 6 7 src = fetchgit { 8 + url = "https://git.torproject.org/pluggable-transports/obfs4.git"; 9 rev = "refs/tags/${pname}proxy-${version}"; 10 sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g="; 11 }; ··· 17 meta = with lib; { 18 description = "A pluggable transport proxy"; 19 homepage = "https://www.torproject.org/projects/obfsproxy"; 20 maintainers = with maintainers; [ thoughtpolice ]; 21 }; 22 }
-1
pkgs/tools/networking/socat/default.nix
··· 38 meta = with lib; { 39 description = "Utility for bidirectional data transfer between two independent data channels"; 40 homepage = "http://www.dest-unreach.org/socat/"; 41 - repositories.git = "git://repo.or.cz/socat.git"; 42 platforms = platforms.unix; 43 license = with licenses; [ gpl2Only ]; 44 maintainers = with maintainers; [ eelco ];
··· 38 meta = with lib; { 39 description = "Utility for bidirectional data transfer between two independent data channels"; 40 homepage = "http://www.dest-unreach.org/socat/"; 41 platforms = platforms.unix; 42 license = with licenses; [ gpl2Only ]; 43 maintainers = with maintainers; [ eelco ];
+2 -1
pkgs/tools/networking/tuntox/default.nix
··· 9 , libsodium 10 , libtoxcore 11 , libvpx 12 , pkg-config 13 , python3 14 , python3Packages ··· 27 28 nativeBuildInputs = [ cscope git pkg-config ]; 29 30 - buildInputs = [ libopus libtoxcore libsodium libevent libvpx python3 ]; 31 32 pythonBuildInputs = with python3Packages; [ 33 jinja2
··· 9 , libsodium 10 , libtoxcore 11 , libvpx 12 + , msgpack 13 , pkg-config 14 , python3 15 , python3Packages ··· 28 29 nativeBuildInputs = [ cscope git pkg-config ]; 30 31 + buildInputs = [ libopus libtoxcore libsodium libevent libvpx msgpack python3 ]; 32 33 pythonBuildInputs = with python3Packages; [ 34 jinja2
+1 -1
pkgs/tools/nix/info/info.sh
··· 84 ( 85 # shellcheck disable=SC1091 86 . /etc/os-release 87 - printf ", %s, %s" "${NAME:-$(uname -v)}" "${VERSION:-noversion}" 88 ) 89 fi 90 }
··· 84 ( 85 # shellcheck disable=SC1091 86 . /etc/os-release 87 + printf ", %s, %s, %s" "${NAME:-$(uname -v)}" "${VERSION:-noversion}" "${BUILD_ID:-nobuild}" 88 ) 89 fi 90 }
+3 -3
pkgs/tools/security/authoscope/default.nix
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "authoscope"; 15 - version = "0.8.0"; 16 17 src = fetchFromGitHub { 18 owner = "kpcyrd"; 19 repo = pname; 20 rev = "v${version}"; 21 - sha256 = "11ci38m6d3lj4f0g7cl3dqf10kfk258k2k92phd2nav1my4i90pf"; 22 }; 23 24 - cargoSha256 = "13x7i52i3k88vkfvk2smy2aqfg3na4317scvw7ali1rv545nbxds"; 25 26 nativeBuildInputs = [ 27 installShellFiles
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "authoscope"; 15 + version = "0.8.1"; 16 17 src = fetchFromGitHub { 18 owner = "kpcyrd"; 19 repo = pname; 20 rev = "v${version}"; 21 + sha256 = "sha256-SKgb/N249s0+Rb59moBT/MeFb4zAAElCMQJto0diyUk="; 22 }; 23 24 + cargoSha256 = "sha256-rSHuKy86iJNLAKSVcb7fn7A/cc75EOc97jGI14EaC6k="; 25 26 nativeBuildInputs = [ 27 installShellFiles
+2 -2
pkgs/tools/security/cfripper/default.nix
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "cfripper"; 8 - version = "1.6.0"; 9 10 src = fetchFromGitHub { 11 owner = "Skyscanner"; 12 repo = pname; 13 rev = version; 14 - hash = "sha256-bomQqg+xzq7+iccE+x6mN265HxkYvy13aAwBBikth3U="; 15 }; 16 17 propagatedBuildInputs = with python3.pkgs; [
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "cfripper"; 8 + version = "1.7.0"; 9 10 src = fetchFromGitHub { 11 owner = "Skyscanner"; 12 repo = pname; 13 rev = version; 14 + hash = "sha256-bYKusyEItnhj1mU6Tucsdi5pdMoWrUK4Y91SK8dNGE4="; 15 }; 16 17 propagatedBuildInputs = with python3.pkgs; [
+3 -3
pkgs/tools/security/gitleaks/default.nix
··· 5 6 buildGoModule rec { 7 pname = "gitleaks"; 8 - version = "8.5.0"; 9 10 src = fetchFromGitHub { 11 owner = "zricethezav"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-vd6mEjswqIX2F3GO7AF1Me4NolbeZZPwLxfyzJaNmT8="; 15 }; 16 17 - vendorSha256 = "sha256-J1xX+r+Mph1QkqjK87tqGDkYvPZp0lHgdRhd88WZi1c="; 18 19 ldflags = [ 20 "-s"
··· 5 6 buildGoModule rec { 7 pname = "gitleaks"; 8 + version = "8.5.1"; 9 10 src = fetchFromGitHub { 11 owner = "zricethezav"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-lx7xjOajFyeetnGcJwX66pIcZw2A7+QGWb5crCoA83g="; 15 }; 16 17 + vendorSha256 = "sha256-gelUrZOYiThO0+COIv9cOgho/tjv7ZqSKOktWIbdADw="; 18 19 ldflags = [ 20 "-s"
+3 -3
pkgs/tools/security/grype/default.nix
··· 6 7 buildGoModule rec { 8 pname = "grype"; 9 - version = "0.34.4"; 10 11 src = fetchFromGitHub { 12 owner = "anchore"; 13 repo = pname; 14 rev = "v${version}"; 15 - sha256 = "sha256-t5N9C69u8bTXXobptmxA+yuQ88Hko8Hhhp+nyC/tMFc="; 16 # populate values that require us to use git. By doing this in postFetch we 17 # can delete .git afterwards and maintain better reproducibility of the src. 18 leaveDotGit = true; ··· 25 ''; 26 }; 27 28 - vendorSha256 = "sha256-u11SKoybGobfxsjLq9mYFzZWw01Dms5RyKxmZA47XqI="; 29 30 nativeBuildInputs = [ 31 installShellFiles
··· 6 7 buildGoModule rec { 8 pname = "grype"; 9 + version = "0.34.7"; 10 11 src = fetchFromGitHub { 12 owner = "anchore"; 13 repo = pname; 14 rev = "v${version}"; 15 + sha256 = "sha256-t95efLTqPnmYiXTBxuxEoDdafoZC/bXXTfKdA8gy3fk="; 16 # populate values that require us to use git. By doing this in postFetch we 17 # can delete .git afterwards and maintain better reproducibility of the src. 18 leaveDotGit = true; ··· 25 ''; 26 }; 27 28 + vendorSha256 = "sha256-FZMgS0aNZVq4nvwog4l62dOzC6wW7pQCNbOW1/jssWo="; 29 30 nativeBuildInputs = [ 31 installShellFiles
+3 -3
pkgs/tools/security/jadx/default.nix
··· 2 3 let 4 pname = "jadx"; 5 - version = "1.3.3"; 6 7 src = fetchFromGitHub { 8 owner = "skylot"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-z8u6j6YLBHmgZKSGh/rFDDSnWZrBgWsqfKP3vhaukbY="; 12 }; 13 14 deps = stdenv.mkDerivation { ··· 40 ''; 41 42 outputHashMode = "recursive"; 43 - outputHash = "sha256-kiNtA63sINX7VRsq4JKAiZYzymHe1TrNetZsE6S9KVM="; 44 }; 45 in stdenv.mkDerivation { 46 inherit pname version src;
··· 2 3 let 4 pname = "jadx"; 5 + version = "1.3.4"; 6 7 src = fetchFromGitHub { 8 owner = "skylot"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-G2BgGhWk0Prbjni6HPZ/0+bWiC9uI2O13Q1SDCE5mBE="; 12 }; 13 14 deps = stdenv.mkDerivation { ··· 40 ''; 41 42 outputHashMode = "recursive"; 43 + outputHash = "sha256-QZClHuj7oCUYX3I8B3A90m4zK7+FP24C19RIzYyPC1w="; 44 }; 45 in stdenv.mkDerivation { 46 inherit pname version src;
-1
pkgs/tools/security/nitrokey-app/default.nix
··· 36 See https://www.nitrokey.com/ for more information. 37 ''; 38 homepage = "https://github.com/Nitrokey/nitrokey-app"; 39 - repositories.git = "https://github.com/Nitrokey/nitrokey-app.git"; 40 license = licenses.gpl3; 41 maintainers = with maintainers; [ kaiha fpletz ]; 42 };
··· 36 See https://www.nitrokey.com/ for more information. 37 ''; 38 homepage = "https://github.com/Nitrokey/nitrokey-app"; 39 license = licenses.gpl3; 40 maintainers = with maintainers; [ kaiha fpletz ]; 41 };
+2 -2
pkgs/tools/security/sigma-cli/default.nix
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "sigma-cli"; 8 - version = "0.3.3"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "SigmaHQ"; 13 repo = pname; 14 rev = "v${version}"; 15 - hash = "sha256-AUAOZrwLNu+Llg8RX4RKm4vAETgpPLKK1mcpl8jxGYE="; 16 }; 17 18 nativeBuildInputs = with python3.pkgs; [
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "sigma-cli"; 8 + version = "0.3.4"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "SigmaHQ"; 13 repo = pname; 14 rev = "v${version}"; 15 + hash = "sha256-FWcPHtEYqS+81dU4lB+4BLFOXtFumcyhucwvmu2TAt8="; 16 }; 17 18 nativeBuildInputs = with python3.pkgs; [
-1
pkgs/tools/security/tor/default.nix
··· 97 98 meta = with lib; { 99 homepage = "https://www.torproject.org/"; 100 - repositories.git = "https://git.torproject.org/git/tor"; 101 description = "Anonymizing overlay network"; 102 103 longDescription = ''
··· 97 98 meta = with lib; { 99 homepage = "https://www.torproject.org/"; 100 description = "Anonymizing overlay network"; 101 102 longDescription = ''
+1 -2
pkgs/tools/security/tor/torsocks.nix
··· 5 version = "2.3.0"; 6 7 src = fetchgit { 8 - url = meta.repositories.git; 9 rev = "refs/tags/v${version}"; 10 sha256 = "0x0wpcigf22sjxg7bm0xzqihmsrz51hl4v8xf91qi4qnmr4ny1hb"; 11 }; ··· 35 meta = { 36 description = "Wrapper to safely torify applications"; 37 homepage = "https://github.com/dgoulet/torsocks"; 38 - repositories.git = "https://git.torproject.org/torsocks.git"; 39 license = lib.licenses.gpl2; 40 platforms = lib.platforms.unix; 41 maintainers = with lib.maintainers; [ thoughtpolice ];
··· 5 version = "2.3.0"; 6 7 src = fetchgit { 8 + url = "https://git.torproject.org/torsocks.git"; 9 rev = "refs/tags/v${version}"; 10 sha256 = "0x0wpcigf22sjxg7bm0xzqihmsrz51hl4v8xf91qi4qnmr4ny1hb"; 11 }; ··· 35 meta = { 36 description = "Wrapper to safely torify applications"; 37 homepage = "https://github.com/dgoulet/torsocks"; 38 license = lib.licenses.gpl2; 39 platforms = lib.platforms.unix; 40 maintainers = with lib.maintainers; [ thoughtpolice ];
+4 -4
pkgs/tools/security/vault/default.nix
··· 6 7 buildGoModule rec { 8 pname = "vault"; 9 - version = "1.9.4"; 10 11 src = fetchFromGitHub { 12 owner = "hashicorp"; 13 repo = "vault"; 14 rev = "v${version}"; 15 - sha256 = "sha256-zqtRM2p+RrLrXzDCMtHJZNx/dKWyFqM+3V5eICwWvWs="; 16 }; 17 18 - vendorSha256 = "sha256-EiQ6XmGrw1O2Zd8TM7HSr3sQUd1naQYKbYLKB/vWdXU="; 19 20 subPackages = [ "." ]; 21 ··· 46 changelog = "https://github.com/hashicorp/vault/blob/v${version}/CHANGELOG.md"; 47 platforms = platforms.linux ++ platforms.darwin; 48 license = licenses.mpl20; 49 - maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man ]; 50 }; 51 }
··· 6 7 buildGoModule rec { 8 pname = "vault"; 9 + version = "1.10.0"; 10 11 src = fetchFromGitHub { 12 owner = "hashicorp"; 13 repo = "vault"; 14 rev = "v${version}"; 15 + sha256 = "sha256-XgrEtAVfMcXbmAjwgIWME/v85QHJ11fUXapAZtS/lSw="; 16 }; 17 18 + vendorSha256 = "sha256-Bo0+HSG7NqaweMKPdl+kzB6RdbQsy2FAzmr7ZZVgcsg="; 19 20 subPackages = [ "." ]; 21 ··· 46 changelog = "https://github.com/hashicorp/vault/blob/v${version}/CHANGELOG.md"; 47 platforms = platforms.linux ++ platforms.darwin; 48 license = licenses.mpl20; 49 + maintainers = with maintainers; [ rushmorem lnl7 offline pradeepchhetri Chili-Man techknowlogick ]; 50 }; 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 - }; 30 31 - in stdenv.mkDerivation { 32 pname = "vault-bin"; 33 - inherit version; 34 35 - src = sources.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}"); 36 - 37 - nativeBuildInputs = [ makeWrapper unzip ]; 38 39 - sourceRoot = "."; 40 41 installPhase = '' 42 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 - 51 runHook postInstall 52 ''; 53 54 - dontStrip = stdenv.isDarwin; 55 56 meta = with lib; { 57 homepage = "https://www.vaultproject.io"; 58 description = "A tool for managing secrets, this binary includes the UI"; 59 platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ]; 60 license = licenses.mpl20; 61 - maintainers = with maintainers; teams.serokell.members ++ [ offline psyanticy Chili-Man ]; 62 }; 63 }
··· 1 + { lib, stdenv, fetchurl, unzip, makeWrapper, gawk, glibc, fetchzip }: 2 3 + stdenv.mkDerivation rec { 4 pname = "vault-bin"; 5 + version = "1.10.0"; 6 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 + }; 30 31 + dontConfigure = true; 32 + dontBuild = true; 33 + dontStrip = stdenv.isDarwin; 34 35 installPhase = '' 36 runHook preInstall 37 + install -D vault $out/bin/vault 38 runHook postInstall 39 ''; 40 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; 53 54 meta = with lib; { 55 homepage = "https://www.vaultproject.io"; 56 description = "A tool for managing secrets, this binary includes the UI"; 57 platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-darwin" "aarch64-linux" ]; 58 license = licenses.mpl20; 59 + maintainers = with maintainers; teams.serokell.members ++ [ offline psyanticy Chili-Man techknowlogick ]; 60 }; 61 }
+4 -4
pkgs/tools/system/ctop/default.nix
··· 2 3 buildGoModule rec { 4 pname = "ctop"; 5 - version = "0.7.6"; 6 7 src = fetchFromGitHub { 8 owner = "bcicen"; 9 repo = pname; 10 - rev = version; 11 - sha256 = "sha256-ceRyYrqmgdTnV8m9LkLlR6iTrC5F81X/V3fWI2CiKBw="; 12 }; 13 14 - vendorSha256 = "sha256-UCeMy4iT0c2sTcCDPg0TIYCLYfrIUvHluUuGIpzluSg="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "ctop"; 5 + version = "0.7.7"; 6 7 src = fetchFromGitHub { 8 owner = "bcicen"; 9 repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-tojSzgpoGQg6MwV/MVpQpCA5w6bZO+9IOvfkw0Ydr6c="; 12 }; 13 14 + vendorSha256 = "sha256-UAja7XuoLqJFNcK1PgHGcuf/HbvSrWyRvW2D3T7Hg0g="; 15 16 doCheck = false; 17
-1
pkgs/tools/system/evemu/default.nix
··· 23 meta = with lib; { 24 description = "Records and replays device descriptions and events to emulate input devices through the kernel's input system"; 25 homepage = "https://www.freedesktop.org/wiki/Evemu/"; 26 - repositories.git = "git://git.freedesktop.org/git/evemu"; 27 license = with licenses; [ lgpl3Only gpl3Only ]; 28 maintainers = [ maintainers.amorsillo ]; 29 platforms = platforms.linux;
··· 23 meta = with lib; { 24 description = "Records and replays device descriptions and events to emulate input devices through the kernel's input system"; 25 homepage = "https://www.freedesktop.org/wiki/Evemu/"; 26 license = with licenses; [ lgpl3Only gpl3Only ]; 27 maintainers = [ maintainers.amorsillo ]; 28 platforms = platforms.linux;
-1
pkgs/tools/system/gohai/default.nix
··· 21 license = licenses.mit; 22 maintainers = [ maintainers.tazjin ]; 23 platforms = platforms.unix; 24 - repositories.git = "git://github.com/DataDog/gohai.git"; 25 26 longDescription = '' 27 Gohai is a tool which collects an inventory of system
··· 21 license = licenses.mit; 22 maintainers = [ maintainers.tazjin ]; 23 platforms = platforms.unix; 24 25 longDescription = '' 26 Gohai is a tool which collects an inventory of system
-1
pkgs/tools/system/hardlink/default.nix
··· 26 meta = with lib; { 27 description = "Consolidate duplicate files via hardlinks"; 28 homepage = "https://pagure.io/hardlink"; 29 - repositories.git = "https://src.fedoraproject.org/cgit/rpms/hardlink.git"; 30 license = licenses.gpl2Plus; 31 platforms = platforms.unix; 32 };
··· 26 meta = with lib; { 27 description = "Consolidate duplicate files via hardlinks"; 28 homepage = "https://pagure.io/hardlink"; 29 license = licenses.gpl2Plus; 30 platforms = platforms.unix; 31 };
-1
pkgs/tools/system/mq-cli/default.nix
··· 19 license = licenses.mit; 20 maintainers = with maintainers; [ tazjin ]; 21 platforms = platforms.linux; 22 - repositories.git = "git://github.com/aprilabank/mq-cli.git"; 23 }; 24 }
··· 19 license = licenses.mit; 20 maintainers = with maintainers; [ tazjin ]; 21 platforms = platforms.linux; 22 }; 23 }
+3 -3
pkgs/tools/system/nats-top/default.nix
··· 5 6 buildGoModule rec { 7 pname = "nats-top"; 8 - version = "0.4.0"; 9 10 src = fetchFromGitHub { 11 owner = "nats-io"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "0b1hpnq8m1xfrn58ammmnx6lmhk319m8z4xjxgckz7wvy2fbzw0n"; 15 }; 16 17 - vendorSha256 = "1a48p9gx5zdc340ma6cqakhi6f3lw9b0kz2597j1jcsk2qb7s581"; 18 19 meta = with lib; { 20 description = "top-like tool for monitoring NATS servers";
··· 5 6 buildGoModule rec { 7 pname = "nats-top"; 8 + version = "0.5.0"; 9 10 src = fetchFromGitHub { 11 owner = "nats-io"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-IZQDwopFAXPT0V+TTiJk6+j/KhLTA3g4kN1j1PVlNt0="; 15 }; 16 17 + vendorSha256 = "sha256-cBCR/OXUOa+Lh8UvL/VraDAW0hGGwV7teyvdswZQ5Lo="; 18 19 meta = with lib; { 20 description = "top-like tool for monitoring NATS servers";
-35
pkgs/tools/text/gnused/422.nix
··· 1 - { lib, stdenv, fetchurl }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "gnused"; 5 - version = "4.2.2"; 6 - 7 - src = fetchurl { 8 - url = "mirror://gnu/sed/sed-${version}.tar.bz2"; 9 - sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7"; 10 - }; 11 - 12 - configureFlags = lib.optional stdenv.hostPlatform.isMinGW "ac_cv_func__set_invalid_parameter_handler=no"; 13 - 14 - outputs = [ "out" "info" ]; 15 - 16 - meta = { 17 - homepage = "https://www.gnu.org/software/sed/"; 18 - description = "GNU sed, a batch stream editor"; 19 - 20 - longDescription = '' 21 - Sed (stream editor) isn't really a true text editor or text 22 - processor. Instead, it is used to filter text, i.e., it takes 23 - text input and performs some operation (or set of operations) on 24 - it and outputs the modified text. Sed is typically used for 25 - extracting part of a file using pattern matching or substituting 26 - multiple occurrences of a string within a file. 27 - ''; 28 - 29 - license = lib.licenses.gpl3Plus; 30 - 31 - platforms = lib.platforms.all; 32 - maintainers = [ ]; 33 - mainProgram = "sed"; 34 - }; 35 - }
···
-1
pkgs/tools/typesetting/odpdown/default.nix
··· 20 21 meta = with lib; { 22 homepage = "https://github.com/thorstenb/odpdown"; 23 - repositories.git = "https://github.com/thorstenb/odpdown.git"; 24 description = "Create nice-looking slides from your favourite text editor"; 25 longDescription = '' 26 Have a tool like pandoc, latex beamer etc, that you can write (or
··· 20 21 meta = with lib; { 22 homepage = "https://github.com/thorstenb/odpdown"; 23 description = "Create nice-looking slides from your favourite text editor"; 24 longDescription = '' 25 Have a tool like pandoc, latex beamer etc, that you can write (or
+2 -1
pkgs/top-level/aliases.nix
··· 1263 varnish62 = throw "varnish62 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-07-26 1264 varnish63 = throw "varnish63 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-07-26 1265 varnish65 = throw "varnish65 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-09-15 1266 vdirsyncerStable = vdirsyncer; # Added 2020-11-08, see https://github.com/NixOS/nixpkgs/issues/103026#issuecomment-723428168 1267 venus = throw "venus has been removed from nixpkgs, as it's unmaintained"; # Added 2021-02-05 1268 vimbWrapper = throw "'vimbWrapper' has been renamed to/replaced by 'vimb'"; # Converted to throw 2022-02-22 ··· 1448 ksshaskpass ksystemlog kteatime ktimer ktorrent ktouch kturtle kwallet-pam 1449 kwalletmanager kwave kwayland-integration kwin kwrited marble milou minuet 1450 okular oxygen oxygen-icons5 picmi plasma-browser-integration plasma-desktop 1451 - plasma-integration plasma-nano plasma-nm plasma-pa plasma-phone-components 1452 plasma-systemmonitor plasma-thunderbolt plasma-vault plasma-workspace 1453 plasma-workspace-wallpapers polkit-kde-agent powerdevil qqc2-breeze-style 1454 sddm-kcm skanlite spectacle systemsettings xdg-desktop-portal-kde yakuake
··· 1263 varnish62 = throw "varnish62 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-07-26 1264 varnish63 = throw "varnish63 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-07-26 1265 varnish65 = throw "varnish65 was removed from nixpkgs, because it is unmaintained upstream. Please switch to a different release"; # Added 2021-09-15 1266 + varnish70 = throw "varnish70 was removed from nixpkgs, because it was superseded upstream. Please switch to a different release"; # Added 2022-03-17 1267 vdirsyncerStable = vdirsyncer; # Added 2020-11-08, see https://github.com/NixOS/nixpkgs/issues/103026#issuecomment-723428168 1268 venus = throw "venus has been removed from nixpkgs, as it's unmaintained"; # Added 2021-02-05 1269 vimbWrapper = throw "'vimbWrapper' has been renamed to/replaced by 'vimb'"; # Converted to throw 2022-02-22 ··· 1449 ksshaskpass ksystemlog kteatime ktimer ktorrent ktouch kturtle kwallet-pam 1450 kwalletmanager kwave kwayland-integration kwin kwrited marble milou minuet 1451 okular oxygen oxygen-icons5 picmi plasma-browser-integration plasma-desktop 1452 + plasma-integration plasma-nano plasma-nm plasma-pa plasma-mobile 1453 plasma-systemmonitor plasma-thunderbolt plasma-vault plasma-workspace 1454 plasma-workspace-wallpapers polkit-kde-agent powerdevil qqc2-breeze-style 1455 sddm-kcm skanlite spectacle systemsettings xdg-desktop-portal-kde yakuake
+25 -26
pkgs/top-level/all-packages.nix
··· 5783 5784 gdmap = callPackage ../tools/system/gdmap { }; 5785 5786 gelasio = callPackage ../data/fonts/gelasio { }; 5787 5788 gemget = callPackage ../tools/networking/gemget {}; ··· 6162 6163 gnu-pw-mgr = callPackage ../tools/security/gnu-pw-mgr { }; 6164 6165 - gnused = if !stdenv.hostPlatform.isWindows 6166 - then callPackage ../tools/text/gnused { } # broken on Windows 6167 - else gnused_422; 6168 - # This is an easy work-around for [:space:] problems. 6169 - gnused_422 = callPackage ../tools/text/gnused/422.nix { }; 6170 6171 gnutar = callPackage ../tools/archivers/gnutar { }; 6172 ··· 6263 gpodder = callPackage ../applications/audio/gpodder { }; 6264 6265 gpp = callPackage ../development/tools/gpp { }; 6266 6267 gpredict = callPackage ../applications/science/astronomy/gpredict { 6268 hamlib = hamlib_4; ··· 11290 valum = callPackage ../development/web/valum { }; 11291 11292 inherit (callPackages ../servers/varnish { }) 11293 - varnish60 varnish70; 11294 inherit (callPackages ../servers/varnish/packages.nix { }) 11295 - varnish60Packages varnish70Packages; 11296 11297 - varnishPackages = varnish70Packages; 11298 varnish = varnishPackages.varnish; 11299 11300 hitch = callPackage ../servers/hitch { }; ··· 19613 19614 optparse-bash = callPackage ../development/libraries/optparse-bash { }; 19615 19616 orcania = callPackage ../development/libraries/orcania { }; 19617 19618 osm-gps-map = callPackage ../development/libraries/osm-gps-map { }; ··· 20732 20733 wxGTK31 = callPackage ../development/libraries/wxwidgets/wxGTK31.nix { 20734 inherit (darwin.stubs) setfile; 20735 - inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit; 20736 }; 20737 wxGTK31-gtk2 = wxGTK31.override { withGtk2 = true; }; 20738 wxGTK31-gtk3 = wxGTK31.override { withGtk2 = false; }; ··· 22005 prometheus-nextcloud-exporter = callPackage ../servers/monitoring/prometheus/nextcloud-exporter.nix { }; 22006 prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { }; 22007 prometheus-nginxlog-exporter = callPackage ../servers/monitoring/prometheus/nginxlog-exporter.nix { }; 22008 - prometheus-node-exporter = callPackage ../servers/monitoring/prometheus/node-exporter.nix { }; 22009 prometheus-openldap-exporter = callPackage ../servers/monitoring/prometheus/openldap-exporter.nix { }; 22010 prometheus-openvpn-exporter = callPackage ../servers/monitoring/prometheus/openvpn-exporter.nix { }; 22011 prometheus-pihole-exporter = callPackage ../servers/monitoring/prometheus/pihole-exporter.nix { }; ··· 22752 powercap = callPackage ../os-specific/linux/powercap { }; 22753 22754 powerstat = callPackage ../os-specific/linux/powerstat { }; 22755 22756 smemstat = callPackage ../os-specific/linux/smemstat { }; 22757 ··· 25043 25044 centerim = callPackage ../applications/networking/instant-messengers/centerim { }; 25045 25046 - cgit = callPackage ../applications/version-management/git-and-tools/cgit { 25047 - inherit (python3Packages) python wrapPython pygments markdown; 25048 - }; 25049 25050 chatty = callPackage ../applications/networking/instant-messengers/chatty { }; 25051 ··· 25968 firefoxPackages = recurseIntoAttrs (callPackage ../applications/networking/browsers/firefox/packages.nix { 25969 callPackage = newScope { 25970 inherit (rustPackages) cargo rustc; 25971 - gnused = gnused_422; 25972 - inherit (darwin.apple_sdk.frameworks) CoreMedia ExceptionHandling 25973 - Kerberos AVFoundation MediaToolbox 25974 - CoreLocation Foundation AddressBook; 25975 - inherit (darwin) libobjc; 25976 }; 25977 }); 25978 ··· 27106 kubectl = callPackage ../applications/networking/cluster/kubernetes/kubectl.nix { }; 27107 27108 kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { }; 27109 27110 kubeseal = callPackage ../applications/networking/cluster/kubeseal { }; 27111 ··· 29455 thunderbirdPackages = recurseIntoAttrs (callPackage ../applications/networking/mailreaders/thunderbird/packages.nix { 29456 callPackage = newScope { 29457 inherit (rustPackages) cargo rustc; 29458 - gnused = gnused_422; 29459 - inherit (darwin.apple_sdk.frameworks) CoreMedia ExceptionHandling 29460 - Kerberos AVFoundation MediaToolbox 29461 - CoreLocation Foundation AddressBook; 29462 - inherit (darwin) libobjc; 29463 }; 29464 }); 29465 ··· 29669 }); 29670 29671 unigine-valley = callPackage ../applications/graphics/unigine-valley { }; 29672 29673 unipicker = callPackage ../applications/misc/unipicker { }; 29674 ··· 33266 33267 cups-brother-hll2350dw = callPackage ../misc/cups/drivers/hll2350dw { }; 33268 33269 cups-drv-rastertosag-gdi = callPackage ../misc/cups/drivers/cups-drv-rastertosag-gdi { }; 33270 33271 # this driver ships with pre-compiled 32-bit binary libraries ··· 33716 loadedTest = if builtins.typeOf test == "path" 33717 then import test 33718 else test; 33719 - calledTest = if lib.isFunction loadedTest 33720 - then callPackage loadedTest {} 33721 - else loadedTest; 33722 in 33723 nixosTesting.makeTest calledTest; 33724
··· 5783 5784 gdmap = callPackage ../tools/system/gdmap { }; 5785 5786 + gef = callPackage ../development/tools/misc/gef { }; 5787 + 5788 gelasio = callPackage ../data/fonts/gelasio { }; 5789 5790 gemget = callPackage ../tools/networking/gemget {}; ··· 6164 6165 gnu-pw-mgr = callPackage ../tools/security/gnu-pw-mgr { }; 6166 6167 + gnused = callPackage ../tools/text/gnused { }; 6168 6169 gnutar = callPackage ../tools/archivers/gnutar { }; 6170 ··· 6261 gpodder = callPackage ../applications/audio/gpodder { }; 6262 6263 gpp = callPackage ../development/tools/gpp { }; 6264 + 6265 + gnuastro = callPackage ../applications/science/astronomy/gnuastro { }; 6266 6267 gpredict = callPackage ../applications/science/astronomy/gpredict { 6268 hamlib = hamlib_4; ··· 11290 valum = callPackage ../development/web/valum { }; 11291 11292 inherit (callPackages ../servers/varnish { }) 11293 + varnish60 varnish71; 11294 inherit (callPackages ../servers/varnish/packages.nix { }) 11295 + varnish60Packages varnish71Packages; 11296 11297 + varnishPackages = varnish71Packages; 11298 varnish = varnishPackages.varnish; 11299 11300 hitch = callPackage ../servers/hitch { }; ··· 19613 19614 optparse-bash = callPackage ../development/libraries/optparse-bash { }; 19615 19616 + oras = callPackage ../development/tools/oras { }; 19617 + 19618 orcania = callPackage ../development/libraries/orcania { }; 19619 19620 osm-gps-map = callPackage ../development/libraries/osm-gps-map { }; ··· 20734 20735 wxGTK31 = callPackage ../development/libraries/wxwidgets/wxGTK31.nix { 20736 inherit (darwin.stubs) setfile; 20737 + inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit AVFoundation AVKit WebKit; 20738 }; 20739 wxGTK31-gtk2 = wxGTK31.override { withGtk2 = true; }; 20740 wxGTK31-gtk3 = wxGTK31.override { withGtk2 = false; }; ··· 22007 prometheus-nextcloud-exporter = callPackage ../servers/monitoring/prometheus/nextcloud-exporter.nix { }; 22008 prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { }; 22009 prometheus-nginxlog-exporter = callPackage ../servers/monitoring/prometheus/nginxlog-exporter.nix { }; 22010 + prometheus-node-exporter = callPackage ../servers/monitoring/prometheus/node-exporter.nix { 22011 + inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit; 22012 + }; 22013 prometheus-openldap-exporter = callPackage ../servers/monitoring/prometheus/openldap-exporter.nix { }; 22014 prometheus-openvpn-exporter = callPackage ../servers/monitoring/prometheus/openvpn-exporter.nix { }; 22015 prometheus-pihole-exporter = callPackage ../servers/monitoring/prometheus/pihole-exporter.nix { }; ··· 22756 powercap = callPackage ../os-specific/linux/powercap { }; 22757 22758 powerstat = callPackage ../os-specific/linux/powerstat { }; 22759 + 22760 + projecteur = libsForQt5.callPackage ../os-specific/linux/projecteur { }; 22761 22762 smemstat = callPackage ../os-specific/linux/smemstat { }; 22763 ··· 25049 25050 centerim = callPackage ../applications/networking/instant-messengers/centerim { }; 25051 25052 + cgit = callPackage ../applications/version-management/git-and-tools/cgit { }; 25053 + cgit-pink = callPackage ../applications/version-management/git-and-tools/cgit/pink.nix { }; 25054 25055 chatty = callPackage ../applications/networking/instant-messengers/chatty { }; 25056 ··· 25973 firefoxPackages = recurseIntoAttrs (callPackage ../applications/networking/browsers/firefox/packages.nix { 25974 callPackage = newScope { 25975 inherit (rustPackages) cargo rustc; 25976 }; 25977 }); 25978 ··· 27106 kubectl = callPackage ../applications/networking/cluster/kubernetes/kubectl.nix { }; 27107 27108 kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { }; 27109 + 27110 + kubent = callPackage ../applications/networking/cluster/kubent { }; 27111 27112 kubeseal = callPackage ../applications/networking/cluster/kubeseal { }; 27113 ··· 29457 thunderbirdPackages = recurseIntoAttrs (callPackage ../applications/networking/mailreaders/thunderbird/packages.nix { 29458 callPackage = newScope { 29459 inherit (rustPackages) cargo rustc; 29460 }; 29461 }); 29462 ··· 29666 }); 29667 29668 unigine-valley = callPackage ../applications/graphics/unigine-valley { }; 29669 + 29670 + unigine-heaven = callPackage ../applications/graphics/unigine-heaven { }; 29671 29672 unipicker = callPackage ../applications/misc/unipicker { }; 29673 ··· 33265 33266 cups-brother-hll2350dw = callPackage ../misc/cups/drivers/hll2350dw { }; 33267 33268 + cups-brother-mfcl2750dw = callPackage ../misc/cups/drivers/mfcl2750dw { }; 33269 + 33270 cups-drv-rastertosag-gdi = callPackage ../misc/cups/drivers/cups-drv-rastertosag-gdi { }; 33271 33272 # this driver ships with pre-compiled 32-bit binary libraries ··· 33717 loadedTest = if builtins.typeOf test == "path" 33718 then import test 33719 else test; 33720 + calledTest = lib.toFunction loadedTest pkgs; 33721 in 33722 nixosTesting.makeTest calledTest; 33723
-2
pkgs/top-level/ocaml-packages.nix
··· 709 710 magic-mime = callPackage ../development/ocaml-modules/magic-mime { }; 711 712 - magick = callPackage ../development/ocaml-modules/magick { }; 713 - 714 mariadb = callPackage ../development/ocaml-modules/mariadb { 715 inherit (pkgs) mariadb; 716 };
··· 709 710 magic-mime = callPackage ../development/ocaml-modules/magic-mime { }; 711 712 mariadb = callPackage ../development/ocaml-modules/mariadb { 713 inherit (pkgs) mariadb; 714 };
+3 -3
pkgs/top-level/perl-packages.nix
··· 5996 5997 DevelPatchPerl = buildPerlPackage { 5998 pname = "Devel-PatchPerl"; 5999 - version = "2.04"; 6000 src = fetchurl { 6001 - url = "mirror://cpan/authors/id/B/BI/BINGOS/Devel-PatchPerl-2.04.tar.gz"; 6002 - sha256 = "1q8xhz2sdlz2266pjl8j9vcixbhcaxsprmvsx56ra998miayc42p"; 6003 }; 6004 propagatedBuildInputs = [ Filepushd ModulePluggable ]; 6005 meta = {
··· 5996 5997 DevelPatchPerl = buildPerlPackage { 5998 pname = "Devel-PatchPerl"; 5999 + version = "2.08"; 6000 src = fetchurl { 6001 + url = "mirror://cpan/authors/id/B/BI/BINGOS/Devel-PatchPerl-2.08.tar.gz"; 6002 + sha256 = "06bl2qqf5mv53l7k81xgynfx99in5fa8yi3ykn7403r62rqfkik9"; 6003 }; 6004 propagatedBuildInputs = [ Filepushd ModulePluggable ]; 6005 meta = {
+7 -1
pkgs/top-level/python-packages.nix
··· 6164 6165 pint = callPackage ../development/python-modules/pint { }; 6166 6167 pip = callPackage ../development/python-modules/pip { }; 6168 6169 pipdate = callPackage ../development/python-modules/pipdate { }; ··· 6308 pythonfinder = callPackage ../development/python-modules/pythonfinder { }; 6309 6310 pyutil = callPackage ../development/python-modules/pyutil { }; 6311 6312 pkutils = callPackage ../development/python-modules/pkutils { }; 6313 ··· 6461 preggy = callPackage ../development/python-modules/preggy { }; 6462 6463 premailer = callPackage ../development/python-modules/premailer { }; 6464 6465 preshed = callPackage ../development/python-modules/preshed { }; 6466 ··· 8373 }; 8374 8375 pyudev = callPackage ../development/python-modules/pyudev { 8376 - inherit (pkgs) systemd; 8377 }; 8378 8379 pyunbound = callPackage ../tools/networking/unbound/python.nix { };
··· 6164 6165 pint = callPackage ../development/python-modules/pint { }; 6166 6167 + pint-pandas = callPackage ../development/python-modules/pint-pandas { }; 6168 + 6169 pip = callPackage ../development/python-modules/pip { }; 6170 6171 pipdate = callPackage ../development/python-modules/pipdate { }; ··· 6310 pythonfinder = callPackage ../development/python-modules/pythonfinder { }; 6311 6312 pyutil = callPackage ../development/python-modules/pyutil { }; 6313 + 6314 + pyzbar = callPackage ../development/python-modules/pyzbar { }; 6315 6316 pkutils = callPackage ../development/python-modules/pkutils { }; 6317 ··· 6465 preggy = callPackage ../development/python-modules/preggy { }; 6466 6467 premailer = callPackage ../development/python-modules/premailer { }; 6468 + 6469 + preprocess-cancellation = callPackage ../development/python-modules/preprocess-cancellation { }; 6470 6471 preshed = callPackage ../development/python-modules/preshed { }; 6472 ··· 8379 }; 8380 8381 pyudev = callPackage ../development/python-modules/pyudev { 8382 + inherit (pkgs) udev; 8383 }; 8384 8385 pyunbound = callPackage ../tools/networking/unbound/python.nix { };