Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
433ca822 d1b1f7fd

+814 -161
+1 -1
lib/modules.nix
··· 639 639 unmatchedDefns = []; 640 640 } 641 641 else if optionDecls != [] then 642 - if all (x: x.options.type.name == "submodule") optionDecls 642 + if all (x: x.options.type.name or null == "submodule") optionDecls 643 643 # Raw options can only be merged into submodules. Merging into 644 644 # attrsets might be nice, but ambiguous. Suppose we have 645 645 # attrset as a `attrsOf submodule`. User declares option
+49
lib/path/default.nix
··· 271 271 second argument: "${toString path2}" with root "${toString path2Deconstructed.root}"''; 272 272 joinRelPath components; 273 273 274 + /* 275 + Split the filesystem root from a [path](https://nixos.org/manual/nix/stable/language/values.html#type-path). 276 + The result is an attribute set with these attributes: 277 + - `root`: The filesystem root of the path, meaning that this directory has no parent directory. 278 + - `subpath`: The [normalised subpath string](#function-library-lib.path.subpath.normalise) that when [appended](#function-library-lib.path.append) to `root` returns the original path. 279 + 280 + Laws: 281 + - [Appending](#function-library-lib.path.append) the `root` and `subpath` gives the original path: 282 + 283 + p == 284 + append 285 + (splitRoot p).root 286 + (splitRoot p).subpath 287 + 288 + - Trying to get the parent directory of `root` using [`readDir`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-readDir) returns `root` itself: 289 + 290 + dirOf (splitRoot p).root == (splitRoot p).root 291 + 292 + Type: 293 + splitRoot :: Path -> { root :: Path, subpath :: String } 294 + 295 + Example: 296 + splitRoot /foo/bar 297 + => { root = /.; subpath = "./foo/bar"; } 298 + 299 + splitRoot /. 300 + => { root = /.; subpath = "./."; } 301 + 302 + # Nix neutralises `..` path components for all path values automatically 303 + splitRoot /foo/../bar 304 + => { root = /.; subpath = "./bar"; } 305 + 306 + splitRoot "/foo/bar" 307 + => <error> 308 + */ 309 + splitRoot = path: 310 + assert assertMsg 311 + (isPath path) 312 + "lib.path.splitRoot: Argument is of type ${typeOf path}, but a path was expected"; 313 + let 314 + deconstructed = deconstructPath path; 315 + in { 316 + root = deconstructed.root; 317 + subpath = joinRelPath deconstructed.components; 318 + }; 319 + 274 320 /* Whether a value is a valid subpath string. 321 + 322 + A subpath string points to a specific file or directory within an absolute base directory. 323 + It is a stricter form of a relative path that excludes `..` components, since those could escape the base directory. 275 324 276 325 - The value is a string 277 326
+18 -1
lib/path/tests/unit.nix
··· 3 3 { libpath }: 4 4 let 5 5 lib = import libpath; 6 - inherit (lib.path) hasPrefix removePrefix append subpath; 6 + inherit (lib.path) hasPrefix removePrefix append splitRoot subpath; 7 7 8 8 cases = lib.runTests { 9 9 # Test examples from the lib.path.append documentation ··· 72 72 testRemovePrefixExample4 = { 73 73 expr = removePrefix /. /foo; 74 74 expected = "./foo"; 75 + }; 76 + 77 + testSplitRootExample1 = { 78 + expr = splitRoot /foo/bar; 79 + expected = { root = /.; subpath = "./foo/bar"; }; 80 + }; 81 + testSplitRootExample2 = { 82 + expr = splitRoot /.; 83 + expected = { root = /.; subpath = "./."; }; 84 + }; 85 + testSplitRootExample3 = { 86 + expr = splitRoot /foo/../bar; 87 + expected = { root = /.; subpath = "./bar"; }; 88 + }; 89 + testSplitRootExample4 = { 90 + expr = (builtins.tryEval (splitRoot "/foo/bar")).success; 91 + expected = false; 75 92 }; 76 93 77 94 # Test examples from the lib.path.subpath.isValid documentation
+3
lib/tests/modules.sh
··· 371 371 config.set \ 372 372 ./declare-set.nix ./declare-enable-nested.nix 373 373 374 + # Check that that merging of option collisions doesn't depend on type being set 375 + checkConfigError 'The option .group..*would be a parent of the following options, but its type .<no description>. does not support nested options.\n\s*- option.s. with prefix .group.enable..*' config.group.enable ./merge-typeless-option.nix 376 + 374 377 # Test that types.optionType merges types correctly 375 378 checkConfigOutput '^10$' config.theOption.int ./optionTypeMerging.nix 376 379 checkConfigOutput '^"hello"$' config.theOption.str ./optionTypeMerging.nix
+25
lib/tests/modules/merge-typeless-option.nix
··· 1 + { lib, ... }: 2 + 3 + let 4 + typeless = 5 + { lib, ... }: 6 + 7 + { 8 + options.group = lib.mkOption { }; 9 + }; 10 + childOfTypeless = 11 + { lib, ... }: 12 + 13 + { 14 + options.group.enable = lib.mkEnableOption "nothing"; 15 + }; 16 + in 17 + 18 + { 19 + imports = [ 20 + typeless 21 + childOfTypeless 22 + ]; 23 + 24 + config.group.enable = false; 25 + }
+6
maintainers/maintainer-list.nix
··· 17552 17552 fingerprint = "AEF2 3487 66F3 71C6 89A7 3600 95A4 2FE8 3535 25F9"; 17553 17553 }]; 17554 17554 }; 17555 + vinetos = { 17556 + name = "vinetos"; 17557 + email = "vinetosdev@gmail.com"; 17558 + github = "vinetos"; 17559 + githubId = 10145351; 17560 + }; 17555 17561 vinnymeller = { 17556 17562 email = "vinnymeller@proton.me"; 17557 17563 github = "vinnymeller";
+1
nixos/modules/services/x11/desktop-managers/pantheon.nix
··· 199 199 gnome.adwaita-icon-theme 200 200 gtk3.out # for gtk-launch program 201 201 onboard 202 + orca # elementary/greeter#668 202 203 qgnomeplatform 203 204 sound-theme-freedesktop 204 205 xdg-user-dirs # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
+1 -1
pkgs/applications/editors/jupyter-kernels/octave/default.nix
··· 42 42 dontInstall = true; 43 43 44 44 buildPhase = '' 45 - convert ./libgui/src/icons/logo.png -resize ${size}x${size} $out 45 + convert ./libgui/src/icons/octave/128x128/logo.png -resize ${size}x${size} $out 46 46 ''; 47 47 }; 48 48
+4 -4
pkgs/applications/editors/jupyter-kernels/octave/kernel.nix
··· 18 18 # There appears to be a similar problem with metakernel's tests 19 19 doCheck = false; 20 20 21 - meta = with lib; { 21 + meta = { 22 22 description = "A Jupyter kernel for Octave."; 23 23 homepage = "https://github.com/Calysto/octave_kernel"; 24 - license = licenses.bsd3; 25 - maintainers = with maintainers; [ thomasjm ]; 26 - platforms = platforms.all; 24 + license = lib.licenses.bsd3; 25 + maintainers = with lib.maintainers; [ thomasjm ]; 26 + platforms = lib.platforms.all; 27 27 }; 28 28 }
+42
pkgs/applications/editors/tijolo/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , crystal 5 + , vte 6 + , libgit2 7 + , editorconfig-core-c 8 + , gtksourceview4 9 + , wrapGAppsHook 10 + , desktopToDarwinBundle 11 + }: 12 + crystal.buildCrystalPackage rec { 13 + pname = "tijolo"; 14 + version = "0.7.3"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "hugopl"; 18 + repo = "tijolo"; 19 + rev = "v${version}"; 20 + hash = "sha256-15not/B+O+wIZ/fvLFy26/dyvq0E+bZUeoSZ6HxMMKg="; 21 + }; 22 + 23 + nativeBuildInputs = [ wrapGAppsHook ] 24 + ++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle ]; 25 + buildInputs = [ vte libgit2 gtksourceview4 editorconfig-core-c ]; 26 + 27 + buildTargets = [ "all" ]; 28 + doCheck = false; 29 + 30 + shardsFile = ./tijolo-shards.nix; 31 + 32 + installTargets = [ "install" "install-fonts"]; 33 + doInstallCheck = false; 34 + 35 + meta = with lib; { 36 + description = "Lightweight, keyboard-oriented IDE for the masses"; 37 + homepage = "https://github.com/hugopl/tijolo"; 38 + license = licenses.mit; 39 + mainProgram = "tijolo"; 40 + maintainers = with maintainers; [ sund3RRR ]; 41 + }; 42 + }
+27
pkgs/applications/editors/tijolo/tijolo-shards.nix
··· 1 + { 2 + compiled_license = { 3 + url = "https://github.com/elorest/compiled_license.git"; 4 + rev = "v1.2.2"; 5 + sha256 = "1f412r6m31cc093lcw31m2rp5s3y7vh6q3wc3xh9b8vccvmj21p7"; 6 + }; 7 + fzy = { 8 + url = "https://github.com/hugopl/fzy.git"; 9 + rev = "v0.5.5"; 10 + sha256 = "1zk95m43ymx9ilwr6iw9l44nkmp4sas28ib0dkr07hkhgrkw68sv"; 11 + }; 12 + gobject = { 13 + url = "https://github.com/jhass/crystal-gobject.git"; 14 + rev = "v0.10.0"; 15 + sha256 = "02cc3486ifbffdbvgl75ylwn47gpfb2j0srz92jx5yz1d596x746"; 16 + }; 17 + toml = { 18 + url = "https://github.com/crystal-community/toml.cr.git"; 19 + rev = "v0.7.0"; 20 + sha256 = "0vznx2irvx6m8w6chdf9ms72n2w0cf2m5cwh0cjmp1jz9y3xwv7z"; 21 + }; 22 + version_from_shard = { 23 + url = "https://github.com/hugopl/version_from_shard.git"; 24 + rev = "v1.2.5"; 25 + sha256 = "0xizj0q4rd541rwjbx04cjifc2gfx4l5v6q2y7gmd0ndjmkgb8ik"; 26 + }; 27 + }
+11
pkgs/applications/emulators/retroarch/cores.nix
··· 360 360 }; 361 361 }; 362 362 363 + dosbox-pure = mkLibretroCore { 364 + core = "dosbox-pure"; 365 + CXXFLAGS = "-std=gnu++11"; 366 + hardeningDisable = [ "format" ]; 367 + makefile = "Makefile"; 368 + meta = { 369 + description = "Port of DOSBox to libretro aiming for simplicity and ease of use."; 370 + license = lib.licenses.gpl2Only; 371 + }; 372 + }; 373 + 363 374 eightyone = mkLibretroCore { 364 375 core = "81"; 365 376 src = getCoreSrc "eightyone";
+10 -4
pkgs/applications/emulators/retroarch/hashes.json
··· 1 1 { 2 2 "2048": { 3 - "owner": "libretro", 4 - "repo": "libretro-2048", 5 - "rev": "331c1de588ed8f8c370dcbc488e5434a3c09f0f2", 6 - "hash": "sha256-gPrAmoBnfuTnW6t699pqS43vE6t0ca3jZcqTNRaJipA=" 3 + "owner": "libretro", 4 + "repo": "libretro-2048", 5 + "rev": "331c1de588ed8f8c370dcbc488e5434a3c09f0f2", 6 + "hash": "sha256-gPrAmoBnfuTnW6t699pqS43vE6t0ca3jZcqTNRaJipA=" 7 7 }, 8 8 "atari800": { 9 9 "owner": "libretro", ··· 143 143 "repo": "dosbox-libretro", 144 144 "rev": "b7b24262c282c0caef2368c87323ff8c381b3102", 145 145 "hash": "sha256-PG2eElenlEpu0U/NIh53p0uLqewnEdaq6Aoak5E1P3I=" 146 + }, 147 + "dosbox-pure": { 148 + "owner": "schellingb", 149 + "repo": "dosbox-pure", 150 + "rev": "035e01e43623f83a9e71f362364fd74091379455", 151 + "hash": "sha256-j7Or4yTK5l+ZVC5UFeym9sLx+88PRlofoBT1tMuf31A=" 146 152 }, 147 153 "eightyone": { 148 154 "owner": "libretro",
+1
pkgs/applications/emulators/retroarch/update_cores.py
··· 36 36 "desmume2015": {"repo": "desmume2015"}, 37 37 "dolphin": {"repo": "dolphin"}, 38 38 "dosbox": {"repo": "dosbox-libretro"}, 39 + "dosbox-pure": {"repo": "dosbox-pure", "owner": "schellingb"}, 39 40 "eightyone": {"repo": "81-libretro"}, 40 41 "fbalpha2012": {"repo": "fbalpha2012"}, 41 42 "fbneo": {"repo": "fbneo"},
+1 -3
pkgs/applications/file-managers/portfolio-filemanager/default.nix
··· 66 66 ''; 67 67 68 68 passthru = { 69 - updateScript = nix-update-script { 70 - attrPath = "portfolio-filemanager"; 71 - }; 69 + updateScript = nix-update-script { }; 72 70 }; 73 71 74 72 meta = with lib; {
+1 -3
pkgs/applications/graphics/komikku/default.nix
··· 80 80 ''; 81 81 82 82 passthru = { 83 - updateScript = nix-update-script { 84 - attrPath = "komikku"; 85 - }; 83 + updateScript = nix-update-script { }; 86 84 }; 87 85 88 86 meta = with lib; {
+1 -3
pkgs/applications/misc/dialect/default.nix
··· 69 69 # handle setup hooks better 70 70 strictDeps = false; 71 71 72 - passthru.updateScript = nix-update-script { 73 - attrPath = pname; 74 - }; 72 + passthru.updateScript = nix-update-script { }; 75 73 76 74 meta = with lib; { 77 75 homepage = "https://github.com/dialect-app/dialect";
-1
pkgs/applications/misc/organicmaps/default.nix
··· 67 67 68 68 passthru = { 69 69 updateScript = nix-update-script { 70 - attrPath = pname; 71 70 extraArgs = [ "-vr" "(.*)-android" ]; 72 71 }; 73 72 };
+1 -3
pkgs/applications/misc/tuba/default.nix
··· 66 66 ]); 67 67 68 68 passthru = { 69 - updateScript = nix-update-script { 70 - attrPath = "tuba"; 71 - }; 69 + updateScript = nix-update-script { }; 72 70 }; 73 71 74 72 meta = with lib; {
+2 -3
pkgs/applications/networking/nextcloud-client/default.nix
··· 4 4 , cmake 5 5 , extra-cmake-modules 6 6 , inotify-tools 7 - , installShellFiles 8 7 , libcloudproviders 9 8 , librsvg 10 9 , libsecret ··· 26 25 27 26 mkDerivation rec { 28 27 pname = "nextcloud-client"; 29 - version = "3.9.0"; 28 + version = "3.9.1"; 30 29 31 30 outputs = [ "out" "dev" ]; 32 31 ··· 34 33 owner = "nextcloud"; 35 34 repo = "desktop"; 36 35 rev = "v${version}"; 37 - sha256 = "sha256-XcQYttd5dl2TCbBxOlRBg8/mEiHekoxayPi81ot7N7o="; 36 + sha256 = "sha256-DQM7n7rTk1q+F8H8OpiEgg1pvIzQw2UwBObbj20O5MQ="; 38 37 }; 39 38 40 39 patches = [
+3 -3
pkgs/applications/networking/twingate/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "twingate"; 16 - version = "1.0.60"; 16 + version = "1.0.83+88994"; 17 17 18 18 src = fetchurl { 19 - url = "https://binaries.twingate.com/client/linux/DEB/${version}/twingate-amd64.deb"; 20 - sha256 = "b308c422af8a33ecd58e21a10a72c353351a189df67006e38d1ec029a93d5678"; 19 + url = "https://binaries.twingate.com/client/linux/DEB/x86_64/${version}/twingate-amd64.deb"; 20 + hash = "sha256-rPYjGSrjSNSdjMZRP0Gd7a9lRC+I06oOvZZEUEJ6s5k="; 21 21 }; 22 22 23 23 buildInputs = [
+3 -3
pkgs/applications/science/logic/elan/default.nix
··· 3 3 4 4 rustPlatform.buildRustPackage rec { 5 5 pname = "elan"; 6 - version = "2.0.0"; 6 + version = "2.0.1"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "leanprover"; 10 10 repo = "elan"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-97gkBViNIqs03JuPlUOyE/X3UKzF5KVZBKH3JnXw37E="; 12 + sha256 = "sha256-gnE0uISKfUqUdmrHI6F7nLOFcsQALjRy584nMRrC68w="; 13 13 }; 14 14 15 - cargoHash = "sha256-9aLCElsoWTUsuy+muhCcgo/1xmRYsbQDvhRa5YsV3lM="; 15 + cargoHash = "sha256-rjxJ4bGep5OJUWME+EV5CqEsFY1SuoU07ANL0cbD+DU="; 16 16 17 17 nativeBuildInputs = [ pkg-config makeWrapper ]; 18 18
+8 -1
pkgs/build-support/trivial-builders/default.nix
··· 242 242 243 243 244 244 */ 245 - writeScriptBin = name: text: writeTextFile {inherit name text; executable = true; destination = "/bin/${name}";}; 245 + writeScriptBin = name: text: writeTextFile { 246 + inherit name text; 247 + executable = true; 248 + destination = "/bin/${name}"; 249 + }; 246 250 247 251 /* 248 252 Similar to writeScript. Writes a Shell script and checks its syntax. ··· 374 378 # Pointless to do this on a remote machine. 375 379 preferLocalBuild = true; 376 380 allowSubstitutes = false; 381 + meta = { 382 + mainProgram = name; 383 + }; 377 384 } 378 385 '' 379 386 n=$out/bin/$name
+33
pkgs/build-support/trivial-builders/test/default.nix
··· 1 + /* 2 + Run all tests with: 3 + 4 + cd nixpkgs 5 + nix-build -A tests.trivial-builders 6 + 7 + or run a specific test with: 8 + 9 + cd nixpkgs 10 + nix-build -A tests.trivial-builders.foo 11 + 12 + */ 13 + 14 + { callPackage, lib, stdenv }: 15 + let 16 + inherit (lib) recurseIntoAttrs; 17 + in 18 + recurseIntoAttrs { 19 + concat = callPackage ./concat-test.nix {}; 20 + linkFarm = callPackage ./link-farm.nix {}; 21 + overriding = callPackage ../test-overriding.nix {}; 22 + references = 23 + # VM test not supported beyond linux yet 24 + if stdenv.hostPlatform.isLinux 25 + then callPackage ./references.nix {} 26 + else null; 27 + writeCBin = callPackage ./writeCBin.nix {}; 28 + writeScriptBin = callPackage ./writeScriptBin.nix {}; 29 + writeShellScript = callPackage ./write-shell-script.nix {}; 30 + writeShellScriptBin = callPackage ./writeShellScriptBin.nix {}; 31 + writeStringReferencesToFile = callPackage ./writeStringReferencesToFile.nix {}; 32 + writeTextFile = callPackage ./write-text-file.nix {}; 33 + }
+64 -27
pkgs/build-support/trivial-builders/test/write-text-file.nix
··· 1 - { writeTextFile }: 1 + /* 2 + To run: 3 + 4 + cd nixpkgs 5 + nix-build -A tests.trivial-builders.writeTextFile 6 + 7 + or to run an individual test case 8 + 9 + cd nixpkgs 10 + nix-build -A tests.trivial-builders.writeTextFile.foo 11 + */ 12 + { lib, runCommand, runtimeShell, writeTextFile }: 2 13 let 3 14 veryWeirdName = ''here's a name with some "bad" characters, like spaces and quotes''; 4 - in writeTextFile { 5 - name = "weird-names"; 6 - destination = "/etc/${veryWeirdName}"; 7 - text = ''passed!''; 8 - checkPhase = '' 9 - # intentionally hardcode everything here, to make sure 10 - # Nix does not mess with file paths 15 + in 16 + lib.recurseIntoAttrs { 17 + 18 + different-exe-name = 19 + let 20 + pkg = writeTextFile { 21 + name = "bar"; 22 + destination = "/bin/foo"; 23 + executable = true; 24 + text = '' 25 + #!${runtimeShell} 26 + echo hi 27 + ''; 28 + }; 29 + in 30 + assert pkg.meta.mainProgram == "foo"; 31 + assert baseNameOf (lib.getExe pkg) == "foo"; 32 + assert pkg.name == "bar"; 33 + runCommand "test-writeTextFile-different-exe-name" {} '' 34 + PATH="${lib.makeBinPath [ pkg ]}:$PATH" 35 + x=$(foo) 36 + [[ "$x" == hi ]] 37 + touch $out 38 + ''; 39 + 40 + weird-name = writeTextFile { 41 + name = "weird-names"; 42 + destination = "/etc/${veryWeirdName}"; 43 + text = ''passed!''; 44 + checkPhase = '' 45 + # intentionally hardcode everything here, to make sure 46 + # Nix does not mess with file paths 11 47 12 - name="here's a name with some \"bad\" characters, like spaces and quotes" 13 - fullPath="$out/etc/$name" 48 + name="here's a name with some \"bad\" characters, like spaces and quotes" 49 + fullPath="$out/etc/$name" 14 50 15 - if [ -f "$fullPath" ]; then 16 - echo "[PASS] File exists!" 17 - else 18 - echo "[FAIL] File was not created at expected path!" 19 - exit 1 20 - fi 51 + if [ -f "$fullPath" ]; then 52 + echo "[PASS] File exists!" 53 + else 54 + echo "[FAIL] File was not created at expected path!" 55 + exit 1 56 + fi 21 57 22 - content=$(<"$fullPath") 23 - expected="passed!" 58 + content=$(<"$fullPath") 59 + expected="passed!" 24 60 25 - if [ "$content" = "$expected" ]; then 26 - echo "[PASS] Contents match!" 27 - else 28 - echo "[FAIL] File contents don't match!" 29 - echo " Expected: $expected" 30 - echo " Got: $content" 31 - exit 2 32 - fi 33 - ''; 61 + if [ "$content" = "$expected" ]; then 62 + echo "[PASS] Contents match!" 63 + else 64 + echo "[FAIL] File contents don't match!" 65 + echo " Expected: $expected" 66 + echo " Got: $content" 67 + exit 2 68 + fi 69 + ''; 70 + }; 34 71 }
+43
pkgs/build-support/trivial-builders/test/writeCBin.nix
··· 1 + /* 2 + Run with: 3 + 4 + cd nixpkgs 5 + nix-build -A tests.trivial-builders.writeCBin 6 + */ 7 + 8 + { lib, writeCBin, runCommand }: 9 + let 10 + output = "hello"; 11 + pkg = writeCBin "test-script" '' 12 + #include <stdio.h> 13 + int main () { 14 + printf("hello\n"); 15 + return 0; 16 + } 17 + ''; 18 + in 19 + assert pkg.meta.mainProgram == "test-script"; 20 + runCommand "test-writeCBin" { } '' 21 + 22 + echo Testing with getExe... 23 + 24 + target=${lib.getExe pkg} 25 + expected=${lib.escapeShellArg output} 26 + got=$("$target") 27 + if [[ "$got" != "$expected" ]]; then 28 + echo "wrong output: expected $expected, got $got" 29 + exit 1 30 + fi 31 + 32 + echo Testing with makeBinPath... 33 + 34 + PATH="${lib.makeBinPath [ pkg ]}:$PATH" 35 + got=$(test-script) 36 + if [[ "$got" != "$expected" ]]; then 37 + echo "wrong output: expected $expected, got $got" 38 + exit 1 39 + fi 40 + 41 + touch $out 42 + '' 43 +
+39
pkgs/build-support/trivial-builders/test/writeScriptBin.nix
··· 1 + /* 2 + Run with: 3 + 4 + cd nixpkgs 5 + nix-build -A tests.trivial-builders.writeShellScriptBin 6 + */ 7 + 8 + { lib, writeScriptBin, runCommand }: 9 + let 10 + output = "hello"; 11 + pkg = writeScriptBin "test-script" '' 12 + echo ${lib.escapeShellArg output} 13 + ''; 14 + in 15 + assert pkg.meta.mainProgram == "test-script"; 16 + runCommand "test-writeScriptBin" { } '' 17 + 18 + echo Testing with getExe... 19 + 20 + target=${lib.getExe pkg} 21 + expected=${lib.escapeShellArg output} 22 + got=$("$target") 23 + if [[ "$got" != "$expected" ]]; then 24 + echo "wrong output: expected $expected, got $got" 25 + exit 1 26 + fi 27 + 28 + echo Testing with makeBinPath... 29 + 30 + PATH="${lib.makeBinPath [ pkg ]}:$PATH" 31 + got=$(test-script) 32 + if [[ "$got" != "$expected" ]]; then 33 + echo "wrong output: expected $expected, got $got" 34 + exit 1 35 + fi 36 + 37 + touch $out 38 + '' 39 +
+39
pkgs/build-support/trivial-builders/test/writeShellScriptBin.nix
··· 1 + /* 2 + Run with: 3 + 4 + cd nixpkgs 5 + nix-build -A tests.trivial-builders.writeShellScriptBin 6 + */ 7 + 8 + { lib, writeShellScriptBin, runCommand }: 9 + let 10 + output = "hello"; 11 + pkg = writeShellScriptBin "test-script" '' 12 + echo ${lib.escapeShellArg output} 13 + ''; 14 + in 15 + assert pkg.meta.mainProgram == "test-script"; 16 + runCommand "test-writeShellScriptBin" { } '' 17 + 18 + echo Testing with getExe... 19 + 20 + target=${lib.getExe pkg} 21 + expected=${lib.escapeShellArg output} 22 + got=$("$target") 23 + if [[ "$got" != "$expected" ]]; then 24 + echo "wrong output: expected $expected, got $got" 25 + exit 1 26 + fi 27 + 28 + echo Testing with makeBinPath... 29 + 30 + PATH="${lib.makeBinPath [ pkg ]}:$PATH" 31 + got=$(test-script) 32 + if [[ "$got" != "$expected" ]]; then 33 + echo "wrong output: expected $expected, got $got" 34 + exit 1 35 + fi 36 + 37 + touch $out 38 + '' 39 +
+2 -2
pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix
··· 30 30 31 31 stdenv.mkDerivation rec { 32 32 pname = "elementary-greeter"; 33 - version = "6.1.1"; 33 + version = "7.0.0"; 34 34 35 35 src = fetchFromGitHub { 36 36 owner = "elementary"; 37 37 repo = "greeter"; 38 38 rev = version; 39 - sha256 = "sha256-6rjZOX9JOTjZwqWVWTtKjGNy8KgWllE9VQZzwhuBAwE="; 39 + sha256 = "sha256-m/xuaMCAPoqhl/M547mdafBPBu3UhHmVmBIUKQoS5L8="; 40 40 }; 41 41 42 42 patches = [
+2 -2
pkgs/desktops/pantheon/desktop/wingpanel-indicators/a11y/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "wingpanel-indicator-a11y"; 18 - version = "1.0.1"; 18 + version = "1.0.2"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "elementary"; 22 22 repo = pname; 23 23 rev = version; 24 - sha256 = "sha256-iS+xTCjbRZfaUiOtHbQ+/SaajfWWAlC9XiZbIGZPO9I="; 24 + sha256 = "sha256-HECK+IEUAKJ4F1TotTHF84j4BYS6EZdAtLBoM401+mw="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -14
pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "elementary-settings-daemon"; 26 - version = "1.3.0"; 26 + version = "1.3.1"; 27 27 28 28 src = fetchFromGitHub { 29 29 owner = "elementary"; 30 30 repo = "settings-daemon"; 31 31 rev = version; 32 - sha256 = "sha256-464caR36oSUhxCU0utP5eMYiiBekU6W4bVIbsUoiFRI="; 32 + sha256 = "sha256-mEmc9uLwUTObsP70P0G2vcRdQF6do/wMTQjvfLUU//o="; 33 33 }; 34 34 35 35 nativeBuildInputs = [ ··· 58 58 postPatch = '' 59 59 chmod +x meson/post_install.py 60 60 patchShebangs meson/post_install.py 61 - 62 - substituteInPlace data/io.elementary.settings-daemon.check-for-firmware-updates.service \ 63 - --replace "/usr/bin/busctl" "${systemd}/bin/busctl" 64 61 ''; 65 - 66 - postInstall = '' 67 - # https://github.com/elementary/settings-daemon/pull/75 68 - mkdir -p $out/etc/xdg/autostart 69 - ln -s $out/share/applications/io.elementary.settings-daemon.desktop $out/etc/xdg/autostart/io.elementary.settings-daemon.desktop 70 - ''; 71 - 72 - # https://github.com/elementary/settings-daemon/pull/74 73 - PKG_CONFIG_SYSTEMD_SYSTEMDSYSTEMUNITDIR = "${placeholder "out"}/lib/systemd/system"; 74 62 75 63 passthru = { 76 64 updateScript = nix-update-script { };
+7 -3
pkgs/development/coq-modules/trakt/default.nix
··· 4 4 pname = "trakt"; 5 5 owner = "ecranceMERCE"; 6 6 7 - release."1.0".rev = "d1c9daba8fe0584b526047862dd27ddf836dbbf2"; 8 7 release."1.0".sha256 = "sha256-Qhw5fWFYxUFO2kIWWz/og+4fuy9aYG27szfNk3IglhY="; 8 + release."1.1".sha256 = "sha256-JmrtM9WcT8Bfy0WZCw8xdubuMomyXmfLXJwpnCNrvsg="; 9 + release."1.2".sha256 = "sha256-YQRtK2MjjsMlytdu9iutUDKhwOo4yWrSwhyBb2zNHoE="; 10 + release."1.2+8.13".sha256 = "sha256-hozms4sPSMr4lFkJ20x+uW9Wqt067bifnPQxdGyKhQQ="; 9 11 10 12 inherit version; 11 13 defaultVersion = with lib.versions; lib.switch [ coq.version ] [ 12 - { cases = [ (range "8.13" "8.17") ]; out = "1.0"; } 14 + { cases = [ (range "8.15" "8.17") ]; out = "1.2"; } 15 + { cases = [ (isEq "8.13") ]; out = "1.2+8.13"; } 16 + { cases = [ (range "8.13" "8.17") ]; out = "1.1"; } 13 17 ] null; 14 18 15 19 propagatedBuildInputs = [ coq-elpi ]; ··· 17 21 meta = with lib; { 18 22 description = "A generic goal preprocessing tool for proof automation tactics in Coq"; 19 23 maintainers = with maintainers; [ siraben ]; 20 - license = licenses.cecill-b; 24 + license = licenses.lgpl3Plus; 21 25 platforms = platforms.unix; 22 26 }; 23 27 }
+2 -2
pkgs/development/libraries/intel-media-driver/default.nix
··· 30 30 patches = [ 31 31 # fix platform detection 32 32 (fetchpatch { 33 - url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/master/debian/patches/0002-Remove-settings-based-on-ARCH.patch"; 34 - sha256 = "sha256-f4M0CPtAVf5l2ZwfgTaoPw7sPuAP/Uxhm5JSHEGhKT0="; 33 + url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/04ffb03f744780a55aba311c612d708b00584bb7/debian/patches/0002-Remove-settings-based-on-ARCH.patch"; 34 + sha256 = "sha256-o/Pg0S53SYh3O7L+AwxOPl1Bx4TS6iKB8ql8GhhHI/o="; 35 35 }) 36 36 ]; 37 37
+4 -2
pkgs/development/python-modules/aiohomekit/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , aiocoap 4 + , async-interrupt 4 5 , bleak 5 6 , bleak-retry-connector 6 7 , chacha20poly1305 ··· 18 19 19 20 buildPythonPackage rec { 20 21 pname = "aiohomekit"; 21 - version = "2.6.10"; 22 + version = "2.6.11"; 22 23 format = "pyproject"; 23 24 24 25 disabled = pythonOlder "3.9"; ··· 27 28 owner = "Jc2k"; 28 29 repo = pname; 29 30 rev = "refs/tags/${version}"; 30 - hash = "sha256-2+PqXIKjEJWfTUAJYctWojwoWl7QOfxbbH6c7ZlTNRI="; 31 + hash = "sha256-oTH/YM21l9N03F9zFTOAvxgdG6SyL6qXeeA28jLAOq8="; 31 32 }; 32 33 33 34 nativeBuildInputs = [ ··· 36 37 37 38 propagatedBuildInputs = [ 38 39 aiocoap 40 + async-interrupt 39 41 bleak 40 42 bleak-retry-connector 41 43 chacha20poly1305
+43 -31
pkgs/development/python-modules/altair/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy27 2 - , entrypoints 3 - , glibcLocales 4 - , ipython 5 - , jinja2 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + 6 + # Runtime dependencies 7 + , hatchling 8 + , toolz 9 + , numpy 6 10 , jsonschema 7 - , numpy 11 + , typing-extensions 8 12 , pandas 13 + , jinja2 14 + , importlib-metadata 15 + 16 + # Build, dev and test dependencies 17 + , ipython 9 18 , pytestCheckHook 10 - , pythonOlder 11 - , recommonmark 12 - , six 19 + , vega_datasets 13 20 , sphinx 14 - , toolz 15 - , typing ? null 16 - , vega_datasets 17 21 }: 18 22 19 23 buildPythonPackage rec { 20 24 pname = "altair"; 21 - version = "4.2.2"; 22 - disabled = isPy27; 25 + version = "5.0.1"; 26 + format = "pyproject"; 27 + disabled = pythonOlder "3.7"; 23 28 24 - src = fetchPypi { 25 - inherit pname version; 26 - hash = "sha256-OTmaJnxJsw0QLBBBHmerJjdBVqhLGuufzRUUBCm6ScU="; 29 + src = fetchFromGitHub { 30 + owner = "altair-viz"; 31 + repo = "altair"; 32 + rev = "refs/tags/v${version}"; 33 + hash = "sha256-7bTrfryu4oaodVGNFNlVk9vXmDA5/9ahvCmvUGzZ5OQ="; 27 34 }; 28 35 36 + nativeBuildInputs = [ 37 + hatchling 38 + ]; 39 + 29 40 propagatedBuildInputs = [ 30 - entrypoints 41 + jinja2 31 42 jsonschema 32 43 numpy 33 44 pandas 34 - six 35 45 toolz 36 - jinja2 37 - ] ++ lib.optionals (pythonOlder "3.5") [ typing ]; 46 + ] ++ lib.optional (pythonOlder "3.8") importlib-metadata 47 + ++ lib.optional (pythonOlder "3.11") typing-extensions; 38 48 39 49 nativeCheckInputs = [ 40 - glibcLocales 41 50 ipython 42 - pytestCheckHook 43 - recommonmark 44 51 sphinx 45 52 vega_datasets 53 + pytestCheckHook 46 54 ]; 47 55 48 56 pythonImportsCheck = [ "altair" ]; 49 57 50 - # avoid examples directory, which fetches web resources 51 - preCheck = '' 52 - cd altair/tests 53 - ''; 58 + disabledTestPaths = [ 59 + # Disabled because it requires internet connectivity 60 + "tests/test_examples.py" 61 + # TODO: Disabled because of missing altair_viewer package 62 + "tests/vegalite/v5/test_api.py" 63 + # avoid updating files and dependency on black 64 + "tests/test_toplevel.py" 65 + ]; 54 66 55 67 meta = with lib; { 56 68 description = "A declarative statistical visualization library for Python."; 57 - homepage = "https://github.com/altair-viz/altair"; 69 + homepage = "https://altair-viz.github.io"; 70 + downloadPage = "https://github.com/altair-viz/altair"; 58 71 license = licenses.bsd3; 59 - maintainers = with maintainers; [ teh ]; 60 - platforms = platforms.unix; 72 + maintainers = with maintainers; [ teh vinetos ]; 61 73 }; 62 74 }
+49
pkgs/development/python-modules/async-interrupt/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , poetry-core 5 + , pytest-asyncio 6 + , pytestCheckHook 7 + , pythonOlder 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "async-interrupt"; 12 + version = "1.1.1"; 13 + format = "pyproject"; 14 + 15 + disabled = pythonOlder "3.8"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "bdraco"; 19 + repo = "async_interrupt"; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-mbvOj1ybCkDNr3je3PtFwmddkh2k/nHOerpC6hGSUYI="; 22 + }; 23 + 24 + postPatch = '' 25 + substituteInPlace pyproject.toml \ 26 + --replace " --cov=async_interrupt --cov-report=term-missing:skip-covered" "" 27 + ''; 28 + 29 + nativeBuildInputs = [ 30 + poetry-core 31 + ]; 32 + 33 + nativeCheckInputs = [ 34 + pytest-asyncio 35 + pytestCheckHook 36 + ]; 37 + 38 + pythonImportsCheck = [ 39 + "async_interrupt" 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "Context manager to raise an exception when a future is done"; 44 + homepage = "https://github.com/bdraco/async_interrupt"; 45 + changelog = "https://github.com/bdraco/async_interrupt/blob/${version}/CHANGELOG.md"; 46 + license = licenses.asl20; 47 + maintainers = with maintainers; [ fab ]; 48 + }; 49 + }
+2 -2
pkgs/development/python-modules/auth0-python/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "auth0-python"; 16 - version = "4.3.0"; 16 + version = "4.4.0"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.7"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - hash = "sha256-enSG8rO0gMpSaf6otdx94xncyxc6Uv570VKVVQkit1g="; 23 + hash = "sha256-Yf8/NmQygdikQXv9sUukQEKKd+FcpSPnGbbi8kzVyLo="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+198
pkgs/development/python-modules/bentoml/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , hatchling 5 + , hatch-vcs 6 + , aiohttp 7 + , attrs 8 + , cattrs 9 + , circus 10 + , click 11 + , click-option-group 12 + , cloudpickle 13 + , deepmerge 14 + , fs 15 + , jinja2 16 + , numpy 17 + , opentelemetry-api 18 + , opentelemetry-instrumentation 19 + , opentelemetry-instrumentation-aiohttp-client 20 + , opentelemetry-instrumentation-asgi 21 + , opentelemetry-sdk 22 + , opentelemetry-semantic-conventions 23 + , opentelemetry-util-http 24 + , packaging 25 + , pathspec 26 + , pip-requirements-parser 27 + , pip-tools 28 + , prometheus-client 29 + , psutil 30 + , pynvml 31 + , python-dateutil 32 + , python-json-logger 33 + , python-multipart 34 + , pyyaml 35 + , requests 36 + , rich 37 + , schema 38 + , simple-di 39 + , starlette 40 + , uvicorn 41 + , watchfiles 42 + , fs-s3fs 43 + , grpcio 44 + , grpcio-health-checking 45 + , opentelemetry-instrumentation-grpc 46 + , protobuf 47 + , grpcio-channelz 48 + , grpcio-reflection 49 + , filetype 50 + , pillow 51 + , pydantic 52 + , pandas 53 + , pyarrow 54 + , opentelemetry-exporter-otlp-proto-http 55 + # https://pypi.org/project/opentelemetry-exporter-jaeger-proto-grpc/ 56 + # , opentelemetry-exporter-jaeger # support for this exporter ends in july 2023 57 + , opentelemetry-exporter-otlp 58 + # , opentelemetry-exporter-zipkin 59 + , tritonclient 60 + # native check inputs 61 + , pytestCheckHook 62 + , scikit-learn 63 + , lxml 64 + , orjson 65 + , pytest-asyncio 66 + , fastapi 67 + }: 68 + 69 + let 70 + version = "1.1.0"; 71 + aws = [ fs-s3fs ]; 72 + grpc = [ 73 + grpcio 74 + grpcio-health-checking 75 + opentelemetry-instrumentation-grpc 76 + protobuf 77 + ]; 78 + io-file = [ filetype ]; 79 + io-image = io-file ++ [ pillow ]; 80 + io-json = [ pydantic ]; 81 + io-pandas = [ pandas pyarrow ]; 82 + grpc-reflection = grpc ++ [ grpcio-reflection ]; 83 + grpc-channelz = grpc ++ [ grpcio-channelz ]; 84 + monitor-otlp = [ opentelemetry-exporter-otlp-proto-http ]; 85 + # tracing-jaeger = [ opentelemetry-exporter-jaeger ]; 86 + tracing-otlp = [ opentelemetry-exporter-otlp ]; 87 + # tracing-zipkin = [ opentelemetry-exporter-zipkin ]; 88 + io = io-json ++ io-image ++ io-pandas ++ io-file; 89 + tracing = tracing-otlp; # ++ tracing-zipkin ++ tracing-jaeger 90 + optional-dependencies = { 91 + all = aws ++ io ++ grpc ++ grpc-reflection ++ grpc-channelz ++ tracing ++ monitor-otlp; 92 + inherit aws grpc io-file io-image io-json io-pandas io grpc-reflection 93 + grpc-channelz monitor-otlp tracing-otlp tracing; 94 + triton = [ tritonclient ] ++ tritonclient.optional-dependencies.http ++ tritonclient.optional-dependencies.grpc; 95 + }; 96 + in 97 + buildPythonPackage { 98 + pname = "bentoml"; 99 + inherit version; 100 + format = "pyproject"; 101 + 102 + src = fetchFromGitHub { 103 + owner = "bentoml"; 104 + repo = "BentoML"; 105 + rev = "v${version}"; 106 + hash = "sha256-ZhgBw/zBazfVNPvcfAlHEGvc9hzVm7aKLXmwwvMmF0A="; 107 + }; 108 + 109 + pythonRelaxDeps = [ 110 + "opentelemetry-semantic-conventions" 111 + ]; 112 + 113 + nativeBuildInputs = [ 114 + hatchling 115 + hatch-vcs 116 + ]; 117 + 118 + propagatedBuildInputs = [ 119 + aiohttp 120 + attrs 121 + cattrs 122 + circus 123 + click 124 + click-option-group 125 + cloudpickle 126 + deepmerge 127 + fs 128 + jinja2 129 + numpy 130 + opentelemetry-api 131 + opentelemetry-instrumentation 132 + opentelemetry-instrumentation-aiohttp-client 133 + opentelemetry-instrumentation-asgi 134 + opentelemetry-sdk 135 + opentelemetry-semantic-conventions 136 + opentelemetry-util-http 137 + packaging 138 + pathspec 139 + pip-requirements-parser 140 + pip-tools 141 + prometheus-client 142 + psutil 143 + pynvml 144 + python-dateutil 145 + python-json-logger 146 + python-multipart 147 + pyyaml 148 + requests 149 + rich 150 + schema 151 + simple-di 152 + starlette 153 + uvicorn 154 + watchfiles 155 + ]; 156 + 157 + passthru.optional-dependencies = optional-dependencies; 158 + 159 + pythonImportsCheck = [ "bentoml" ]; 160 + 161 + preCheck = '' 162 + # required for CI testing 163 + # https://github.com/bentoml/BentoML/pull/4056/commits/66302b502a3f4df4e8e6643d2afefefca974073e 164 + export GITHUB_ACTIONS=1 165 + ''; 166 + 167 + disabledTestPaths = [ 168 + "tests/e2e" 169 + "tests/integration" 170 + ]; 171 + 172 + disabledTests = [ 173 + # flaky test 174 + "test_store" 175 + ]; 176 + 177 + nativeCheckInputs = [ 178 + pytestCheckHook 179 + pandas 180 + pydantic 181 + scikit-learn 182 + lxml 183 + orjson 184 + pytest-asyncio 185 + pillow 186 + fastapi 187 + starlette 188 + ] ++ optional-dependencies.grpc; 189 + 190 + 191 + meta = with lib; { 192 + description = "Build Production-Grade AI Applications"; 193 + homepage = "https://github.com/bentoml/BentoML"; 194 + changelog = "https://github.com/bentoml/BentoML/releases/tag/v${version}"; 195 + license = licenses.asl20; 196 + maintainers = with maintainers; [ happysalada natsukium ]; 197 + }; 198 + }
+2 -2
pkgs/development/python-modules/chiavdf/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "chiavdf"; 17 - version = "1.0.9"; 17 + version = "1.0.10"; 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-G4npp0G8TNk2y/T6myNr8NCfkBdcknsWds+XBZiNnQY="; 22 + hash = "sha256-660Frlaj6WbYOl0sfb5ox6qTzE+jKJR0Qka9nEijSyg="; 23 23 }; 24 24 25 25 patches = [
+2 -2
pkgs/development/python-modules/elastic-apm/default.nix
··· 30 30 31 31 buildPythonPackage rec { 32 32 pname = "elastic-apm"; 33 - version = "6.17.0"; 33 + version = "6.18.0"; 34 34 format = "setuptools"; 35 35 36 36 disabled = pythonOlder "3.8"; ··· 39 39 owner = "elastic"; 40 40 repo = "apm-agent-python"; 41 41 rev = "refs/tags/v${version}"; 42 - hash = "sha256-Tyot/JswIiwxugjxyHcENDAGF9uxwaptTIZwU/GnjAU="; 42 + hash = "sha256-s4aM2HuagqcF2sLHHRh2kj1tglf+JZ7hXT4PcAeFStQ="; 43 43 }; 44 44 45 45 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/elementpath/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "elementpath"; 9 - version = "4.1.4"; 9 + version = "4.1.5"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; ··· 15 15 owner = "sissaschool"; 16 16 repo = "elementpath"; 17 17 rev = "refs/tags/v${version}"; 18 - hash = "sha256-cU22JdrCTvg8cF1LK9dYfOTztp3qoXV9VK6aMpbKFHc="; 18 + hash = "sha256-5K2xcnTo3/A6/pCxQn5qZqni7C64p/yNAWWJlhQeKe4="; 19 19 }; 20 20 21 21 # avoid circular dependency with xmlschema which directly depends on this
+29
pkgs/development/python-modules/fontawesomefree/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "fontawesomefree"; 8 + version = "6.4.0"; 9 + format = "wheel"; 10 + 11 + # they only provide a wheel 12 + src = fetchPypi { 13 + inherit pname version format; 14 + dist = "py3"; 15 + python = "py3"; 16 + hash = "sha256-4S7a1xts9pk/x8aupjZ+Ex8vJHtkNfrKmbEjKbrNKyc="; 17 + }; 18 + 19 + pythonImportsCheck = [ 20 + "fontawesomefree" 21 + ]; 22 + 23 + meta = with lib; { 24 + homepage = "https://github.com/FortAwesome/Font-Awesome"; 25 + description = "Icon library and toolkit"; 26 + license = with licenses; [ ofl cc-by-40 ]; 27 + maintainers = with maintainers; [ netali ]; 28 + }; 29 + }
+2 -2
pkgs/development/python-modules/holidays/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "holidays"; 14 - version = "0.28"; 14 + version = "0.29"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "dr-prodigy"; 21 21 repo = "python-holidays"; 22 22 rev = "refs/tags/v.${version}"; 23 - hash = "sha256-JHj7fSE8p3TLViDSegl6gm35u53D9NvN7Oa2TBjN9t4="; 23 + hash = "sha256-ijhqu0LzQzpjDSe9ZjNhgdjq/DJuD7oVbRTLX97nGHM="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+1 -3
pkgs/development/tools/lv_img_conv/default.nix
··· 52 52 makeWrapper ${nodePackages.ts-node}/bin/ts-node $out/bin/lv_img_conv --add-flags $out/lib/node_modules/lv_img_conv/lib/cli.ts 53 53 ''; 54 54 55 - passthru.updateScript = nix-update-script { 56 - attrPath = pname; 57 - }; 55 + passthru.updateScript = nix-update-script { }; 58 56 59 57 meta = with lib; { 60 58 changelog = "https://github.com/lvgl/lv_img_conv/releases/tag/v${version}";
+2 -2
pkgs/development/tools/micronaut/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "micronaut"; 5 - version = "4.0.0"; 5 + version = "4.0.1"; 6 6 7 7 src = fetchzip { 8 8 url = "https://github.com/micronaut-projects/micronaut-starter/releases/download/v${version}/micronaut-cli-${version}.zip"; 9 - sha256 = "sha256-Ois5peY2Znj33wg/iVUa2r4U1dRU1R8KKvpptwK+o9w="; 9 + sha256 = "sha256-yCCnEFz6PGhfrbWwo/HVLPr6qrIxvlZhAdIU4XoOjqc="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper installShellFiles ];
+3 -2
pkgs/development/tools/misc/gdb/default.nix
··· 4 4 , fetchurl, fetchpatch, pkg-config, perl, texinfo, setupDebugInfoDirs, buildPackages 5 5 6 6 # Run time 7 - , ncurses, readline, gmp, mpfr, expat, libipt, zlib, zstd, dejagnu, sourceHighlight 7 + , ncurses, readline, gmp, mpfr, expat, libipt, zlib, zstd, dejagnu, sourceHighlight, libiconv 8 8 9 9 , pythonSupport ? stdenv.hostPlatform == stdenv.buildPlatform && !stdenv.hostPlatform.isCygwin, python3 ? null 10 10 , enableDebuginfod ? lib.meta.availableOn stdenv.hostPlatform elfutils, elfutils ··· 57 57 buildInputs = [ ncurses readline gmp mpfr expat libipt zlib zstd guile sourceHighlight ] 58 58 ++ lib.optional pythonSupport python3 59 59 ++ lib.optional doCheck dejagnu 60 - ++ lib.optional enableDebuginfod (elfutils.override { enableDebuginfod = true; }); 60 + ++ lib.optional enableDebuginfod (elfutils.override { enableDebuginfod = true; }) 61 + ++ lib.optional stdenv.isDarwin libiconv; 61 62 62 63 propagatedNativeBuildInputs = [ setupDebugInfoDirs ]; 63 64
+2 -2
pkgs/servers/dns/knot-dns/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "knot-dns"; 10 - version = "3.2.8"; 10 + version = "3.2.9"; 11 11 12 12 src = fetchurl { 13 13 url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz"; 14 - sha256 = "ef419a428f327def77780bc90eda763b51e6121fe548543da84b9eb96a261a6e"; 14 + sha256 = "bc1f9eb8c9f67f52805f3acfa2d0153190245fa145b007fafa9068d2da292506"; 15 15 }; 16 16 17 17 outputs = [ "bin" "out" "dev" ];
+1 -9
pkgs/test/default.nix
··· 66 66 67 67 cuda = callPackage ./cuda { }; 68 68 69 - trivial-builders = recurseIntoAttrs { 70 - writeStringReferencesToFile = callPackage ../build-support/trivial-builders/test/writeStringReferencesToFile.nix {}; 71 - writeTextFile = callPackage ../build-support/trivial-builders/test/write-text-file.nix {}; 72 - writeShellScript = callPackage ../build-support/trivial-builders/test/write-shell-script.nix {}; 73 - references = callPackage ../build-support/trivial-builders/test/references.nix {}; 74 - overriding = callPackage ../build-support/trivial-builders/test-overriding.nix {}; 75 - concat = callPackage ../build-support/trivial-builders/test/concat-test.nix {}; 76 - linkFarm = callPackage ../build-support/trivial-builders/test/link-farm.nix {}; 77 - }; 69 + trivial-builders = callPackage ../build-support/trivial-builders/test/default.nix {}; 78 70 79 71 writers = callPackage ../build-support/writers/test.nix {}; 80 72
+1 -3
pkgs/tools/admin/ejson2env/default.nix
··· 19 19 "-X main.version=${version}" 20 20 ]; 21 21 22 - passthru.updateScript = nix-update-script { 23 - attrPath = pname; 24 - }; 22 + passthru.updateScript = nix-update-script { }; 25 23 26 24 meta = with lib; { 27 25 description = "A tool to simplify storing secrets that should be accessible in the shell environment in your git repo.";
+1 -3
pkgs/tools/admin/gimme-aws-creds/default.nix
··· 93 93 94 94 passthru = { 95 95 inherit python; 96 - updateScript = nix-update-script { 97 - attrPath = pname; 98 - }; 96 + updateScript = nix-update-script { }; 99 97 tests.version = testers.testVersion { 100 98 package = gimme-aws-creds; 101 99 command = ''touch tmp.conf && OKTA_CONFIG="tmp.conf" gimme-aws-creds --version'';
+3 -3
pkgs/tools/misc/chezmoi/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "chezmoi"; 9 - version = "2.34.3"; 9 + version = "2.35.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "twpayne"; 13 13 repo = "chezmoi"; 14 14 rev = "v${version}"; 15 - hash = "sha256-Cy2mRcx8UZp9+7O824sosQ8ld9ppl2YvCssvL16aBsA="; 15 + hash = "sha256-drydLWt0B7mQKMn1GzEe/I352b2hvhCKV8tUicZoVHk="; 16 16 }; 17 17 18 - vendorHash = "sha256-Z812v+UTaAi3tA2hWtZkQXrtlXhQzlawYtbQdX1HHN0="; 18 + vendorHash = "sha256-HZYYENQIkmAhm0oDfUUpiAqWTbmNsy6u6hOyUvd8iC8="; 19 19 20 20 doCheck = false; 21 21
+4 -4
pkgs/tools/networking/amass/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "amass"; 8 - version = "4.0.3"; 8 + version = "4.0.4"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "OWASP"; 12 12 repo = "Amass"; 13 - rev = "v${version}"; 14 - hash = "sha256-c5LHF8SPvBqXpz5mRIKU402ZeCs8VUzPIwLoMPrWzdA="; 13 + rev = "refs/tags/v${version}"; 14 + hash = "sha256-KzMpe6pSPCNlk4fhZUZ1dvcj2Vgk8gHbEhVwlxOFKFg="; 15 15 }; 16 16 17 - vendorHash = "sha256-4Ml9qiaXf2zBIDdJE7JWHf684YD1yuIPd4VTRcBNLcE="; 17 + vendorHash = "sha256-YdHJMUgVNUAREmvBDQl8p5ESOmJykheaQSU6asyZ7qc="; 18 18 19 19 outputs = [ 20 20 "out"
+3 -3
pkgs/tools/security/trufflehog/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "trufflehog"; 10 - version = "3.44.0"; 10 + version = "3.45.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "trufflesecurity"; 14 14 repo = "trufflehog"; 15 15 rev = "refs/tags/v${version}"; 16 - hash = "sha256-2AGdF+E3YNRiM8So+i6XWkQxgDgF8wu2z6hnuuzh4NQ="; 16 + hash = "sha256-kWEDeFx3ngpL6ySCD5GsJbmtbhv1qCMt9yjrskLmbbg="; 17 17 }; 18 18 19 - vendorHash = "sha256-IJZSYwF71pbRr+k8dCE8OOEQwK3srPtGbrJIltfVNBU="; 19 + vendorHash = "sha256-dg29rK5/se2DVhc+GLFeFzh3bqJl3dfC2zjGLX7utDs="; 20 20 21 21 ldflags = [ 22 22 "-s"
+2
pkgs/top-level/all-packages.nix
··· 35437 35437 35438 35438 tickrs = callPackage ../applications/misc/tickrs { }; 35439 35439 35440 + tijolo = callPackage ../applications/editors/tijolo { }; 35441 + 35440 35442 tilemaker = callPackage ../applications/misc/tilemaker { }; 35441 35443 35442 35444 timbreid = callPackage ../applications/audio/pd-plugins/timbreid {
+6
pkgs/top-level/python-packages.nix
··· 736 736 737 737 async-dns = callPackage ../development/python-modules/async-dns { }; 738 738 739 + async-interrupt = callPackage ../development/python-modules/async-interrupt { }; 740 + 739 741 async-lru = callPackage ../development/python-modules/async-lru { }; 740 742 741 743 async-modbus = callPackage ../development/python-modules/async-modbus { }; ··· 1319 1321 bencoder = callPackage ../development/python-modules/bencoder { }; 1320 1322 1321 1323 beniget = callPackage ../development/python-modules/beniget { }; 1324 + 1325 + bentoml = callPackage ../development/python-modules/bentoml { }; 1322 1326 1323 1327 bespon = callPackage ../development/python-modules/bespon { }; 1324 1328 ··· 3923 3927 fnvhash = callPackage ../development/python-modules/fnvhash { }; 3924 3928 3925 3929 folium = callPackage ../development/python-modules/folium { }; 3930 + 3931 + fontawesomefree = callPackage ../development/python-modules/fontawesomefree { }; 3926 3932 3927 3933 fontforge = toPythonModule (pkgs.fontforge.override { 3928 3934 withPython = true;