Merge staging-next into staging

authored by nixpkgs-ci[bot] and committed by GitHub 0061dfd4 ffbfd9c8

+925 -1206
+4
.github/workflows/periodic-merge-24h.yml
··· 31 into: staging-next-24.11 32 - from: staging-next-24.11 33 into: staging-24.11 34 - from: master staging 35 into: haskell-updates 36 uses: ./.github/workflows/periodic-merge.yml
··· 31 into: staging-next-24.11 32 - from: staging-next-24.11 33 into: staging-24.11 34 + - from: master 35 + into: staging-next-25.05 36 + - from: staging-next-25.05 37 + into: staging-25.05 38 - from: master staging 39 into: haskell-updates 40 uses: ./.github/workflows/periodic-merge.yml
+37
doc/release-notes/rl-2511.section.md
···
··· 1 + # Nixpkgs 25.11 (2025.11/??) {#sec-nixpkgs-release-25.11} 2 + 3 + ## Highlights {#sec-nixpkgs-release-25.11-highlights} 4 + <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 5 + 6 + - Create the first release note entry in this section! 7 + 8 + ## Backward Incompatibilities {#sec-nixpkgs-release-25.11-incompatibilities} 9 + 10 + <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 11 + 12 + - Create the first release note entry in this section! 13 + 14 + ## Other Notable Changes {#sec-nixpkgs-release-25.11-notable-changes} 15 + 16 + <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 17 + 18 + - Create the first release note entry in this section! 19 + 20 + ## Nixpkgs Library {#sec-nixpkgs-release-25.11-lib} 21 + 22 + <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 23 + 24 + ### Breaking changes {#sec-nixpkgs-release-25.11-lib-breaking} 25 + 26 + - Create the first release note entry in this section! 27 + 28 + 29 + ### Deprecations {#sec-nixpkgs-release-25.11-lib-deprecations} 30 + 31 + - Create the first release note entry in this section! 32 + 33 + 34 + ### Additions and Improvements {#sec-nixpkgs-release-25.11-lib-additions-improvements} 35 + 36 + - Create the first release note entry in this section! 37 +
+19 -2
maintainers/maintainer-list.nix
··· 53 More fields may be added in the future, however, in order to comply with GDPR this file should stay as minimal as possible. 54 55 When editing this file: 56 - * keep the list alphabetically sorted, check with: 57 - nix-instantiate --eval maintainers/scripts/check-maintainers-sorted.nix 58 * test the validity of the format with: 59 nix-build lib/tests/maintainers.nix 60 ··· 536 fingerprint = "DCBD 2175 8A30 9C1F 41D7 A0FC 890F FDB1 1860 FE1C"; 537 } 538 ]; 539 }; 540 acesyde = { 541 name = "Pierre-Emmanuel Mercier"; ··· 13422 github = "okvik"; 13423 githubId = 58425080; 13424 name = "Viktor Pocedulić"; 13425 }; 13426 kwaa = { 13427 name = "藍+85CD"; ··· 26843 github = "YanniPapandreou"; 26844 githubId = 15948162; 26845 name = "Yanni Papandreou"; 26846 }; 26847 yarny = { 26848 github = "Yarny0";
··· 53 More fields may be added in the future, however, in order to comply with GDPR this file should stay as minimal as possible. 54 55 When editing this file: 56 + * keep the list alphabetically sorted 57 * test the validity of the format with: 58 nix-build lib/tests/maintainers.nix 59 ··· 535 fingerprint = "DCBD 2175 8A30 9C1F 41D7 A0FC 890F FDB1 1860 FE1C"; 536 } 537 ]; 538 + }; 539 + Acconut = { 540 + email = "marius@transloadit.com"; 541 + github = "Acconut"; 542 + githubId = 1375043; 543 + name = "Marius Kleidl"; 544 }; 545 acesyde = { 546 name = "Pierre-Emmanuel Mercier"; ··· 13427 github = "okvik"; 13428 githubId = 58425080; 13429 name = "Viktor Pocedulić"; 13430 + }; 13431 + kvz = { 13432 + email = "kevin@transloadit.com"; 13433 + github = "kvz"; 13434 + githubId = 26752; 13435 + name = "Kevin van Zonneveld"; 13436 }; 13437 kwaa = { 13438 name = "藍+85CD"; ··· 26854 github = "YanniPapandreou"; 26855 githubId = 15948162; 26856 name = "Yanni Papandreou"; 26857 + }; 26858 + yarekt = { 26859 + name = "Yarek T"; 26860 + email = "yarekt+nixpkgs@gmail.com"; 26861 + github = "yarektyshchenko"; 26862 + githubId = 185304; 26863 }; 26864 yarny = { 26865 github = "Yarny0";
+25
nixos/doc/manual/release-notes/rl-2511.section.md
···
··· 1 + # Release 25.11 (2025.11/??) {#sec-release-25.11} 2 + 3 + ## Highlights {#sec-release-25.11-highlights} 4 + 5 + <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 6 + 7 + - Create the first release note entry in this section! 8 + 9 + ## New Modules {#sec-release-25.11-new-modules} 10 + 11 + <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 12 + 13 + - Create the first release note entry in this section! 14 + 15 + ## Backward Incompatibilities {#sec-release-25.11-incompatibilities} 16 + 17 + <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 18 + 19 + - Create the first release note entry in this section! 20 + 21 + ## Other Notable Changes {#sec-release-25.11-notable-changes} 22 + 23 + <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 24 + 25 + - Create the first release note entry in this section!
+1 -1
nixos/modules/module-list.nix
··· 186 ./programs/corefreq.nix 187 ./programs/cpu-energy-meter.nix 188 ./programs/criu.nix 189 - ./programs/darling.nix 190 ./programs/dconf.nix 191 ./programs/digitalbitbox/default.nix 192 ./programs/direnv.nix ··· 1076 ./services/networking/bitlbee.nix 1077 ./services/networking/blockbook-frontend.nix 1078 ./services/networking/blocky.nix 1079 ./services/networking/centrifugo.nix 1080 ./services/networking/cgit.nix 1081 ./services/networking/charybdis.nix
··· 186 ./programs/corefreq.nix 187 ./programs/cpu-energy-meter.nix 188 ./programs/criu.nix 189 ./programs/dconf.nix 190 ./programs/digitalbitbox/default.nix 191 ./programs/direnv.nix ··· 1075 ./services/networking/bitlbee.nix 1076 ./services/networking/blockbook-frontend.nix 1077 ./services/networking/blocky.nix 1078 + ./services/networking/cato-client.nix 1079 ./services/networking/centrifugo.nix 1080 ./services/networking/cgit.nix 1081 ./services/networking/charybdis.nix
-27
nixos/modules/programs/darling.nix
··· 1 - { 2 - config, 3 - lib, 4 - pkgs, 5 - ... 6 - }: 7 - 8 - let 9 - cfg = config.programs.darling; 10 - in 11 - { 12 - options = { 13 - programs.darling = { 14 - enable = lib.mkEnableOption "Darling, a Darwin/macOS compatibility layer for Linux"; 15 - package = lib.mkPackageOption pkgs "darling" { }; 16 - }; 17 - }; 18 - 19 - config = lib.mkIf cfg.enable { 20 - security.wrappers.darling = { 21 - source = lib.getExe cfg.package; 22 - owner = "root"; 23 - group = "root"; 24 - setuid = true; 25 - }; 26 - }; 27 - }
···
+50 -8
nixos/modules/services/admin/oxidized.nix
··· 11 options.services.oxidized = { 12 enable = lib.mkEnableOption "the oxidized configuration backup service"; 13 14 user = lib.mkOption { 15 type = lib.types.str; 16 default = "oxidized"; ··· 70 }; 71 72 routerDB = lib.mkOption { 73 - type = lib.types.path; 74 example = lib.literalExpression '' 75 pkgs.writeText "oxidized-router.db" ''' 76 hostname-sw1:powerconnect:username1:password2 ··· 94 isSystemUser = true; 95 }; 96 97 systemd.services.oxidized = { 98 wantedBy = [ "multi-user.target" ]; 99 after = [ "network.target" ]; 100 101 - preStart = '' 102 - mkdir -p ${cfg.dataDir}/.config/oxidized 103 - ln -f -s ${cfg.routerDB} ${cfg.dataDir}/.config/oxidized/router.db 104 - ln -f -s ${cfg.configFile} ${cfg.dataDir}/.config/oxidized/config 105 - ''; 106 - 107 serviceConfig = { 108 - ExecStart = "${pkgs.oxidized}/bin/oxidized"; 109 User = cfg.user; 110 Group = cfg.group; 111 UMask = "0077";
··· 11 options.services.oxidized = { 12 enable = lib.mkEnableOption "the oxidized configuration backup service"; 13 14 + package = lib.mkPackageOption pkgs "oxidized" { }; 15 + 16 user = lib.mkOption { 17 type = lib.types.str; 18 default = "oxidized"; ··· 72 }; 73 74 routerDB = lib.mkOption { 75 + type = lib.types.nullOr lib.types.path; 76 + default = null; 77 example = lib.literalExpression '' 78 pkgs.writeText "oxidized-router.db" ''' 79 hostname-sw1:powerconnect:username1:password2 ··· 97 isSystemUser = true; 98 }; 99 100 + systemd.tmpfiles.settings."10-oxidized" = 101 + { 102 + "${cfg.dataDir}" = { 103 + d = { 104 + mode = "0750"; 105 + user = cfg.user; 106 + group = cfg.group; 107 + }; 108 + }; 109 + 110 + "${cfg.dataDir}/.config" = { 111 + d = { 112 + mode = "0750"; 113 + user = cfg.user; 114 + group = cfg.group; 115 + }; 116 + }; 117 + 118 + "${cfg.dataDir}/.config/oxidized" = { 119 + d = { 120 + mode = "0750"; 121 + user = cfg.user; 122 + group = cfg.group; 123 + }; 124 + }; 125 + 126 + "${cfg.dataDir}/.config/oxidized/config" = { 127 + L = { 128 + argument = "${cfg.configFile}"; 129 + user = cfg.user; 130 + group = cfg.group; 131 + }; 132 + }; 133 + 134 + } 135 + // lib.optionalAttrs (cfg.routerDB != null) { 136 + "${cfg.dataDir}/.config/oxidized/router.db" = { 137 + L = { 138 + argument = "${cfg.routerDB}"; 139 + user = cfg.user; 140 + group = cfg.group; 141 + }; 142 + }; 143 + }; 144 + 145 systemd.services.oxidized = { 146 wantedBy = [ "multi-user.target" ]; 147 after = [ "network.target" ]; 148 149 serviceConfig = { 150 + ExecStart = lib.getExe cfg.package; 151 User = cfg.user; 152 Group = cfg.group; 153 UMask = "0077";
+75
nixos/modules/services/networking/cato-client.nix
···
··· 1 + { 2 + config, 3 + pkgs, 4 + lib, 5 + ... 6 + }: 7 + let 8 + inherit (lib) mkIf mkEnableOption mkPackageOption; 9 + 10 + cfg = config.services.cato-client; 11 + in 12 + { 13 + options.services.cato-client = { 14 + enable = mkEnableOption "cato-client service"; 15 + package = mkPackageOption pkgs "cato-client" { }; 16 + }; 17 + 18 + config = mkIf cfg.enable { 19 + users = { 20 + groups.cato-client = { }; 21 + }; 22 + 23 + environment.systemPackages = [ 24 + cfg.package 25 + ]; 26 + 27 + systemd.services.cato-client = { 28 + enable = true; 29 + description = "Cato Networks Linux client - connects tunnel to Cato cloud"; 30 + after = [ "network.target" ]; 31 + 32 + serviceConfig = { 33 + Type = "simple"; 34 + User = "root"; # Note: daemon runs as root, tools sticky to group 35 + Group = "cato-client"; 36 + ExecStart = "${cfg.package}/bin/cato-clientd systemd"; 37 + WorkingDirectory = "${cfg.package}"; 38 + Restart = "always"; 39 + 40 + # Cato client seems to do the following: 41 + # - Look in each user's ~/.cato/ for configuration and keys 42 + # - Write to /var/log/cato-client.log 43 + # - Create and use sockets /var/run/cato-sdp.i, /var/run/cato-sdp.o 44 + # - Read and Write to /opt/cato/ for runtime settings 45 + # - Read /etc/systemd/resolved.conf (but fine if fails) 46 + # - Restart systemd-resolved (also fine if doesn't exist) 47 + 48 + NoNewPrivileges = true; 49 + PrivateTmp = true; 50 + ProtectKernelTunables = true; 51 + ProtectControlGroups = true; 52 + ProtectSystem = true; 53 + }; 54 + 55 + wantedBy = [ "multi-user.target" ]; 56 + }; 57 + 58 + # set up Security wrapper Same as inteded in deb post install 59 + security.wrappers.cato-clientd = { 60 + source = "${cfg.package}/bin/cato-clientd"; 61 + owner = "root"; 62 + group = "cato-client"; 63 + permissions = "u+rwx,g+rwx"; # 770 64 + setgid = true; 65 + }; 66 + 67 + security.wrappers.cato-sdp = { 68 + source = "${cfg.package}/bin/cato-sdp"; 69 + owner = "root"; 70 + group = "cato-client"; 71 + permissions = "u+rwx,g+rx,a+rx"; # 755 72 + setgid = true; 73 + }; 74 + }; 75 + }
-1
nixos/tests/all-tests.nix
··· 373 croc = handleTest ./croc.nix { }; 374 cross-seed = runTest ./cross-seed.nix; 375 cyrus-imap = runTest ./cyrus-imap.nix; 376 - darling = handleTest ./darling.nix { }; 377 darling-dmg = runTest ./darling-dmg.nix; 378 dae = handleTest ./dae.nix { }; 379 davis = runTest ./davis.nix;
··· 373 croc = handleTest ./croc.nix { }; 374 cross-seed = runTest ./cross-seed.nix; 375 cyrus-imap = runTest ./cyrus-imap.nix; 376 darling-dmg = runTest ./darling-dmg.nix; 377 dae = handleTest ./dae.nix { }; 378 davis = runTest ./davis.nix;
-52
nixos/tests/darling.nix
··· 1 - import ./make-test-python.nix ( 2 - { pkgs, lib, ... }: 3 - 4 - let 5 - # Well, we _can_ cross-compile from Linux :) 6 - hello = 7 - pkgs.runCommand "hello" 8 - { 9 - sdk = "${pkgs.darling.sdk}/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"; 10 - nativeBuildInputs = with pkgs.llvmPackages_14; [ 11 - clang-unwrapped 12 - lld 13 - ]; 14 - src = pkgs.writeText "hello.c" '' 15 - #include <stdio.h> 16 - int main() { 17 - printf("Hello, Darling!\n"); 18 - return 0; 19 - } 20 - ''; 21 - } 22 - '' 23 - clang \ 24 - -target x86_64-apple-darwin \ 25 - -fuse-ld=lld \ 26 - -nostdinc -nostdlib \ 27 - -mmacosx-version-min=10.15 \ 28 - --sysroot $sdk \ 29 - -isystem $sdk/usr/include \ 30 - -L $sdk/usr/lib -lSystem \ 31 - $src -o $out 32 - ''; 33 - in 34 - { 35 - name = "darling"; 36 - 37 - meta.maintainers = with lib.maintainers; [ zhaofengli ]; 38 - 39 - nodes.machine = { 40 - programs.darling.enable = true; 41 - }; 42 - 43 - testScript = '' 44 - start_all() 45 - 46 - # Darling holds stdout until the server is shutdown 47 - machine.succeed("darling ${hello} >hello.out") 48 - machine.succeed("grep Hello hello.out") 49 - machine.succeed("darling shutdown") 50 - ''; 51 - } 52 - )
···
+4 -1
nixos/tests/nvidia-container-toolkit.nix
··· 90 { 91 name = "nvidia-container-toolkit"; 92 meta = with lib.maintainers; { 93 - maintainers = [ ereslibre ]; 94 }; 95 defaults = 96 { config, ... }:
··· 90 { 91 name = "nvidia-container-toolkit"; 92 meta = with lib.maintainers; { 93 + maintainers = [ 94 + ereslibre 95 + christoph-heiss 96 + ]; 97 }; 98 defaults = 99 { config, ... }:
+3 -3
pkgs/README.md
··· 501 502 ### Fetching patches 503 504 - In the interest of keeping our maintenance burden and the size of Nixpkgs to a minimum, patches already merged upstream or published elsewhere _should_ be retrieved using `fetchpatch`: 505 506 ```nix 507 { 508 patches = [ 509 - (fetchpatch { 510 name = "fix-check-for-using-shared-freetype-lib.patch"; 511 url = "https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/patch/?id=8f5d28536e4518716fdfe974e580194c8f57871d"; 512 hash = "sha256-uRcxaCjd+WAuGrXOmGfFeu79cUILwkRdBu48mwcBE7g="; ··· 515 } 516 ``` 517 518 - If a patch is available online but does not cleanly apply, it can be modified in some fixed ways by using additional optional arguments for `fetchpatch`. Check [the `fetchpatch` reference](https://nixos.org/manual/nixpkgs/unstable/#fetchpatch) for details. 519 520 When adding patches in this manner you should be reasonably sure that the used URL is stable. Patches referencing open pull requests will change when the PR is updated and code forges (such as GitHub) usually garbage collect commits that are no longer reachable due to rebases/amends. 521
··· 501 502 ### Fetching patches 503 504 + In the interest of keeping our maintenance burden and the size of Nixpkgs to a minimum, patches already merged upstream or published elsewhere _should_ be retrieved using `fetchpatch2`: 505 506 ```nix 507 { 508 patches = [ 509 + (fetchpatch2 { 510 name = "fix-check-for-using-shared-freetype-lib.patch"; 511 url = "https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/patch/?id=8f5d28536e4518716fdfe974e580194c8f57871d"; 512 hash = "sha256-uRcxaCjd+WAuGrXOmGfFeu79cUILwkRdBu48mwcBE7g="; ··· 515 } 516 ``` 517 518 + If a patch is available online but does not cleanly apply, it can be modified in some fixed ways by using additional optional arguments for `fetchpatch2`. Check [the `fetchpatch` reference](https://nixos.org/manual/nixpkgs/unstable/#fetchpatch) for details. 519 520 When adding patches in this manner you should be reasonably sure that the used URL is stable. Patches referencing open pull requests will change when the PR is updated and code forges (such as GitHub) usually garbage collect commits that are no longer reachable due to rebases/amends. 521
+9 -6
pkgs/applications/networking/browsers/firefox/common.nix
··· 44 lib, 45 pkgs, 46 stdenv, 47 - fetchpatch, 48 patchelf, 49 50 # build time ··· 77 gnum4, 78 gtk3, 79 icu73, 80 libGL, 81 libGLU, 82 libevent, ··· 328 rm -rf obj-x86_64-pc-linux-gnu 329 patchShebangs mach build 330 '' 331 + extraPostPatch; 332 333 # Ignore trivial whitespace changes in patches, this fixes compatibility of ··· 467 ] 468 ++ lib.optional (isElfhackPlatform stdenv) (enableFeature elfhackSupport "elf-hack") 469 ++ lib.optional (!drmSupport) "--disable-eme" 470 - ++ lib.optional (allowAddonSideload) "--allow-addon-sideload" 471 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 472 # MacOS builds use bundled versions of libraries: https://bugzilla.mozilla.org/show_bug.cgi?id=1776255 473 "--enable-system-pixman" 474 "--with-system-ffi" 475 - # Firefox 136 fails to link with our icu76.1 476 - (lib.optionalString (lib.versionOlder version "136") "--with-system-icu") 477 "--with-system-jpeg" 478 "--with-system-libevent" 479 "--with-system-libvpx" ··· 557 xorg.xorgproto 558 zlib 559 ( 560 - if (lib.versionAtLeast version "116") then nss_latest else nss_esr # 3.90 561 ) 562 ] 563 ++ lib.optional alsaSupport alsa-lib ··· 569 libdrm 570 ] 571 )) 572 - ++ lib.optionals (lib.versionOlder version "136") [ icu73 ] 573 ++ lib.optional gssSupport libkrb5 574 ++ lib.optional jemallocSupport jemalloc 575 ++ extraBuildInputs;
··· 44 lib, 45 pkgs, 46 stdenv, 47 patchelf, 48 49 # build time ··· 76 gnum4, 77 gtk3, 78 icu73, 79 + icu77, 80 libGL, 81 libGLU, 82 libevent, ··· 328 rm -rf obj-x86_64-pc-linux-gnu 329 patchShebangs mach build 330 '' 331 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1927380 332 + + lib.optionalString (lib.versionAtLeast version "134") '' 333 + sed -i "s/icu-i18n/icu-uc &/" js/moz.configure 334 + '' 335 + extraPostPatch; 336 337 # Ignore trivial whitespace changes in patches, this fixes compatibility of ··· 471 ] 472 ++ lib.optional (isElfhackPlatform stdenv) (enableFeature elfhackSupport "elf-hack") 473 ++ lib.optional (!drmSupport) "--disable-eme" 474 + ++ lib.optional allowAddonSideload "--allow-addon-sideload" 475 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 476 # MacOS builds use bundled versions of libraries: https://bugzilla.mozilla.org/show_bug.cgi?id=1776255 477 "--enable-system-pixman" 478 "--with-system-ffi" 479 + "--with-system-icu" 480 "--with-system-jpeg" 481 "--with-system-libevent" 482 "--with-system-libvpx" ··· 560 xorg.xorgproto 561 zlib 562 ( 563 + if (lib.versionAtLeast version "129") then nss_latest else nss_esr # 3.90 564 ) 565 ] 566 ++ lib.optional alsaSupport alsa-lib ··· 572 libdrm 573 ] 574 )) 575 + ++ [ (if (lib.versionAtLeast version "138") then icu77 else icu73) ] 576 ++ lib.optional gssSupport libkrb5 577 ++ lib.optional jemallocSupport jemalloc 578 ++ extraBuildInputs;
+1 -1
pkgs/by-name/_1/_1password-gui-beta/package.nix
··· 1 - { _1password-gui }: 2 _1password-gui.override { 3 channel = "beta"; 4 }
··· 1 + { _1password-gui, ... }: 2 _1password-gui.override { 3 channel = "beta"; 4 }
+35
pkgs/by-name/bs/bs-manager/depotdownloader/default.nix
···
··· 1 + { 2 + lib, 3 + buildDotnetModule, 4 + fetchFromGitHub, 5 + dotnetCorePackages, 6 + }: 7 + 8 + buildDotnetModule { 9 + pname = "depotdownloader"; 10 + version = "2.7.4-unstable-2024-12-01"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "Iluhadesu"; 14 + repo = "DepotDownloader"; 15 + rev = "a9f58e5513b72bd00b623a83e1460b3c5db49248"; 16 + hash = "sha256-+QfwKQJzyXqUvTn8kKP7lYHvbtRtdJ7jc/W7E87tV7w="; 17 + }; 18 + 19 + projectFile = "DepotDownloader.sln"; 20 + nugetDeps = ./deps.json; 21 + dotnet-sdk = dotnetCorePackages.sdk_8_0; 22 + dotnet-runtime = dotnetCorePackages.runtime_8_0; 23 + 24 + meta = { 25 + description = "Fork of DepotDownloader to be used by BSManager"; 26 + license = lib.licenses.gpl2Only; 27 + platforms = [ 28 + "x86_64-linux" 29 + "aarch64-linux" 30 + "x86_64-darwin" 31 + "aarch64-darwin" 32 + ]; 33 + mainProgram = "DepotDownloader"; 34 + }; 35 + }
+67
pkgs/by-name/bs/bs-manager/depotdownloader/deps.json
···
··· 1 + [ 2 + { 3 + "pname": "Microsoft.NETCore.Platforms", 4 + "version": "5.0.0", 5 + "hash": "sha256-LIcg1StDcQLPOABp4JRXIs837d7z0ia6+++3SF3jl1c=" 6 + }, 7 + { 8 + "pname": "Microsoft.Win32.Registry", 9 + "version": "5.0.0", 10 + "hash": "sha256-9kylPGfKZc58yFqNKa77stomcoNnMeERXozWJzDcUIA=" 11 + }, 12 + { 13 + "pname": "Microsoft.Windows.CsWin32", 14 + "version": "0.3.106", 15 + "hash": "sha256-S1uQa684taPb6uh69784ebVpXoirMoX+pxBRA+Rrzlg=" 16 + }, 17 + { 18 + "pname": "Microsoft.Windows.SDK.Win32Docs", 19 + "version": "0.1.42-alpha", 20 + "hash": "sha256-6DvzmNzrGVfWmNJNqooj+Ya+7bAQlyeg7pmyKaUlIws=" 21 + }, 22 + { 23 + "pname": "Microsoft.Windows.SDK.Win32Metadata", 24 + "version": "60.0.34-preview", 25 + "hash": "sha256-KdRe73sXipzMvm2BLmwwBZGh+l9isZDC9l8WFyUR1zM=" 26 + }, 27 + { 28 + "pname": "Microsoft.Windows.WDK.Win32Metadata", 29 + "version": "0.11.4-experimental", 30 + "hash": "sha256-b3oKUKbr+3Udfl7RWzUY9BR/XWNsN+VmEkBxk6KiFo0=" 31 + }, 32 + { 33 + "pname": "protobuf-net", 34 + "version": "3.2.30", 35 + "hash": "sha256-keRy5OWT+/tlZt3D7x+9PEdjTvEJcZdYsf/i1ZBtciE=" 36 + }, 37 + { 38 + "pname": "protobuf-net.Core", 39 + "version": "3.2.30", 40 + "hash": "sha256-GMpJNecoBfrV2VgpYOhcZnKZaLFDObNLcX2LBTThrwY=" 41 + }, 42 + { 43 + "pname": "SteamKit2", 44 + "version": "3.0.0-beta.4", 45 + "hash": "sha256-7cXlpCuUD8ZuTMtqsT5MdklkZb+XIGBdoI28anjUXtg=" 46 + }, 47 + { 48 + "pname": "System.Collections.Immutable", 49 + "version": "7.0.0", 50 + "hash": "sha256-9an2wbxue2qrtugYES9awshQg+KfJqajhnhs45kQIdk=" 51 + }, 52 + { 53 + "pname": "System.IO.Hashing", 54 + "version": "8.0.0", 55 + "hash": "sha256-szOGt0TNBo6dEdC3gf6H+e9YW3Nw0woa6UnCGGGK5cE=" 56 + }, 57 + { 58 + "pname": "System.Security.AccessControl", 59 + "version": "5.0.0", 60 + "hash": "sha256-ueSG+Yn82evxyGBnE49N4D+ngODDXgornlBtQ3Omw54=" 61 + }, 62 + { 63 + "pname": "System.Security.Principal.Windows", 64 + "version": "5.0.0", 65 + "hash": "sha256-CBOQwl9veFkrKK2oU8JFFEiKIh/p+aJO+q9Tc2Q/89Y=" 66 + } 67 + ]
+112 -52
pkgs/by-name/bs/bs-manager/package.nix
··· 1 { 2 - asar, 3 autoPatchelfHook, 4 - dpkg, 5 - electron, 6 - fetchurl, 7 - lib, 8 makeWrapper, 9 - nix-update-script, 10 - openssl, 11 - stdenv, 12 - zlib, 13 }: 14 - stdenv.mkDerivation (finalAttrs: { 15 pname = "bs-manager"; 16 - version = "1.5.2"; 17 18 - src = 19 - if stdenv.hostPlatform.system == "x86_64-linux" then 20 - fetchurl { 21 - url = "https://github.com/Zagrios/bs-manager/releases/download/v1.5.2/bs-manager_1.5.2_amd64.deb"; 22 - hash = "sha256-rNqnEez56t4TPIKhljC0HEams2xhj6nB3CGW0CuQBKQ="; 23 - } 24 - else 25 - throw "BSManager is not available for your platform"; 26 27 - # TODO: Package BSManager's fork of DepotDownloader and replace vendored binary at $out/opt/BSManager/resources/assets/scripts/DepotDownloader 28 - # See https://github.com/Iluhadesu/DepotDownloader 29 30 nativeBuildInputs = [ 31 - asar 32 - autoPatchelfHook # for vendored DepotDownloader 33 - dpkg 34 makeWrapper 35 ]; 36 37 buildInputs = [ 38 stdenv.cc.cc 39 - zlib 40 ]; 41 42 - # DepotDownloader dlopen()s libssl 43 - runtimeDependencies = [ 44 - (lib.getLib openssl) 45 - ]; 46 47 - dontConfigure = true; 48 - dontBuild = true; 49 50 installPhase = '' 51 runHook preInstall 52 53 - mkdir -p $out/opt/BSManager 54 - cp -r opt/BSManager/{locales,resources} $out/opt/BSManager 55 - cp -Tr usr/ $out 56 - 57 - # Some assets aren't included in the asar bundle. BSManager relies on 58 - # process.resourcesPath to load some of these assets which we have to patch later 59 - asar extract $out/opt/BSManager/resources/app.asar $out/opt/BSManager/resources 60 - rm $out/opt/BSManager/resources/app.asar 61 62 - # Update desktop Exec entry 63 - substituteInPlace $out/share/applications/bs-manager.desktop \ 64 - --replace-fail Exec=/opt/BSManager/bs-manager Exec=bs-manager 65 66 - mkdir -p $out/bin 67 makeWrapper ${lib.getExe electron} $out/bin/bs-manager \ 68 --set-default ELECTRON_FORCE_IS_PACKAGED 1 \ 69 - --add-flags $out/opt/BSManager/resources \ 70 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \ 71 --inherit-argv0 72 73 runHook postInstall 74 ''; 75 76 - preFixup = '' 77 - substituteInPlace "$out/opt/BSManager/resources/dist/main/main.js" \ 78 - --replace-fail "process.resourcesPath" "'$out/opt/BSManager/resources'" 79 - ''; 80 81 - passthru.updateScript = nix-update-script { }; 82 83 meta = { 84 - changelog = "https://github.com/Zagrios/bs-manager/blob/master/CHANGELOG.md"; 85 description = "Your Beat Saber Assistant"; 86 homepage = "https://github.com/Zagrios/bs-manager"; 87 license = lib.licenses.gpl3Only; ··· 89 maintainers = with lib.maintainers; [ 90 mistyttm 91 Scrumplex 92 ]; 93 - platforms = [ "x86_64-linux" ]; 94 - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 95 }; 96 })
··· 1 { 2 + lib, 3 + stdenv, 4 + callPackage, 5 + nix-update-script, 6 + 7 + buildNpmPackage, 8 + fetchNpmDeps, 9 + fetchFromGitHub, 10 + makeDesktopItem, 11 + 12 autoPatchelfHook, 13 + copyDesktopItems, 14 makeWrapper, 15 + 16 + electron, 17 + steam-run-free, 18 }: 19 + 20 + buildNpmPackage (finalAttrs: { 21 pname = "bs-manager"; 22 + version = "1.5.3"; 23 24 + src = fetchFromGitHub { 25 + owner = "Zagrios"; 26 + repo = "bs-manager"; 27 + tag = "v${finalAttrs.version}"; 28 + hash = "sha256-thqz6sFmov5py7mUBYUC6ANBgjnNFC1hfLEsaxJVYu8="; 29 + }; 30 31 + patches = [ 32 + # https://github.com/Zagrios/bs-manager/pull/870 33 + ./use-steam-run-for-wine.patch 34 + ]; 35 + 36 + postPatch = '' 37 + # don't search for resources in electron's resource directory, but our own 38 + substituteInPlace src/main/services/utils.service.ts \ 39 + --replace-fail "process.resourcesPath" "'$out/share/bs-manager/resources'" 40 + 41 + # replace vendored DepotDownloader with our own 42 + rm assets/scripts/DepotDownloader 43 + ln -s ${finalAttrs.passthru.depotdownloader}/bin/DepotDownloader assets/scripts/DepotDownloader 44 + ''; 45 + 46 + npmDepsHash = "sha256-VsCbz7ImDnJ0tonVhA4lOPA0w//tqF4hLhrReLUqYI8="; 47 + 48 + extraNpmDeps = fetchNpmDeps { 49 + name = "bs-manager-${finalAttrs.version}-extra-npm-deps"; 50 + inherit (finalAttrs) src; 51 + sourceRoot = "${finalAttrs.src.name}/release/app"; 52 + hash = "sha256-JqDsv9kvYnbJdNwXN1EbppSrFVqr2cSnVhV2+8uw54g="; 53 + }; 54 + 55 + makeCacheWritable = true; 56 + 57 + env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; 58 + 59 + npmRebuildFlags = [ "--ignore-scripts" ]; 60 61 nativeBuildInputs = [ 62 + autoPatchelfHook # for some prebuilt node deps: query-process @resvg/resvg-js 63 + copyDesktopItems 64 makeWrapper 65 ]; 66 67 buildInputs = [ 68 stdenv.cc.cc 69 ]; 70 71 + preBuild = '' 72 + pushd release/app 73 + 74 + rm -r "$npm_config_cache" 75 + npmDeps="$extraNpmDeps" npmConfigHook 76 + npm run postinstall 77 + 78 + popd 79 + ''; 80 + 81 + postBuild = '' 82 + cp -r ${electron.dist} electron-dist 83 + chmod -R u+w electron-dist 84 85 + npm exec electron-builder -- \ 86 + --dir \ 87 + --config=electron-builder.config.js \ 88 + -c.electronDist=electron-dist \ 89 + -c.electronVersion=${electron.version} 90 + ''; 91 92 installPhase = '' 93 runHook preInstall 94 95 + for icon in build/icons/png/*.png; do 96 + install -Dm644 $icon $out/share/icons/hicolor/$(basename $icon .png)/apps/bs-manager.png 97 + done 98 99 + mkdir -p $out/share/bs-manager 100 + cp -r release/build/*-unpacked/{locales,resources{,.pak}} $out/share/bs-manager 101 102 makeWrapper ${lib.getExe electron} $out/bin/bs-manager \ 103 --set-default ELECTRON_FORCE_IS_PACKAGED 1 \ 104 + --add-flags $out/share/bs-manager/resources/app.asar \ 105 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \ 106 + --prefix PATH : ${lib.makeBinPath [ steam-run-free ]} \ 107 --inherit-argv0 108 109 runHook postInstall 110 ''; 111 112 + desktopItems = [ 113 + (makeDesktopItem { 114 + desktopName = "BSManager"; 115 + name = "BSManager"; 116 + exec = "bs-manager"; 117 + terminal = false; 118 + type = "Application"; 119 + icon = "bs-manager"; 120 + mimeTypes = [ 121 + "x-scheme-handler/bsmanager" 122 + "x-scheme-handler/beatsaver" 123 + "x-scheme-handler/bsplaylist" 124 + "x-scheme-handler/modelsaber" 125 + "x-scheme-handler/web+bsmap" 126 + ]; 127 + categories = [ 128 + "Utility" 129 + "Game" 130 + ]; 131 + }) 132 + ]; 133 134 + passthru = { 135 + updateScript = nix-update-script { }; 136 + depotdownloader = callPackage ./depotdownloader { }; 137 + }; 138 139 meta = { 140 + changelog = "https://github.com/Zagrios/bs-manager/blob/${finalAttrs.src.rev}/CHANGELOG.md"; 141 description = "Your Beat Saber Assistant"; 142 homepage = "https://github.com/Zagrios/bs-manager"; 143 license = lib.licenses.gpl3Only; ··· 145 maintainers = with lib.maintainers; [ 146 mistyttm 147 Scrumplex 148 + ImSapphire 149 + tomasajt 150 ]; 151 + platforms = lib.platforms.linux; 152 + sourceProvenance = with lib.sourceTypes; [ 153 + binaryNativeCode # prebuilt node deps 154 + ]; 155 }; 156 })
+40
pkgs/by-name/bs/bs-manager/use-steam-run-for-wine.patch
···
··· 1 + diff --git a/src/main/services/linux.service.ts b/src/main/services/linux.service.ts 2 + index 7f92bed..5f12896 100644 3 + --- a/src/main/services/linux.service.ts 4 + +++ b/src/main/services/linux.service.ts 5 + @@ -129,12 +129,7 @@ export class LinuxService { 6 + return fs.pathExistsSync(protonPath) && fs.pathExistsSync(winePath); 7 + } 8 + 9 + - public async getWinePath(): Promise<string> { 10 + - if (await this.isNixOS()) { 11 + - // Use system wine for nixos 12 + - return "wine"; 13 + - } 14 + - 15 + + public getWinePath(): string { 16 + if (!this.staticConfig.has("proton-folder")) { 17 + throw new Error("proton-folder variable not set"); 18 + } 19 + diff --git a/src/main/services/mods/bs-mods-manager.service.ts b/src/main/services/mods/bs-mods-manager.service.ts 20 + index c842fda..60cc190 100644 21 + --- a/src/main/services/mods/bs-mods-manager.service.ts 22 + +++ b/src/main/services/mods/bs-mods-manager.service.ts 23 + @@ -162,12 +162,15 @@ export class BsModsManagerService { 24 + let winePath: string = ""; 25 + if (process.platform === "linux") { 26 + const { error: winePathError, result: winePathResult } = 27 + - await tryit(async () => this.linuxService.getWinePath()); 28 + + tryit(() => this.linuxService.getWinePath()); 29 + if (winePathError) { 30 + log.error(winePathError); 31 + return false; 32 + } 33 + - winePath = `"${winePathResult}"`; 34 + + 35 + + winePath = await this.linuxService.isNixOS() 36 + + ? `steam-run "${winePathResult}"` 37 + + : `"${winePathResult}"`; 38 + 39 + const winePrefix = this.linuxService.getWinePrefixPath(); 40 + if (!winePrefix) {
+69
pkgs/by-name/ca/cato-client/package.nix
···
··· 1 + { 2 + stdenv, 3 + fetchurl, 4 + writeScript, 5 + autoPatchelfHook, 6 + dpkg, 7 + libz, 8 + lib, 9 + }: 10 + stdenv.mkDerivation rec { 11 + pname = "cato-client"; 12 + version = "5.2.1.1"; 13 + 14 + src = fetchurl { 15 + url = "https://clients.catonetworks.com/linux/${version}/cato-client-install.deb"; 16 + sha256 = "sha256-0hUchaxaiKJth2ByQMFfjsCLi/4kl+SrNSQ33Y6r3WA="; 17 + }; 18 + 19 + passthru.updateScript = writeScript "update-cato-client" '' 20 + #!/usr/bin/env nix-shell 21 + #!nix-shell -i bash -p curl pcre2 common-updater-scripts 22 + 23 + set -eu -o pipefail 24 + 25 + version="$(curl -sI https://clientdownload.catonetworks.com/public/clients/cato-client-install.deb | grep -Fi 'Location:' | pcre2grep -o1 '/(([0-9]\.?)+)/')" 26 + update-source-version cato-client "$version" 27 + ''; 28 + 29 + dontConfigure = true; 30 + 31 + nativeBuildInputs = [ 32 + autoPatchelfHook 33 + dpkg 34 + ]; 35 + 36 + buildInputs = [ 37 + libz 38 + stdenv.cc.cc 39 + ]; 40 + 41 + unpackPhase = '' 42 + runHook preUnpack 43 + dpkg -x $src source 44 + cd source 45 + runHook postUnpack 46 + ''; 47 + 48 + installPhase = '' 49 + runHook preInstall 50 + mkdir $out 51 + 52 + mv usr/lib $out/lib 53 + 54 + mkdir -p $out/bin 55 + mv usr/sbin/* $out/bin 56 + mv usr/bin/* $out/bin 57 + 58 + runHook postInstall 59 + ''; 60 + 61 + meta = { 62 + description = "Lightweight agent that provides secure zero-trust access to resources everywhere"; 63 + homepage = "https://www.catonetworks.com/platform/cato-client/"; 64 + mainProgram = "cato-sdp"; 65 + license = lib.licenses.unfree; 66 + maintainers = with lib.maintainers; [ yarekt ]; 67 + platforms = [ "x86_64-linux" ]; 68 + }; 69 + }
+3 -3
pkgs/by-name/cf/cfripper/package.nix
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "cfripper"; 9 - version = "1.17.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "Skyscanner"; 14 repo = "cfripper"; 15 tag = "v${version}"; 16 - hash = "sha256-xmCI+rM8Ijj66Df6H5WFpxTDkKqW5CPwXh+w/Qaqooc="; 17 }; 18 19 pythonRelaxDeps = [ ··· 62 meta = with lib; { 63 description = "Tool for analysing CloudFormation templates"; 64 homepage = "https://github.com/Skyscanner/cfripper"; 65 - changelog = "https://github.com/Skyscanner/cfripper/releases/tag/v${version}"; 66 license = with licenses; [ asl20 ]; 67 maintainers = with maintainers; [ fab ]; 68 mainProgram = "cfripper";
··· 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "cfripper"; 9 + version = "1.17.1"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "Skyscanner"; 14 repo = "cfripper"; 15 tag = "v${version}"; 16 + hash = "sha256-qAsIm1mcvMQshKActmFZuxgH3Yyzvw6m7e8DklG1AQ4="; 17 }; 18 19 pythonRelaxDeps = [ ··· 62 meta = with lib; { 63 description = "Tool for analysing CloudFormation templates"; 64 homepage = "https://github.com/Skyscanner/cfripper"; 65 + changelog = "https://github.com/Skyscanner/cfripper/releases/tag/${src.tag}"; 66 license = with licenses; [ asl20 ]; 67 maintainers = with maintainers; [ fab ]; 68 mainProgram = "cfripper";
+3 -3
pkgs/by-name/cn/cntb/package.nix
··· 5 }: 6 buildGoModule rec { 7 pname = "cntb"; 8 - version = "1.5.4"; 9 10 src = fetchFromGitHub { 11 owner = "contabo"; 12 repo = "cntb"; 13 rev = "v${version}"; 14 - hash = "sha256-4QS1fkXVcGxhZDPRLDc0xKl4jr8W4og/Qf591i3gzxk="; 15 # docs contains two files with the same name but different cases, 16 # this leads to a different hash on case insensitive filesystems (e.g. darwin) 17 # https://github.com/contabo/cntb/issues/34 ··· 22 23 subPackages = [ "." ]; 24 25 - vendorHash = "sha256-LOGSllVQ28bXaqHXEv1Zd1vcTRZTZ5wy+gSQv1JWKMU="; 26 27 ldflags = [ 28 "-X contabo.com/cli/cntb/cmd.version=${src.rev}"
··· 5 }: 6 buildGoModule rec { 7 pname = "cntb"; 8 + version = "1.5.5"; 9 10 src = fetchFromGitHub { 11 owner = "contabo"; 12 repo = "cntb"; 13 rev = "v${version}"; 14 + hash = "sha256-chO59HBpMXXFMIt+7UjUxE3WtzUak8VhD/ahEXT5l/k="; 15 # docs contains two files with the same name but different cases, 16 # this leads to a different hash on case insensitive filesystems (e.g. darwin) 17 # https://github.com/contabo/cntb/issues/34 ··· 22 23 subPackages = [ "." ]; 24 25 + vendorHash = "sha256-D0B1a2qbTGpAK1PkB+wqsReft14/SoKY3/I6k+pB2D0="; 26 27 ldflags = [ 28 "-X contabo.com/cli/cntb/cmd.version=${src.rev}"
+2 -2
pkgs/by-name/co/cockpit/package.nix
··· 41 42 stdenv.mkDerivation (finalAttrs: { 43 pname = "cockpit"; 44 - version = "337"; 45 46 src = fetchFromGitHub { 47 owner = "cockpit-project"; 48 repo = "cockpit"; 49 tag = finalAttrs.version; 50 - hash = "sha256-49ijtHUP0Z1ZfiydFfDlEv290yBVDo8ZsBktokdDu8I="; 51 fetchSubmodules = true; 52 }; 53
··· 41 42 stdenv.mkDerivation (finalAttrs: { 43 pname = "cockpit"; 44 + version = "338"; 45 46 src = fetchFromGitHub { 47 owner = "cockpit-project"; 48 repo = "cockpit"; 49 tag = finalAttrs.version; 50 + hash = "sha256-ZNvMLzkDh1SuyHuChWM0YykSYu152JHvjrKVm+u0Upw="; 51 fetchSubmodules = true; 52 }; 53
-267
pkgs/by-name/da/darling/package.nix
··· 1 - { 2 - clangStdenv, 3 - lib, 4 - runCommandWith, 5 - writeShellScript, 6 - fetchFromGitHub, 7 - fetchpatch, 8 - nixosTests, 9 - 10 - freetype, 11 - libjpeg, 12 - libpng, 13 - libtiff, 14 - giflib, 15 - libX11, 16 - libXext, 17 - libXrandr, 18 - libXcursor, 19 - libxkbfile, 20 - cairo, 21 - libglvnd, 22 - fontconfig, 23 - dbus, 24 - libGLU, 25 - fuse, 26 - ffmpeg, 27 - pulseaudio, 28 - 29 - makeWrapper, 30 - python2, 31 - python3, 32 - cmake, 33 - ninja, 34 - pkg-config, 35 - bison, 36 - flex, 37 - 38 - libbsd, 39 - openssl, 40 - 41 - xdg-user-dirs, 42 - 43 - addDriverRunpath, 44 - 45 - # Whether to pre-compile Python 2 bytecode for performance. 46 - compilePy2Bytecode ? false, 47 - }: 48 - let 49 - stdenv = clangStdenv; 50 - 51 - # The build system invokes clang to compile Darwin executables. 52 - # In this case, our cc-wrapper must not be used. 53 - ccWrapperBypass = 54 - runCommandWith 55 - { 56 - inherit stdenv; 57 - name = "cc-wrapper-bypass"; 58 - runLocal = false; 59 - derivationArgs = { 60 - template = writeShellScript "template" '' 61 - for (( i=1; i<=$#; i++)); do 62 - j=$((i+1)) 63 - if [[ "''${!i}" == "-target" && "''${!j}" == *"darwin"* ]]; then 64 - # their flags must take precedence 65 - exec @unwrapped@ "$@" $NIX_CFLAGS_COMPILE 66 - fi 67 - done 68 - exec @wrapped@ "$@" 69 - ''; 70 - }; 71 - } 72 - '' 73 - unwrapped_bin=${stdenv.cc.cc}/bin 74 - wrapped_bin=${stdenv.cc}/bin 75 - 76 - mkdir -p $out/bin 77 - 78 - unwrapped=$unwrapped_bin/$CC wrapped=$wrapped_bin/$CC \ 79 - substituteAll $template $out/bin/$CC 80 - unwrapped=$unwrapped_bin/$CXX wrapped=$wrapped_bin/$CXX \ 81 - substituteAll $template $out/bin/$CXX 82 - 83 - chmod +x $out/bin/$CC $out/bin/$CXX 84 - ''; 85 - 86 - wrappedLibs = [ 87 - # To find all of them: rg -w wrap_elf 88 - 89 - # src/native/CMakeLists.txt 90 - freetype 91 - libjpeg 92 - libpng 93 - libtiff 94 - giflib 95 - libX11 96 - libXext 97 - libXrandr 98 - libXcursor 99 - libxkbfile 100 - cairo 101 - libglvnd 102 - fontconfig 103 - dbus 104 - libGLU 105 - 106 - # src/external/darling-dmg/CMakeLists.txt 107 - fuse 108 - 109 - # src/CoreAudio/CMakeLists.txt 110 - ffmpeg 111 - pulseaudio 112 - ]; 113 - in 114 - stdenv.mkDerivation { 115 - pname = "darling"; 116 - version = "unstable-2024-02-03"; 117 - 118 - src = fetchFromGitHub { 119 - owner = "darlinghq"; 120 - repo = "darling"; 121 - rev = "25afbc76428c39c3909e9efcf5caef1140425211"; 122 - fetchSubmodules = true; 123 - hash = "sha256-z9IMgc5hH2Upn8wHl1OgP42q9HTSkeHnxB3N812A+Kc="; 124 - # Remove 500MB of dependency test files to get under Hydra output limit 125 - postFetch = '' 126 - rm -r $out/src/external/openjdk/test 127 - rm -r $out/src/external/libmalloc/tests 128 - rm -r $out/src/external/libarchive/libarchive/tar/test 129 - ''; 130 - }; 131 - 132 - outputs = [ 133 - "out" 134 - "sdk" 135 - ]; 136 - 137 - patches = [ 138 - # Fix 'clang: error: no such file or directory: .../signal/mach_excUser.c' 139 - # https://github.com/darlinghq/darling/issues/1511 140 - # https://github.com/darlinghq/darling/commit/f46eb721c11d32addd807f092f4b3a6ea515bb6d 141 - (fetchpatch { 142 - url = "https://github.com/darlinghq/darling/commit/f46eb721c11d32addd807f092f4b3a6ea515bb6d.patch?full_index=1"; 143 - hash = "sha256-FnLcHnK4cNto+E3OQSxE3iK+FHSU8y459FcpMvrzd6o="; 144 - }) 145 - 146 - # Fix compatibility with ffmpeg_7 147 - # https://github.com/darlinghq/darling/pull/1537 148 - # https://github.com/darlinghq/darling/commit/9655d5598c87dcb22c54a83cc7741b77cb47a1b0 149 - (fetchpatch { 150 - url = "https://github.com/darlinghq/darling/commit/9655d5598c87dcb22c54a83cc7741b77cb47a1b0.patch?full_index=1"; 151 - hash = "sha256-ogMo4SRRwiOhaVJ+OS8BVolGDa7vGKyR9bdGiOiCuRc="; 152 - }) 153 - ]; 154 - 155 - postPatch = '' 156 - # We have to be careful - Patching everything indiscriminately 157 - # would affect Darwin scripts as well 158 - chmod +x src/external/bootstrap_cmds/migcom.tproj/mig.sh 159 - patchShebangs \ 160 - src/external/bootstrap_cmds/migcom.tproj/mig.sh \ 161 - src/external/darlingserver/scripts \ 162 - src/external/openssl_certificates/scripts 163 - 164 - substituteInPlace src/startup/CMakeLists.txt --replace SETUID "" 165 - substituteInPlace src/external/basic_cmds/CMakeLists.txt --replace SETGID "" 166 - ''; 167 - 168 - nativeBuildInputs = [ 169 - bison 170 - ccWrapperBypass 171 - cmake 172 - flex 173 - makeWrapper 174 - ninja 175 - pkg-config 176 - python3 177 - ] ++ lib.optional compilePy2Bytecode python2; 178 - buildInputs = wrappedLibs ++ [ 179 - libbsd 180 - openssl 181 - stdenv.cc.libc.linuxHeaders 182 - ]; 183 - 184 - # Breaks valid paths like 185 - # Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include 186 - dontFixCmake = true; 187 - 188 - # src/external/objc4 forces OBJC_IS_DEBUG_BUILD=1, which conflicts with NDEBUG 189 - # TODO: Fix in a better way 190 - cmakeBuildType = " "; 191 - 192 - cmakeFlags = [ 193 - "-DTARGET_i386=OFF" 194 - "-DCOMPILE_PY2_BYTECODE=${if compilePy2Bytecode then "ON" else "OFF"}" 195 - "-DDARLINGSERVER_XDG_USER_DIR_CMD=${xdg-user-dirs}/bin/xdg-user-dir" 196 - ]; 197 - 198 - env.NIX_CFLAGS_COMPILE = "-Wno-macro-redefined -Wno-unused-command-line-argument"; 199 - 200 - # Linux .so's are dlopen'd by wrapgen during the build 201 - env.LD_LIBRARY_PATH = lib.makeLibraryPath wrappedLibs; 202 - 203 - # Breaks shebangs of Darwin scripts 204 - dontPatchShebangs = true; 205 - 206 - postInstall = '' 207 - # Install the SDK as a separate output 208 - mkdir -p $sdk 209 - 210 - sdkDir=$(readlink -f ../Developer) 211 - 212 - while read -r path; do 213 - dst="$sdk/Developer/''${path#$sdkDir}" 214 - 215 - if [[ -L "$path" ]]; then 216 - target=$(readlink -m "$path") 217 - if [[ -e "$target" && "$target" == "$NIX_BUILD_TOP"* && "$target" != "$sdkDir"* ]]; then 218 - # dereference 219 - cp -r -L "$path" "$dst" 220 - elif [[ -e "$target" ]]; then 221 - # preserve symlink 222 - cp -d "$path" "$dst" 223 - else 224 - # ignore symlink 225 - >&2 echo "Ignoring symlink $path -> $target" 226 - fi 227 - elif [[ -f $path ]]; then 228 - cp "$path" "$dst" 229 - elif [[ -d $path ]]; then 230 - mkdir -p "$dst" 231 - fi 232 - done < <(find $sdkDir) 233 - 234 - mkdir -p $sdk/bin 235 - cp src/external/cctools-port/cctools/ld64/src/*-ld $sdk/bin 236 - cp src/external/cctools-port/cctools/ar/*-{ar,ranlib} $sdk/bin 237 - ''; 238 - 239 - postFixup = '' 240 - echo "Checking for references to $NIX_STORE in Darling root..." 241 - 242 - set +e 243 - grep -r --exclude=mldr "$NIX_STORE" $out/libexec/darling 244 - ret=$? 245 - set -e 246 - 247 - if [[ $ret == 0 ]]; then 248 - echo "Found references to $NIX_STORE in Darling root (see above)" 249 - exit 1 250 - fi 251 - 252 - patchelf --add-rpath "${lib.makeLibraryPath wrappedLibs}:${addDriverRunpath.driverLink}/lib" \ 253 - $out/libexec/darling/usr/libexec/darling/mldr 254 - ''; 255 - 256 - passthru.tests.nixos = nixosTests.darling; 257 - 258 - meta = with lib; { 259 - description = "Open-source Darwin/macOS emulation layer for Linux"; 260 - homepage = "https://www.darlinghq.org"; 261 - changelog = "https://github.com/darlinghq/darling/releases"; 262 - license = licenses.gpl3Plus; 263 - maintainers = with maintainers; [ zhaofengli ]; 264 - platforms = [ "x86_64-linux" ]; 265 - mainProgram = "darling"; 266 - }; 267 - }
···
+3 -3
pkgs/by-name/dp/dprint/plugins/dprint-plugin-typescript.nix
··· 1 { mkDprintPlugin }: 2 mkDprintPlugin { 3 description = "TypeScript/JavaScript code formatter."; 4 - hash = "sha256-Nvgd5d4aHJ07OXDlpelymS/f0N1cF8GQH4o4fCilb2g="; 5 initConfig = { 6 configExcludes = [ "**/node_modules" ]; 7 configKey = "typescript"; ··· 16 }; 17 pname = "dprint-plugin-typescript"; 18 updateUrl = "https://plugins.dprint.dev/dprint/typescript/latest.json"; 19 - url = "https://plugins.dprint.dev/typescript-0.95.0.wasm"; 20 - version = "0.95.0"; 21 }
··· 1 { mkDprintPlugin }: 2 mkDprintPlugin { 3 description = "TypeScript/JavaScript code formatter."; 4 + hash = "sha256-IHbpEwTATwAmVa/ihGjQzQL/WwWo8owslJtWYUjVF+g="; 5 initConfig = { 6 configExcludes = [ "**/node_modules" ]; 7 configKey = "typescript"; ··· 16 }; 17 pname = "dprint-plugin-typescript"; 18 updateUrl = "https://plugins.dprint.dev/dprint/typescript/latest.json"; 19 + url = "https://plugins.dprint.dev/typescript-0.95.1.wasm"; 20 + version = "0.95.1"; 21 }
+54
pkgs/by-name/el/elfdeps/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + python3Packages, 6 + }: 7 + 8 + python3Packages.buildPythonApplication rec { 9 + pname = "elfdeps"; 10 + version = "0.2.0"; 11 + pyproject = true; 12 + 13 + src = fetchFromGitHub { 14 + owner = "python-wheel-build"; 15 + repo = "elfdeps"; 16 + tag = "v${version}"; 17 + hash = "sha256-5CrxVmtZcBYBMXw7o58CpFopYFgXD4W/S42aow1z1Xw="; 18 + }; 19 + 20 + build-system = with python3Packages; [ 21 + setuptools 22 + setuptools-scm 23 + ]; 24 + 25 + dependencies = [ python3Packages.pyelftools ]; 26 + 27 + nativeCheckInputs = [ python3Packages.pytestCheckHook ]; 28 + 29 + pythonImportsCheck = [ 30 + "elfdeps" 31 + ]; 32 + 33 + preCheck = '' 34 + export PATH=$PATH:$out/bin 35 + ''; 36 + 37 + # tests assume that sys.executable is an ELF object 38 + doCheck = stdenv.hostPlatform.isElf; 39 + 40 + disabledTests = [ 41 + # Attempts to zip sys.executable and fails with: 42 + # ValueError: ZIP does not support timestamps before 1980 43 + "test_main_zipfile" 44 + "test_zipmember_python" 45 + ]; 46 + 47 + meta = { 48 + description = "Python implementation of RPM elfdeps"; 49 + homepage = "https://pypi.org/project/elfdeps/"; 50 + license = lib.licenses.asl20; 51 + maintainers = with lib.maintainers; [ booxter ]; 52 + mainProgram = "elfdeps"; 53 + }; 54 + }
+2 -2
pkgs/by-name/fr/freerdp/package.nix
··· 62 63 stdenv.mkDerivation (finalAttrs: { 64 pname = "freerdp"; 65 - version = "3.14.1"; 66 67 src = fetchFromGitHub { 68 owner = "FreeRDP"; 69 repo = "FreeRDP"; 70 rev = finalAttrs.version; 71 - hash = "sha256-3hBssoD6l0d1DC5SRhE7HQlcoxNPjz3G8jbQx2rzp60="; 72 }; 73 74 postPatch =
··· 62 63 stdenv.mkDerivation (finalAttrs: { 64 pname = "freerdp"; 65 + version = "3.15.0"; 66 67 src = fetchFromGitHub { 68 owner = "FreeRDP"; 69 repo = "FreeRDP"; 70 rev = finalAttrs.version; 71 + hash = "sha256-xz1vP58hElXe/jLVrJOSpXcbqShBV7LHRpzqPLa2fDU="; 72 }; 73 74 postPatch =
+62
pkgs/by-name/fr/fromager/package.nix
···
··· 1 + { 2 + lib, 3 + python3, 4 + fetchFromGitHub, 5 + }: 6 + 7 + python3.pkgs.buildPythonApplication rec { 8 + pname = "fromager"; 9 + version = "0.46.1"; 10 + pyproject = true; 11 + 12 + src = fetchFromGitHub { 13 + owner = "python-wheel-build"; 14 + repo = "fromager"; 15 + tag = version; 16 + hash = "sha256-SBb5gWV8/t3oRAR2R5T72DW1LKrxXXH6yho9l7agsNI="; 17 + }; 18 + 19 + build-system = with python3.pkgs; [ 20 + setuptools 21 + setuptools-scm 22 + ]; 23 + 24 + dependencies = with python3.pkgs; [ 25 + click 26 + elfdeps 27 + html5lib 28 + packaging 29 + pkginfo 30 + psutil 31 + pydantic 32 + pyproject-hooks 33 + pyyaml 34 + requests 35 + resolvelib 36 + rich 37 + setuptools 38 + stevedore 39 + tomlkit 40 + tqdm 41 + virtualenv 42 + wheel 43 + ]; 44 + 45 + nativeCheckInputs = with python3.pkgs; [ 46 + pytestCheckHook 47 + requests-mock 48 + twine 49 + ]; 50 + 51 + pythonImportsCheck = [ 52 + "fromager" 53 + ]; 54 + 55 + meta = { 56 + description = "Wheel maker"; 57 + homepage = "https://pypi.org/project/fromager/"; 58 + license = lib.licenses.asl20; 59 + maintainers = with lib.maintainers; [ booxter ]; 60 + mainProgram = "fromager"; 61 + }; 62 + }
+2
pkgs/by-name/fz/fzf-git-sh/package.nix
··· 13 gnused, 14 util-linux, 15 xdg-utils, 16 unstableGitUpdater, 17 }: 18 ··· 44 -e "s,\bsed\b,${gnused}/bin/sed," \ 45 -e "s,\bxargs\b,${findutils}/bin/xargs," \ 46 -e "s,\bxdg-open\b,${xdg-utils}/bin/xdg-open," \ 47 -e "/display-message\|fzf-git-\$o-widget\|\burl=\|\$remote_url =~ /!s,\bgit\b,${git}/bin/git,g" \ 48 -e "s,__fzf_git=.*BASH_SOURCE.*,__fzf_git=$out/share/${pname}/fzf-git.sh," \ 49 -e "/__fzf_git=.*readlink.*/d" \
··· 13 gnused, 14 util-linux, 15 xdg-utils, 16 + zsh, 17 unstableGitUpdater, 18 }: 19 ··· 45 -e "s,\bsed\b,${gnused}/bin/sed," \ 46 -e "s,\bxargs\b,${findutils}/bin/xargs," \ 47 -e "s,\bxdg-open\b,${xdg-utils}/bin/xdg-open," \ 48 + -e "s,\bzsh\b,${zsh}/bin/zsh," \ 49 -e "/display-message\|fzf-git-\$o-widget\|\burl=\|\$remote_url =~ /!s,\bgit\b,${git}/bin/git,g" \ 50 -e "s,__fzf_git=.*BASH_SOURCE.*,__fzf_git=$out/share/${pname}/fzf-git.sh," \ 51 -e "/__fzf_git=.*readlink.*/d" \
+4 -4
pkgs/by-name/ga/gale/package.nix
··· 21 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "gale"; 24 - version = "1.5.6"; 25 26 src = fetchFromGitHub { 27 owner = "Kesomannen"; 28 repo = "gale"; 29 tag = finalAttrs.version; 30 - hash = "sha256-YNTmREWSsXjQ8S2bM9JTsoTdPCmPnmt/svhTOoUFEs4="; 31 }; 32 33 postPatch = '' ··· 37 npmDeps = fetchNpmDeps { 38 name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps"; 39 inherit (finalAttrs) src; 40 - hash = "sha256-EFP2Lwqg2bFaSCXXDPIAF6nfeV7/CH3XgI9fzxE+veA="; 41 }; 42 43 cargoDeps = rustPlatform.fetchCargoVendor { ··· 47 src 48 cargoRoot 49 ; 50 - hash = "sha256-AsViBPdXNzQBnN3Vv8ojfdG7fvy5DN3FiQHTzdLmxyQ="; 51 }; 52 53 cargoRoot = "src-tauri";
··· 21 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "gale"; 24 + version = "1.5.12"; 25 26 src = fetchFromGitHub { 27 owner = "Kesomannen"; 28 repo = "gale"; 29 tag = finalAttrs.version; 30 + hash = "sha256-5iJ04/q/emPwG0ILurFx2gNlXkZrfP2D6xv25AIlhfc="; 31 }; 32 33 postPatch = '' ··· 37 npmDeps = fetchNpmDeps { 38 name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps"; 39 inherit (finalAttrs) src; 40 + hash = "sha256-yaPUNtlb2vMwK42u+3/rViGx6YzhYxRDJylPu++tbNs="; 41 }; 42 43 cargoDeps = rustPlatform.fetchCargoVendor { ··· 47 src 48 cargoRoot 49 ; 50 + hash = "sha256-GGH5kQlnYIlKbTAKbF275mH4J9BcbcBHSdzP7RgfDwk="; 51 }; 52 53 cargoRoot = "src-tauri";
+2 -2
pkgs/by-name/gi/git-town/package.nix
··· 12 13 buildGoModule rec { 14 pname = "git-town"; 15 - version = "19.0.0"; 16 17 src = fetchFromGitHub { 18 owner = "git-town"; 19 repo = "git-town"; 20 tag = "v${version}"; 21 - hash = "sha256-To+WtPkMbVDuUBaOkemua9i7WOs/X214YunWtbKt02Y="; 22 }; 23 24 vendorHash = null;
··· 12 13 buildGoModule rec { 14 pname = "git-town"; 15 + version = "20.1.0"; 16 17 src = fetchFromGitHub { 18 owner = "git-town"; 19 repo = "git-town"; 20 tag = "v${version}"; 21 + hash = "sha256-RoSLRGi//vk/jp/6rxI//cKdeoNL8nI73ZdeRKDesfs="; 22 }; 23 24 vendorHash = null;
+13
pkgs/by-name/go/gopher/int_main.patch
···
··· 1 + diff --git a/configure b/configure 2 + index 1b20711..79ce215 100644 3 + --- a/configure 4 + +++ b/configure 5 + @@ -679,7 +679,7 @@ cat > conftest.$ac_ext << EOF 6 + #line 680 "configure" 7 + #include "confdefs.h" 8 + 9 + -main(){return(0);} 10 + +int main(){return(0);} 11 + EOF 12 + if { (eval echo configure:685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13 + ac_cv_prog_cc_works=yes
+4
pkgs/by-name/go/gopher/package.nix
··· 18 19 buildInputs = [ ncurses ]; 20 21 preConfigure = "export LIBS=-lncurses"; 22 23 meta = with lib; {
··· 18 19 buildInputs = [ ncurses ]; 20 21 + patches = [ 22 + ./int_main.patch # https://github.com/jgoerzen/gopher/pull/8 23 + ]; 24 + 25 preConfigure = "export LIBS=-lncurses"; 26 27 meta = with lib; {
+4 -4
pkgs/by-name/ho/homebox/package.nix
··· 11 }: 12 let 13 pname = "homebox"; 14 - version = "0.18.0"; 15 src = fetchFromGitHub { 16 owner = "sysadminsmedia"; 17 repo = "homebox"; 18 rev = "v${version}"; 19 - hash = "sha256-6iNlx0lBVU/awUZHqRYFKe84D86EJNFF7Nm1XChs75w="; 20 }; 21 in 22 buildGo123Module { 23 inherit pname version src; 24 25 - vendorHash = "sha256-TxuydZjlT8Y4BB77Z8Tyn8j0SPTU2O12TNm9PQGZXTw="; 26 modRoot = "backend"; 27 # the goModules derivation inherits our buildInputs and buildPhases 28 # Since we do pnpm thing in those it fails if we don't explicitly remove them ··· 38 pnpmDeps = pnpm_9.fetchDeps { 39 inherit pname version; 40 src = "${src}/frontend"; 41 - hash = "sha256-NjuthspxojlrCofAj4Egre8s5PG7vvPJW5mzrvAW4TQ="; 42 }; 43 pnpmRoot = "../frontend"; 44
··· 11 }: 12 let 13 pname = "homebox"; 14 + version = "0.19.0"; 15 src = fetchFromGitHub { 16 owner = "sysadminsmedia"; 17 repo = "homebox"; 18 rev = "v${version}"; 19 + hash = "sha256-98V2JnxHnMkW8YD8QekNgKeh9aPp0mcosmGh07GAFaU="; 20 }; 21 in 22 buildGo123Module { 23 inherit pname version src; 24 25 + vendorHash = "sha256-SkfYNOyRlcUSfga0g8o7yIvxgdL9SMxgVgRjIcPru0A="; 26 modRoot = "backend"; 27 # the goModules derivation inherits our buildInputs and buildPhases 28 # Since we do pnpm thing in those it fails if we don't explicitly remove them ··· 38 pnpmDeps = pnpm_9.fetchDeps { 39 inherit pname version; 40 src = "${src}/frontend"; 41 + hash = "sha256-6Q+tIY5dl5jCQyv1F8btLdJg0oEUGs0Wyu/joVdVhf8="; 42 }; 43 pnpmRoot = "../frontend"; 44
+2 -2
pkgs/by-name/hw/hwloc/package.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "hwloc"; 20 - version = "2.12.0"; 21 22 src = fetchurl { 23 url = "https://www.open-mpi.org/software/hwloc/v${lib.versions.majorMinor version}/downloads/hwloc-${version}.tar.bz2"; 24 - hash = "sha256-BqCivcClcU6DkWRoOEag6TaoliE3WOnTfkniMricWNQ="; 25 }; 26 27 configureFlags = [
··· 17 18 stdenv.mkDerivation rec { 19 pname = "hwloc"; 20 + version = "2.12.1"; 21 22 src = fetchurl { 23 url = "https://www.open-mpi.org/software/hwloc/v${lib.versions.majorMinor version}/downloads/hwloc-${version}.tar.bz2"; 24 + hash = "sha256-OKkDKLuGJZ+bsv4dxX/YQeER0eY1gBK+8j39ldIdxms="; 25 }; 26 27 configureFlags = [
+3 -3
pkgs/by-name/ka/kando/package.nix
··· 23 24 buildNpmPackage rec { 25 pname = "kando"; 26 - version = "1.7.0"; 27 28 src = fetchFromGitHub { 29 owner = "kando-menu"; 30 repo = "kando"; 31 tag = "v${version}"; 32 - hash = "sha256-ihWHyafDU/B2Xb3ezNlC7hB8EhBCQOSuW+ki/V2SIPs="; 33 }; 34 35 - npmDepsHash = "sha256-PnKrTHAo3mKcVBhJQf/273k91UZxlDb3+2iXWGIfPs0="; 36 37 npmFlags = [ "--ignore-scripts" ]; 38
··· 23 24 buildNpmPackage rec { 25 pname = "kando"; 26 + version = "1.8.0"; 27 28 src = fetchFromGitHub { 29 owner = "kando-menu"; 30 repo = "kando"; 31 tag = "v${version}"; 32 + hash = "sha256-4toYogcxvNS+J/OphXM1HtH61FZRmnLsgxOJtJgkVdM="; 33 }; 34 35 + npmDepsHash = "sha256-lyCIuvyoVhcrNDDg0P3lSY8ru81momG1EKKT5u4yW8Y="; 36 37 npmFlags = [ "--ignore-scripts" ]; 38
+2 -2
pkgs/by-name/ka/kata-runtime/kata-images.nix
··· 16 17 imageHash = 18 { 19 - "x86_64-linux" = "sha256-6ySKAqrbHDRgVlI7wm2p4Uw96ZMzUpP00liujxlruSM="; 20 - "aarch64-linux" = "sha256-pEPkDXT4OunfN2sGb8Ru05tFHaBsYUcmG5Iy7yH4kX8="; 21 } 22 ."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 23
··· 16 17 imageHash = 18 { 19 + "x86_64-linux" = "sha256-7xDc5Rr3rP36zS3kpM2QEqOCtmka3EAnts4Z1h8MNWY="; 20 + "aarch64-linux" = "sha256-8nLHTPetEfIrdtrpiT9Czcpf0NhL97TZ2DXyeBL04LA="; 21 } 22 ."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 23
+2 -2
pkgs/by-name/ka/kata-runtime/package.nix
··· 11 }: 12 13 let 14 - version = "3.7.0"; 15 16 kata-images = callPackage ./kata-images.nix { inherit version; }; 17 ··· 34 owner = "kata-containers"; 35 repo = "kata-containers"; 36 rev = version; 37 - hash = "sha256-Ir+/ZZJHm6E+044wczU3UvL+Py9Wprgw2QKJaYyDrKU="; 38 }; 39 40 sourceRoot = "${src.name}/src/runtime";
··· 11 }: 12 13 let 14 + version = "3.16.0"; 15 16 kata-images = callPackage ./kata-images.nix { inherit version; }; 17 ··· 34 owner = "kata-containers"; 35 repo = "kata-containers"; 36 rev = version; 37 + hash = "sha256-+SppAF77NbXlSrBGvIm40AmNC12GrexbX7fAPBoDAcs="; 38 }; 39 40 sourceRoot = "${src.name}/src/runtime";
+4 -4
pkgs/by-name/ma/maa-assistant-arknights/pin.json
··· 1 { 2 "stable": { 3 - "version": "5.15.1", 4 - "hash": "sha256-nN5bOoLtj5zL5dXZkA/P3sDxZwu/LKfXnMnCxtKJbC0=" 5 }, 6 "beta": { 7 - "version": "5.15.1", 8 - "hash": "sha256-nN5bOoLtj5zL5dXZkA/P3sDxZwu/LKfXnMnCxtKJbC0=" 9 } 10 }
··· 1 { 2 "stable": { 3 + "version": "5.16.4", 4 + "hash": "sha256-1ERKook2z8fKHOkAi43fU0amBgQaxYewFYCQGjFcF3o=" 5 }, 6 "beta": { 7 + "version": "5.16.4", 8 + "hash": "sha256-1ERKook2z8fKHOkAi43fU0amBgQaxYewFYCQGjFcF3o=" 9 } 10 }
+2 -2
pkgs/by-name/ma/mattermost/package.nix
··· 19 # 20 # Ensure you also check ../mattermostLatest/package.nix. 21 regex = "^v(10\\.5\\.[0-9]+)$"; 22 - version = "10.5.4"; 23 - srcHash = "sha256-qf+OabB+QUaWRQTakuRy2dhUlmBv11Fdd8yh5QolVB0="; 24 vendorHash = "sha256-9Jl+lxvSoxUReziTqkDRyeNrijGWcBDbqoywJRIeD2k="; 25 npmDepsHash = "sha256-tIeuDUZbqgqooDm5TRfViiTT5OIyN0BPwvJdI+wf7p0="; 26 lockfileOverlay = ''
··· 19 # 20 # Ensure you also check ../mattermostLatest/package.nix. 21 regex = "^v(10\\.5\\.[0-9]+)$"; 22 + version = "10.5.5"; 23 + srcHash = "sha256-ptyBYZvxCnqD3SX1Cy1uNFjM8wvBHDrroGsu1SnnuJs="; 24 vendorHash = "sha256-9Jl+lxvSoxUReziTqkDRyeNrijGWcBDbqoywJRIeD2k="; 25 npmDepsHash = "sha256-tIeuDUZbqgqooDm5TRfViiTT5OIyN0BPwvJdI+wf7p0="; 26 lockfileOverlay = ''
+3 -3
pkgs/by-name/mi/mise/package.nix
··· 21 22 rustPlatform.buildRustPackage rec { 23 pname = "mise"; 24 - version = "2025.4.11"; 25 26 src = fetchFromGitHub { 27 owner = "jdx"; 28 repo = "mise"; 29 rev = "v${version}"; 30 - hash = "sha256-qnVLVT+evB/gUxU8HQaOhT3imdtVN2Iwh+7ldx6NR6s="; 31 }; 32 33 useFetchCargoVendor = true; 34 - cargoHash = "sha256-TBkU10eqNT5825QlDyeBUAw3CZXUGSu4ufoC5XrmJ04="; 35 36 nativeBuildInputs = [ 37 installShellFiles
··· 21 22 rustPlatform.buildRustPackage rec { 23 pname = "mise"; 24 + version = "2025.5.3"; 25 26 src = fetchFromGitHub { 27 owner = "jdx"; 28 repo = "mise"; 29 rev = "v${version}"; 30 + hash = "sha256-BNGjkWBw2RKHmZH5HYy7AGALaVLStXK91ilw9K8iO0U="; 31 }; 32 33 useFetchCargoVendor = true; 34 + cargoHash = "sha256-1bbj66+h9gnXqpf55cprqzZ5Ld44dsfET3FldututR4="; 35 36 nativeBuildInputs = [ 37 installShellFiles
+39
pkgs/by-name/ni/nightlight/package.nix
···
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + rustPlatform, 5 + makeWrapper, 6 + nix-update-script, 7 + }: 8 + 9 + rustPlatform.buildRustPackage rec { 10 + pname = "nightlight"; 11 + version = "0.3.1"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "smudge"; 15 + repo = "nightlight"; 16 + tag = "v${version}"; 17 + hash = "sha256-NOphjrqsnO5693Zw3NkX3c74I3PdJ8W6sxYwOEJ1yCU="; 18 + }; 19 + 20 + useFetchCargoVendor = true; 21 + 22 + cargoHash = "sha256-v5Oo1AxwvJs66l9CtVjO+WfwgsM16zSLT1SSnDi1kSo="; 23 + 24 + checkFlags = [ 25 + "--skip=repl" 26 + "--skip=printer::tests" 27 + ]; 28 + 29 + passthru.updateScript = nix-update-script { }; 30 + 31 + meta = { 32 + homepage = "https://github.com/smudge/nightlight"; 33 + description = "CLI tool for configuring Night Shift macOS"; 34 + maintainers = with lib.maintainers; [ aspauldingcode ]; 35 + platforms = lib.platforms.darwin; 36 + license = lib.licenses.mit; 37 + mainProgram = "nightlight"; 38 + }; 39 + }
+3 -3
pkgs/by-name/ni/nix-forecast/package.nix
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "nix-forecast"; 14 - version = "0.3.0"; 15 16 src = fetchFromGitHub { 17 owner = "getchoo"; 18 repo = "nix-forecast"; 19 tag = "v${version}"; 20 - hash = "sha256-di9RV4xSCqIa+UCdALAEdR0cDq3u799L3YyFyAF+bRg="; 21 }; 22 23 useFetchCargoVendor = true; 24 - cargoHash = "sha256-n5LKfHBmua8iridnHY0C6ayjREwnqQpDI75+Ips4aNc="; 25 26 nativeBuildInputs = [ 27 installShellFiles
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "nix-forecast"; 14 + version = "0.4.0"; 15 16 src = fetchFromGitHub { 17 owner = "getchoo"; 18 repo = "nix-forecast"; 19 tag = "v${version}"; 20 + hash = "sha256-GTINiV+oHmu1/DmQsE7UjfAFFtH26LK35TveW437lPA="; 21 }; 22 23 useFetchCargoVendor = true; 24 + cargoHash = "sha256-FQph9QOc0JrVjdilUxjRc77/obICK7fgzcDuqAoE2cs="; 25 26 nativeBuildInputs = [ 27 installShellFiles
+19 -8
pkgs/by-name/nv/nvidia-container-toolkit/package.nix
··· 52 53 postPatch = '' 54 substituteInPlace internal/config/config.go \ 55 - --replace '/usr/bin/nvidia-container-runtime-hook' "$tools/bin/nvidia-container-runtime-hook" \ 56 - --replace '/sbin/ldconfig' '${lib.getBin glibc}/sbin/ldconfig' 57 58 substituteInPlace tools/container/toolkit/toolkit.go \ 59 - --replace '/sbin/ldconfig' '${lib.getBin glibc}/sbin/ldconfig' 60 ''; 61 62 subPackages = [ 63 "cmd/nvidia-cdi-hook" 64 "cmd/nvidia-container-runtime.cdi" 65 "cmd/nvidia-container-runtime-hook" 66 "cmd/nvidia-container-runtime.legacy" ··· 77 # "-X name=value" 78 "-X" 79 "${cliVersionPackage}.version=${version}" 80 ]; 81 82 nativeBuildInputs = [ ··· 99 100 postInstall = 101 '' 102 - wrapProgram $out/bin/nvidia-container-runtime-hook \ 103 - --prefix PATH : ${libnvidia-container}/bin 104 105 - mkdir -p $tools/bin 106 - mv $out/bin/{nvidia-cdi-hook,nvidia-container-runtime.cdi,nvidia-container-runtime-hook,nvidia-container-runtime.legacy} $tools/bin 107 '' 108 + lib.optionalString (configTemplate != null || configTemplatePath != null) '' 109 mkdir -p $out/etc/nvidia-container-runtime ··· 119 description = "NVIDIA Container Toolkit"; 120 license = licenses.asl20; 121 platforms = platforms.linux; 122 - maintainers = with maintainers; [ cpcloud ]; 123 }; 124 }
··· 52 53 postPatch = '' 54 substituteInPlace internal/config/config.go \ 55 + --replace-fail '/usr/bin/nvidia-container-runtime-hook' "$tools/bin/nvidia-container-runtime-hook" \ 56 + --replace-fail '/sbin/ldconfig' '${lib.getBin glibc}/sbin/ldconfig' 57 58 substituteInPlace tools/container/toolkit/toolkit.go \ 59 + --replace-fail '/sbin/ldconfig' '${lib.getBin glibc}/sbin/ldconfig' 60 + 61 + substituteInPlace cmd/nvidia-cdi-hook/update-ldcache/update-ldcache.go \ 62 + --replace-fail '/sbin/ldconfig' '${lib.getBin glibc}/sbin/ldconfig' 63 ''; 64 65 subPackages = [ 66 "cmd/nvidia-cdi-hook" 67 + "cmd/nvidia-container-runtime" 68 "cmd/nvidia-container-runtime.cdi" 69 "cmd/nvidia-container-runtime-hook" 70 "cmd/nvidia-container-runtime.legacy" ··· 81 # "-X name=value" 82 "-X" 83 "${cliVersionPackage}.version=${version}" 84 + "-X" 85 + "github.com/NVIDIA/nvidia-container-toolkit/internal/info.gitCommit=${src.rev}" 86 ]; 87 88 nativeBuildInputs = [ ··· 105 106 postInstall = 107 '' 108 + mkdir -p $tools/bin 109 + mv $out/bin/{nvidia-cdi-hook,nvidia-container-runtime,nvidia-container-runtime.cdi,nvidia-container-runtime-hook,nvidia-container-runtime.legacy} $tools/bin 110 111 + for bin in nvidia-container-runtime-hook nvidia-container-runtime; do 112 + wrapProgram $tools/bin/$bin \ 113 + --prefix PATH : ${libnvidia-container}/bin:$out/bin 114 + done 115 '' 116 + lib.optionalString (configTemplate != null || configTemplatePath != null) '' 117 mkdir -p $out/etc/nvidia-container-runtime ··· 127 description = "NVIDIA Container Toolkit"; 128 license = licenses.asl20; 129 platforms = platforms.linux; 130 + maintainers = with maintainers; [ 131 + cpcloud 132 + christoph-heiss 133 + ]; 134 }; 135 }
+2 -2
pkgs/by-name/op/opensnitch-ui/package.nix
··· 8 9 python311Packages.buildPythonApplication rec { 10 pname = "opensnitch-ui"; 11 - version = "1.6.8"; 12 13 src = fetchFromGitHub { 14 owner = "evilsocket"; 15 repo = "opensnitch"; 16 rev = "refs/tags/v${version}"; 17 - hash = "sha256-zn5kBnINLt/qqAbka9wShFLWJoMJ6SXu2OL6V6uQ2IM="; 18 }; 19 20 postPatch = ''
··· 8 9 python311Packages.buildPythonApplication rec { 10 pname = "opensnitch-ui"; 11 + version = "1.6.9"; 12 13 src = fetchFromGitHub { 14 owner = "evilsocket"; 15 repo = "opensnitch"; 16 rev = "refs/tags/v${version}"; 17 + hash = "sha256-c+VAlm32/NXvUr5i0AY/zuTrFIQLtPxNNeSiQTMoJAY="; 18 }; 19 20 postPatch = ''
+2 -2
pkgs/by-name/op/opensnitch/package.nix
··· 31 in 32 buildGoModule rec { 33 pname = "opensnitch"; 34 - version = "1.6.7"; 35 36 src = fetchFromGitHub { 37 owner = "evilsocket"; 38 repo = "opensnitch"; 39 tag = "v${version}"; 40 - hash = "sha256-2BwFCRbVvs7pAM5SnhynWws2+QthB/F9V6DYPViDICU="; 41 }; 42 43 postPatch = ''
··· 31 in 32 buildGoModule rec { 33 pname = "opensnitch"; 34 + version = "1.6.9"; 35 36 src = fetchFromGitHub { 37 owner = "evilsocket"; 38 repo = "opensnitch"; 39 tag = "v${version}"; 40 + hash = "sha256-c+VAlm32/NXvUr5i0AY/zuTrFIQLtPxNNeSiQTMoJAY="; 41 }; 42 43 postPatch = ''
+10 -4
pkgs/by-name/pa/pass-secret-service/package.nix
··· 6 gnupg, 7 coreutils, 8 nixosTests, 9 }: 10 11 python3.pkgs.buildPythonApplication { ··· 13 # PyPI has old alpha version. Since then the project has switched from using a 14 # seemingly abandoned D-Bus package pydbus and started using maintained 15 # dbus-next. So let's use latest from GitHub. 16 - version = "unstable-2022-07-18"; 17 18 src = fetchFromGitHub { 19 owner = "mdellweg"; 20 repo = "pass_secret_service"; 21 - rev = "fadc09be718ae1e507eeb8719f3a2ea23edb6d7a"; 22 - hash = "sha256-lrNU5bkG4/fMu5rDywfiI8vNHyBsMf/fiWIeEHug03c="; 23 }; 24 25 # Need to specify session.conf file for tests because it won't be found under ··· 65 66 checkTarget = "test"; 67 68 - passthru.tests.pass-secret-service = nixosTests.pass-secret-service; 69 70 meta = { 71 description = "Libsecret D-Bus API with pass as the backend";
··· 6 gnupg, 7 coreutils, 8 nixosTests, 9 + nix-update-script, 10 }: 11 12 python3.pkgs.buildPythonApplication { ··· 14 # PyPI has old alpha version. Since then the project has switched from using a 15 # seemingly abandoned D-Bus package pydbus and started using maintained 16 # dbus-next. So let's use latest from GitHub. 17 + version = "0-unstable-2023-12-16"; 18 19 src = fetchFromGitHub { 20 owner = "mdellweg"; 21 repo = "pass_secret_service"; 22 + rev = "6335c85d9a790a6472e3de6eff87a15208caa5dc"; 23 + hash = "sha256-SSmI3HJCUWuwFXCu3Zg66X18POlzp3ADRj7HeE8GRio="; 24 }; 25 26 # Need to specify session.conf file for tests because it won't be found under ··· 66 67 checkTarget = "test"; 68 69 + passthru = { 70 + updateScript = nix-update-script { 71 + extraArgs = [ "--version=branch" ]; 72 + }; 73 + tests.pass-secret-service = nixosTests.pass-secret-service; 74 + }; 75 76 meta = { 77 description = "Libsecret D-Bus API with pass as the backend";
+3 -3
pkgs/by-name/po/polkadot/package.nix
··· 17 in 18 rustPlatform.buildRustPackage rec { 19 pname = "polkadot"; 20 - version = "2503"; 21 22 src = fetchFromGitHub { 23 owner = "paritytech"; 24 repo = "polkadot-sdk"; 25 rev = "polkadot-stable${version}"; 26 - hash = "sha256-nPZFmsf82JpBrOrErH5hrEcmieECfgA7JWzEyEh8AAE="; 27 28 # the build process of polkadot requires a .git folder in order to determine 29 # the git commit hash that is being built and add it to the version string. ··· 45 ''; 46 47 useFetchCargoVendor = true; 48 - cargoHash = "sha256-yOJyvpsEK4Ab/Bh6xmqAEHhj1Rq4u/CevcP7vJi0zxo="; 49 50 buildType = "production"; 51 buildAndTestSubdir = "polkadot";
··· 17 in 18 rustPlatform.buildRustPackage rec { 19 pname = "polkadot"; 20 + version = "2503-2"; 21 22 src = fetchFromGitHub { 23 owner = "paritytech"; 24 repo = "polkadot-sdk"; 25 rev = "polkadot-stable${version}"; 26 + hash = "sha256-sUBUWFAJ8PwWUVSqPef0SMJcvSt+bGruTW+GmJGTLdE="; 27 28 # the build process of polkadot requires a .git folder in order to determine 29 # the git commit hash that is being built and add it to the version string. ··· 45 ''; 46 47 useFetchCargoVendor = true; 48 + cargoHash = "sha256-U3roe7rQL1BaHr3rKV1Dl7Lhjic3pZlxo2DpD9C2ong="; 49 50 buildType = "production"; 51 buildAndTestSubdir = "polkadot";
+3 -3
pkgs/by-name/po/powerstation/package.nix
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "powerstation"; 13 - version = "0.4.2"; 14 15 src = fetchFromGitHub { 16 owner = "ShadowBlip"; 17 repo = "PowerStation"; 18 tag = "v${version}"; 19 - hash = "sha256-R6p3zuYWggnOy60iGZ6G23ig1gzezweswAxVrCB+zvU="; 20 }; 21 22 useFetchCargoVendor = true; 23 - cargoHash = "sha256-3mOmDDDGW7AClG4tNuXti07lCNbK5bMnpWUnsxcxGPI="; 24 25 nativeBuildInputs = [ 26 cmake
··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "powerstation"; 13 + version = "0.4.3"; 14 15 src = fetchFromGitHub { 16 owner = "ShadowBlip"; 17 repo = "PowerStation"; 18 tag = "v${version}"; 19 + hash = "sha256-2NCUDR85LAWGYrxruHLSipgX41N/jgy/P34qfm+bOb4="; 20 }; 21 22 useFetchCargoVendor = true; 23 + cargoHash = "sha256-4ACSwxGSPEdbGeVL44SN4qCd7ActL1T0xKuebPvTHPk="; 24 25 nativeBuildInputs = [ 26 cmake
+3 -3
pkgs/by-name/ro/rofi-games/package.nix
··· 14 15 stdenv.mkDerivation (finalAttrs: { 16 pname = "rofi-games"; 17 - version = "1.10.9"; 18 19 src = fetchFromGitHub { 20 owner = "Rolv-Apneseth"; 21 repo = "rofi-games"; 22 tag = "v${finalAttrs.version}"; 23 - hash = "sha256-VkhavN1nte0JYRn8PRER9B6baGiRr4Qr/L/yZ0cXZmc="; 24 }; 25 26 cargoDeps = rustPlatform.fetchCargoVendor { 27 inherit (finalAttrs) pname version src; 28 - hash = "sha256-Ld6lFljnfNUwhoDOb8XdFka87E0Y+KN1GFnubUza/LY="; 29 }; 30 31 patches = [
··· 14 15 stdenv.mkDerivation (finalAttrs: { 16 pname = "rofi-games"; 17 + version = "1.12.2"; 18 19 src = fetchFromGitHub { 20 owner = "Rolv-Apneseth"; 21 repo = "rofi-games"; 22 tag = "v${finalAttrs.version}"; 23 + hash = "sha256-6sopWMiXA6UmZP2wNbl7RlDDBRz4rNLPrNd6XnaFQko="; 24 }; 25 26 cargoDeps = rustPlatform.fetchCargoVendor { 27 inherit (finalAttrs) pname version src; 28 + hash = "sha256-5ofRwE68SNFYcnBiGORsTjl6jSeDJ+6PJH+/SA1l07g="; 29 }; 30 31 patches = [
+3 -1
pkgs/by-name/rs/rspamd/package.nix
··· 24 xxHash, 25 zstd, 26 libarchive, 27 - withBlas ? true, 28 withLuaJIT ? stdenv.hostPlatform.isx86_64, 29 nixosTests, 30 }:
··· 24 xxHash, 25 zstd, 26 libarchive, 27 + # Enabling blas support breaks bayes filter training from dovecot in nixos-mailserver tests 28 + # https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/issues/321 29 + withBlas ? false, 30 withLuaJIT ? stdenv.hostPlatform.isx86_64, 31 nixosTests, 32 }:
+2 -2
pkgs/by-name/st/stevenblack-blocklist/package.nix
··· 6 }: 7 stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "stevenblack-blocklist"; 9 - version = "3.15.34"; 10 11 src = fetchFromGitHub { 12 owner = "StevenBlack"; 13 repo = "hosts"; 14 tag = finalAttrs.version; 15 - hash = "sha256-FSZzTEQrjY4InqHo1wPbnqqwKHpbfV1Y5JJsYR/c6VU="; 16 }; 17 18 outputs = [
··· 6 }: 7 stdenvNoCC.mkDerivation (finalAttrs: { 8 pname = "stevenblack-blocklist"; 9 + version = "3.15.37"; 10 11 src = fetchFromGitHub { 12 owner = "StevenBlack"; 13 repo = "hosts"; 14 tag = finalAttrs.version; 15 + hash = "sha256-d254AsNQgjExXaGd9EQ5dZ1xy5nP6Zqe2INtR9IKMiQ="; 16 }; 17 18 outputs = [
-53
pkgs/by-name/su/suyu/fix-debugger.patch
··· 1 - diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp 2 - index e86aae8460..a4dca23770 100644 3 - --- a/src/core/debugger/debugger.cpp 4 - +++ b/src/core/debugger/debugger.cpp 5 - @@ -5,7 +5,13 @@ 6 - #include <mutex> 7 - #include <thread> 8 - 9 - -#include <boost/asio.hpp> 10 - +// Use basic asio functionality only 11 - +#define BOOST_ASIO_STANDALONE 12 - +#include <boost/asio/basic_io_object.hpp> 13 - +#include <boost/asio/ip/tcp.hpp> 14 - +#include <boost/asio/write.hpp> 15 - +#include <boost/asio/read.hpp> 16 - + 17 - #include <boost/process/async_pipe.hpp> 18 - 19 - #include "common/logging/log.h" 20 - @@ -21,17 +27,22 @@ 21 - 22 - template <typename Readable, typename Buffer, typename Callback> 23 - static void AsyncReceiveInto(Readable& r, Buffer& buffer, Callback&& c) { 24 - - static_assert(std::is_trivial_v<Buffer>); 25 - - auto boost_buffer{boost::asio::buffer(&buffer, sizeof(Buffer))}; 26 - - r.async_read_some( 27 - - boost_buffer, [&, c](const boost::system::error_code& error, size_t bytes_read) { 28 - - if (!error.failed()) { 29 - - const u8* buffer_start = reinterpret_cast<const u8*>(&buffer); 30 - - std::span<const u8> received_data{buffer_start, buffer_start + bytes_read}; 31 - - c(received_data); 32 - - AsyncReceiveInto(r, buffer, c); 33 - - } 34 - - }); 35 - + try { 36 - + static_assert(std::is_trivial_v<Buffer>); 37 - + auto boost_buffer{boost::asio::buffer(&buffer, sizeof(Buffer))}; 38 - + r.async_read_some( 39 - + boost_buffer, 40 - + [&, c](const boost::system::error_code& error, size_t bytes_read) { 41 - + if (!error) { 42 - + const u8* buffer_start = reinterpret_cast<const u8*>(&buffer); 43 - + std::span<const u8> received_data{buffer_start, buffer_start + bytes_read}; 44 - + c(received_data); 45 - + AsyncReceiveInto(r, buffer, c); 46 - + } 47 - + }); 48 - + } catch (const std::exception& e) { 49 - + LOG_ERROR(Debug_GDBStub, "AsyncReceiveInto error: {}", e.what()); 50 - + } 51 - } 52 - 53 - template <typename Callback>
···
-30
pkgs/by-name/su/suyu/fix-udp-client.patch
··· 1 - diff --git a/src/input_common/drivers/udp_client.cpp b/src/input_common/drivers/udp_client.cpp 2 - index 60821b31a6..8f9c047218 100644 3 - --- a/src/input_common/drivers/udp_client.cpp 4 - +++ b/src/input_common/drivers/udp_client.cpp 5 - @@ -2,7 +2,15 @@ 6 - // SPDX-License-Identifier: GPL-2.0-or-later 7 - 8 - #include <random> 9 - -#include <boost/asio.hpp> 10 - +// Include only needed asio components 11 - +#include <boost/asio/io_context.hpp> 12 - +#include <boost/asio/ip/udp.hpp> 13 - +#include <boost/asio/basic_waitable_timer.hpp> 14 - +#include <boost/asio/write.hpp> 15 - +#include <boost/asio/buffer.hpp> 16 - +#include <boost/asio/basic_socket.hpp> 17 - +#include <boost/asio/ip/address.hpp> 18 - +#include <boost/asio/ip/address_v4.hpp> 19 - #include <fmt/format.h> 20 - 21 - #include "common/logging/log.h" 22 - @@ -113,7 +121,7 @@ private: 23 - } 24 - 25 - SocketCallback callback; 26 - - boost::asio::io_service io_service; 27 - + boost::asio::io_context io_service; 28 - boost::asio::basic_waitable_timer<clock> timer; 29 - udp::socket socket; 30 -
···
-13
pkgs/by-name/su/suyu/fix-udp-protocol.patch
··· 1 - diff --git a/src/input_common/helpers/udp_protocol.h b/src/input_common/helpers/udp_protocol.h 2 - index db08fc62c5..ea223ea937 100644 3 - --- a/src/input_common/helpers/udp_protocol.h 4 - +++ b/src/input_common/helpers/udp_protocol.h 5 - @@ -69,7 +69,7 @@ Message<T> CreateMessage(const u32 magic, const T data, const u32 sender_id) { 6 - }; 7 - Message<T> message{header, data}; 8 - crc.process_bytes(&message, sizeof(Message<T>)); 9 - - message.header.crc = crc.checksum(); 10 - + message.header.crc = static_cast<u32_le>(crc.checksum()); 11 - return message; 12 - } 13 -
···
-237
pkgs/by-name/su/suyu/package.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - SDL2, 5 - autoconf, 6 - boost, 7 - catch2_3, 8 - cmake, 9 - fetchFromGitHub, 10 - cpp-jwt, 11 - cubeb, 12 - discord-rpc, 13 - enet, 14 - fetchgit, 15 - fetchurl, 16 - ffmpeg-headless, 17 - fmt, 18 - glslang, 19 - libopus, 20 - libusb1, 21 - libva, 22 - lz4, 23 - unzip, 24 - nix-update-script, 25 - nlohmann_json, 26 - nv-codec-headers-12, 27 - pkg-config, 28 - qt6, 29 - vulkan-headers, 30 - vulkan-loader, 31 - yasm, 32 - simpleini, 33 - zlib, 34 - vulkan-memory-allocator, 35 - zstd, 36 - }: 37 - 38 - let 39 - inherit (qt6) 40 - qtbase 41 - qtmultimedia 42 - qtwayland 43 - wrapQtAppsHook 44 - qttools 45 - qtwebengine 46 - ; 47 - 48 - compat-list = stdenv.mkDerivation { 49 - pname = "yuzu-compatibility-list"; 50 - version = "unstable-2024-02-26"; 51 - 52 - src = fetchFromGitHub { 53 - owner = "flathub"; 54 - repo = "org.yuzu_emu.yuzu"; 55 - rev = "9c2032a3c7e64772a8112b77ed8b660242172068"; 56 - hash = "sha256-ITh/W4vfC9w9t+TJnPeTZwWifnhTNKX54JSSdpgaoBk="; 57 - }; 58 - 59 - buildCommand = '' 60 - cp $src/compatibility_list.json $out 61 - ''; 62 - }; 63 - 64 - nx_tzdb = stdenv.mkDerivation rec { 65 - pname = "nx_tzdb"; 66 - version = "221202"; 67 - 68 - src = fetchurl { 69 - url = "https://github.com/lat9nq/tzdb_to_nx/releases/download/${version}/${version}.zip"; 70 - hash = "sha256-mRzW+iIwrU1zsxHmf+0RArU8BShAoEMvCz+McXFFK3c="; 71 - }; 72 - 73 - nativeBuildInputs = [ unzip ]; 74 - 75 - buildCommand = '' 76 - unzip $src -d $out 77 - ''; 78 - 79 - }; 80 - 81 - in 82 - 83 - stdenv.mkDerivation (finalAttrs: { 84 - pname = "suyu"; 85 - version = "0.0.4"; 86 - 87 - src = fetchgit { 88 - url = "https://git.suyu.dev/suyu/suyu"; 89 - tag = "v${finalAttrs.version}"; 90 - hash = "sha256-GgLCbQI7u9neFxQq4borNhlg72FIYn+J5XkaK/7hpnQ="; 91 - fetchSubmodules = true; 92 - }; 93 - 94 - patches = [ 95 - # Remove coroutines from debugger to fix boost::asio compatibility issues 96 - ./fix-debugger.patch 97 - # Add explicit cast for CRC checksum value 98 - ./fix-udp-protocol.patch 99 - # Use specific boost::asio includes and update to modern io_context 100 - ./fix-udp-client.patch 101 - ]; 102 - 103 - nativeBuildInputs = [ 104 - cmake 105 - glslang 106 - pkg-config 107 - qttools 108 - wrapQtAppsHook 109 - ]; 110 - 111 - buildInputs = [ 112 - # vulkan-headers must come first, so the older propagated versions 113 - # don't get picked up by accident 114 - vulkan-headers 115 - 116 - boost 117 - catch2_3 118 - cpp-jwt 119 - cubeb 120 - discord-rpc 121 - # intentionally omitted: dynarmic - prefer vendored version for compatibility 122 - enet 123 - 124 - # ffmpeg deps (also includes vendored) 125 - # we do not use internal ffmpeg because cuda errors 126 - autoconf 127 - yasm 128 - libva # for accelerated video decode on non-nvidia 129 - nv-codec-headers-12 # for accelerated video decode on nvidia 130 - ffmpeg-headless 131 - # end ffmpeg deps 132 - 133 - fmt 134 - # intentionally omitted: gamemode - loaded dynamically at runtime 135 - # intentionally omitted: httplib - upstream requires an older version than what we have 136 - libopus 137 - libusb1 138 - # intentionally omitted: LLVM - heavy, only used for stack traces in the debugger 139 - lz4 140 - nlohmann_json 141 - qtbase 142 - qtmultimedia 143 - qtwayland 144 - qtwebengine 145 - # intentionally omitted: renderdoc - heavy, developer only 146 - SDL2 147 - # intentionally omitted: stb - header only libraries, vendor uses git snapshot 148 - vulkan-memory-allocator 149 - # intentionally omitted: xbyak - prefer vendored version for compatibility 150 - zlib 151 - zstd 152 - ]; 153 - 154 - # This changes `ir/opt` to `ir/var/empty` in `externals/dynarmic/src/dynarmic/CMakeLists.txt` 155 - # making the build fail, as that path does not exist 156 - dontFixCmake = true; 157 - 158 - cmakeFlags = [ 159 - # actually has a noticeable performance impact 160 - (lib.cmakeBool "SUYU_ENABLE_LTO" true) 161 - 162 - (lib.cmakeBool "ENABLE_QT6" true) 163 - (lib.cmakeBool "ENABLE_QT_TRANSLATION" true) 164 - 165 - # use system libraries 166 - # NB: "external" here means "from the externals/ directory in the source", 167 - # so "off" means "use system" 168 - (lib.cmakeBool "SUYU_USE_EXTERNAL_SDL2" false) 169 - (lib.cmakeBool "SUYU_USE_EXTERNAL_VULKAN_HEADERS" true) 170 - "-DVulkan_INCLUDE_DIRS=${vulkan-headers}/include" 171 - 172 - # # don't use system ffmpeg, suyu uses internal APIs 173 - # (lib.cmakeBool "SUYU_USE_BUNDLED_FFMPEG" true) 174 - 175 - # don't check for missing submodules 176 - (lib.cmakeBool "SUYU_CHECK_SUBMODULES" false) 177 - 178 - # enable some optional features 179 - (lib.cmakeBool "SUYU_USE_QT_WEB_ENGINE" true) 180 - (lib.cmakeBool "SUYU_USE_QT_MULTIMEDIA" true) 181 - (lib.cmakeBool "USE_DISCORD_PRESENCE" true) 182 - 183 - # We dont want to bother upstream with potentially outdated compat reports 184 - (lib.cmakeBool "SUYU_ENABLE_COMPATIBILITY_REPORTING" false) 185 - (lib.cmakeBool "ENABLE_COMPATIBILITY_LIST_DOWNLOAD" false) # We provide this deterministically 186 - ]; 187 - 188 - env = { 189 - # Does some handrolled SIMD 190 - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isx86_64 "-msse4.1"; 191 - }; 192 - 193 - qtWrapperArgs = [ 194 - # Fixes vulkan detection. 195 - # FIXME: patchelf --add-rpath corrupts the binary for some reason, investigate 196 - "--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib" 197 - ]; 198 - 199 - # Setting this through cmakeFlags does not work. 200 - # https://github.com/NixOS/nixpkgs/issues/114044 201 - preConfigure = lib.concatStringsSep "\n" [ 202 - '' 203 - cmakeFlagsArray+=( 204 - "-DTITLE_BAR_FORMAT_IDLE=${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) {}" 205 - "-DTITLE_BAR_FORMAT_RUNNING=${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) | {}" 206 - ) 207 - '' 208 - # provide pre-downloaded tz data 209 - '' 210 - mkdir -p build/externals/nx_tzdb 211 - ln -s ${nx_tzdb} build/externals/nx_tzdb/nx_tzdb 212 - '' 213 - ]; 214 - 215 - postConfigure = '' 216 - ln -sf ${compat-list} ./dist/compatibility_list/compatibility_list.json 217 - ''; 218 - 219 - postInstall = " 220 - install -Dm444 $src/dist/72-suyu-input.rules $out/lib/udev/rules.d/72-suyu-input.rules 221 - "; 222 - 223 - meta = { 224 - description = "Experimental Nintendo Switch emulator written in C++"; 225 - homepage = "https://suyu.dev"; 226 - mainProgram = "suyu"; 227 - platforms = lib.platforms.linux; 228 - maintainers = with lib.maintainers; [ liberodark ]; 229 - license = with lib.licenses; [ 230 - gpl3Plus 231 - # Icons 232 - asl20 233 - mit 234 - cc0 235 - ]; 236 - }; 237 - })
···
+17 -11
pkgs/by-name/sy/synadm/package.nix
··· 1 { 2 lib, 3 - python3, 4 - fetchPypi, 5 nix-update-script, 6 }: 7 8 - python3.pkgs.buildPythonApplication rec { 9 pname = "synadm"; 10 - version = "0.47"; 11 - format = "setuptools"; 12 13 - src = fetchPypi { 14 - inherit pname version; 15 - hash = "sha256-Ts/WPonVa+DUvKKa/XbmDDWx3vW17z0orVaIREJfnO0="; 16 }; 17 18 - propagatedBuildInputs = with python3.pkgs; [ 19 click 20 click-option-group 21 dnspython ··· 41 conveniently issue commands available via its admin API's 42 (element-hq/synapse@master/docs/admin_api) 43 ''; 44 - changelog = "https://github.com/JOJ0/synadm/releases/tag/v${version}"; 45 - homepage = "https://github.com/JOJ0/synadm"; 46 license = licenses.gpl3Plus; 47 maintainers = with maintainers; [ hexa ]; 48 };
··· 1 { 2 lib, 3 + python3Packages, 4 + fetchFromGitea, 5 nix-update-script, 6 }: 7 8 + python3Packages.buildPythonApplication rec { 9 pname = "synadm"; 10 + version = "0.48"; 11 + pyproject = true; 12 13 + src = fetchFromGitea { 14 + domain = "codeberg.org"; 15 + owner = "synadm"; 16 + repo = "synadm"; 17 + tag = "v${version}"; 18 + hash = "sha256-6t4CXXt22/yR0gIxSsM/r+zJQeoKz5q/Ifg8PLNojLI="; 19 }; 20 21 + build-system = [ python3Packages.setuptools ]; 22 + 23 + dependencies = with python3Packages; [ 24 click 25 click-option-group 26 dnspython ··· 46 conveniently issue commands available via its admin API's 47 (element-hq/synapse@master/docs/admin_api) 48 ''; 49 + changelog = "https://codeberg.org/synadm/synadm/releases/tag/${src.tag}"; 50 + downloadPage = "https://codeberg.org/synadm/synadm"; 51 + homepage = "https://synadm.readthedocs.io/"; 52 license = licenses.gpl3Plus; 53 maintainers = with maintainers; [ hexa ]; 54 };
-14
pkgs/by-name/to/torzu/fix-aarch64-linux-build.patch
··· 1 - diff --git a/src/video_core/host1x/vic.cpp b/src/video_core/host1x/vic.cpp 2 - index 3ad56bb80..57e6adbf8 100644 3 - --- a/src/video_core/host1x/vic.cpp 4 - +++ b/src/video_core/host1x/vic.cpp 5 - @@ -13,7 +13,8 @@ 6 - #endif 7 - #elif defined(ARCHITECTURE_arm64) 8 - #pragma GCC diagnostic push 9 - -#pragma GCC diagnostic ignored "-Wimplicit-int-conversion" 10 - +#pragma GCC diagnostic ignored "-Wconversion" 11 - +#pragma GCC diagnostic ignored "-Wshadow" 12 - #include <sse2neon.h> 13 - #pragma GCC diagnostic pop 14 - #endif
···
-53
pkgs/by-name/to/torzu/fix-debugger.patch
··· 1 - diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp 2 - index e86aae8460..a4dca23770 100644 3 - --- a/src/core/debugger/debugger.cpp 4 - +++ b/src/core/debugger/debugger.cpp 5 - @@ -5,7 +5,13 @@ 6 - #include <mutex> 7 - #include <thread> 8 - 9 - -#include <boost/asio.hpp> 10 - +// Use basic asio functionality only 11 - +#define BOOST_ASIO_STANDALONE 12 - +#include <boost/asio/basic_io_object.hpp> 13 - +#include <boost/asio/ip/tcp.hpp> 14 - +#include <boost/asio/write.hpp> 15 - +#include <boost/asio/read.hpp> 16 - + 17 - #include <boost/process/async_pipe.hpp> 18 - 19 - #include "common/logging/log.h" 20 - @@ -21,17 +27,22 @@ 21 - 22 - template <typename Readable, typename Buffer, typename Callback> 23 - static void AsyncReceiveInto(Readable& r, Buffer& buffer, Callback&& c) { 24 - - static_assert(std::is_trivial_v<Buffer>); 25 - - auto boost_buffer{boost::asio::buffer(&buffer, sizeof(Buffer))}; 26 - - r.async_read_some( 27 - - boost_buffer, [&, c](const boost::system::error_code& error, size_t bytes_read) { 28 - - if (!error.failed()) { 29 - - const u8* buffer_start = reinterpret_cast<const u8*>(&buffer); 30 - - std::span<const u8> received_data{buffer_start, buffer_start + bytes_read}; 31 - - c(received_data); 32 - - AsyncReceiveInto(r, buffer, c); 33 - - } 34 - - }); 35 - + try { 36 - + static_assert(std::is_trivial_v<Buffer>); 37 - + auto boost_buffer{boost::asio::buffer(&buffer, sizeof(Buffer))}; 38 - + r.async_read_some( 39 - + boost_buffer, 40 - + [&, c](const boost::system::error_code& error, size_t bytes_read) { 41 - + if (!error) { 42 - + const u8* buffer_start = reinterpret_cast<const u8*>(&buffer); 43 - + std::span<const u8> received_data{buffer_start, buffer_start + bytes_read}; 44 - + c(received_data); 45 - + AsyncReceiveInto(r, buffer, c); 46 - + } 47 - + }); 48 - + } catch (const std::exception& e) { 49 - + LOG_ERROR(Debug_GDBStub, "AsyncReceiveInto error: {}", e.what()); 50 - + } 51 - } 52 - 53 - template <typename Callback>
···
-30
pkgs/by-name/to/torzu/fix-udp-client.patch
··· 1 - diff --git a/src/input_common/drivers/udp_client.cpp b/src/input_common/drivers/udp_client.cpp 2 - index 60821b31a6..8f9c047218 100644 3 - --- a/src/input_common/drivers/udp_client.cpp 4 - +++ b/src/input_common/drivers/udp_client.cpp 5 - @@ -2,7 +2,15 @@ 6 - // SPDX-License-Identifier: GPL-2.0-or-later 7 - 8 - #include <random> 9 - -#include <boost/asio.hpp> 10 - +// Include only needed asio components 11 - +#include <boost/asio/io_context.hpp> 12 - +#include <boost/asio/ip/udp.hpp> 13 - +#include <boost/asio/basic_waitable_timer.hpp> 14 - +#include <boost/asio/write.hpp> 15 - +#include <boost/asio/buffer.hpp> 16 - +#include <boost/asio/basic_socket.hpp> 17 - +#include <boost/asio/ip/address.hpp> 18 - +#include <boost/asio/ip/address_v4.hpp> 19 - #include <fmt/format.h> 20 - 21 - #include "common/logging/log.h" 22 - @@ -113,7 +121,7 @@ private: 23 - } 24 - 25 - SocketCallback callback; 26 - - boost::asio::io_service io_service; 27 - + boost::asio::io_context io_service; 28 - boost::asio::basic_waitable_timer<clock> timer; 29 - udp::socket socket; 30 -
···
-13
pkgs/by-name/to/torzu/fix-udp-protocol.patch
··· 1 - diff --git a/src/input_common/helpers/udp_protocol.h b/src/input_common/helpers/udp_protocol.h 2 - index db08fc62c5..ea223ea937 100644 3 - --- a/src/input_common/helpers/udp_protocol.h 4 - +++ b/src/input_common/helpers/udp_protocol.h 5 - @@ -69,7 +69,7 @@ Message<T> CreateMessage(const u32 magic, const T data, const u32 sender_id) { 6 - }; 7 - Message<T> message{header, data}; 8 - crc.process_bytes(&message, sizeof(Message<T>)); 9 - - message.header.crc = crc.checksum(); 10 - + message.header.crc = static_cast<u32_le>(crc.checksum()); 11 - return message; 12 - } 13 -
···
-229
pkgs/by-name/to/torzu/package.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - SDL2, 5 - boost, 6 - catch2_3, 7 - cmake, 8 - fetchFromGitHub, 9 - cpp-jwt, 10 - cubeb, 11 - discord-rpc, 12 - enet, 13 - fetchgit, 14 - fetchurl, 15 - ffmpeg-headless, 16 - fmt, 17 - glslang, 18 - libopus, 19 - libusb1, 20 - lz4, 21 - python3, 22 - unzip, 23 - nix-update-script, 24 - nlohmann_json, 25 - pkg-config, 26 - qt6, 27 - spirv-tools, 28 - spirv-headers, 29 - vulkan-utility-libraries, 30 - vulkan-headers, 31 - vulkan-loader, 32 - simpleini, 33 - zlib, 34 - vulkan-memory-allocator, 35 - zstd, 36 - }: 37 - 38 - let 39 - inherit (qt6) 40 - qtbase 41 - qtmultimedia 42 - qtwayland 43 - wrapQtAppsHook 44 - qttools 45 - qtwebengine 46 - ; 47 - 48 - compat-list = stdenv.mkDerivation { 49 - pname = "yuzu-compatibility-list"; 50 - version = "unstable-2024-02-26"; 51 - 52 - src = fetchFromGitHub { 53 - owner = "flathub"; 54 - repo = "org.yuzu_emu.yuzu"; 55 - rev = "9c2032a3c7e64772a8112b77ed8b660242172068"; 56 - hash = "sha256-ITh/W4vfC9w9t+TJnPeTZwWifnhTNKX54JSSdpgaoBk="; 57 - }; 58 - 59 - buildCommand = '' 60 - cp $src/compatibility_list.json $out 61 - ''; 62 - }; 63 - 64 - nx_tzdb = stdenv.mkDerivation rec { 65 - pname = "nx_tzdb"; 66 - version = "221202"; 67 - 68 - src = fetchurl { 69 - url = "https://github.com/lat9nq/tzdb_to_nx/releases/download/${version}/${version}.zip"; 70 - hash = "sha256-mRzW+iIwrU1zsxHmf+0RArU8BShAoEMvCz+McXFFK3c="; 71 - }; 72 - 73 - nativeBuildInputs = [ unzip ]; 74 - 75 - buildCommand = '' 76 - unzip $src -d $out 77 - ''; 78 - 79 - }; 80 - 81 - in 82 - 83 - stdenv.mkDerivation (finalAttrs: { 84 - pname = "torzu"; 85 - version = "unstable-2025-02-22"; 86 - 87 - src = fetchgit { 88 - url = "https://git.ynh.ovh/liberodark/torzu.git"; 89 - rev = "eaa9c9e3a46eb5099193b11d620ddfe96b6aec83"; 90 - hash = "sha256-KxLRXM8Y+sIW5L9oYMSeK95HRb30zGRRSfil9DO+utU="; 91 - fetchSubmodules = true; 92 - }; 93 - 94 - patches = [ 95 - # Remove coroutines from debugger to fix boost::asio compatibility issues 96 - ./fix-debugger.patch 97 - # Add explicit cast for CRC checksum value 98 - ./fix-udp-protocol.patch 99 - # Use specific boost::asio includes and update to modern io_context 100 - ./fix-udp-client.patch 101 - # Updates suppressed diagnostics 102 - ./fix-aarch64-linux-build.patch 103 - ]; 104 - 105 - nativeBuildInputs = [ 106 - cmake 107 - glslang 108 - pkg-config 109 - python3 110 - qttools 111 - wrapQtAppsHook 112 - ]; 113 - 114 - buildInputs = [ 115 - # vulkan-headers must come first, so the older propagated versions 116 - # don't get picked up by accident 117 - vulkan-headers 118 - 119 - boost 120 - catch2_3 121 - cpp-jwt 122 - cubeb 123 - discord-rpc 124 - # intentionally omitted: dynarmic - prefer vendored version for compatibility 125 - enet 126 - 127 - ffmpeg-headless 128 - fmt 129 - # intentionally omitted: gamemode - loaded dynamically at runtime 130 - # intentionally omitted: httplib - upstream requires an older version than what we have 131 - libopus 132 - libusb1 133 - # intentionally omitted: LLVM - heavy, only used for stack traces in the debugger 134 - lz4 135 - nlohmann_json 136 - qtbase 137 - qtmultimedia 138 - qtwayland 139 - qtwebengine 140 - # intentionally omitted: renderdoc - heavy, developer only 141 - SDL2 142 - # intentionally omitted: stb - header only libraries, vendor uses git snapshot 143 - simpleini 144 - spirv-tools 145 - spirv-headers 146 - vulkan-memory-allocator 147 - vulkan-utility-libraries 148 - # intentionally omitted: xbyak - prefer vendored version for compatibility 149 - zlib 150 - zstd 151 - ]; 152 - 153 - # This changes `ir/opt` to `ir/var/empty` in `externals/dynarmic/src/dynarmic/CMakeLists.txt` 154 - # making the build fail, as that path does not exist 155 - dontFixCmake = true; 156 - 157 - __structuredAttrs = true; 158 - cmakeFlags = [ 159 - # actually has a noticeable performance impact 160 - (lib.cmakeBool "YUZU_ENABLE_LTO" true) 161 - (lib.cmakeBool "YUZU_TESTS" false) 162 - 163 - (lib.cmakeBool "ENABLE_QT6" true) 164 - (lib.cmakeBool "ENABLE_QT_TRANSLATION" true) 165 - 166 - # use system libraries 167 - # NB: "external" here means "from the externals/ directory in the source", 168 - # so "false" means "use system" 169 - (lib.cmakeBool "YUZU_USE_EXTERNAL_SDL2" false) 170 - (lib.cmakeBool "YUZU_USE_EXTERNAL_VULKAN_HEADERS" false) 171 - (lib.cmakeBool "YUZU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES" false) 172 - (lib.cmakeBool "YUZU_USE_EXTERNAL_VULKAN_SPIRV_TOOLS" false) 173 - 174 - # don't check for missing submodules 175 - (lib.cmakeBool "YUZU_CHECK_SUBMODULES" false) 176 - 177 - # enable some optional features 178 - (lib.cmakeBool "YUZU_USE_QT_WEB_ENGINE" true) 179 - (lib.cmakeBool "YUZU_USE_QT_MULTIMEDIA" true) 180 - (lib.cmakeBool "USE_DISCORD_PRESENCE" true) 181 - 182 - # We dont want to bother upstream with potentially outdated compat reports 183 - (lib.cmakeBool "YUZU_ENABLE_COMPATIBILITY_REPORTING" false) 184 - (lib.cmakeBool "ENABLE_COMPATIBILITY_LIST_DOWNLOAD" false) # We provide this deterministically 185 - 186 - (lib.cmakeFeature "TITLE_BAR_FORMAT_IDLE" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) {}") 187 - (lib.cmakeFeature "TITLE_BAR_FORMAT_RUNNING" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) | {}") 188 - ]; 189 - 190 - env = { 191 - # Does some handrolled SIMD 192 - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isx86_64 "-msse4.1"; 193 - }; 194 - 195 - qtWrapperArgs = [ 196 - # Fixes vulkan detection. 197 - # FIXME: patchelf --add-rpath corrupts the binary for some reason, investigate 198 - "--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib" 199 - ]; 200 - 201 - preConfigure = '' 202 - # provide pre-downloaded tz data 203 - mkdir -p build/externals/nx_tzdb 204 - ln -s ${nx_tzdb} build/externals/nx_tzdb/nx_tzdb 205 - ''; 206 - 207 - postConfigure = '' 208 - ln -sf ${compat-list} ./dist/compatibility_list/compatibility_list.json 209 - ''; 210 - 211 - postInstall = " 212 - install -Dm444 $src/dist/72-yuzu-input.rules $out/lib/udev/rules.d/72-yuzu-input.rules 213 - "; 214 - 215 - meta = { 216 - description = "Fork of yuzu, an open-source Nintendo Switch emulator"; 217 - homepage = "https://notabug.org/litucks/torzu"; 218 - mainProgram = "yuzu"; 219 - platforms = lib.platforms.linux; 220 - maintainers = with lib.maintainers; [ liberodark ]; 221 - license = with lib.licenses; [ 222 - gpl3Plus 223 - # Icons 224 - asl20 225 - mit 226 - cc0 227 - ]; 228 - }; 229 - })
···
+2 -2
pkgs/by-name/tr/trdl-client/package.nix
··· 6 }: 7 buildGoModule (finalAttrs: { 8 pname = "trdl-client"; 9 - version = "0.10.0"; 10 11 src = fetchFromGitHub { 12 owner = "werf"; 13 repo = "trdl"; 14 tag = "v${finalAttrs.version}"; 15 - hash = "sha256-0Q0qs7lzLnJChhT3LGVCHIz1ruci/PGGLJdR9FO1RyE="; 16 }; 17 18 sourceRoot = "${finalAttrs.src.name}/client";
··· 6 }: 7 buildGoModule (finalAttrs: { 8 pname = "trdl-client"; 9 + version = "0.11.0"; 10 11 src = fetchFromGitHub { 12 owner = "werf"; 13 repo = "trdl"; 14 tag = "v${finalAttrs.version}"; 15 + hash = "sha256-QqAVcATpxfjKEaluurVN9EylEGKNKWlBkE8KepIpjfo="; 16 }; 17 18 sourceRoot = "${finalAttrs.src.name}/client";
+2
pkgs/by-name/tu/tusd/package.nix
··· 33 maintainers = with lib.maintainers; [ 34 nh2 35 kalbasit 36 ]; 37 }; 38 }
··· 33 maintainers = with lib.maintainers; [ 34 nh2 35 kalbasit 36 + kvz 37 + Acconut 38 ]; 39 }; 40 }
+4 -5
pkgs/by-name/xp/xplr/package.nix
··· 4 rustPlatform, 5 fetchFromGitHub, 6 }: 7 - 8 rustPlatform.buildRustPackage rec { 9 pname = "xplr"; 10 - version = "0.21.9"; 11 12 src = fetchFromGitHub { 13 owner = "sayanarijit"; 14 repo = pname; 15 rev = "v${version}"; 16 - hash = "sha256-0c2QJUEQwKEzzDBDP5XdX7xe1rivazsoZtepB4Dxp/c="; 17 }; 18 19 useFetchCargoVendor = true; 20 - cargoHash = "sha256-D8BYJtf6joAXyqLDdAeP4GGAA9W5dvA16ia4/ZeZWaE="; 21 22 # fixes `thread 'main' panicked at 'cannot find strip'` on x86_64-darwin 23 env = lib.optionalAttrs (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin) { ··· 26 27 # error: linker `aarch64-linux-gnu-gcc` not found 28 postPatch = '' 29 - rm .cargo/config 30 ''; 31 32 postInstall = ''
··· 4 rustPlatform, 5 fetchFromGitHub, 6 }: 7 rustPlatform.buildRustPackage rec { 8 pname = "xplr"; 9 + version = "1.0.0"; 10 11 src = fetchFromGitHub { 12 owner = "sayanarijit"; 13 repo = pname; 14 rev = "v${version}"; 15 + hash = "sha256-QeR7KXwRGfAU31ueI6v26pKnoQdj2C7bXlcMP4qKvZg="; 16 }; 17 18 useFetchCargoVendor = true; 19 + cargoHash = "sha256-UkyRl2eY520JPxtcOl7hvkY3MCH2bi2jL9zCJEdkQmU="; 20 21 # fixes `thread 'main' panicked at 'cannot find strip'` on x86_64-darwin 22 env = lib.optionalAttrs (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform.isDarwin) { ··· 25 26 # error: linker `aarch64-linux-gnu-gcc` not found 27 postPatch = '' 28 + rm .cargo/config.toml 29 ''; 30 31 postInstall = ''
+3 -3
pkgs/by-name/zw/zwave-js-ui/package.nix
··· 7 8 buildNpmPackage rec { 9 pname = "zwave-js-ui"; 10 - version = "10.3.3"; 11 12 src = fetchFromGitHub { 13 owner = "zwave-js"; 14 repo = "zwave-js-ui"; 15 tag = "v${version}"; 16 - hash = "sha256-SZIGwv/9aCA5/cZk8n32tkI/vu0oLw/t3dOJgf+km7c="; 17 }; 18 - npmDepsHash = "sha256-i3ug7syt4ElLiHV/kdwoaNvPYDsTdjlIg4XQbkB+Q4A="; 19 20 passthru.tests.zwave-js-ui = nixosTests.zwave-js-ui; 21
··· 7 8 buildNpmPackage rec { 9 pname = "zwave-js-ui"; 10 + version = "10.4.2"; 11 12 src = fetchFromGitHub { 13 owner = "zwave-js"; 14 repo = "zwave-js-ui"; 15 tag = "v${version}"; 16 + hash = "sha256-shjjxdjbPdjbLcVyF3CfSKtsB24m+ez5/vehSOWcjls="; 17 }; 18 + npmDepsHash = "sha256-Wq/R9pvYfnE4RYBX7DB68/lgJ1Tz1nbjFK1SomVwkXA="; 19 20 passthru.tests.zwave-js-ui = nixosTests.zwave-js-ui; 21
+1
pkgs/development/libraries/tbb/2020_3.nix
··· 124 ''; 125 platforms = platforms.unix; 126 maintainers = with maintainers; [ 127 thoughtpolice 128 tmarkus 129 ];
··· 124 ''; 125 platforms = platforms.unix; 126 maintainers = with maintainers; [ 127 + silvanshade 128 thoughtpolice 129 tmarkus 130 ];
+1
pkgs/development/libraries/tbb/2022_0.nix
··· 85 ''; 86 platforms = platforms.unix ++ platforms.windows; 87 maintainers = with maintainers; [ 88 thoughtpolice 89 tmarkus 90 ];
··· 85 ''; 86 platforms = platforms.unix ++ platforms.windows; 87 maintainers = with maintainers; [ 88 + silvanshade 89 thoughtpolice 90 tmarkus 91 ];
+4
pkgs/development/libraries/tbb/default.nix
··· 50 url = "https://patch-diff.githubusercontent.com/raw/uxlfoundation/oneTBB/pull/1696.patch"; 51 hash = "sha256-yjX2FkOK8bz29a/XSA7qXgQw9lxzx8VIgEBREW32NN4="; 52 }) 53 ]; 54 55 # Fix build with modern gcc ··· 95 ''; 96 platforms = platforms.unix ++ platforms.windows; 97 maintainers = with maintainers; [ 98 thoughtpolice 99 tmarkus 100 ];
··· 50 url = "https://patch-diff.githubusercontent.com/raw/uxlfoundation/oneTBB/pull/1696.patch"; 51 hash = "sha256-yjX2FkOK8bz29a/XSA7qXgQw9lxzx8VIgEBREW32NN4="; 52 }) 53 + # Fix Threads::Threads target for static from https://github.com/oneapi-src/oneTBB/pull/1248 54 + # This is a conflict-resolved cherry-pick of the above PR to due to formatting differences. 55 + ./patches/fix-cmake-threads-threads-target-for-static.patch 56 ]; 57 58 # Fix build with modern gcc ··· 98 ''; 99 platforms = platforms.unix ++ platforms.windows; 100 maintainers = with maintainers; [ 101 + silvanshade 102 thoughtpolice 103 tmarkus 104 ];
+34
pkgs/development/libraries/tbb/patches/fix-cmake-threads-threads-target-for-static.patch
···
··· 1 + From b42f074a724a41d2369a94283a2e94190d0cbb44 Mon Sep 17 00:00:00 2001 2 + From: Liam Keegan <liam@keegan.ch> 3 + Date: Fri, 10 Nov 2023 09:08:42 +0100 4 + Subject: [PATCH] Fix CMake "Threads::Threads target not found" issue for 5 + static builds (#1248) 6 + 7 + - add `Threads` dependency to installed CMake config for static builds only 8 + - based on #912 by @p12tic including reviewer comments from @ilya-lavrenov and @isaevil 9 + - resolves #1145 10 + 11 + Signed-off-by: Liam Keegan <liam@keegan.ch> 12 + (cherry picked from commit 12ceae12138af08845b3e8c369b24527346fe99e) 13 + --- 14 + CMakeLists.txt | 4 ++++ 15 + 1 file changed, 4 insertions(+) 16 + 17 + diff --git a/CMakeLists.txt b/CMakeLists.txt 18 + index 16ee29ed..0bc39a52 100644 19 + --- a/CMakeLists.txt 20 + +++ b/CMakeLists.txt 21 + @@ -265,6 +265,10 @@ else() 22 + COMPONENT devel) 23 + file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake 24 + "include(\${CMAKE_CURRENT_LIST_DIR}/${PROJECT_NAME}Targets.cmake)\n") 25 + + if (NOT BUILD_SHARED_LIBS) 26 + + file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake 27 + + "include(CMakeFindDependencyMacro)\nfind_dependency(Threads)\n") 28 + + endif() 29 + 30 + write_basic_package_version_file("${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake" 31 + COMPATIBILITY AnyNewerVersion) 32 + -- 33 + 2.49.0 34 +
+16 -9
pkgs/development/python-modules/ruffus/default.nix
··· 4 fetchFromGitHub, 5 hostname, 6 pytest, 7 lib, 8 stdenv, 9 }: ··· 29 30 # tests very flaky & hang often on darwin 31 doCheck = !stdenv.hostPlatform.isDarwin; 32 - # test files do indeed need to be executed separately 33 - checkPhase = '' 34 - pushd ruffus/test 35 - rm test_with_logger.py # spawns 500 processes 36 - for f in test_*.py ; do 37 - HOME=$TMPDIR pytest -v --disable-warnings $f 38 - done 39 - popd 40 - ''; 41 pythonImportsCheck = [ "ruffus" ]; 42 43 meta = with lib; {
··· 4 fetchFromGitHub, 5 hostname, 6 pytest, 7 + pythonAtLeast, 8 lib, 9 stdenv, 10 }: ··· 30 31 # tests very flaky & hang often on darwin 32 doCheck = !stdenv.hostPlatform.isDarwin; 33 + checkPhase = 34 + # https://docs.python.org/3/whatsnew/3.13.html#re 35 + lib.optionalString (pythonAtLeast "3.13") '' 36 + substituteInPlace ruffus/test/test_ruffus_utility.py \ 37 + --replace-fail re.error re.PatternError 38 + '' 39 + # test files do indeed need to be executed separately 40 + + '' 41 + pushd ruffus/test 42 + rm test_with_logger.py # spawns 500 processes 43 + for f in test_*.py ; do 44 + HOME=$TMPDIR pytest -v --disable-warnings $f 45 + done 46 + popd 47 + ''; 48 pythonImportsCheck = [ "ruffus" ]; 49 50 meta = with lib; {
+5 -4
pkgs/development/python-modules/skidl/default.nix
··· 6 kinparse, 7 pyspice, 8 graphviz, 9 }: 10 - 11 buildPythonPackage rec { 12 pname = "skidl"; 13 version = "2.0.1"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 - owner = "xesscorp"; 18 repo = "skidl"; 19 tag = version; 20 sha256 = "sha256-EzKtXdQFB6kjaIuCYAsyFPlwmkefb5RJcnpFYCVHHb8="; ··· 25 kinparse 26 pyspice 27 graphviz 28 ]; 29 30 # Checks require availability of the kicad symbol libraries. ··· 32 pythonImportsCheck = [ "skidl" ]; 33 34 meta = with lib; { 35 - description = "Module that extends Python with the ability to design electronic circuits"; 36 mainProgram = "netlist_to_skidl"; 37 - homepage = "https://xess.com/skidl/docs/_site/"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ matthuszagh ]; 40 };
··· 6 kinparse, 7 pyspice, 8 graphviz, 9 + sexpdata, 10 }: 11 buildPythonPackage rec { 12 pname = "skidl"; 13 version = "2.0.1"; 14 format = "setuptools"; 15 16 src = fetchFromGitHub { 17 + owner = "devbisme"; 18 repo = "skidl"; 19 tag = version; 20 sha256 = "sha256-EzKtXdQFB6kjaIuCYAsyFPlwmkefb5RJcnpFYCVHHb8="; ··· 25 kinparse 26 pyspice 27 graphviz 28 + sexpdata 29 ]; 30 31 # Checks require availability of the kicad symbol libraries. ··· 33 pythonImportsCheck = [ "skidl" ]; 34 35 meta = with lib; { 36 + description = "SKiDL is a module that extends Python with the ability to design electronic circuits"; 37 mainProgram = "netlist_to_skidl"; 38 + homepage = "https://devbisme.github.io/skidl/"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ matthuszagh ]; 41 };
+3 -3
pkgs/os-specific/linux/rtl8192eu/default.nix
··· 13 in 14 stdenv.mkDerivation { 15 pname = "rtl8192eu"; 16 - version = "${kernel.version}-4.4.1.20240507"; 17 18 src = fetchFromGitHub { 19 owner = "Mange"; 20 repo = "rtl8192eu-linux-driver"; 21 - rev = "27410641da6926eb1ac565068ff89d35f7496328"; 22 - sha256 = "sha256-/BztTE3yKw35Oo7KkzHMtD+8qpJNXWiSwR3YjrotR0I="; 23 }; 24 25 hardeningDisable = [ "pic" ];
··· 13 in 14 stdenv.mkDerivation { 15 pname = "rtl8192eu"; 16 + version = "${kernel.version}-4.4.1.20250504"; 17 18 src = fetchFromGitHub { 19 owner = "Mange"; 20 repo = "rtl8192eu-linux-driver"; 21 + rev = "27aa922c298f2be240eec6c2e8636fe865ece195"; 22 + sha256 = "sha256-1Kz/GgsHsEgrp+1x2rLpJpo98Ur16aWf9CV0gcYmp0Q="; 23 }; 24 25 hardeningDisable = [ "pic" ];
+4 -4
pkgs/servers/mail/mailpit/source.nix
··· 1 { 2 - version = "1.24.1"; 3 - hash = "sha256-qJfqycQKQlkGV4RJ7v97bH1gOaDaLpcaItrTkW1c4Sk="; 4 - npmDepsHash = "sha256-tPye9tLz4SnGU+dxAitUehasYXHgy8Gxcc6xzC+8GmU="; 5 - vendorHash = "sha256-7zCSQGN4Lz+gV0YQcG2AN9JB5oPLzsuhdX4Rm/4YItE="; 6 }
··· 1 { 2 + version = "1.24.2"; 3 + hash = "sha256-MRoo06As8gZkpeeRwoLThCrGdwKeS++6u877TDsZFqs="; 4 + npmDepsHash = "sha256-502v1nEI6sYMttdpxPtjqOuN34HvI38RRbRLE3a0Dio="; 5 + vendorHash = "sha256-UPp5c4KW3HQ0VE9Sk488mUpKzIxdfV4ScTSmdqxc4pU="; 6 }
+11
pkgs/top-level/aliases.nix
··· 425 chromatic = throw "chromatic has been removed due to being unmaintained and failing to build"; # Added 2025-04-18 426 chrome-gnome-shell = gnome-browser-connector; # Added 2022-07-27 427 cinnamon = throw "The cinnamon scope has been removed and all packages have been moved to the top-level"; # Added 2024-11-25 428 cloog = throw "cloog has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 429 cloog_0_18_0 = throw "cloog_0_18_0 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 430 cloogppl = throw "cloogppl has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 ··· 497 ### D ### 498 499 dap = throw "'dap' has been removed because it doesn't compile and has been unmaintained since 2014"; # Added 2025-05-10 500 dart_stable = throw "'dart_stable' has been renamed to/replaced by 'dart'"; # Converted to throw 2024-10-17 501 dart-sass-embedded = throw "dart-sass-embedded has been removed from nixpkgs, as is now included in Dart Sass itself."; 502 dat = nodePackages.dat; ··· 1753 sumneko-lua-language-server = lua-language-server; # Added 2023-02-07 1754 sumokoin = throw "sumokoin has been removed as it was abandoned upstream"; # Added 2024-11-23 1755 supertag = throw "supertag has been removed as it was abandoned upstream and fails to build"; # Added 2025-04-20 1756 swiProlog = lib.warnOnInstantiate "swiProlog has been renamed to swi-prolog" swi-prolog; # Added 2024-09-07 1757 swiPrologWithGui = lib.warnOnInstantiate "swiPrologWithGui has been renamed to swi-prolog-gui" swi-prolog-gui; # Added 2024-09-07 1758 swig1 = throw "swig1 has been removed as it is obsolete"; # Added 2024-08-23 ··· 1829 tor-browser-bundle-bin = tor-browser; # Added 2023-09-23 1830 torrenttools = throw "torrenttools has been removed due to lack of maintanance upstream"; # Added 2025-04-06 1831 torq = throw "torq has been removed because the project went closed source"; # Added 2024-11-24 1832 transmission = lib.warnOnInstantiate (transmission3Warning { }) transmission_3; # Added 2024-06-10 1833 transmission-gtk = lib.warnOnInstantiate (transmission3Warning { 1834 suffix = "-gtk"; ··· 2012 yandex-browser-corporate = throw "'yandex-browser-corporate' has been removed, as it was broken and unmaintained"; # Added 2025-04-17 2013 youtrack_2022_3 = throw "'youtrack_2022_3' has been removed as it was deprecated. Please update to the 'youtrack' package."; # Added 2024-10-17 2014 yrd = throw "'yrd' has been removed, as it was broken and unmaintained"; # added 2024-05-27 2015 2016 ### Z ### 2017
··· 425 chromatic = throw "chromatic has been removed due to being unmaintained and failing to build"; # Added 2025-04-18 426 chrome-gnome-shell = gnome-browser-connector; # Added 2022-07-27 427 cinnamon = throw "The cinnamon scope has been removed and all packages have been moved to the top-level"; # Added 2024-11-25 428 + citra = throw "citra has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 429 + citra-nightly = throw "citra-nightly has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 430 + citra-canary = throw "citra-canary has been removed from nixpkgs, as it has been taken down upstream"; # added 2024-03-04 431 cloog = throw "cloog has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 432 cloog_0_18_0 = throw "cloog_0_18_0 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 433 cloogppl = throw "cloogppl has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-09-13 ··· 500 ### D ### 501 502 dap = throw "'dap' has been removed because it doesn't compile and has been unmaintained since 2014"; # Added 2025-05-10 503 + darling = throw "'darling' has been removed due to vendoring Python2"; # Added 2025-05-10 504 dart_stable = throw "'dart_stable' has been renamed to/replaced by 'dart'"; # Converted to throw 2024-10-17 505 dart-sass-embedded = throw "dart-sass-embedded has been removed from nixpkgs, as is now included in Dart Sass itself."; 506 dat = nodePackages.dat; ··· 1757 sumneko-lua-language-server = lua-language-server; # Added 2023-02-07 1758 sumokoin = throw "sumokoin has been removed as it was abandoned upstream"; # Added 2024-11-23 1759 supertag = throw "supertag has been removed as it was abandoned upstream and fails to build"; # Added 2025-04-20 1760 + suyu = throw "suyu has been removed from nixpkgs, as it is subject to a DMCA takedown"; # Added 2025-05-12 1761 swiProlog = lib.warnOnInstantiate "swiProlog has been renamed to swi-prolog" swi-prolog; # Added 2024-09-07 1762 swiPrologWithGui = lib.warnOnInstantiate "swiPrologWithGui has been renamed to swi-prolog-gui" swi-prolog-gui; # Added 2024-09-07 1763 swig1 = throw "swig1 has been removed as it is obsolete"; # Added 2024-08-23 ··· 1834 tor-browser-bundle-bin = tor-browser; # Added 2023-09-23 1835 torrenttools = throw "torrenttools has been removed due to lack of maintanance upstream"; # Added 2025-04-06 1836 torq = throw "torq has been removed because the project went closed source"; # Added 2024-11-24 1837 + torzu = throw "torzu has been removed from nixpkgs, as it is subject to a DMCA takedown"; # Added 2025-05-12 1838 transmission = lib.warnOnInstantiate (transmission3Warning { }) transmission_3; # Added 2024-06-10 1839 transmission-gtk = lib.warnOnInstantiate (transmission3Warning { 1840 suffix = "-gtk"; ··· 2018 yandex-browser-corporate = throw "'yandex-browser-corporate' has been removed, as it was broken and unmaintained"; # Added 2025-04-17 2019 youtrack_2022_3 = throw "'youtrack_2022_3' has been removed as it was deprecated. Please update to the 'youtrack' package."; # Added 2024-10-17 2020 yrd = throw "'yrd' has been removed, as it was broken and unmaintained"; # added 2024-05-27 2021 + yuzu-ea = throw "yuzu-ea has been removed from nixpkgs, as it has been taken down upstream"; # Added 2024-03-04 2022 + yuzu-early-access = throw "yuzu-early-access has been removed from nixpkgs, as it has been taken down upstream"; # Added 2024-03-04 2023 + yuzu = throw "yuzu has been removed from nixpkgs, as it has been taken down upstream"; # Added 2024-03-04 2024 + yuzu-mainline = throw "yuzu-mainline has been removed from nixpkgs, as it has been taken down upstream"; # Added 2024-03-04 2025 + yuzuPackages = throw "yuzuPackages has been removed from nixpkgs, as it has been taken down upstream"; # Added 2024-03-04 2026 2027 ### Z ### 2028
+2
pkgs/top-level/python-packages.nix
··· 4410 4411 elevenlabs = callPackage ../development/python-modules/elevenlabs { }; 4412 4413 elgato = callPackage ../development/python-modules/elgato { }; 4414 4415 eliot = callPackage ../development/python-modules/eliot { };
··· 4410 4411 elevenlabs = callPackage ../development/python-modules/elevenlabs { }; 4412 4413 + elfdeps = toPythonModule (pkgs.elfdeps.override { python3Packages = self; }); 4414 + 4415 elgato = callPackage ../development/python-modules/elgato { }; 4416 4417 eliot = callPackage ../development/python-modules/eliot { };