Merge remote-tracking branch 'origin/master' into staging-next

Conflicts:
- pkgs/development/python-modules/django-anymail/default.nix
- pkgs/development/python-modules/dockerspawner/default.nix

+658 -257
+58 -44
doc/build-helpers/testers.chapter.md
··· 1 # Testers {#chap-testers} 2 This chapter describes several testing builders which are available in the `testers` namespace. 3 4 ## `hasPkgConfigModules` {#tester-hasPkgConfigModules} ··· 6 <!-- Old anchor name so links still work --> 7 []{#tester-hasPkgConfigModule} 8 Checks whether a package exposes a given list of `pkg-config` modules. 9 - If the `moduleNames` argument is omitted, `hasPkgConfigModules` will 10 - use `meta.pkgConfigModules`. 11 12 - Example: 13 14 ```nix 15 passthru.tests.pkg-config = testers.hasPkgConfigModules { 16 package = finalAttrs.finalPackage; 17 - moduleNames = [ "libfoo" ]; 18 }; 19 ``` 20 21 - If the package in question has `meta.pkgConfigModules` set, it is even simpler: 22 23 ```nix 24 passthru.tests.pkg-config = testers.hasPkgConfigModules { 25 package = finalAttrs.finalPackage; 26 }; 27 28 - meta.pkgConfigModules = [ "libfoo" ]; 29 - ``` 30 31 ## `testVersion` {#tester-testVersion} 32 ··· 83 - Move `$out` to `$out/result`, if it exists (assuming `out` is the default output) 84 - Save the build log to `$out/testBuildFailure.log` (same) 85 86 - Example: 87 88 ```nix 89 runCommand "example" { ··· 100 ''; 101 ``` 102 103 - While `testBuildFailure` is designed to keep changes to the original builder's 104 - environment to a minimum, some small changes are inevitable. 105 - 106 - - The file `$TMPDIR/testBuildFailure.log` is present. It should not be deleted. 107 - - `stdout` and `stderr` are a pipe instead of a tty. This could be improved. 108 - - One or two extra processes are present in the sandbox during the original 109 - builder's execution. 110 - - The derivation and output hashes are different, but not unusual. 111 - - The derivation includes a dependency on `buildPackages.bash` and 112 - `expect-failure.sh`, which is built to include a transitive dependency on 113 - `buildPackages.coreutils` and possibly more. These are not added to `PATH` 114 - or any other environment variable, so they should be hard to observe. 115 116 ## `testEqualContents` {#tester-equalContents} 117 118 Check that two paths have the same contents. 119 120 - Example: 121 122 ```nix 123 testers.testEqualContents { ··· 137 } 138 ``` 139 140 ## `testEqualDerivation` {#tester-testEqualDerivation} 141 142 Checks that two packages produce the exact same build instructions. 143 144 - This can be used to make sure that a certain difference of configuration, 145 - such as the presence of an overlay does not cause a cache miss. 146 147 When the derivations are equal, the return value is an empty file. 148 Otherwise, the build log explains the difference via `nix-diff`. 149 150 - Example: 151 152 ```nix 153 testers.testEqualDerivation ··· 156 (hello.overrideAttrs(o: { doCheck = true; })) 157 ``` 158 159 ## `invalidateFetcherByDrvHash` {#tester-invalidateFetcherByDrvHash} 160 161 Use the derivation hash to invalidate the output via name, for testing. 162 163 Type: `(a@{ name, ... } -> Derivation) -> a -> Derivation` 164 165 - Normally, fixed output derivations can and should be cached by their output 166 - hash only, but for testing we want to re-fetch everytime the fetcher changes. 167 168 - Changes to the fetcher become apparent in the drvPath, which is a hash of 169 - how to fetch, rather than a fixed store path. 170 - By inserting this hash into the name, we can make sure to re-run the fetcher 171 - every time the fetcher changes. 172 173 - This relies on the assumption that Nix isn't clever enough to reuse its 174 - database of local store contents to optimize fetching. 175 176 - You might notice that the "salted" name derives from the normal invocation, 177 - not the final derivation. `invalidateFetcherByDrvHash` has to invoke the fetcher 178 - function twice: once to get a derivation hash, and again to produce the final 179 - fixed output derivation. 180 181 - Example: 182 183 ```nix 184 tests.fetchgit = testers.invalidateFetcherByDrvHash fetchgit { ··· 189 }; 190 ``` 191 192 ## `runNixOSTest` {#tester-runNixOSTest} 193 194 A helper function that behaves exactly like the NixOS `runTest`, except it also assigns this Nixpkgs package set as the `pkgs` of the test and makes the `nixpkgs.*` options read-only. 195 196 If your test is part of the Nixpkgs repository, or if you need a more general entrypoint, see ["Calling a test" in the NixOS manual](https://nixos.org/manual/nixos/stable/index.html#sec-calling-nixos-tests). 197 198 - Example: 199 200 ```nix 201 pkgs.testers.runNixOSTest ({ lib, ... }: { ··· 209 }) 210 ``` 211 212 ## `nixosTest` {#tester-nixosTest} 213 214 Run a NixOS VM network test using this evaluation of Nixpkgs. 215 216 NOTE: This function is primarily for external use. NixOS itself uses `make-test-python.nix` directly. Packages defined in Nixpkgs [reuse NixOS tests via `nixosTests`, plural](#ssec-nixos-tests-linking). 217 218 - It is mostly equivalent to the function `import ./make-test-python.nix` from the 219 - [NixOS manual](https://nixos.org/nixos/manual/index.html#sec-nixos-tests), 220 - except that the current application of Nixpkgs (`pkgs`) will be used, instead of 221 - letting NixOS invoke Nixpkgs anew. 222 223 - If a test machine needs to set NixOS options under `nixpkgs`, it must set only the 224 - `nixpkgs.pkgs` option. 225 226 ### Parameter {#tester-nixosTest-parameter} 227
··· 1 # Testers {#chap-testers} 2 + 3 This chapter describes several testing builders which are available in the `testers` namespace. 4 5 ## `hasPkgConfigModules` {#tester-hasPkgConfigModules} ··· 7 <!-- Old anchor name so links still work --> 8 []{#tester-hasPkgConfigModule} 9 Checks whether a package exposes a given list of `pkg-config` modules. 10 + If the `moduleNames` argument is omitted, `hasPkgConfigModules` will use `meta.pkgConfigModules`. 11 + 12 + :::{.example #ex-haspkgconfigmodules-defaultvalues} 13 14 + # Check that `pkg-config` modules are exposed using default values 15 16 ```nix 17 passthru.tests.pkg-config = testers.hasPkgConfigModules { 18 package = finalAttrs.finalPackage; 19 }; 20 + 21 + meta.pkgConfigModules = [ "libfoo" ]; 22 ``` 23 24 + ::: 25 + 26 + :::{.example #ex-haspkgconfigmodules-explicitmodules} 27 + 28 + # Check that `pkg-config` modules are exposed using explicit module names 29 30 ```nix 31 passthru.tests.pkg-config = testers.hasPkgConfigModules { 32 package = finalAttrs.finalPackage; 33 + moduleNames = [ "libfoo" ]; 34 }; 35 + ``` 36 37 + ::: 38 39 ## `testVersion` {#tester-testVersion} 40 ··· 91 - Move `$out` to `$out/result`, if it exists (assuming `out` is the default output) 92 - Save the build log to `$out/testBuildFailure.log` (same) 93 94 + While `testBuildFailure` is designed to keep changes to the original builder's environment to a minimum, some small changes are inevitable: 95 + 96 + - The file `$TMPDIR/testBuildFailure.log` is present. It should not be deleted. 97 + - `stdout` and `stderr` are a pipe instead of a tty. This could be improved. 98 + - One or two extra processes are present in the sandbox during the original builder's execution. 99 + - The derivation and output hashes are different, but not unusual. 100 + - The derivation includes a dependency on `buildPackages.bash` and `expect-failure.sh`, which is built to include a transitive dependency on `buildPackages.coreutils` and possibly more. 101 + These are not added to `PATH` or any other environment variable, so they should be hard to observe. 102 + 103 + :::{.example #ex-testBuildFailure-showingenvironmentchanges} 104 + 105 + # Check that a build fails, and verify the changes made during build 106 107 ```nix 108 runCommand "example" { ··· 119 ''; 120 ``` 121 122 + ::: 123 124 ## `testEqualContents` {#tester-equalContents} 125 126 Check that two paths have the same contents. 127 128 + :::{.example #ex-testEqualContents-toyexample} 129 + 130 + # Check that two paths have the same contents 131 132 ```nix 133 testers.testEqualContents { ··· 147 } 148 ``` 149 150 + ::: 151 + 152 ## `testEqualDerivation` {#tester-testEqualDerivation} 153 154 Checks that two packages produce the exact same build instructions. 155 156 + This can be used to make sure that a certain difference of configuration, such as the presence of an overlay does not cause a cache miss. 157 158 When the derivations are equal, the return value is an empty file. 159 Otherwise, the build log explains the difference via `nix-diff`. 160 161 + :::{.example #ex-testEqualDerivation-hello} 162 + 163 + # Check that two packages produce the same derivation 164 165 ```nix 166 testers.testEqualDerivation ··· 169 (hello.overrideAttrs(o: { doCheck = true; })) 170 ``` 171 172 + ::: 173 + 174 ## `invalidateFetcherByDrvHash` {#tester-invalidateFetcherByDrvHash} 175 176 Use the derivation hash to invalidate the output via name, for testing. 177 178 Type: `(a@{ name, ... } -> Derivation) -> a -> Derivation` 179 180 + Normally, fixed output derivations can and should be cached by their output hash only, but for testing we want to re-fetch everytime the fetcher changes. 181 + 182 + Changes to the fetcher become apparent in the drvPath, which is a hash of how to fetch, rather than a fixed store path. 183 + By inserting this hash into the name, we can make sure to re-run the fetcher every time the fetcher changes. 184 185 + This relies on the assumption that Nix isn't clever enough to reuse its database of local store contents to optimize fetching. 186 187 + You might notice that the "salted" name derives from the normal invocation, not the final derivation. 188 + `invalidateFetcherByDrvHash` has to invoke the fetcher function twice: 189 + once to get a derivation hash, and again to produce the final fixed output derivation. 190 191 + :::{.example #ex-invalidateFetcherByDrvHash-nix} 192 193 + # Prevent nix from reusing the output of a fetcher 194 195 ```nix 196 tests.fetchgit = testers.invalidateFetcherByDrvHash fetchgit { ··· 201 }; 202 ``` 203 204 + ::: 205 + 206 ## `runNixOSTest` {#tester-runNixOSTest} 207 208 A helper function that behaves exactly like the NixOS `runTest`, except it also assigns this Nixpkgs package set as the `pkgs` of the test and makes the `nixpkgs.*` options read-only. 209 210 If your test is part of the Nixpkgs repository, or if you need a more general entrypoint, see ["Calling a test" in the NixOS manual](https://nixos.org/manual/nixos/stable/index.html#sec-calling-nixos-tests). 211 212 + :::{.example #ex-runNixOSTest-hello} 213 + 214 + # Run a NixOS test using `runNixOSTest` 215 216 ```nix 217 pkgs.testers.runNixOSTest ({ lib, ... }: { ··· 225 }) 226 ``` 227 228 + ::: 229 + 230 ## `nixosTest` {#tester-nixosTest} 231 232 Run a NixOS VM network test using this evaluation of Nixpkgs. 233 234 NOTE: This function is primarily for external use. NixOS itself uses `make-test-python.nix` directly. Packages defined in Nixpkgs [reuse NixOS tests via `nixosTests`, plural](#ssec-nixos-tests-linking). 235 236 + It is mostly equivalent to the function `import ./make-test-python.nix` from the [NixOS manual](https://nixos.org/nixos/manual/index.html#sec-nixos-tests), except that the current application of Nixpkgs (`pkgs`) will be used, instead of letting NixOS invoke Nixpkgs anew. 237 238 + If a test machine needs to set NixOS options under `nixpkgs`, it must set only the `nixpkgs.pkgs` option. 239 240 ### Parameter {#tester-nixosTest-parameter} 241
+2
nixos/doc/manual/release-notes/rl-2405.section.md
··· 41 42 - `k9s` was updated to v0.29. There have been breaking changes in the config file format, check out the [changelog](https://github.com/derailed/k9s/releases/tag/v0.29.0) for details. 43 44 - Invidious has changed its default database username from `kemal` to `invidious`. Setups involving an externally provisioned database (i.e. `services.invidious.database.createLocally == false`) should adjust their configuration accordingly. The old `kemal` user will not be removed automatically even when the database is provisioned automatically.(https://github.com/NixOS/nixpkgs/pull/265857) 45 46 - `mkosi` was updated to v19. Parts of the user interface have changed. Consult the
··· 41 42 - `k9s` was updated to v0.29. There have been breaking changes in the config file format, check out the [changelog](https://github.com/derailed/k9s/releases/tag/v0.29.0) for details. 43 44 + - `nitter` requires a `guest_accounts.jsonl` to be provided as a path or loaded into the default location at `/var/lib/nitter/guest_accounts.jsonl`. See [Guest Account Branch Deployment](https://github.com/zedeus/nitter/wiki/Guest-Account-Branch-Deployment) for details. 45 + 46 - Invidious has changed its default database username from `kemal` to `invidious`. Setups involving an externally provisioned database (i.e. `services.invidious.database.createLocally == false`) should adjust their configuration accordingly. The old `kemal` user will not be removed automatically even when the database is provisioned automatically.(https://github.com/NixOS/nixpkgs/pull/265857) 47 48 - `mkosi` was updated to v19. Parts of the user interface have changed. Consult the
+8 -1
nixos/modules/programs/direnv.nix
··· 49 default = true; 50 }; 51 52 - package = lib.mkPackageOption pkgs "nix-direnv" {}; 53 }; 54 }; 55
··· 49 default = true; 50 }; 51 52 + package = lib.mkOption { 53 + default = pkgs.nix-direnv.override { nix = config.nix.package; }; 54 + defaultText = "pkgs.nix-direnv"; 55 + type = lib.types.package; 56 + description = lib.mdDoc '' 57 + The nix-direnv package to use 58 + ''; 59 + }; 60 }; 61 }; 62
+30 -13
nixos/modules/programs/wayland/sway.nix
··· 26 }; 27 }; 28 29 - defaultSwayPackage = pkgs.sway.override { 30 - extraSessionCommands = cfg.extraSessionCommands; 31 - extraOptions = cfg.extraOptions; 32 - withBaseWrapper = cfg.wrapperFeatures.base; 33 - withGtkWrapper = cfg.wrapperFeatures.gtk; 34 - isNixOS = true; 35 - }; 36 in { 37 options.programs.sway = { 38 enable = mkEnableOption (lib.mdDoc '' ··· 44 45 package = mkOption { 46 type = with types; nullOr package; 47 - default = defaultSwayPackage; 48 defaultText = literalExpression "pkgs.sway"; 49 description = lib.mdDoc '' 50 - Sway package to use. Will override the options 51 - 'wrapperFeatures', 'extraSessionCommands', and 'extraOptions'. 52 - Set to `null` to not add any Sway package to your 53 - path. This should be done if you want to use the Home Manager Sway 54 - module to install Sway. 55 ''; 56 }; 57
··· 26 }; 27 }; 28 29 + genFinalPackage = pkg: 30 + let 31 + expectedArgs = lib.naturalSort [ 32 + "extraSessionCommands" 33 + "extraOptions" 34 + "withBaseWrapper" 35 + "withGtkWrapper" 36 + "isNixOS" 37 + ]; 38 + existedArgs = with lib; 39 + naturalSort 40 + (intersectLists expectedArgs (attrNames (functionArgs pkg.override))); 41 + in if existedArgs != expectedArgs then 42 + pkg 43 + else 44 + pkg.override { 45 + extraSessionCommands = cfg.extraSessionCommands; 46 + extraOptions = cfg.extraOptions; 47 + withBaseWrapper = cfg.wrapperFeatures.base; 48 + withGtkWrapper = cfg.wrapperFeatures.gtk; 49 + isNixOS = true; 50 + }; 51 in { 52 options.programs.sway = { 53 enable = mkEnableOption (lib.mdDoc '' ··· 59 60 package = mkOption { 61 type = with types; nullOr package; 62 + default = pkgs.sway; 63 + apply = p: if p == null then null else genFinalPackage p; 64 defaultText = literalExpression "pkgs.sway"; 65 description = lib.mdDoc '' 66 + Sway package to use. If the package does not contain the override arguments 67 + `extraSessionCommands`, `extraOptions`, `withBaseWrapper`, `withGtkWrapper`, 68 + `isNixOS`, then the module options {option}`wrapperFeatures`, 69 + {option}`wrapperFeatures` and {option}`wrapperFeatures` will have no effect. 70 + Set to `null` to not add any Sway package to your path. This should be done if 71 + you want to use the Home Manager Sway module to install Sway. 72 ''; 73 }; 74
+7 -1
nixos/modules/services/continuous-integration/buildkite-agents.nix
··· 35 type = lib.types.str; 36 }; 37 38 runtimePackages = lib.mkOption { 39 default = [ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ]; 40 defaultText = lib.literalExpression "[ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ]"; ··· 150 home = cfg.dataDir; 151 createHome = true; 152 description = "Buildkite agent user"; 153 - extraGroups = [ "keys" ]; 154 isSystemUser = true; 155 group = "buildkite-agent-${name}"; 156 };
··· 35 type = lib.types.str; 36 }; 37 38 + extraGroups = lib.mkOption { 39 + default = [ "keys" ]; 40 + description = lib.mdDoc "Groups the user for this buildkite agent should belong to"; 41 + type = lib.types.listOf lib.types.str; 42 + }; 43 + 44 runtimePackages = lib.mkOption { 45 default = [ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ]; 46 defaultText = lib.literalExpression "[ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ]"; ··· 156 home = cfg.dataDir; 157 createHome = true; 158 description = "Buildkite agent user"; 159 + extraGroups = cfg.extraGroups; 160 isSystemUser = true; 161 group = "buildkite-agent-${name}"; 162 };
+22 -1
nixos/modules/services/misc/nitter.nix
··· 304 ''; 305 }; 306 307 redisCreateLocally = mkOption { 308 type = types.bool; 309 default = true; ··· 333 after = [ "network-online.target" ]; 334 serviceConfig = { 335 DynamicUser = true; 336 StateDirectory = "nitter"; 337 - Environment = [ "NITTER_CONF_FILE=/var/lib/nitter/nitter.conf" ]; 338 # Some parts of Nitter expect `public` folder in working directory, 339 # see https://github.com/zedeus/nitter/issues/414 340 WorkingDirectory = "${cfg.package}/share/nitter";
··· 304 ''; 305 }; 306 307 + guestAccounts = mkOption { 308 + type = types.path; 309 + default = "/var/lib/nitter/guest_accounts.jsonl"; 310 + description = lib.mdDoc '' 311 + Path to the guest accounts file. 312 + 313 + This file contains a list of guest accounts that can be used to 314 + access the instance without logging in. The file is in JSONL format, 315 + where each line is a JSON object with the following fields: 316 + 317 + {"oauth_token":"some_token","oauth_token_secret":"some_secret_key"} 318 + 319 + See https://github.com/zedeus/nitter/wiki/Guest-Account-Branch-Deployment 320 + for more information on guest accounts and how to generate them. 321 + ''; 322 + }; 323 + 324 redisCreateLocally = mkOption { 325 type = types.bool; 326 default = true; ··· 350 after = [ "network-online.target" ]; 351 serviceConfig = { 352 DynamicUser = true; 353 + LoadCredential="guestAccountsFile:${cfg.guestAccounts}"; 354 StateDirectory = "nitter"; 355 + Environment = [ 356 + "NITTER_CONF_FILE=/var/lib/nitter/nitter.conf" 357 + "NITTER_ACCOUNTS_FILE=%d/guestAccountsFile" 358 + ]; 359 # Some parts of Nitter expect `public` folder in working directory, 360 # see https://github.com/zedeus/nitter/issues/414 361 WorkingDirectory = "${cfg.package}/share/nitter";
+2 -2
nixos/modules/services/web-apps/mastodon.nix
··· 136 # System Call Filtering 137 SystemCallFilter = [ ("~" + lib.concatStringsSep " " systemCallsList) "@chown" "pipe" "pipe2" ]; 138 } // cfgService; 139 - path = with pkgs; [ file imagemagick ffmpeg ]; 140 }) 141 ) cfg.sidekiqProcesses; 142 ··· 773 # System Call Filtering 774 SystemCallFilter = [ ("~" + lib.concatStringsSep " " systemCallsList) "@chown" "pipe" "pipe2" ]; 775 } // cfgService; 776 - path = with pkgs; [ file imagemagick ffmpeg ]; 777 }; 778 779 systemd.services.mastodon-media-auto-remove = lib.mkIf cfg.mediaAutoRemove.enable {
··· 136 # System Call Filtering 137 SystemCallFilter = [ ("~" + lib.concatStringsSep " " systemCallsList) "@chown" "pipe" "pipe2" ]; 138 } // cfgService; 139 + path = with pkgs; [ ffmpeg-headless file imagemagick ]; 140 }) 141 ) cfg.sidekiqProcesses; 142 ··· 773 # System Call Filtering 774 SystemCallFilter = [ ("~" + lib.concatStringsSep " " systemCallsList) "@chown" "pipe" "pipe2" ]; 775 } // cfgService; 776 + path = with pkgs; [ ffmpeg-headless file imagemagick ]; 777 }; 778 779 systemd.services.mastodon-media-auto-remove = lib.mkIf cfg.mediaAutoRemove.enable {
+18 -3
nixos/tests/nitter.nix
··· 1 import ./make-test-python.nix ({ pkgs, ... }: 2 3 { 4 name = "nitter"; 5 meta.maintainers = with pkgs.lib.maintainers; [ erdnaxe ]; 6 7 nodes.machine = { 8 - services.nitter.enable = true; 9 - # Test CAP_NET_BIND_SERVICE 10 - services.nitter.server.port = 80; 11 }; 12 13 testScript = ''
··· 1 import ./make-test-python.nix ({ pkgs, ... }: 2 3 + let 4 + # In a real deployment this should naturally not common from the nix store 5 + # and be seeded via agenix or as a non-nix managed file. 6 + # 7 + # These credentials are from the nitter wiki and are expired. We must provide 8 + # credentials in the correct format, otherwise nitter fails to start. They 9 + # must not be valid, as unauthorized errors are handled gracefully. 10 + guestAccountFile = pkgs.writeText "guest_accounts.jsonl" '' 11 + {"oauth_token":"1719213587296620928-BsXY2RIJEw7fjxoNwbBemgjJhueK0m","oauth_token_secret":"N0WB0xhL4ng6WTN44aZO82SUJjz7ssI3hHez2CUhTiYqy"} 12 + ''; 13 + in 14 { 15 name = "nitter"; 16 meta.maintainers = with pkgs.lib.maintainers; [ erdnaxe ]; 17 18 nodes.machine = { 19 + services.nitter = { 20 + enable = true; 21 + # Test CAP_NET_BIND_SERVICE 22 + server.port = 80; 23 + # Provide dummy guest accounts 24 + guestAccounts = guestAccountFile; 25 + }; 26 }; 27 28 testScript = ''
+3 -3
pkgs/applications/office/portfolio/default.nix
··· 27 in 28 stdenv.mkDerivation rec { 29 pname = "PortfolioPerformance"; 30 - version = "0.65.6"; 31 32 src = fetchurl { 33 url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz"; 34 - hash = "sha256-sI2DqhR9LmXxjkkMTDiMG/f/QXcBVPmEjbHFsmEP8qE="; 35 }; 36 37 nativeBuildInputs = [ ··· 73 homepage = "https://www.portfolio-performance.info/"; 74 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 75 license = licenses.epl10; 76 - maintainers = with maintainers; [ elohmeier oyren shawn8901 ]; 77 mainProgram = "portfolio"; 78 platforms = [ "x86_64-linux" ]; 79 };
··· 27 in 28 stdenv.mkDerivation rec { 29 pname = "PortfolioPerformance"; 30 + version = "0.66.2"; 31 32 src = fetchurl { 33 url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz"; 34 + hash = "sha256-jUakjgprf561OVwBW25+/+q+r2CZ6H1iDM3n6w54IfI="; 35 }; 36 37 nativeBuildInputs = [ ··· 73 homepage = "https://www.portfolio-performance.info/"; 74 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 75 license = licenses.epl10; 76 + maintainers = with maintainers; [ elohmeier kilianar oyren shawn8901 ]; 77 mainProgram = "portfolio"; 78 platforms = [ "x86_64-linux" ]; 79 };
+11 -7
pkgs/applications/video/mkvtoolnix/default.nix
··· 25 , pugixml 26 , qtbase 27 , qtmultimedia 28 , xdg-utils 29 , zlib 30 , withGUI ? true ··· 32 }: 33 34 let 35 - inherit (lib) enableFeature optional optionals optionalString; 36 37 phase = name: args: 38 '' ··· 64 pkg-config 65 rake 66 ] 67 - ++ optional withGUI wrapQtAppsHook; 68 69 - # 1. qtbase and qtmultimedia are needed without the GUI 70 - # 2. we have utf8cpp in nixpkgs but it doesn't find it 71 buildInputs = [ 72 boost 73 expat ··· 84 pugixml 85 qtbase 86 qtmultimedia 87 xdg-utils 88 zlib 89 ] 90 - ++ optional withGUI cmark 91 - ++ optional stdenv.isDarwin libiconv; 92 93 # autoupdate is not needed but it silences a ton of pointless warnings 94 postPatch = '' ··· 103 "--disable-static-qt" 104 "--disable-update-check" 105 "--enable-optimization" 106 - "--with-boost-libdir=${lib.getLib boost}/lib" 107 "--with-docbook-xsl-root=${docbook_xsl}/share/xml/docbook-xsl" 108 "--with-gettext" 109 (enableFeature withGUI "gui") 110 ]; 111
··· 25 , pugixml 26 , qtbase 27 , qtmultimedia 28 + , utf8cpp 29 , xdg-utils 30 , zlib 31 , withGUI ? true ··· 33 }: 34 35 let 36 + inherit (lib) 37 + enableFeature getDev getLib optionals optionalString; 38 39 phase = name: args: 40 '' ··· 66 pkg-config 67 rake 68 ] 69 + ++ optionals withGUI [ wrapQtAppsHook ]; 70 71 + # qtbase and qtmultimedia are needed without the GUI 72 buildInputs = [ 73 boost 74 expat ··· 85 pugixml 86 qtbase 87 qtmultimedia 88 + utf8cpp 89 xdg-utils 90 zlib 91 ] 92 + ++ optionals withGUI [ cmark ] 93 + ++ optionals stdenv.isDarwin [ libiconv ]; 94 95 # autoupdate is not needed but it silences a ton of pointless warnings 96 postPatch = '' ··· 105 "--disable-static-qt" 106 "--disable-update-check" 107 "--enable-optimization" 108 + "--with-boost-libdir=${getLib boost}/lib" 109 "--with-docbook-xsl-root=${docbook_xsl}/share/xml/docbook-xsl" 110 "--with-gettext" 111 + "--with-extra-includes=${getDev utf8cpp}/include/utf8cpp" 112 + "--with-extra-libs=${getLib utf8cpp}/lib" 113 (enableFeature withGUI "gui") 114 ]; 115
+32
pkgs/by-name/am/amphetype/package.nix
···
··· 1 + { fetchFromGitLab, lib, python3Packages, qt5 }: 2 + 3 + let 4 + pname = "amphetype"; 5 + version = "1.0.0"; 6 + in python3Packages.buildPythonApplication { 7 + inherit pname version; 8 + 9 + src = fetchFromGitLab { 10 + owner = "franksh"; 11 + repo = pname; 12 + rev = "v${version}"; 13 + hash = "sha256-pve2f+XMfFokMCtW3KdeOJ9Ey330Gwv/dk1+WBtrBEQ="; 14 + }; 15 + 16 + propagatedBuildInputs = with python3Packages; [ 17 + editdistance 18 + pyqt5 19 + translitcodec 20 + ]; 21 + 22 + doCheck = false; 23 + 24 + nativeBuildInputs = [ qt5.wrapQtAppsHook ]; 25 + 26 + meta = with lib; { 27 + description = "An advanced typing practice program"; 28 + homepage = "https://gitlab.com/franksh/amphetype"; 29 + license = licenses.gpl3Only; 30 + maintainers = with maintainers; [ rycee ]; 31 + }; 32 + }
+69
pkgs/by-name/cl/cloudlogoffline/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , qt5 5 + , makeDesktopItem 6 + , copyDesktopItems 7 + }: 8 + stdenv.mkDerivation (self: { 9 + pname = "cloudlogoffline"; 10 + version = "1.1.4"; 11 + rev = "185f294ec36d7ebe40e37d70148b15f58d60bf0d"; 12 + hash = "sha256-UEi7q3NbTgkg4tSjiksEO05YE4yjRul4qB9hFPswnK0="; 13 + 14 + src = fetchFromGitHub { 15 + inherit (self) rev hash; 16 + owner = "myzinsky"; 17 + repo = "cloudLogOffline"; 18 + }; 19 + 20 + nativeBuildInputs = [ 21 + qt5.qmake 22 + qt5.wrapQtAppsHook 23 + ] 24 + ++ lib.optionals (!stdenv.isDarwin) [ 25 + copyDesktopItems 26 + ]; 27 + 28 + buildInputs = [ 29 + qt5.qtbase 30 + qt5.qtgraphicaleffects 31 + qt5.qtlocation 32 + qt5.qtpositioning 33 + qt5.qtquickcontrols2 34 + qt5.qtsvg 35 + ]; 36 + 37 + postPatch = let 38 + targetDir = if stdenv.isDarwin then "Applications" else "bin"; 39 + in '' 40 + substituteInPlace CloudLogOffline.pro \ 41 + --replace 'target.path = /opt/$''${TARGET}/bin' "target.path = $out/${targetDir}" 42 + ''; 43 + 44 + postInstall = lib.optionalString (!stdenv.isDarwin) '' 45 + install -d $out/share/pixmaps 46 + install -m644 images/logo_circle.svg $out/share/pixmaps/cloudlogoffline.svg 47 + ''; 48 + 49 + desktopItems = lib.optionals (!stdenv.isDarwin) [ 50 + (makeDesktopItem { 51 + name = "cloudlogoffline"; 52 + desktopName = "CloudLogOffline"; 53 + exec = "CloudLogOffline"; 54 + icon = "cloudlogoffline"; 55 + comment = self.meta.description; 56 + genericName = "Ham radio contact logbook"; 57 + categories = [ "Network" "Utility" "HamRadio" ]; 58 + }) 59 + ]; 60 + 61 + meta = { 62 + description = "Offline frontend for Cloudlog"; 63 + homepage = "https://github.com/myzinsky/cloudLogOffline"; 64 + license = [ lib.licenses.lgpl3 ]; 65 + mainProgram = "CloudLogOffline"; 66 + maintainers = [ lib.maintainers.dblsaiko ]; 67 + platforms = lib.platforms.unix; 68 + }; 69 + })
+28
pkgs/by-name/co/composer-require-checker/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , php 5 + }: 6 + 7 + php.buildComposerProject (finalAttrs: { 8 + pname = "composer-require-checker"; 9 + version = "4.8.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "maglnet"; 13 + repo = "ComposerRequireChecker"; 14 + rev = finalAttrs.version; 15 + hash = "sha256-qCHUNaPunCPuWax/YUbYXaVh1JlJEwYvG/NmaSc1VpA="; 16 + }; 17 + 18 + vendorHash = "sha256-B5w5n2S/mTF7vpsLuHtf2DGR5aPBfO9QGmodYGXE+Cg="; 19 + 20 + meta = { 21 + description = "A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies"; 22 + homepage = "https://github.com/maglnet/ComposerRequireChecker/"; 23 + changelog = "https://github.com/maglnet/ComposerRequireChecker/releases/tag/${finalAttrs.version}"; 24 + license = with lib.licenses; [ mit ]; 25 + maintainers = with lib.maintainers; [ drupol ]; 26 + mainProgram = "composer-require-checker"; 27 + }; 28 + })
+31 -8
pkgs/by-name/ni/nitter/lock.json
··· 62 "packages": [ 63 "jsony" 64 ], 65 - "path": "/nix/store/bzcq8q439rdsqhhihikzv3rsx4l4ybdm-source", 66 - "rev": "ea811be", 67 - "sha256": "1720iqsxjhqmhw1zhhs7d2ncdz25r8fqadls1p1iry1wfikjlnba", 68 "srcDir": "src", 69 - "url": "https://github.com/treeform/jsony/archive/ea811be.tar.gz" 70 }, 71 { 72 "method": "fetchzip", ··· 95 "packages": [ 96 "nimcrypto" 97 ], 98 - "path": "/nix/store/dnj20qh97ylf57nka9wbxs735wbw7yxv-source", 99 - "rev": "4014ef9", 100 - "sha256": "1kgqr2lqaffglc1fgbanwcvhkqcbbd20d5b6w4lf0nksfl9c357a", 101 "srcDir": "", 102 - "url": "https://github.com/cheatfate/nimcrypto/archive/4014ef9.tar.gz" 103 }, 104 { 105 "method": "fetchzip", ··· 155 "sha256": "19d78787k97l5cis81800hxa9qjr0yzjshlzdp727gh6pn8kc8fj", 156 "srcDir": "src", 157 "url": "https://github.com/dom96/sass/archive/7dfdd03.tar.gz" 158 }, 159 { 160 "method": "fetchzip",
··· 62 "packages": [ 63 "jsony" 64 ], 65 + "path": "/nix/store/l84av0wdc0s4r4alsvkaxcxhpd6j4bzg-source", 66 + "rev": "1de1f08", 67 + "sha256": "0rj205cs3v6g80h8ys9flbdq4wyd1csmkwdxv0lz21972zcsrcfh", 68 "srcDir": "src", 69 + "url": "https://github.com/treeform/jsony/archive/1de1f08.tar.gz" 70 }, 71 { 72 "method": "fetchzip", ··· 95 "packages": [ 96 "nimcrypto" 97 ], 98 + "path": "/nix/store/zyr8zwh7vaiycn1s4r8cxwc71f2k5l0h-source", 99 + "rev": "a079df9", 100 + "sha256": "1dmdmgb6b9m5f8dyxk781nnd61dsk3hdxqks7idk9ncnpj9fng65", 101 "srcDir": "", 102 + "url": "https://github.com/cheatfate/nimcrypto/archive/a079df9.tar.gz" 103 + }, 104 + { 105 + "method": "fetchzip", 106 + "packages": [ 107 + "oauth" 108 + ], 109 + "path": "/nix/store/bwmrrzs6xpwizmww35461x3lqpgd0942-source", 110 + "rev": "b8c163b", 111 + "sha256": "0k5slyzjngbdr6g0b0dykhqmaf8r8n2klbkg2gpid4ckm8hg62v5", 112 + "srcDir": "src", 113 + "url": "https://github.com/CORDEA/oauth/archive/b8c163b.tar.gz" 114 }, 115 { 116 "method": "fetchzip", ··· 166 "sha256": "19d78787k97l5cis81800hxa9qjr0yzjshlzdp727gh6pn8kc8fj", 167 "srcDir": "src", 168 "url": "https://github.com/dom96/sass/archive/7dfdd03.tar.gz" 169 + }, 170 + { 171 + "method": "fetchzip", 172 + "packages": [ 173 + "sha1" 174 + ], 175 + "path": "/nix/store/a6a0ycxsaxpqks42aq9wicj8ars7z7ai-source", 176 + "ref": "master", 177 + "rev": "92ccc5800bb0ac4865b275a2ce3c1544e98b48bc", 178 + "sha256": "00zvvd8ssy22srg74xzapknmgmi82v534npjdrk5805shswfhqdm", 179 + "srcDir": "", 180 + "url": "https://github.com/onionhammer/sha1/archive/92ccc5800bb0ac4865b275a2ce3c1544e98b48bc.tar.gz" 181 }, 182 { 183 "method": "fetchzip",
+3 -3
pkgs/by-name/ni/nitter/package.nix
··· 8 9 buildNimPackage (finalAttrs: prevAttrs: { 10 pname = "nitter"; 11 - version = "unstable-2023-10-31"; 12 13 src = fetchFromGitHub { 14 owner = "zedeus"; 15 repo = "nitter"; 16 - rev = "b62d73dbd373f08af07c7a79efcd790d3bc1a49c"; 17 - hash = "sha256-yCD7FbqWZMY0fyFf9Q3Ka06nw5Ha7jYLpmPONAhEVIM="; 18 }; 19 20 lockFile = ./lock.json;
··· 8 9 buildNimPackage (finalAttrs: prevAttrs: { 10 pname = "nitter"; 11 + version = "unstable-2023-12-03"; 12 13 src = fetchFromGitHub { 14 owner = "zedeus"; 15 repo = "nitter"; 16 + rev = "583c858cdf3486451ed6a0627640844f27009dbe"; 17 + hash = "sha256-3E6nfmOFhQ2bjwGMWdTmZ38Fg/SE36s6fxYDXwSJaTw="; 18 }; 19 20 lockFile = ./lock.json;
+3 -3
pkgs/by-name/te/terrapin-scanner/package.nix
··· 5 6 buildGoModule rec { 7 pname = "terrapin-scanner"; 8 - version = "1.0.3"; 9 10 src = fetchFromGitHub { 11 owner = "RUB-NDS"; 12 repo = "Terrapin-Scanner"; 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-snKEIWhFj+uG/jY1nbq/8T0y2FcAdkIUTf9J2Lz6owo="; 15 }; 16 17 - vendorHash = null; 18 19 ldflags = [ 20 "-s"
··· 5 6 buildGoModule rec { 7 pname = "terrapin-scanner"; 8 + version = "1.1.0"; 9 10 src = fetchFromGitHub { 11 owner = "RUB-NDS"; 12 repo = "Terrapin-Scanner"; 13 rev = "refs/tags/v${version}"; 14 + hash = "sha256-d0aAs9dT74YQkzDQnmeEo+p/RnPHeG2+SgCCF/t1F+w="; 15 }; 16 17 + vendorHash = "sha256-skYMlL9SbBoC89tFCTIzyRViEJaviXENASEqr6zSvoo="; 18 19 ldflags = [ 20 "-s"
+2 -2
pkgs/development/libraries/gdal/default.nix
··· 76 77 stdenv.mkDerivation (finalAttrs: { 78 pname = "gdal"; 79 - version = "3.8.1"; 80 81 src = fetchFromGitHub { 82 owner = "OSGeo"; 83 repo = "gdal"; 84 rev = "v${finalAttrs.version}"; 85 - hash = "sha256-EQWAJZgufUC0FADuIotrGhP0Nf5qlgOwmiSlqLSv00A="; 86 }; 87 88 nativeBuildInputs = [
··· 76 77 stdenv.mkDerivation (finalAttrs: { 78 pname = "gdal"; 79 + version = "3.8.2"; 80 81 src = fetchFromGitHub { 82 owner = "OSGeo"; 83 repo = "gdal"; 84 rev = "v${finalAttrs.version}"; 85 + hash = "sha256-R21zRjEvJO+97yXJDvzDJryQ7ps9uEN62DZ0GCxdoFk="; 86 }; 87 88 nativeBuildInputs = [
+15 -17
pkgs/development/python-modules/django-anymail/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , six 5 , requests 6 , django 7 , boto3 8 , mock 9 - , pytestCheckHook 10 - , pytest-django 11 - , setuptools 12 }: 13 14 buildPythonPackage rec { ··· 24 }; 25 26 nativeBuildInputs = [ 27 - setuptools 28 ]; 29 30 propagatedBuildInputs = [ 31 - six 32 requests 33 django 34 - boto3 35 ]; 36 37 nativeCheckInputs = [ 38 - pytestCheckHook 39 - pytest-django 40 mock 41 - ]; 42 43 - disabledTests = [ 44 - # Require networking 45 - "test_debug_logging" 46 - "test_no_debug_logging" 47 - ]; 48 49 - pythonImportsCheck = [ "anymail" ]; 50 51 - DJANGO_SETTINGS_MODULE = "tests.test_settings.settings_3_2"; 52 53 meta = with lib; { 54 description = "Django email backends and webhooks for Mailgun";
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , requests 5 , django 6 , boto3 7 + , hatchling 8 + , python 9 , mock 10 + , responses 11 }: 12 13 buildPythonPackage rec { ··· 23 }; 24 25 nativeBuildInputs = [ 26 + hatchling 27 ]; 28 29 propagatedBuildInputs = [ 30 requests 31 django 32 ]; 33 34 nativeCheckInputs = [ 35 mock 36 + responses 37 + ] ++ passthru.optional-dependencies.amazon-ses; 38 39 + passthru.optional-dependencies = { 40 + amazon-ses = [ boto3 ]; 41 + }; 42 43 + checkPhase = '' 44 + runHook preCheck 45 + CONTINUOUS_INTEGRATION=1 ${python.interpreter} runtests.py 46 + runHook postCheck 47 + ''; 48 49 + pythonImportsCheck = [ "anymail" ]; 50 51 meta = with lib; { 52 description = "Django email backends and webhooks for Mailgun";
+7 -4
pkgs/development/python-modules/dockerspawner/default.nix
··· 30 # tests require docker 31 doCheck = false; 32 33 - pythonImportsCheck = [ "dockerspawner" ]; 34 35 meta = with lib; { 36 - description = "Dockerspawner: A custom spawner for Jupyterhub"; 37 - homepage = "https://jupyter.org"; 38 license = licenses.bsd3; 39 - maintainers = [ ]; 40 }; 41 }
··· 30 # tests require docker 31 doCheck = false; 32 33 + pythonImportsCheck = [ 34 + "dockerspawner" 35 + ]; 36 37 meta = with lib; { 38 + description = "A custom spawner for Jupyterhub"; 39 + homepage = "https://github.com/jupyterhub/dockerspawner"; 40 + changelog = "https://github.com/jupyterhub/dockerspawner/blob/${version}/docs/source/changelog.md"; 41 license = licenses.bsd3; 42 + maintainers = with maintainers; [ ]; 43 }; 44 }
+5 -5
pkgs/development/python-modules/etils/default.nix
··· 28 29 buildPythonPackage rec { 30 pname = "etils"; 31 - version = "1.5.2"; 32 - format = "pyproject"; 33 34 - disabled = pythonOlder "3.8"; 35 36 src = fetchPypi { 37 inherit pname version; 38 - hash = "sha256-umo+Gv+Vx2kTB3aqF2wRVAY39d2IHzt5FypRSbaxxEY="; 39 }; 40 41 nativeBuildInputs = [ ··· 81 82 meta = with lib; { 83 changelog = "https://github.com/google/etils/blob/v${version}/CHANGELOG.md"; 84 - description = "Collection of eclectic utils for python"; 85 homepage = "https://github.com/google/etils"; 86 license = licenses.asl20; 87 maintainers = with maintainers; [ mcwitt ];
··· 28 29 buildPythonPackage rec { 30 pname = "etils"; 31 + version = "1.6.0"; 32 + pyproject = true; 33 34 + disabled = pythonOlder "3.10"; 35 36 src = fetchPypi { 37 inherit pname version; 38 + hash = "sha256-xjX70Cp5/tStdoJdMTBrWB0itAZxch2qi8J5z2Mz5Io="; 39 }; 40 41 nativeBuildInputs = [ ··· 81 82 meta = with lib; { 83 changelog = "https://github.com/google/etils/blob/v${version}/CHANGELOG.md"; 84 + description = "Collection of eclectic utils"; 85 homepage = "https://github.com/google/etils"; 86 license = licenses.asl20; 87 maintainers = with maintainers; [ mcwitt ];
+2 -2
pkgs/development/python-modules/faraday-plugins/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "faraday-plugins"; 21 - version = "1.14.0"; 22 format = "setuptools"; 23 24 disabled = pythonOlder "3.7"; ··· 27 owner = "infobyte"; 28 repo = "faraday_plugins"; 29 rev = "refs/tags/${version}"; 30 - hash = "sha256-qFA0AVebHd/Ny8x+rUkueLZhYB/PwL7o/qpUnZCRsEA="; 31 }; 32 33 postPatch = ''
··· 18 19 buildPythonPackage rec { 20 pname = "faraday-plugins"; 21 + version = "1.15.0"; 22 format = "setuptools"; 23 24 disabled = pythonOlder "3.7"; ··· 27 owner = "infobyte"; 28 repo = "faraday_plugins"; 29 rev = "refs/tags/${version}"; 30 + hash = "sha256-2Z3S5zojaRVaeeujFor/g3x+rxKppw/jSyq0GRJ49OY="; 31 }; 32 33 postPatch = ''
+11 -5
pkgs/development/python-modules/feedparser/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , pythonOlder 5 , sgmllib3k 6 - , python 7 }: 8 9 buildPythonPackage rec { 10 pname = "feedparser"; 11 - version = "6.0.10"; 12 - format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-J9pIX0Y3znFjzeqxOoAxK5O30MG3db70pHYpoxELylE="; 19 }; 20 21 propagatedBuildInputs = [ 22 sgmllib3k ··· 36 ]; 37 38 meta = with lib; { 39 homepage = "https://github.com/kurtmckee/feedparser"; 40 - description = "Universal feed parser"; 41 license = licenses.bsd2; 42 maintainers = with maintainers; [ domenkozar ]; 43 };
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , python 5 , pythonOlder 6 + , setuptools 7 , sgmllib3k 8 }: 9 10 buildPythonPackage rec { 11 pname = "feedparser"; 12 + version = "6.0.11"; 13 + pyproject = true; 14 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-ydBAe2TG8qBl0OuyksKzXAEFDMDcM3V0Yaqr3ExBhNU="; 20 }; 21 + 22 + nativeBuildInputs = [ 23 + setuptools 24 + ]; 25 26 propagatedBuildInputs = [ 27 sgmllib3k ··· 41 ]; 42 43 meta = with lib; { 44 + description = "Universal feed parser"; 45 homepage = "https://github.com/kurtmckee/feedparser"; 46 + changelog = "https://feedparser.readthedocs.io/en/latest/changelog.html"; 47 license = licenses.bsd2; 48 maintainers = with maintainers; [ domenkozar ]; 49 };
+2 -2
pkgs/development/python-modules/gehomesdk/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "gehomesdk"; 16 - version = "0.5.25"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-VQSefwzw4zA9ycO8723kBlMbtrOJxmKgZ8tfXZmtyQc="; 24 }; 25 26 propagatedBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "gehomesdk"; 16 + version = "0.5.26"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-eIpBVfkUIQBriZ4wxp8ii5YmuuKF8r0lNauBEEqoNV8="; 24 }; 25 26 propagatedBuildInputs = [
+19 -13
pkgs/development/python-modules/gflanguages/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , protobuf 5 - , setuptools-scm 6 - , pythonRelaxDepsHook 7 , pytestCheckHook 8 , uharfbuzz 9 , youseedee 10 }: 11 12 buildPythonPackage rec { 13 pname = "gflanguages"; 14 - version = "0.5.10"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-JVeI7TlJjbKCa+gGmjylbNiEhX3qmpbLXiH3VpFqgXc="; 20 }; 21 22 - propagatedBuildInputs = [ 23 - protobuf 24 ]; 25 nativeBuildInputs = [ 26 setuptools-scm 27 ]; 28 29 - doCheck = true; 30 nativeCheckInputs = [ 31 pythonRelaxDepsHook 32 pytestCheckHook ··· 34 youseedee 35 ]; 36 37 - # Relax the dependency on protobuf 3. Other packages in the Google Fonts 38 - # ecosystem have begun upgrading from protobuf 3 to protobuf 4, 39 - # so we need to use protobuf 4 here as well to avoid a conflict 40 - # in the closure of fontbakery. It seems to be compatible enough. 41 - pythonRelaxDeps = [ "protobuf" ]; 42 - 43 meta = with lib; { 44 description = "Python library for Google Fonts language metadata"; 45 homepage = "https://github.com/googlefonts/lang"; 46 license = licenses.asl20; 47 maintainers = with maintainers; [ danc86 ]; 48 };
··· 2 , buildPythonPackage 3 , fetchPypi 4 , protobuf 5 , pytestCheckHook 6 + , pythonOlder 7 + , pythonRelaxDepsHook 8 + , setuptools-scm 9 , uharfbuzz 10 , youseedee 11 }: 12 13 buildPythonPackage rec { 14 pname = "gflanguages"; 15 + version = "0.5.13"; 16 format = "setuptools"; 17 18 + disabled = pythonOlder "3.7"; 19 + 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-LoppJHzX0dOpHnwMCyS1ACdIO4cqwb370ksvsXDFHzQ="; 23 }; 24 25 + # Relax the dependency on protobuf 3. Other packages in the Google Fonts 26 + # ecosystem have begun upgrading from protobuf 3 to protobuf 4, 27 + # so we need to use protobuf 4 here as well to avoid a conflict 28 + # in the closure of fontbakery. It seems to be compatible enough. 29 + pythonRelaxDeps = [ 30 + "protobuf" 31 ]; 32 + 33 nativeBuildInputs = [ 34 setuptools-scm 35 ]; 36 37 + propagatedBuildInputs = [ 38 + protobuf 39 + ]; 40 + 41 nativeCheckInputs = [ 42 pythonRelaxDepsHook 43 pytestCheckHook ··· 45 youseedee 46 ]; 47 48 meta = with lib; { 49 description = "Python library for Google Fonts language metadata"; 50 homepage = "https://github.com/googlefonts/lang"; 51 + changelog = "https://github.com/googlefonts/lang/releases/tag/v${version}"; 52 license = licenses.asl20; 53 maintainers = with maintainers; [ danc86 ]; 54 };
+4 -4
pkgs/development/python-modules/google-cloud-bigquery-datatransfer/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "google-cloud-bigquery-datatransfer"; 17 - version = "3.12.1"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - hash = "sha256-uEWnQIGs4yybuukzgrAqaduFYKNW9h/WouX2MzSVgUg="; 25 }; 26 27 propagatedBuildInputs = [ ··· 50 51 meta = with lib; { 52 description = "BigQuery Data Transfer API client library"; 53 - homepage = "https://github.com/googleapis/python-bigquery-datatransfer"; 54 - changelog = "https://github.com/googleapis/python-bigquery-datatransfer/blob/v${version}/CHANGELOG.md"; 55 license = licenses.asl20; 56 maintainers = with maintainers; [ ]; 57 };
··· 14 15 buildPythonPackage rec { 16 pname = "google-cloud-bigquery-datatransfer"; 17 + version = "3.13.0"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-J6hFyyJgWlEsBc4owokNLvl61O38mBevVVpz2AJOw7o="; 25 }; 26 27 propagatedBuildInputs = [ ··· 50 51 meta = with lib; { 52 description = "BigQuery Data Transfer API client library"; 53 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-bigquery-datatransfer"; 54 + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-bigquery-datatransfer-v${version}/packages/google-cloud-bigquery-datatransfer/CHANGELOG.md"; 55 license = licenses.asl20; 56 maintainers = with maintainers; [ ]; 57 };
+4 -4
pkgs/development/python-modules/google-cloud-iam-logging/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "google-cloud-iam-logging"; 16 - version = "1.2.2"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-6IBjA2WwP11d/vQJSIY3WhbqYvAgFRtZFFSffUqKM38="; 24 }; 25 26 propagatedBuildInputs = [ ··· 43 44 meta = with lib; { 45 description = "IAM Service Logging client library"; 46 - homepage = "https://github.com/googleapis/python-iam-logging"; 47 - changelog = "https://github.com/googleapis/python-iam-logging/blob/v${version}/CHANGELOG.md"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ fab ]; 50 };
··· 13 14 buildPythonPackage rec { 15 pname = "google-cloud-iam-logging"; 16 + version = "1.3.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-oLqRmxNPbb+nUMN70kGlAtBCji4wXrbRv2DhNMcZV5c="; 24 }; 25 26 propagatedBuildInputs = [ ··· 43 44 meta = with lib; { 45 description = "IAM Service Logging client library"; 46 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-iam-logging"; 47 + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-iam-logging-v${version}/packages/google-cloud-iam-logging/CHANGELOG.md"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ fab ]; 50 };
+4 -4
pkgs/development/python-modules/google-cloud-tasks/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "google-cloud-tasks"; 16 - version = "2.14.2"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-PvsoDnpjX1eGCgajRhMcEXBC6CCtSDr9JWgA+uG01wE="; 24 }; 25 26 propagatedBuildInputs = [ ··· 50 51 meta = with lib; { 52 description = "Cloud Tasks API API client library"; 53 - homepage = "https://github.com/googleapis/python-tasks"; 54 - changelog = "https://github.com/googleapis/python-tasks/blob/v${version}/CHANGELOG.md"; 55 license = licenses.asl20; 56 maintainers = with maintainers; [ ]; 57 };
··· 13 14 buildPythonPackage rec { 15 pname = "google-cloud-tasks"; 16 + version = "2.15.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-SpmTjbARHVU3hkG1I1uY5r12S8jip+JN9wb4uGO98nw="; 24 }; 25 26 propagatedBuildInputs = [ ··· 50 51 meta = with lib; { 52 description = "Cloud Tasks API API client library"; 53 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-tasks"; 54 + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-tasks-v${version}/packages/google-cloud-tasks/CHANGELOG.md"; 55 license = licenses.asl20; 56 maintainers = with maintainers; [ ]; 57 };
+4 -4
pkgs/development/python-modules/google-cloud-texttospeech/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "google-cloud-texttospeech"; 15 - version = "2.14.2"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-ojc4NmmI+vTSZSAPV8XeQxLvo9FLtDS5Km5UFxP12QY="; 23 }; 24 25 propagatedBuildInputs = [ ··· 48 49 meta = with lib; { 50 description = "Google Cloud Text-to-Speech API client library"; 51 - homepage = "https://github.com/googleapis/python-texttospeech"; 52 - changelog = "https://github.com/googleapis/python-texttospeech/blob/v${version}/CHANGELOG.md"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ ]; 55 };
··· 12 13 buildPythonPackage rec { 14 pname = "google-cloud-texttospeech"; 15 + version = "2.15.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-d4Y+1U94/NLhlMoRPJzF5+QLhzBszsG6MH5G3PgfBzc="; 23 }; 24 25 propagatedBuildInputs = [ ··· 48 49 meta = with lib; { 50 description = "Google Cloud Text-to-Speech API client library"; 51 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-texttospeech"; 52 + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-texttospeech-v${version}/packages/google-cloud-texttospeech/CHANGELOG.md"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ ]; 55 };
+4 -4
pkgs/development/python-modules/google-cloud-trace/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "google-cloud-trace"; 16 - version = "1.11.3"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-ud0MLfv5Oy3AV6RdAkyMbCxM2+55txtfoekTB1eznFE="; 24 }; 25 26 propagatedBuildInputs = [ ··· 50 51 meta = with lib; { 52 description = "Cloud Trace API client library"; 53 - homepage = "https://github.com/googleapis/python-trace"; 54 - changelog = "https://github.com/googleapis/python-trace/blob/v${version}/CHANGELOG.md"; 55 license = licenses.asl20; 56 maintainers = with maintainers; [ ]; 57 };
··· 13 14 buildPythonPackage rec { 15 pname = "google-cloud-trace"; 16 + version = "1.12.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-IvbMxHbOMQHUH7q86sP+/N/gV9KWez6OIMAmcTY6Uko="; 24 }; 25 26 propagatedBuildInputs = [ ··· 50 51 meta = with lib; { 52 description = "Cloud Trace API client library"; 53 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-trace"; 54 + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-trace-v${version}/packages/google-cloud-trace/CHANGELOG.md"; 55 license = licenses.asl20; 56 maintainers = with maintainers; [ ]; 57 };
+4 -4
pkgs/development/python-modules/google-cloud-videointelligence/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "google-cloud-videointelligence"; 16 - version = "2.11.4"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - hash = "sha256-B6zimaY/Wz1EQTdWNIU7Vc6PkMYsaiT4pH6wVBSfb5k="; 24 }; 25 26 propagatedBuildInputs = [ ··· 52 53 meta = with lib; { 54 description = "Google Cloud Video Intelligence API client library"; 55 - homepage = "https://github.com/googleapis/python-videointelligence"; 56 - changelog = "https://github.com/googleapis/python-videointelligence/blob/v${version}/CHANGELOG.md"; 57 license = licenses.asl20; 58 maintainers = with maintainers; [ ]; 59 };
··· 13 14 buildPythonPackage rec { 15 pname = "google-cloud-videointelligence"; 16 + version = "2.12.0"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-SwGUkyzSYEGZuIBbwQhpLmoqJZ9Hd1FrnLyXi4hx4pU="; 24 }; 25 26 propagatedBuildInputs = [ ··· 52 53 meta = with lib; { 54 description = "Google Cloud Video Intelligence API client library"; 55 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-videointelligence"; 56 + changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-videointelligence-v${version}/packages/google-cloud-videointelligence/CHANGELOG.md"; 57 license = licenses.asl20; 58 maintainers = with maintainers; [ ]; 59 };
+4 -4
pkgs/development/python-modules/google-cloud-websecurityscanner/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "google-cloud-websecurityscanner"; 15 - version = "1.12.3"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-zu4e4MTpc24p5ZWeRfVQwX0brciaz80FDGbxy6UppEA="; 23 }; 24 25 propagatedBuildInputs = [ ··· 41 42 meta = with lib; { 43 description = "Google Cloud Web Security Scanner API client library"; 44 - homepage = "https://github.com/googleapis/python-websecurityscanner"; 45 - changelog = "https://github.com/googleapis/python-websecurityscanner/blob/v${version}/CHANGELOG.md"; 46 license = licenses.asl20; 47 maintainers = with maintainers; [ ]; 48 };
··· 12 13 buildPythonPackage rec { 14 pname = "google-cloud-websecurityscanner"; 15 + version = "1.13.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-vktbTjzNYMa8otEGGq36fYOKcNuNasWql4SBWbk84Iw="; 23 }; 24 25 propagatedBuildInputs = [ ··· 41 42 meta = with lib; { 43 description = "Google Cloud Web Security Scanner API client library"; 44 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-websecurityscanner"; 45 + changelog = "https://github.com/googleapis/google-cloud-python/tree/google-cloud-websecurityscanner-v${version}/packages/google-cloud-websecurityscanner"; 46 license = licenses.asl20; 47 maintainers = with maintainers; [ ]; 48 };
+79
pkgs/development/python-modules/gotailwind/default.nix
···
··· 1 + { lib 2 + , aiohttp 3 + , aresponses 4 + , awesomeversion 5 + , backoff 6 + , buildPythonPackage 7 + , fetchFromGitHub 8 + , mashumaro 9 + , orjson 10 + , poetry-core 11 + , pytest-asyncio 12 + , pytestCheckHook 13 + , pythonOlder 14 + , syrupy 15 + , typer 16 + , yarl 17 + , zeroconf 18 + }: 19 + 20 + buildPythonPackage rec { 21 + pname = "gotailwind"; 22 + version = "0.2.2"; 23 + pyproject = true; 24 + 25 + disabled = pythonOlder "3.11"; 26 + 27 + src = fetchFromGitHub { 28 + owner = "frenck"; 29 + repo = "python-gotailwind"; 30 + rev = "refs/tags/v${version}"; 31 + hash = "sha256-JtMBud3iON4xLc9dQdXniv51EBqs7zkat8cYm3q0uEE="; 32 + }; 33 + 34 + postPatch = '' 35 + # Upstream doesn't set a version for the pyproject.toml 36 + substituteInPlace pyproject.toml \ 37 + --replace "0.0.0" "${version}" \ 38 + --replace "--cov" "" 39 + ''; 40 + 41 + nativeBuildInputs = [ 42 + poetry-core 43 + ]; 44 + 45 + propagatedBuildInputs = [ 46 + aiohttp 47 + awesomeversion 48 + backoff 49 + mashumaro 50 + orjson 51 + yarl 52 + zeroconf 53 + ]; 54 + 55 + passthru.optional-dependencies = { 56 + cli = [ 57 + typer 58 + ]; 59 + }; 60 + 61 + nativeCheckInputs = [ 62 + aresponses 63 + pytest-asyncio 64 + pytestCheckHook 65 + syrupy 66 + ]; 67 + 68 + pythonImportsCheck = [ 69 + "gotailwind" 70 + ]; 71 + 72 + meta = with lib; { 73 + description = "Modul to communicate with Tailwind garage door openers"; 74 + homepage = "https://github.com/frenck/python-gotailwind"; 75 + changelog = "https://github.com/frenck/python-gotailwind/releases/tag/v$version"; 76 + license = licenses.mit; 77 + maintainers = with maintainers; [ fab ]; 78 + }; 79 + }
+12 -5
pkgs/development/python-modules/grad-cam/default.nix
··· 7 , opencv4 8 , pillow 9 , scikit-learn 10 , torch 11 , torchvision 12 , ttach ··· 15 16 buildPythonPackage rec { 17 pname = "grad-cam"; 18 - version = "1.4.8"; 19 - disabled = pythonOlder "3.6"; 20 - format = "pyproject"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - hash = "sha256-BNcwDaEEmRsEoJ4nvvGfjZ9LdG0eRqZCFuY5/Gmp5N4="; 25 }; 26 27 postPatch = '' 28 - substituteInPlace requirements.txt --replace "opencv-python" "opencv" 29 ''; 30 31 propagatedBuildInputs = [ 32 matplotlib
··· 7 , opencv4 8 , pillow 9 , scikit-learn 10 + , setuptools 11 , torch 12 , torchvision 13 , ttach ··· 16 17 buildPythonPackage rec { 18 pname = "grad-cam"; 19 + version = "1.5.0"; 20 + pyproject = true; 21 + 22 + disabled = pythonOlder "3.8"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-aw7Z/6/AMKH2PVBcOr8HxsmRDa6c3v8Xd4xa8HTiFGA="; 27 }; 28 29 postPatch = '' 30 + substituteInPlace requirements.txt\ 31 + --replace "opencv-python" "opencv" 32 ''; 33 + 34 + nativeBuildInputs = [ 35 + setuptools 36 + ]; 37 38 propagatedBuildInputs = [ 39 matplotlib
+2 -2
pkgs/development/python-modules/gspread/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "gspread"; 15 - version = "5.12.1"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; ··· 21 owner = "burnash"; 22 repo = "gspread"; 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-cuSR5QWURHSL1o2R4rc/m3KETz3X+78TC8LuuzZghbs="; 25 }; 26 27 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "gspread"; 15 + version = "5.12.3"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; ··· 21 owner = "burnash"; 22 repo = "gspread"; 23 rev = "refs/tags/v${version}"; 24 + hash = "sha256-NmIWGHS40VOUL3IGSR/SW9inbSQFv+2UDgo1FZWROHI="; 25 }; 26 27 nativeBuildInputs = [
+3 -3
pkgs/development/python-modules/habluetooth/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "habluetooth"; 20 - version = "0.9.0"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; ··· 26 owner = "Bluetooth-Devices"; 27 repo = "habluetooth"; 28 rev = "refs/tags/v${version}"; 29 - hash = "sha256-jAv3ygKsd2leHTR6FAIxaq+PtQbjauzyA+wvxTfTe2g="; 30 }; 31 32 postPatch = '' ··· 61 meta = with lib; { 62 description = "Library for high availability Bluetooth"; 63 homepage = "https://github.com/Bluetooth-Devices/habluetooth"; 64 - changelog = "https://github.com/Bluetooth-Devices/habluetooth/blob/${version}/CHANGELOG.md"; 65 license = licenses.asl20; 66 maintainers = with maintainers; [ fab ]; 67 };
··· 17 18 buildPythonPackage rec { 19 pname = "habluetooth"; 20 + version = "1.0.0"; 21 pyproject = true; 22 23 disabled = pythonOlder "3.9"; ··· 26 owner = "Bluetooth-Devices"; 27 repo = "habluetooth"; 28 rev = "refs/tags/v${version}"; 29 + hash = "sha256-bk6UU+QGrkHio5j0/rOup7EQV12F/lb4m4b7JiJ7LFw="; 30 }; 31 32 postPatch = '' ··· 61 meta = with lib; { 62 description = "Library for high availability Bluetooth"; 63 homepage = "https://github.com/Bluetooth-Devices/habluetooth"; 64 + changelog = "https://github.com/Bluetooth-Devices/habluetooth/blob/v${version}/CHANGELOG.md"; 65 license = licenses.asl20; 66 maintainers = with maintainers; [ fab ]; 67 };
+2 -2
pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "ibm-cloud-sdk-core"; 15 - version = "3.18.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-vytpQHYZcMFLU/yPwTWvVnxYuXCdsyFL5AOjg91Ryrs="; 23 }; 24 25 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "ibm-cloud-sdk-core"; 15 + version = "3.18.2"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-0gjISrKELopSMEuZHL8fy8q7rMuMqzATkP+c4Y8I+9A="; 23 }; 24 25 nativeBuildInputs = [
+3 -3
pkgs/development/python-modules/id/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "id"; 14 - version = "1.1.0"; 15 pyproject = true; 16 17 - disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "di"; 21 repo = "id"; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-T3p13EnXU1Efysnu1RQw5st1BgHyZNdrKtkzQSguRtM="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "id"; 14 + version = "1.2.1"; 15 pyproject = true; 16 17 + disabled = pythonOlder "3.8"; 18 19 src = fetchFromGitHub { 20 owner = "di"; 21 repo = "id"; 22 rev = "refs/tags/v${version}"; 23 + hash = "sha256-njX4kL8pCv6+SyYUtmzUh/BWWsaueKO+IiJ96sAXMVo="; 24 }; 25 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/life360/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "life360"; 11 - version = "6.0.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; ··· 17 owner = "pnbruckner"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-GRQPH7fp8YkkCEpXtvgFxJO6VLFQK/PBaRe0Tfg3KdU="; 21 }; 22 23 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "life360"; 11 + version = "6.0.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; ··· 17 owner = "pnbruckner"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-USqSkjOHlH0K/RlRYpn/gz6dHW8/uEVpsc4HeUZ3Emg="; 21 }; 22 23 propagatedBuildInputs = [
+17 -8
pkgs/development/python-modules/mediapy/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "mediapy"; 14 - version = "1.1.9"; 15 - format = "pyproject"; 16 17 - disabled = pythonOlder "3.6"; 18 19 src = fetchPypi { 20 inherit pname version; 21 - hash = "sha256-WUOxtE0NfXi0fpdasZTqixPhVV2+Refatvf6dgCb0Z8="; 22 }; 23 24 - nativeBuildInputs = [ flit-core ]; 25 26 - propagatedBuildInputs = [ ipython matplotlib numpy pillow ]; 27 - 28 29 - pythonImportsCheck = [ "mediapy" ]; 30 31 meta = with lib; { 32 description = "Read/write/show images and videos in an IPython notebook"; 33 homepage = "https://github.com/google/mediapy"; 34 license = licenses.asl20; 35 maintainers = with maintainers; [ mcwitt ]; 36 };
··· 11 12 buildPythonPackage rec { 13 pname = "mediapy"; 14 + version = "1.2.0"; 15 + pyproject = true; 16 17 + disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 inherit pname version; 21 + hash = "sha256-enxOx0hZ+fksk8ibsDWg0Bl/cJeSBHE37bN/D1ucECg="; 22 }; 23 24 + nativeBuildInputs = [ 25 + flit-core 26 + ]; 27 28 + propagatedBuildInputs = [ 29 + ipython 30 + matplotlib 31 + numpy 32 + pillow 33 + ]; 34 35 + pythonImportsCheck = [ 36 + "mediapy" 37 + ]; 38 39 meta = with lib; { 40 description = "Read/write/show images and videos in an IPython notebook"; 41 homepage = "https://github.com/google/mediapy"; 42 + changelog = "https://github.com/google/mediapy/releases/tag/v${version}"; 43 license = licenses.asl20; 44 maintainers = with maintainers; [ mcwitt ]; 45 };
+3 -3
pkgs/development/python-modules/meraki/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "meraki"; 11 - version = "1.39.0"; 12 format = "setuptools"; 13 14 - disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-B3+2KnRXWkB83Sy/NH9kJwgSha9L17tx37fFwBjT3Mw="; 19 }; 20 21 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "meraki"; 11 + version = "1.41.0"; 12 format = "setuptools"; 13 14 + disabled = pythonOlder "3.8"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-aXcGMRqkiVPnLEYrzIMLDiFXWurBRNlMg4OnRd5jlrY="; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/meshtastic/default.nix
··· 20 21 buildPythonPackage rec { 22 pname = "meshtastic"; 23 - version = "2.2.12"; 24 format = "setuptools"; 25 26 disabled = pythonOlder "3.7"; ··· 29 owner = "meshtastic"; 30 repo = "Meshtastic-python"; 31 rev = "refs/tags/${version}"; 32 - hash = "sha256-W//mDKtTWjcKT43n82OU3h4yKrNZMAVzLzQCjsmkJP0="; 33 }; 34 35 propagatedBuildInputs = [
··· 20 21 buildPythonPackage rec { 22 pname = "meshtastic"; 23 + version = "2.2.16"; 24 format = "setuptools"; 25 26 disabled = pythonOlder "3.7"; ··· 29 owner = "meshtastic"; 30 repo = "Meshtastic-python"; 31 rev = "refs/tags/${version}"; 32 + hash = "sha256-5JEMiSLLVv7p8H5R8BDE5IKGmBb2bSht+s4sCsxWyzU="; 33 }; 34 35 propagatedBuildInputs = [
+7 -3
pkgs/development/python-modules/mido/default.nix
··· 6 , portmidi 7 , python-rtmidi 8 , pytestCheckHook 9 , setuptools 10 , setuptools-scm 11 }: 12 13 buildPythonPackage rec { 14 pname = "mido"; 15 - version = "1.3.0"; 16 - format = "pyproject"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - sha256 = "sha256-hCguOs40vKP5hCINstvLmCRc/q+4VCYMAuAAdQ3Khqo="; 21 }; 22 23 patches = [ ··· 47 meta = with lib; { 48 description = "MIDI Objects for Python"; 49 homepage = "https://mido.readthedocs.io"; 50 license = licenses.mit; 51 maintainers = with maintainers; [ ]; 52 };
··· 6 , portmidi 7 , python-rtmidi 8 , pytestCheckHook 9 + , pythonOlder 10 , setuptools 11 , setuptools-scm 12 }: 13 14 buildPythonPackage rec { 15 pname = "mido"; 16 + version = "1.3.2"; 17 + pyproject = true; 18 + 19 + disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + sha256 = "sha256-Ouootu1zD3N9WxLaNXjevp3FAFj6Nw/pzt7ZGJtnw0g="; 24 }; 25 26 patches = [ ··· 50 meta = with lib; { 51 description = "MIDI Objects for Python"; 52 homepage = "https://mido.readthedocs.io"; 53 + changelog = "https://github.com/mido/mido/releases/tag/${version}"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ ]; 56 };
+2 -2
pkgs/development/python-modules/mkdocs-git-revision-date-localized-plugin/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "mkdocs-git-revision-date-localized-plugin"; 14 - version = "1.2.1"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = "timvink"; 21 repo = "mkdocs-git-revision-date-localized-plugin"; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-UIbW64ac9kXptJjn86V6vPArnICANiT3QGi5JH45KLY="; 24 }; 25 26 propagatedBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "mkdocs-git-revision-date-localized-plugin"; 14 + version = "1.2.2"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = "timvink"; 21 repo = "mkdocs-git-revision-date-localized-plugin"; 22 rev = "refs/tags/v${version}"; 23 + hash = "sha256-6qLVmmJzMTrvuoeSVUjWqmI6f5MbAFWAj36v2l3ZeD8="; 24 }; 25 26 propagatedBuildInputs = [
+4 -3
pkgs/development/python-modules/ms-active-directory/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "ms-active-directory"; 15 - version = "1.12.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; ··· 20 src = fetchFromGitHub { 21 owner = "zorn96"; 22 repo = "ms_active_directory"; 23 - rev = "v${version}"; 24 - hash = "sha256-mErQib8xTgo29iPAtiLnhxLXyFboAzyEW9A/QMseM6k="; 25 }; 26 27 propagatedBuildInputs = [ ··· 43 meta = with lib; { 44 description = "Python module for integrating with Microsoft Active Directory domains"; 45 homepage = "https://github.com/zorn96/ms_active_directory/"; 46 license = with licenses; [ mit ]; 47 maintainers = with maintainers; [ fab ]; 48 };
··· 12 13 buildPythonPackage rec { 14 pname = "ms-active-directory"; 15 + version = "1.13.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; ··· 20 src = fetchFromGitHub { 21 owner = "zorn96"; 22 repo = "ms_active_directory"; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-+wfhtEGuC1R5jbEnWm4mDHIR096KKEcG/K8SuItwjGk="; 25 }; 26 27 propagatedBuildInputs = [ ··· 43 meta = with lib; { 44 description = "Python module for integrating with Microsoft Active Directory domains"; 45 homepage = "https://github.com/zorn96/ms_active_directory/"; 46 + changelog = "https://github.com/zorn96/ms_active_directory/releases/tag/v${version}"; 47 license = with licenses; [ mit ]; 48 maintainers = with maintainers; [ fab ]; 49 };
+2 -2
pkgs/development/python-modules/msgspec/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "msgspec"; 11 - version = "0.18.4"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; ··· 17 owner = "jcrist"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-u1mrj/pHvlbSwh6QtRdJKuVGN1zQ6mRITi/qzrCHnhk="; 21 }; 22 23 # Requires libasan to be accessible
··· 8 9 buildPythonPackage rec { 10 pname = "msgspec"; 11 + version = "0.18.5"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; ··· 17 owner = "jcrist"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 + hash = "sha256-BcENL1vPCspzYdAHicC5AHs/7xZPWf+Yys37vKgbris="; 21 }; 22 23 # Requires libasan to be accessible
+2 -2
pkgs/development/python-modules/nibe/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "nibe"; 19 - version = "2.5.2"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.9"; ··· 25 owner = "yozik04"; 26 repo = "nibe"; 27 rev = "refs/tags/${version}"; 28 - hash = "sha256-qlGQtjRG92AhFY+sF3mB4ghIn4kydkbDOolLu9Qh0JM="; 29 }; 30 31 nativeBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "nibe"; 19 + version = "2.6.0"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.9"; ··· 25 owner = "yozik04"; 26 repo = "nibe"; 27 rev = "refs/tags/${version}"; 28 + hash = "sha256-VDK6ZCyW8fmp9Ap/AwgLbU5vlyhYXIGYD6eZ3esSCiU="; 29 }; 30 31 nativeBuildInputs = [
+3 -3
pkgs/development/python-modules/onnxmltools/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "onnxmltools"; 19 - version = "1.11.2"; 20 format = "setuptools"; 21 22 src = fetchFromGitHub { 23 owner = "onnx"; 24 repo = "onnxmltools"; 25 - rev = "v${version}"; 26 - hash = "sha256-uLFAGtCDLdMd0SMoonMXFE0kGHuDpwp6IrIbD0t8l4M="; 27 }; 28 29 propagatedBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "onnxmltools"; 19 + version = "1.12.0"; 20 format = "setuptools"; 21 22 src = fetchFromGitHub { 23 owner = "onnx"; 24 repo = "onnxmltools"; 25 + rev = "refs/tags/${version}"; 26 + hash = "sha256-/UKGo56riLnATcn7kA++QoFkkILVGYBwqRZZ+PYB1/0="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pyenphase/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "pyenphase"; 21 - version = "1.14.3"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.11"; ··· 27 owner = "pyenphase"; 28 repo = "pyenphase"; 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-cjkmRGieSKynL8cZORp11/ViK8oCBAZXrgbFKumWKaM="; 31 }; 32 33 postPatch = ''
··· 18 19 buildPythonPackage rec { 20 pname = "pyenphase"; 21 + version = "1.15.1"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.11"; ··· 27 owner = "pyenphase"; 28 repo = "pyenphase"; 29 rev = "refs/tags/v${version}"; 30 + hash = "sha256-XhcCNp7iA7wTd5ldoCO9QC7o3kmL3jIlumjg8Y5mkVQ="; 31 }; 32 33 postPatch = ''
+30
pkgs/development/python-modules/translitcodec/default.nix
···
··· 1 + { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder }: 2 + 3 + let 4 + pname = "translitcodec"; 5 + version = "0.7.0"; 6 + in buildPythonPackage { 7 + inherit pname version; 8 + 9 + format = "setuptools"; 10 + 11 + disabled = pythonOlder "3.7"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "claudep"; 15 + repo = pname; 16 + rev = "version-${version}"; 17 + hash = "sha256-/EKquTchx9i3fZqJ6AMzHYP9yCORvwbuUQ95WJQOQbI="; 18 + }; 19 + 20 + nativeCheckInputs = [ pytestCheckHook ]; 21 + 22 + pythonImportsCheck = [ pname ]; 23 + 24 + meta = with lib; { 25 + description = "Unicode to 8-bit charset transliteration codec"; 26 + homepage = "https://github.com/claudep/translitcodec"; 27 + license = with licenses; [ mit ]; 28 + maintainers = with maintainers; [ rycee ]; 29 + }; 30 + }
+4 -4
pkgs/games/osu-lazer/bin.nix
··· 7 8 let 9 pname = "osu-lazer-bin"; 10 - version = "2023.1218.1"; 11 12 src = { 13 aarch64-darwin = fetchzip { 14 url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Apple.Silicon.zip"; 15 - hash = "sha256-FSxXPvbHjLVKU2rlTY2iqIUZSjOPoTES8Bl8j/Ln+6w="; 16 stripRoot = false; 17 }; 18 x86_64-darwin = fetchzip { 19 url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Intel.zip"; 20 - hash = "sha256-d6jumDva2LAmiixxD9RFiKdiuSv1yPVeX8OgNB7DYpM="; 21 stripRoot = false; 22 }; 23 x86_64-linux = fetchurl { 24 url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage"; 25 - hash = "sha256-xxWNLP5m/nxGutt/ogcDYcVaiFaesEvZpDdU/ndVRMs="; 26 }; 27 }.${stdenv.system} or (throw "${pname}-${version}: ${stdenv.system} is unsupported."); 28
··· 7 8 let 9 pname = "osu-lazer-bin"; 10 + version = "2023.1221.0"; 11 12 src = { 13 aarch64-darwin = fetchzip { 14 url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Apple.Silicon.zip"; 15 + hash = "sha256-viurUlCdPU2Jo5IzEfq+As1mW6GI6LZsKocnkgMvsGU="; 16 stripRoot = false; 17 }; 18 x86_64-darwin = fetchzip { 19 url = "https://github.com/ppy/osu/releases/download/${version}/osu.app.Intel.zip"; 20 + hash = "sha256-fbOqySfBomVoWZvMFWhPAi/cWaH5akRdeMIxBJcFXdg="; 21 stripRoot = false; 22 }; 23 x86_64-linux = fetchurl { 24 url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage"; 25 + hash = "sha256-Flxwh4Jlb60joJ/VYVevw4So612Cnyy1gPnJ7tTKxV0="; 26 }; 27 }.${stdenv.system} or (throw "${pname}-${version}: ${stdenv.system} is unsupported."); 28
+2 -2
pkgs/games/osu-lazer/default.nix
··· 16 17 buildDotnetModule rec { 18 pname = "osu-lazer"; 19 - version = "2023.1218.1"; 20 21 src = fetchFromGitHub { 22 owner = "ppy"; 23 repo = "osu"; 24 rev = version; 25 - sha256 = "sha256-VUnILNH5Ng1mx/UmlBGu6/yYXUOf1t3ofl0AiRHNsRc="; 26 }; 27 28 projectFile = "osu.Desktop/osu.Desktop.csproj";
··· 16 17 buildDotnetModule rec { 18 pname = "osu-lazer"; 19 + version = "2023.1221.0"; 20 21 src = fetchFromGitHub { 22 owner = "ppy"; 23 repo = "osu"; 24 rev = version; 25 + sha256 = "sha256-iIyJQCi16Gf4knej+tZq5f92G9NX0ZLC6q/llAYwlLU="; 26 }; 27 28 projectFile = "osu.Desktop/osu.Desktop.csproj";
+1 -1
pkgs/misc/drivers/epson-escpr2/default.nix
··· 38 Refer to the description of epson-escpr for usage. 39 ''; 40 license = licenses.gpl2; 41 - maintainers = with maintainers; [ ma9e ma27 ]; 42 platforms = platforms.linux; 43 }; 44 }
··· 38 Refer to the description of epson-escpr for usage. 39 ''; 40 license = licenses.gpl2; 41 + maintainers = with maintainers; [ ma9e ma27 shawn8901 ]; 42 platforms = platforms.linux; 43 }; 44 }
+2 -1
pkgs/os-specific/linux/hdparm/default.nix
··· 11 12 preBuild = '' 13 makeFlagsArray=(sbindir=$out/sbin manprefix=$out) 14 - ''; 15 16 meta = with lib; { 17 description = "A tool to get/set ATA/SATA drive parameters under Linux"; 18 homepage = "https://sourceforge.net/projects/hdparm/"; 19 platforms = platforms.linux; 20 license = licenses.bsd2; 21 maintainers = [ ]; 22 }; 23
··· 11 12 preBuild = '' 13 makeFlagsArray=(sbindir=$out/sbin manprefix=$out) 14 + ''; 15 16 meta = with lib; { 17 description = "A tool to get/set ATA/SATA drive parameters under Linux"; 18 homepage = "https://sourceforge.net/projects/hdparm/"; 19 platforms = platforms.linux; 20 license = licenses.bsd2; 21 + mainProgram = "hdparm"; 22 maintainers = [ ]; 23 }; 24
+3 -2
pkgs/servers/mastodon/default.nix
··· 1 { lib, stdenv, nodejs-slim, bundlerEnv, nixosTests 2 - , yarn, callPackage, imagemagick, ffmpeg, file, ruby, writeShellScript 3 , fetchYarnDeps, prefetch-yarn-deps 4 , brotli 5 ··· 96 ''; 97 }; 98 99 - propagatedBuildInputs = [ imagemagick ffmpeg file mastodonGems.wrappedRuby ]; 100 buildInputs = [ mastodonGems nodejs-slim ]; 101 102 buildPhase = ''
··· 1 { lib, stdenv, nodejs-slim, bundlerEnv, nixosTests 2 + , yarn, callPackage, ruby, writeShellScript 3 , fetchYarnDeps, prefetch-yarn-deps 4 , brotli 5 ··· 96 ''; 97 }; 98 99 + propagatedBuildInputs = [ mastodonGems.wrappedRuby ]; 100 + nativeBuildInputs = [ brotli ]; 101 buildInputs = [ mastodonGems nodejs-slim ]; 102 103 buildPhase = ''
+3 -3
pkgs/tools/graphics/didder/default.nix pkgs/by-name/di/didder/package.nix
··· 2 3 buildGoModule rec { 4 pname = "didder"; 5 - version = "1.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "makew0rld"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-S1j2TdV0XCrSc7Ua+SdY3JJoWgnFuAMGhUinTKO2Xh4="; 12 }; 13 14 - vendorHash = "sha256-TEp1YrQquqdEMVvZaNsEB1H/DZsTYmRL257RjQF2JqM="; 15 16 nativeBuildInputs = [ pandoc ]; 17
··· 2 3 buildGoModule rec { 4 pname = "didder"; 5 + version = "1.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "makew0rld"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-wYAudEyOLxbNfk4M720absGkuWXcaBPyBAcmBNBaaWU="; 12 }; 13 14 + vendorHash = "sha256-UD90N3nE3H9GSdVhGt1zfCk8BhPaToKGu4i0zP0Lb3Q="; 15 16 nativeBuildInputs = [ pandoc ]; 17
+21 -9
pkgs/tools/misc/pubs/default.nix
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "pubs"; 9 version = "0.9.0"; 10 11 src = fetchFromGitHub { 12 owner = "pubs"; 13 repo = "pubs"; 14 - rev = "v${version}"; 15 hash = "sha256-U/9MLqfXrzYVGttFSafw4pYDy26WgdsJMCxciZzO1pw="; 16 }; 17 ··· 28 }) 29 ]; 30 31 propagatedBuildInputs = with python3.pkgs; [ 32 - pyyaml 33 bibtexparser 34 - python-dateutil 35 - six 36 - requests 37 configobj 38 - beautifulsoup4 39 feedparser 40 - argcomplete 41 ]; 42 43 nativeCheckInputs = with python3.pkgs; [ 44 - pyfakefs 45 - mock 46 ddt 47 pytestCheckHook 48 ]; 49 ··· 57 disabledTests = [ 58 # https://github.com/pubs/pubs/issues/276 59 "test_readme" 60 ]; 61 62 meta = with lib; { 63 description = "Command-line bibliography manager"; 64 homepage = "https://github.com/pubs/pubs"; 65 license = licenses.lgpl3Only; 66 maintainers = with maintainers; [ gebner dotlambda ]; 67 };
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "pubs"; 9 version = "0.9.0"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "pubs"; 14 repo = "pubs"; 15 + rev = "refs/tags/v${version}"; 16 hash = "sha256-U/9MLqfXrzYVGttFSafw4pYDy26WgdsJMCxciZzO1pw="; 17 }; 18 ··· 29 }) 30 ]; 31 32 + nativeBuildInputs = with python3.pkgs; [ 33 + setuptools 34 + ]; 35 + 36 propagatedBuildInputs = with python3.pkgs; [ 37 + argcomplete 38 + beautifulsoup4 39 bibtexparser 40 configobj 41 feedparser 42 + python-dateutil 43 + pyyaml 44 + requests 45 + six 46 ]; 47 48 nativeCheckInputs = with python3.pkgs; [ 49 ddt 50 + mock 51 + pyfakefs 52 pytestCheckHook 53 ]; 54 ··· 62 disabledTests = [ 63 # https://github.com/pubs/pubs/issues/276 64 "test_readme" 65 + # AssertionError: Lists differ: ['Ini[112 chars]d to... 66 + "test_add_non_standard" 67 + ]; 68 + 69 + pythonImportsCheck = [ 70 + "pubs" 71 ]; 72 73 meta = with lib; { 74 description = "Command-line bibliography manager"; 75 homepage = "https://github.com/pubs/pubs"; 76 + changelog = "https://github.com/pubs/pubs/blob/v${version}/changelog.md"; 77 license = licenses.lgpl3Only; 78 maintainers = with maintainers; [ gebner dotlambda ]; 79 };
+6 -6
pkgs/tools/package-management/harmonia/default.nix
··· 2 , boost 3 , fetchFromGitHub 4 , libsodium 5 - , nix 6 , pkg-config 7 , rustPlatform 8 , nix-update-script ··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "harmonia"; 14 - version = "0.7.3"; 15 16 src = fetchFromGitHub { 17 owner = "nix-community"; 18 repo = pname; 19 rev = "refs/tags/${pname}-v${version}"; 20 - hash = "sha256-XtnK54HvZMKZGSCrVD0FO5PQLMo3Vkj8ezUlsfqStq0="; 21 }; 22 23 - cargoHash = "sha256-oQVHrfNPhslYk6APB/bhW+h+vk/gNTW/ZypoGGb5zPk="; 24 25 nativeBuildInputs = [ 26 - pkg-config nix 27 ]; 28 29 buildInputs = [ 30 boost 31 libsodium 32 - nix 33 ]; 34 35 passthru = {
··· 2 , boost 3 , fetchFromGitHub 4 , libsodium 5 + , nixVersions 6 , pkg-config 7 , rustPlatform 8 , nix-update-script ··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "harmonia"; 14 + version = "0.7.4"; 15 16 src = fetchFromGitHub { 17 owner = "nix-community"; 18 repo = pname; 19 rev = "refs/tags/${pname}-v${version}"; 20 + hash = "sha256-72JMrXmxw/FuGjqXXxMIGiAbUUOqXEERdQwch+s3iwU="; 21 }; 22 23 + cargoHash = "sha256-Q5Y5v7mmJpfZFGRgurTcRBRtbApFRrwqOBHdZTJbyzc="; 24 25 nativeBuildInputs = [ 26 + pkg-config nixVersions.nix_2_19 27 ]; 28 29 buildInputs = [ 30 boost 31 libsodium 32 + nixVersions.nix_2_19 33 ]; 34 35 passthru = {
+3 -3
pkgs/tools/security/cloudfox/default.nix
··· 5 6 buildGoModule rec { 7 pname = "cloudfox"; 8 - version = "1.12.2"; 9 10 src = fetchFromGitHub { 11 owner = "BishopFox"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-r9YIJ+PRUA1stKTL39+/T+m1WMkocpjfzG8Y9knnFU4="; 15 }; 16 17 - vendorHash = "sha256-nSisRurpareGI4EHENayMhsYOKL1hE1wVw2Ueiqii4U="; 18 19 # Some tests are failing because of wrong filename/path 20 doCheck = false;
··· 5 6 buildGoModule rec { 7 pname = "cloudfox"; 8 + version = "1.12.3"; 9 10 src = fetchFromGitHub { 11 owner = "BishopFox"; 12 repo = pname; 13 rev = "refs/tags/v${version}"; 14 + hash = "sha256-V6zYEH2LACBcMY0ox8ZgqJGFLWFgCNR4l9Uo+hMgseE="; 15 }; 16 17 + vendorHash = "sha256-PZW1rNX8TLW0SZ9A2eF5N12J9BPWgRZJeGIb042Tinc="; 18 19 # Some tests are failing because of wrong filename/path 20 doCheck = false;
+3 -3
pkgs/tools/security/cnquery/default.nix
··· 5 6 buildGoModule rec { 7 pname = "cnquery"; 8 - version = "9.11.0"; 9 10 src = fetchFromGitHub { 11 owner = "mondoohq"; 12 repo = "cnquery"; 13 rev = "v${version}"; 14 - hash = "sha256-3fyX6vz3lqnV07gu/H7qeIrLyNSbqhLpICJWqPTv7T0="; 15 }; 16 17 subPackages = [ "apps/cnquery" ]; 18 19 - vendorHash = "sha256-7zZRX0LWDmO7LA0fIjAh8+5kK2dcAV/4HQmKdn9I3Mg="; 20 21 meta = with lib; { 22 description = "cloud-native, graph-based asset inventory";
··· 5 6 buildGoModule rec { 7 pname = "cnquery"; 8 + version = "9.12.0"; 9 10 src = fetchFromGitHub { 11 owner = "mondoohq"; 12 repo = "cnquery"; 13 rev = "v${version}"; 14 + hash = "sha256-d2S9qEm0jvXvpU7IHpurDJ7A21bvjuM3HrdRPaujzTU="; 15 }; 16 17 subPackages = [ "apps/cnquery" ]; 18 19 + vendorHash = "sha256-vEJcdGgev9C/3vGx+SMmD9dLMau5Jyx2TjHiiQQ+16A="; 20 21 meta = with lib; { 22 description = "cloud-native, graph-based asset inventory";
+3 -3
pkgs/tools/security/kube-bench/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kube-bench"; 5 - version = "0.6.19"; 6 7 src = fetchFromGitHub { 8 owner = "aquasecurity"; 9 repo = pname; 10 rev = "refs/tags/v${version}"; 11 - hash = "sha256-owpmQ/APTUu1V8au2UE48SIIZnVI93tlv5bhkS/2kgQ="; 12 }; 13 14 - vendorHash = "sha256-dBN6Yi8HtS9LzXr08jhw1hqDwS8a4UqrYaRpM+RzvVM="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
··· 2 3 buildGoModule rec { 4 pname = "kube-bench"; 5 + version = "0.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "aquasecurity"; 9 repo = pname; 10 rev = "refs/tags/v${version}"; 11 + hash = "sha256-yJJEWxz8EWdLi2rhw42QVdG9AcGO0OWnihg153hALNE="; 12 }; 13 14 + vendorHash = "sha256-zKw6d3UWs2kb+DCXmLZ09Lw3m8wMhm9QJYkeXJYcFA8="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+7 -3
pkgs/tools/security/theharvester/default.nix
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "theharvester"; 8 - version = "4.4.4"; 9 - format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "laramies"; 13 repo = pname; 14 rev = "refs/tags/${version}"; 15 - hash = "sha256-L0WbPZE2alregOvWc+0nuMvsD17ayCw3JtahGhf4B1o="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ 19 aiodns
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "theharvester"; 8 + version = "4.5.0"; 9 + pyproject = true; 10 11 src = fetchFromGitHub { 12 owner = "laramies"; 13 repo = pname; 14 rev = "refs/tags/${version}"; 15 + hash = "sha256-tnCiI4bte2RSWSkEL2rwFz6WFjfRMMFiEBOvv3QMyos="; 16 }; 17 + 18 + nativeBuildInputs = with python3.pkgs; [ 19 + poetry-core 20 + ]; 21 22 propagatedBuildInputs = with python3.pkgs; [ 23 aiodns
+1 -3
pkgs/top-level/all-packages.nix
··· 5099 5100 dibbler = callPackage ../tools/networking/dibbler { }; 5101 5102 - didder = callPackage ../tools/graphics/didder { }; 5103 - 5104 dieharder = callPackage ../tools/security/dieharder { }; 5105 5106 diesel-cli = callPackage ../development/tools/diesel-cli { ··· 24051 24052 minizip-ng = callPackage ../development/libraries/minizip-ng { }; 24053 24054 - mkvtoolnix = libsForQt5.callPackage ../applications/video/mkvtoolnix { 24055 stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 24056 }; 24057
··· 5099 5100 dibbler = callPackage ../tools/networking/dibbler { }; 5101 5102 dieharder = callPackage ../tools/security/dieharder { }; 5103 5104 diesel-cli = callPackage ../development/tools/diesel-cli { ··· 24049 24050 minizip-ng = callPackage ../development/libraries/minizip-ng { }; 24051 24052 + mkvtoolnix = qt6Packages.callPackage ../applications/video/mkvtoolnix { 24053 stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 24054 }; 24055
+4
pkgs/top-level/python-packages.nix
··· 4762 4763 googletrans = callPackage ../development/python-modules/googletrans { }; 4764 4765 gotenberg-client = callPackage ../development/python-modules/gotenberg-client { }; 4766 4767 gorilla = callPackage ../development/python-modules/gorilla { }; ··· 14474 translatepy = callPackage ../development/python-modules/translatepy { }; 14475 14476 translationstring = callPackage ../development/python-modules/translationstring { }; 14477 14478 transmission-rpc = callPackage ../development/python-modules/transmission-rpc { }; 14479
··· 4762 4763 googletrans = callPackage ../development/python-modules/googletrans { }; 4764 4765 + gotailwind = callPackage ../development/python-modules/gotailwind { }; 4766 + 4767 gotenberg-client = callPackage ../development/python-modules/gotenberg-client { }; 4768 4769 gorilla = callPackage ../development/python-modules/gorilla { }; ··· 14476 translatepy = callPackage ../development/python-modules/translatepy { }; 14477 14478 translationstring = callPackage ../development/python-modules/translationstring { }; 14479 + 14480 + translitcodec = callPackage ../development/python-modules/translitcodec { }; 14481 14482 transmission-rpc = callPackage ../development/python-modules/transmission-rpc { }; 14483