staging-next 2025-08-30 (#438642)

+5750 -4631
+41 -8
doc/hooks/installShellFiles.section.md
··· 42 42 { 43 43 nativeBuildInputs = [ installShellFiles ]; 44 44 45 - # Sometimes the manpage file has an undesirable name; e.g., it conflicts with 46 - # another software with an equal name. It should be renamed before being 47 - # installed via installManPage 45 + # Sometimes the manpage file has an undersirable name; e.g., it conflicts with 46 + # another software with an equal name. To install it with a different name, 47 + # the installed name must be provided before the path to the file. 48 + # 49 + # Below install a manpage "foobar.1" from the source file "./foobar.1", and 50 + # also installs the manpage "fromsea.3" from the source file "./delmar.3". 51 + postInstall = '' 52 + installManPage \ 53 + foobar.1 \ 54 + --name fromsea.3 delmar.3 55 + ''; 56 + } 57 + ``` 58 + 59 + The manpage may be the result of a piped input (e.g. `<(cmd)`), in which 60 + case the name must be provided before the pipe with the `--name` flag. 61 + 62 + ```nix 63 + { 64 + nativeBuildInputs = [ installShellFiles ]; 65 + 66 + postInstall = '' 67 + installManPage --name foobar.1 <($out/bin/foobar --manpage) 68 + ''; 69 + } 70 + ``` 71 + 72 + If no parsing of arguments is desired, pass `--` to opt-out of all subsequent 73 + arguments. 74 + 75 + ```nix 76 + { 77 + nativeBuildInputs = [ installShellFiles ]; 78 + 79 + # Installs a manpage from a file called "--name" 48 80 postInstall = '' 49 - mv fromsea.3 delmar.3 50 - installManPage foobar.1 delmar.3 81 + installManPage -- --name 51 82 ''; 52 83 } 53 84 ``` ··· 58 89 completion files. 59 90 60 91 By default it will autodetect the shell type from the completion file extension, 61 - but you may also specify it by passing one of `--bash`, `--fish`, or 62 - `--zsh`. These flags apply to all paths listed after them (up until another 92 + but you may also specify it by passing one of `--bash`, `--fish`, `--zsh`, or 93 + `--nushell`. These flags apply to all paths listed after them (up until another 63 94 shell flag is given). Each path may also have a custom installation name 64 95 provided by providing a flag `--name NAME` before the path. If this flag is not 65 96 provided, zsh completions will be renamed automatically such that `foobar.zsh` ··· 77 108 # explicit behavior 78 109 installShellCompletion --bash --name foobar.bash share/completions.bash 79 110 installShellCompletion --fish --name foobar.fish share/completions.fish 111 + installShellCompletion --nushell --name foobar share/completions.nu 80 112 installShellCompletion --zsh --name _foobar share/completions.zsh 81 113 # implicit behavior 82 - installShellCompletion share/completions/foobar.{bash,fish,zsh} 114 + installShellCompletion share/completions/foobar.{bash,fish,zsh,nu} 83 115 ''; 84 116 } 85 117 ``` ··· 104 136 installShellCompletion --cmd foobar \ 105 137 --bash <($out/bin/foobar --bash-completion) \ 106 138 --fish <($out/bin/foobar --fish-completion) \ 139 + --nushell <($out/bin/foobar --nushell-completion) \ 107 140 --zsh <($out/bin/foobar --zsh-completion) 108 141 ''; 109 142 }
+6
doc/languages-frameworks/go.section.md
··· 192 192 193 193 Defaults to `null` 194 194 195 + ### `buildTestBinaries` {#var-go-buildTestBinaries} 196 + 197 + This option allows to compile test binaries instead of the usual binaries produced by a package. 198 + Go can [compile test into binaries](https://pkg.go.dev/cmd/go#hdr-Test_packages) using the `go test -c` command. 199 + These binaries can then be executed at a later point (outside the Nix sandbox) to run the tests. 200 + This is mostly useful for downstream consumers to run integration or end-to-end tests that won't work in the Nix sandbox, for example because they require network access. 195 201 196 202 ## Versioned toolchains and builders {#ssec-go-toolchain-versions} 197 203
+6
doc/redirects.json
··· 574 574 "strictflexarrays3": [ 575 575 "index.html#strictflexarrays3" 576 576 ], 577 + "glibcxxassertions": [ 578 + "index.html#glibcxxassertions" 579 + ], 577 580 "tester-shfmt": [ 578 581 "index.html#tester-shfmt" 579 582 ], ··· 621 624 ], 622 625 "typst-package-scope-and-usage": [ 623 626 "index.html#typst-package-scope-and-usage" 627 + ], 628 + "var-go-buildTestBinaries": [ 629 + "index.html#var-go-buildTestBinaries" 624 630 ], 625 631 "var-meta-teams": [ 626 632 "index.html#var-meta-teams"
+10
doc/release-notes/rl-2511.section.md
··· 22 22 23 23 - The `offrss` package was removed due to lack of upstream maintenance since 2012. It's recommended for users to migrate to another RSS reader 24 24 25 + - `installShellFiles`: Allow installManPage to take a piped input, add the `--name` flag for renaming the file when installed. Can also append `--` to opt-out of all subsequent parsing. 26 + 25 27 - GCC 9, 10, 11, and 12 have been removed, as they have reached end‐of‐life upstream and are no longer supported. 26 28 27 29 - GHCJS 8.10, exposed via `haskell.compiler.ghcjs` and `haskell.compiler.ghcjs810`, has been removed. Downstream users should migrate their projects to the new JavaScript backend of GHC proper which can be used via `pkgsCross.ghcjs` from Nixpkgs. Haskell packaging code, like `haskellPackages.mkDerivation`, `ghcWithPackages` and `hoogleWithPackages`, also no longer supports GHCJS. ··· 50 52 51 53 - `kbd` package's `outputs` now include a `man` and `scripts` outputs. The `unicode_start` and `unicode_stop` Bash scripts are now part of the `scripts` output, allowing most usages of the `kbd` package to not pull in `bash`. 52 54 55 + - `spidermonkey_91` has been removed, as it has been EOL since September 2022. 56 + 53 57 - `cudaPackages.cudatoolkit-legacy-runfile` has been removed. 54 58 55 59 - `conduwuit` was removed due to upstream ceasing development and deleting their repository. For existing data, a migration to `matrix-conduit`, `matrix-continuwuity` or `matrix-tuwunel` may be possible. ··· 63 67 and the given `ghc` otherwise. This approach is not recommended since it results in mismatched GHC versions. 64 68 65 69 - `gnome-keyring` no longer ships with an SSH agent anymore because it has been deprecated upstream. You should use `gcr_4` instead, which provides the same features. More information on why this was done can be found on [the relevant GCR upstream PR](https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67). 70 + 71 + - `python3Full` and its versioned attributes (python3xxFull) have been removed. Bluetooth support is now enabled in the default python3 attributes. The X11 support built the tkinter module, which is available as a dedicated attribute on the package set. 66 72 67 73 - `stdenv.mkDerivation` and other derivation builders that use it no longer allow the value of `env` to be anything but an attribute set, for the purpose of setting environment variables that are available to the [builder](https://nix.dev/manual/nix/latest/store/derivation/#builder) process. An environment variable called `env` can still be provided by means of `mkDerivation { env.env = ...; }`, though we recommend to use a more specific name than "env". 68 74 ··· 155 161 156 162 - [`homebox` 0.20.0](https://github.com/sysadminsmedia/homebox/releases/tag/v0.20.0) changed how assets are stored and hashed. It is recommended to back up your database before this update. 157 163 164 + - `installShellCompletion`: now supports Nushell completion files 165 + 158 166 - New hardening flags, `strictflexarrays1` and `strictflexarrays3` were made available, corresponding to the gcc/clang options `-fstrict-flex-arrays=1` and `-fstrict-flex-arrays=3` respectively. 159 167 160 168 - `gramps` has been updated to 6.0.0 ··· 170 178 171 179 - `searx` was updated to use `envsubst` instead of `sed` for parsing secrets from environment variables. 172 180 If your previous configuration included a secret reference like `server.secret_key = "@SEARX_SECRET_KEY@"`, you must migrate to the new envsubst syntax: `server.secret_key = "$SEARX_SECRET_KEY"`. 181 + 182 + - A new hardening flag, `glibcxxassertions` was made available, corresponding to the glibc `_GLIBCXX_ASSERTIONS` option. 173 183 174 184 - `versionCheckHook`: Packages that previously relied solely on `pname` to locate the program used to version check, but have a differing `meta.mainProgram` entry, might now fail. 175 185
+6
doc/stdenv/stdenv.chapter.md
··· 1682 1682 sorry, unimplemented: __builtin_clear_padding not supported for variable length aggregates 1683 1683 ``` 1684 1684 1685 + #### `glibcxxassertions` {#glibcxxassertions} 1686 + 1687 + Adds the `-D_GLIBCXX_ASSERTIONS` compiler flag. This flag only has an effect on libstdc++ targets, and when defined, enables extra error checking in the form of precondition assertions, such as bounds checking in c++ strings and null pointer checks when dereferencing c++ smart pointers. 1688 + 1689 + These checks may have an impact on performance in some cases. 1690 + 1685 1691 #### `pacret` {#pacret} 1686 1692 1687 1693 This flag adds the `-mbranch-protection=pac-ret` compiler option on aarch64-linux targets. This uses ARM v8.3's Pointer Authentication feature to sign function return pointers before adding them to the stack. The pointer's authenticity is then validated before returning to its destination. This dramatically increases the difficulty of ROP exploitation techniques.
+10
lib/licenses.nix
··· 64 64 free = false; 65 65 }; 66 66 67 + adobeUtopia = { 68 + fullName = "Adobe Utopia Font License"; 69 + spdxId = "Adobe-Utopia"; 70 + }; 71 + 67 72 afl20 = { 68 73 spdxId = "AFL-2.0"; 69 74 fullName = "Academic Free License v2.0"; ··· 690 695 hpndSellVariant = { 691 696 fullName = "Historical Permission Notice and Disclaimer - sell variant"; 692 697 spdxId = "HPND-sell-variant"; 698 + }; 699 + 700 + hpndDec = { 701 + fullName = "Historical Permission Notice and Disclaimer - DEC variant"; 702 + spdxId = "HPND-DEC"; 693 703 }; 694 704 695 705 hpndDoc = {
-1
nixos/modules/config/console.nix
··· 195 195 "${config.boot.initrd.systemd.package}/lib/systemd/systemd-vconsole-setup" 196 196 "${config.boot.initrd.systemd.package.kbd}/bin/setfont" 197 197 "${config.boot.initrd.systemd.package.kbd}/bin/loadkeys" 198 - "${config.boot.initrd.systemd.package.kbd.gzip}/bin/gzip" # Fonts and keyboard layouts are compressed 199 198 ] 200 199 ++ lib.optionals (cfg.font != null && lib.hasPrefix builtins.storeDir cfg.font) [ 201 200 "${cfg.font}"
+1
nixos/tests/sssd-ldap.nix
··· 99 99 objectClass: posixAccount 100 100 userPassword: ${testPassword} 101 101 homeDirectory: /home/${testUser} 102 + loginShell: /run/current-system/sw/bin/bash 102 103 uidNumber: 1234 103 104 gidNumber: 1234 104 105 cn: ""
+2 -2
pkgs/applications/audio/mpg123/default.nix
··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "${lib.optionalString libOnly "lib"}mpg123"; 24 - version = "1.33.0"; 24 + version = "1.33.2"; 25 25 26 26 src = fetchurl { 27 27 url = "mirror://sourceforge/mpg123/mpg123-${version}.tar.bz2"; 28 - hash = "sha256-IpDjrt5vTRY+GhdFIWWvM8qtS18JSPmUKc+i2Dhfqp0="; 28 + hash = "sha256-LFT6u/ppbc6PmxN8jvekKaBh+P5jPNfQpRGAmFXywhk="; 29 29 }; 30 30 31 31 outputs = [
+2 -2
pkgs/applications/editors/vim/common.nix
··· 1 1 { lib, fetchFromGitHub }: 2 2 rec { 3 - version = "9.1.1566"; 3 + version = "9.1.1623"; 4 4 5 5 outputs = [ 6 6 "out" ··· 11 11 owner = "vim"; 12 12 repo = "vim"; 13 13 rev = "v${version}"; 14 - hash = "sha256-/hzyjFGjl8Wu9tHtFgnnHtGbcJ5AIjCMUNCScrdIgwU="; 14 + hash = "sha256-T7epi6ex9AU4iV/ClSeKlK3T0V0WajiVxnDVevkqaw8="; 15 15 }; 16 16 17 17 enableParallelBuilding = true;
+7
pkgs/applications/networking/sync/rsync/default.nix
··· 31 31 hash = "sha256-KSS8s6Hti1UfwQH3QLnw/gogKxFQJ2R89phQ1l/YjFI="; 32 32 }; 33 33 34 + patches = [ 35 + # See: <https://github.com/RsyncProject/rsync/pull/790> 36 + ./fix-tests-in-darwin-sandbox.patch 37 + ]; 38 + 34 39 nativeBuildInputs = [ 35 40 updateAutotoolsGnuConfigScriptsHook 36 41 perl ··· 74 79 passthru.tests = { inherit (nixosTests) rsyncd; }; 75 80 76 81 doCheck = true; 82 + 83 + __darwinAllowLocalNetworking = true; 77 84 78 85 meta = with lib; { 79 86 description = "Fast incremental file transfer utility";
+56
pkgs/applications/networking/sync/rsync/fix-tests-in-darwin-sandbox.patch
··· 1 + From 9b104ed9859f17b6ed4c4ad01806c75a0c197dd7 Mon Sep 17 00:00:00 2001 2 + From: Emily <hello@emily.moe> 3 + Date: Tue, 5 Aug 2025 15:55:24 +0100 4 + Subject: [PATCH] Allow `ls(1)` to fail in test setup 5 + 6 + This can happen when the tests are unable to `stat(2)` some files in 7 + `/etc`, `/bin`, or `/`, due to Unix permissions or other sandboxing. We 8 + still guard against serious errors, which use exit code 2. 9 + --- 10 + testsuite/longdir.test | 4 ++-- 11 + testsuite/rsync.fns | 8 ++++---- 12 + 2 files changed, 6 insertions(+), 6 deletions(-) 13 + 14 + diff --git a/testsuite/longdir.test b/testsuite/longdir.test 15 + index 8d66bb5f..26747292 100644 16 + --- a/testsuite/longdir.test 17 + +++ b/testsuite/longdir.test 18 + @@ -16,9 +16,9 @@ makepath "$longdir" || test_skipped "unable to create long directory" 19 + touch "$longdir/1" || test_skipped "unable to create files in long directory" 20 + date > "$longdir/1" 21 + if [ -r /etc ]; then 22 + - ls -la /etc >"$longdir/2" 23 + + ls -la /etc >"$longdir/2" || [ $? -eq 1 ] 24 + else 25 + - ls -la / >"$longdir/2" 26 + + ls -la / >"$longdir/2" || [ $? -eq 1 ] 27 + fi 28 + checkit "$RSYNC --delete -avH '$fromdir/' '$todir'" "$fromdir/" "$todir" 29 + 30 + diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns 31 + index 2ab97b69..f7da363f 100644 32 + --- a/testsuite/rsync.fns 33 + +++ b/testsuite/rsync.fns 34 + @@ -195,15 +195,15 @@ hands_setup() { 35 + echo some data > "$fromdir/dir/subdir/foobar.baz" 36 + mkdir "$fromdir/dir/subdir/subsubdir" 37 + if [ -r /etc ]; then 38 + - ls -ltr /etc > "$fromdir/dir/subdir/subsubdir/etc-ltr-list" 39 + + ls -ltr /etc > "$fromdir/dir/subdir/subsubdir/etc-ltr-list" || [ $? -eq 1 ] 40 + else 41 + - ls -ltr / > "$fromdir/dir/subdir/subsubdir/etc-ltr-list" 42 + + ls -ltr / > "$fromdir/dir/subdir/subsubdir/etc-ltr-list" || [ $? -eq 1 ] 43 + fi 44 + mkdir "$fromdir/dir/subdir/subsubdir2" 45 + if [ -r /bin ]; then 46 + - ls -lt /bin > "$fromdir/dir/subdir/subsubdir2/bin-lt-list" 47 + + ls -lt /bin > "$fromdir/dir/subdir/subsubdir2/bin-lt-list" || [ $? -eq 1 ] 48 + else 49 + - ls -lt / > "$fromdir/dir/subdir/subsubdir2/bin-lt-list" 50 + + ls -lt / > "$fromdir/dir/subdir/subsubdir2/bin-lt-list" || [ $? -eq 1 ] 51 + fi 52 + 53 + # echo testing head: 54 + -- 55 + 2.50.1 56 +
+4 -8
pkgs/applications/version-management/git/default.nix
··· 60 60 assert svnSupport -> perlSupport; 61 61 62 62 let 63 - version = "2.50.1"; 63 + version = "2.51.0"; 64 64 svn = subversionClient.override { perlBindings = perlSupport; }; 65 65 gitwebPerlLibs = with perlPackages; [ 66 66 CGI ··· 89 89 }.tar.xz" 90 90 else 91 91 "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"; 92 - hash = "sha256-fj5sNt7L2PHu3RTULbZnS+A2ccIgSGS++ipBdWxcj8Q="; 92 + hash = "sha256-YKfCJRzC5YjVzYe65WcmBhfG3gwi3KnNv8TH0riZC2I="; 93 93 }; 94 94 95 95 outputs = [ "out" ] ++ lib.optional withManual "doc"; ··· 120 120 # Fix references to gettext introduced by ./git-sh-i18n.patch 121 121 substituteInPlace git-sh-i18n.sh \ 122 122 --subst-var-by gettext ${gettext} 123 + substituteInPlace contrib/credential/libsecret/Makefile \ 124 + --replace-fail 'pkg-config' "$PKG_CONFIG" 123 125 '' 124 126 + lib.optionalString doInstallCheck '' 125 127 # ensure we are using the correct shell when executing the test scripts ··· 299 301 cp -a contrib $out/share/git/ 300 302 mkdir -p $out/share/bash-completion/completions 301 303 ln -s $out/share/git/contrib/completion/git-prompt.sh $out/share/bash-completion/completions/ 302 - # only readme, developed in another repo 303 - rm -r contrib/hooks/multimail 304 - mkdir -p $out/share/git-core/contrib 305 - cp -a contrib/hooks/ $out/share/git-core/contrib/ 306 - substituteInPlace $out/share/git-core/contrib/hooks/pre-auto-gc-battery \ 307 - --replace ' grep' ' ${gnugrep}/bin/grep' \ 308 304 309 305 # grep is a runtime dependency, need to patch so that it's found 310 306 substituteInPlace $out/libexec/git-core/git-sh-setup \
+10 -14
pkgs/applications/version-management/git/git-send-email-honor-PATH.patch
··· 1 1 diff --git a/Documentation/git-send-email.adoc b/Documentation/git-send-email.adoc 2 - index 7f223db42d..7e46a07d31 100644 2 + index 5d13a856a7..5c9978c1e4 100644 3 3 --- a/Documentation/git-send-email.adoc 4 4 +++ b/Documentation/git-send-email.adoc 5 - @@ -177,7 +177,7 @@ Sending 5 + @@ -190,7 +190,7 @@ Sending 6 6 The command will be executed in the shell if necessary. Default 7 7 is the value of `sendemail.sendmailCmd`. If unspecified, and if 8 - --smtp-server is also unspecified, git-send-email will search 9 - - for `sendmail` in `/usr/sbin`, `/usr/lib` and $PATH. 10 - + for `sendmail` in $PATH. 8 + `--smtp-server` is also unspecified, `git send-email` will search 9 + - for `sendmail` in `/usr/sbin`, `/usr/lib` and `$PATH`. 10 + + for `sendmail` in `$PATH`. 11 11 12 12 --smtp-encryption=<encryption>:: 13 13 Specify in what way encrypting begins for the SMTP connection. 14 - @@ -233,9 +233,9 @@ a password is obtained using 'git-credential'. 15 - --smtp-server=<host>:: 14 + @@ -247,7 +247,7 @@ a password is obtained using linkgit:git-credential[1]. 16 15 If set, specifies the outgoing SMTP server to use (e.g. 17 16 `smtp.example.com` or a raw IP address). If unspecified, and if 18 - - `--sendmail-cmd` is also unspecified, the default is to search 19 - - for `sendmail` in `/usr/sbin`, `/usr/lib` and $PATH if such a 20 - - program is available, falling back to `localhost` otherwise. 21 - + `--sendmail-cmd` is also unspecified, the default is to search for 22 - + `sendmail` in $PATH if such a program is available, falling back to 23 - + `localhost` otherwise. 17 + `--sendmail-cmd` is also unspecified, the default is to search 18 + - for `sendmail` in `/usr/sbin`, `/usr/lib` and `$PATH` if such a 19 + + for `sendmail` in `$PATH` if such a 20 + program is available, falling back to `localhost` otherwise. 24 21 + 25 22 For backward compatibility, this option can also specify a full pathname 26 - of a sendmail-like program instead; the program must support the `-i` 27 23 diff --git a/git-send-email.perl b/git-send-email.perl 28 24 index 798d59b84f..69c9cc2a7d 100755 29 25 --- a/git-send-email.perl
+2 -2
pkgs/build-support/build-mozilla-mach/default.nix
··· 575 575 ( 576 576 if (lib.versionAtLeast version "143") then 577 577 nss_latest 578 - else if (lib.versionAtLeast version "129") then 578 + else if (lib.versionAtLeast version "141") then 579 579 nss_3_114 580 580 else 581 - nss_esr # 3.90 581 + nss_esr 582 582 ) 583 583 ] 584 584 ++ lib.optional alsaSupport alsa-lib
+5 -1
pkgs/build-support/cc-wrapper/add-hardening.sh
··· 52 52 53 53 54 54 if (( "${NIX_DEBUG:-0}" >= 1 )); then 55 - declare -a allHardeningFlags=(fortify fortify3 shadowstack stackprotector stackclashprotection nostrictaliasing pacret strictflexarrays1 strictflexarrays3 pie pic strictoverflow format trivialautovarinit zerocallusedregs) 55 + declare -a allHardeningFlags=(fortify fortify3 shadowstack stackprotector stackclashprotection nostrictaliasing pacret strictflexarrays1 strictflexarrays3 pie pic strictoverflow glibcxxassertions format trivialautovarinit zerocallusedregs) 56 56 declare -A hardeningDisableMap=() 57 57 58 58 # Determine which flags were effectively disabled so we can report below. ··· 110 110 pacret) 111 111 if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling pacret >&2; fi 112 112 hardeningCFlagsBefore+=('-mbranch-protection=pac-ret') 113 + ;; 114 + glibcxxassertions) 115 + if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling glibcxxassertions >&2; fi 116 + hardeningCFlagsBefore+=('-D_GLIBCXX_ASSERTIONS') 113 117 ;; 114 118 stackprotector) 115 119 if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling stackprotector >&2; fi
+19 -3
pkgs/build-support/go/module.nix
··· 64 64 # Go build flags. 65 65 GOFLAGS ? [ ], 66 66 67 + # Instead of building binary targets with 'go install', build test binaries with 'go test'. 68 + # The binaries found in $out/bin can be executed as go tests outside of the sandbox. 69 + # This is mostly useful outside of nixpkgs, for example to build integration/e2e tests 70 + # that won't run within the sandbox. 71 + buildTestBinaries ? false, 72 + 67 73 ... 68 74 }@args: 69 75 { ··· 346 352 export NIX_BUILD_CORES=1 347 353 fi 348 354 for pkg in $(getGoDirs ""); do 349 - echo "Building subPackage $pkg" 350 - buildGoDir install "$pkg" 355 + ${ 356 + if buildTestBinaries then 357 + '' 358 + echo "Building test binary for $pkg" 359 + buildGoDir "test -c -o $GOPATH/bin/" "$pkg" 360 + '' 361 + else 362 + '' 363 + echo "Building subPackage $pkg" 364 + buildGoDir install "$pkg" 365 + '' 366 + } 351 367 done 352 368 '' 353 369 + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' ··· 367 383 '' 368 384 ); 369 385 370 - doCheck = args.doCheck or true; 386 + doCheck = args.doCheck or (!buildTestBinaries); 371 387 checkPhase = 372 388 args.checkPhase or '' 373 389 runHook preCheck
+9
pkgs/build-support/go/tests.nix
··· 1 + { 2 + lib, 3 + callPackage, 4 + }: 5 + 6 + lib.packagesFromDirectoryRecursive { 7 + inherit callPackage; 8 + directory = ./tests; 9 + }
+3
pkgs/build-support/go/tests/build-test-binaries/go.mod
··· 1 + module build-test-binaries 2 + 3 + go 1.24
+7
pkgs/build-support/go/tests/build-test-binaries/main_test.go
··· 1 + package main 2 + 3 + import "testing" 4 + 5 + func TestHelloFromTest(t *testing.T) { 6 + t.Log("Hello from test") 7 + }
+34
pkgs/build-support/go/tests/build-test-binaries/package.nix
··· 1 + { 2 + buildGoModule, 3 + runCommandCC, 4 + }: 5 + 6 + let 7 + testPackage = buildGoModule { 8 + name = "build-test-binaries"; 9 + src = ./.; 10 + vendorHash = null; 11 + buildTestBinaries = true; 12 + }; 13 + in 14 + 15 + runCommandCC "build-test-binaries-check" 16 + { 17 + nativeBuildInputs = [ testPackage ]; 18 + passthru = { inherit testPackage; }; 19 + } 20 + '' 21 + fail() { 22 + echo "Test failed: $1" >&2 23 + exit 1 24 + } 25 + 26 + command -v build-test-binaries.test || 27 + fail "build-test-binaries.test not found in PATH" 28 + 29 + build-test-binaries.test -test.v | tee $out || 30 + fail "build-test-binaries.test failed" 31 + 32 + grep -q "Hello from test" $out || 33 + fail "Output does not contain expected string" 34 + ''
+7 -7
pkgs/build-support/make-desktopitem/default.nix
··· 32 32 33 33 `attrs` 34 34 35 - : An AttrSet with the following definitions. See https://specifications.freedesktop.org/desktop-entry-spec/1.4/recognized-keys.html#id-1.7.6 for definitions. 35 + : An AttrSet with the following definitions. See https://specifications.freedesktop.org/desktop-entry-spec/1.5/recognized-keys.html#id-1.7.6 for definitions. 36 36 37 37 - `name` (string): The name of the desktop file (excluding the .desktop or .directory file extensions) 38 38 - `destination` (string): The directory that will contain the desktop entry file (Default: "/share/applications") ··· 57 57 - `startupNotify` (bool): The `StartupNotify` of the desktop entry 58 58 - `startupWMClass` (string): The `StartupWMClass` of the desktop entry 59 59 - `url` (string): The `URL` of the Link-type desktop entry 60 - - `prefersNonDefaultGPU` (bool): The `PrefersNonDefaultGPU` (non-standard) of the desktop entry 60 + - `prefersNonDefaultGPU` (bool): The `PrefersNonDefaultGPU` of the desktop entry 61 + - `singleMainWindow` (bool): The `SingleMainWindow` of the desktop entry 61 62 - `extraConfig` (AttrSet): Additional values to be added literally to the final item, e.g. vendor extensions 62 63 63 64 # Output ··· 66 67 67 68 # Developer Note 68 69 69 - All possible values are as defined by the spec, version 1.4. 70 + All possible values are as defined by the spec, version 1.5. 70 71 Please keep in spec order for easier maintenance. 71 72 When adding a new value, don't forget to update the Version field below! 72 73 See https://specifications.freedesktop.org/desktop-entry-spec/latest ··· 99 100 startupWMClass ? null, 100 101 url ? null, 101 102 prefersNonDefaultGPU ? null, 102 - # not supported until version 1.5, which is not supported by our desktop-file-utils as of 2022-02-23 103 - # singleMainWindow ? null, 103 + singleMainWindow ? null, 104 104 extraConfig ? { }, # Additional values to be added literally to the final item, e.g. vendor extensions 105 105 }: 106 106 let ··· 133 133 # Please keep in spec order. 134 134 mainSection = { 135 135 "Type" = type; 136 - "Version" = "1.4"; 136 + "Version" = "1.5"; 137 137 "Name" = desktopName; 138 138 "GenericName" = genericName; 139 139 "NoDisplay" = boolOrNullToString noDisplay; ··· 155 155 "StartupWMClass" = startupWMClass; 156 156 "URL" = url; 157 157 "PrefersNonDefaultGPU" = boolOrNullToString prefersNonDefaultGPU; 158 - # "SingleMainWindow" = boolOrNullToString singleMainWindow; 158 + "SingleMainWindow" = boolOrNullToString singleMainWindow; 159 159 } 160 160 // extraConfig; 161 161
+1 -1
pkgs/build-support/rust/hooks/cargo-build-hook.sh
··· 19 19 20 20 local flagsArray=( 21 21 "-j" "$NIX_BUILD_CORES" 22 - "--target" "@rustcTarget@" 22 + "--target" "@rustcTargetSpec@" 23 23 "--offline" 24 24 ) 25 25
+1 -1
pkgs/build-support/rust/hooks/cargo-check-hook.sh
··· 29 29 fi 30 30 31 31 flagsArray+=( 32 - "--target" "@rustcTarget@" 32 + "--target" "@rustcTargetSpec@" 33 33 "--offline" 34 34 ) 35 35
+1 -1
pkgs/build-support/rust/hooks/cargo-nextest-hook.sh
··· 10 10 fi 11 11 12 12 local flagsArray=( 13 - "--target" "@rustcTarget@" 13 + "--target" "@rustcTargetSpec@" 14 14 "--offline" 15 15 ) 16 16
+4 -4
pkgs/build-support/rust/hooks/default.nix
··· 20 20 cargoBuildHook = makeSetupHook { 21 21 name = "cargo-build-hook.sh"; 22 22 substitutions = { 23 - inherit (stdenv.targetPlatform.rust) rustcTarget; 23 + inherit (stdenv.targetPlatform.rust) rustcTargetSpec; 24 24 inherit (rust.envVars) setEnv; 25 25 26 26 }; ··· 35 35 cargoCheckHook = makeSetupHook { 36 36 name = "cargo-check-hook.sh"; 37 37 substitutions = { 38 - inherit (stdenv.targetPlatform.rust) rustcTarget; 38 + inherit (stdenv.targetPlatform.rust) rustcTargetSpec; 39 39 inherit (rust.envVars) setEnv; 40 40 }; 41 41 passthru.tests = { ··· 63 63 name = "cargo-nextest-hook.sh"; 64 64 propagatedBuildInputs = [ cargo-nextest ]; 65 65 substitutions = { 66 - inherit (stdenv.targetPlatform.rust) rustcTarget; 66 + inherit (stdenv.targetPlatform.rust) rustcTargetSpec; 67 67 }; 68 68 passthru.tests = { 69 69 test = tests.rust-hooks.cargoNextestHook; ··· 121 121 pkgsHostTarget.rustc 122 122 ]; 123 123 substitutions = { 124 - inherit (stdenv.targetPlatform.rust) rustcTarget; 124 + inherit (stdenv.targetPlatform.rust) rustcTargetSpec; 125 125 inherit (rust.envVars) setEnv; 126 126 127 127 };
+1 -1
pkgs/build-support/rust/hooks/maturin-build-hook.sh
··· 20 20 local flagsArray=( 21 21 "--jobs=$NIX_BUILD_CORES" 22 22 "--offline" 23 - "--target" "@rustcTarget@" 23 + "--target" "@rustcTargetSpec@" 24 24 "--manylinux" "off" 25 25 "--strip" 26 26 "--release"
+1 -1
pkgs/build-support/setup-hooks/compress-man-pages.sh
··· 11 11 # Compress all uncompressed manpages. Don't follow symlinks, etc. 12 12 # gzip -f is needed to not error out on hard links. 13 13 find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \ 14 - | xargs -0 -n1 -P "$NIX_BUILD_CORES" gzip -f 14 + | xargs -0 -n1 -P "$NIX_BUILD_CORES" gzip -n -f 15 15 16 16 # Point symlinks to compressed manpages. 17 17 find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 \
+1 -1
pkgs/build-support/testers/expect-failure.sh
··· 41 41 # 42 42 # NOTE: This MUST be done after the original builder has finished! 43 43 # Otherwise we could pollute its environment. 44 - if [ -e "${NIX_ATTRS_SH_FILE:-}" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi 44 + if [ -e "${NIX_ATTRS_SH_FILE:-}" ]; then . "$NIX_ATTRS_SH_FILE"; fi 45 45 46 46 # Variables injected by replaceVars 47 47 #
+8 -3
pkgs/by-name/an/anvil-editor/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - buildGo123Module, 4 + buildGoModule, 5 5 fetchzip, 6 6 pkg-config, 7 7 copyDesktopItems, ··· 15 15 buildPackages, 16 16 }: 17 17 18 - buildGo123Module (finalAttrs: { 18 + buildGoModule (finalAttrs: { 19 19 pname = "anvil-editor"; 20 20 version = "0.6"; 21 21 ··· 30 30 31 31 vendorHash = "sha256-1oFBV7D7JgOt5yYAxVvC4vL4ccFv3JrNngZbo+5pzrk="; 32 32 33 - anvilExtras = buildGo123Module { 33 + anvilExtras = buildGoModule { 34 34 pname = "anvil-editor-extras"; 35 35 inherit (finalAttrs) version src meta; 36 36 vendorHash = "sha256-4pfk5XuwDbCWFZIF+1l+dy8NfnGNjgHmSg9y6/RnTSo="; ··· 51 51 vulkan-headers 52 52 libGL 53 53 xorg.libX11 54 + xorg.libxcb 54 55 xorg.libXcursor 55 56 xorg.libXfixes 56 57 ]; ··· 93 94 mainProgram = "anvil"; 94 95 maintainers = with lib.maintainers; [ aleksana ]; 95 96 platforms = with lib.platforms; unix ++ windows; 97 + # Doesn't build with >buildGo123Module. 98 + # Multiple errors like the following: 99 + # '> vendor/gioui.org/internal/vk/vulkan.go:1916:9: cannot define new methods on non-local type SurfaceCapabilities' 100 + broken = true; 96 101 }; 97 102 })
+10 -10
pkgs/by-name/ar/arpa2common/package.nix
··· 11 11 graphviz, 12 12 libsodium, 13 13 lmdb, 14 - openssl, 14 + krb5, 15 15 pkg-config, 16 16 ragel, 17 17 }: 18 18 19 19 stdenv.mkDerivation (finalAttrs: { 20 20 pname = "arpa2common"; 21 - version = "2.6.2"; 21 + version = "2.6.4"; 22 22 23 23 src = fetchFromGitLab { 24 24 owner = "arpa2"; 25 25 repo = "arpa2common"; 26 26 rev = "v${finalAttrs.version}"; 27 - hash = "sha256-eWfWaO6URCK2FWQ+NYAoeCONkovgsVDPSRQVCGFnW3s="; 27 + hash = "sha256-qqdc+eYLnYQs2Q7sk0D5Trr1GbRTmV1w4sZiVwFwfMw="; 28 28 }; 29 29 30 - patches = [ 31 - (fetchpatch { 32 - url = "https://gitlab.com/arpa2/arpa2common/-/commit/13ea82df60b87a5367db00a8c6f3502e8ecb7298.patch"; 33 - hash = "sha256-V9Dhr6PeArqXnuXmFuDjcirlGl7xovq7VQZsrbbMFSk="; 34 - }) 35 - ]; 30 + postPatch = '' 31 + sed '1i#include <stddef.h>' -i lib/identity/identity.rl 32 + ''; 36 33 37 34 nativeBuildInputs = [ 38 35 cmake ··· 46 43 e2fsprogs 47 44 libsodium 48 45 lmdb 49 - openssl 50 46 ragel 47 + ]; 48 + 49 + buildInputs = [ 50 + krb5 51 51 ]; 52 52 53 53 meta = {
+6 -3
pkgs/by-name/ar/arrow-cpp/package.nix
··· 37 37 openssl, 38 38 perl, 39 39 pkg-config, 40 - protobuf, 40 + protobuf_31, 41 41 python3, 42 42 rapidjson, 43 43 re2, ··· 145 145 libbacktrace 146 146 lz4 147 147 nlohmann_json # alternative JSON parser to rapidjson 148 - protobuf # substrait requires protobuf 148 + protobuf_31 # substrait requires protobuf 149 149 rapidjson 150 150 re2 151 151 snappy ··· 157 157 ++ lib.optionals enableFlight [ 158 158 grpc 159 159 openssl 160 - protobuf 160 + protobuf_31 161 161 sqlite 162 162 ] 163 163 ++ lib.optionals enableS3 [ ··· 177 177 LZ4_ROOT = lz4; 178 178 ZSTD_ROOT = zstd.dev; 179 179 }; 180 + 181 + # fails tests on glibc with this enabled 182 + hardeningDisable = [ "glibcxxassertions" ]; 180 183 181 184 preConfigure = '' 182 185 patchShebangs build-support/
+3 -3
pkgs/by-name/at/at-spi2-core/package.nix
··· 21 21 libXi, 22 22 libXext, 23 23 gnome, 24 - systemd, 25 - systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, 24 + systemdLibs, 25 + systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemdLibs, 26 26 }: 27 27 28 28 stdenv.mkDerivation rec { ··· 62 62 ] 63 63 ++ lib.optionals systemdSupport [ 64 64 # libsystemd is a needed for dbus-broker support 65 - systemd 65 + systemdLibs 66 66 ]; 67 67 68 68 # In atspi-2.pc dbus-1 glib-2.0
+7
pkgs/by-name/at/atf/package.nix
··· 53 53 kyua 54 54 ]; 55 55 56 + # Don’t install the test programs for ATF itself; they’re useless 57 + # other than as part of the `installCheckPhase`, and they contain 58 + # non‐reproducible references to the build directory. 59 + postInstall = '' 60 + rm -r $out/tests 61 + ''; 62 + 56 63 installCheckPhase = '' 57 64 runHook preInstallCheck 58 65 HOME=$TMPDIR PATH=$out/bin:$PATH kyua test
+26 -1
pkgs/by-name/au/audiofile/package.nix
··· 16 16 }: 17 17 fetchpatch { 18 18 inherit sha256 name; 19 - url = "https://salsa.debian.org/multimedia-team/audiofile/raw/debian/0.3.6-4/debian/patches/${debname}"; 19 + url = "https://salsa.debian.org/multimedia-team/audiofile/raw/debian/0.3.6-7/debian/patches/${debname}"; 20 20 }; 21 21 22 22 in ··· 96 96 name = "CVE-2017-6833.patch"; 97 97 debname = "10_Check-for-division-by-zero-in-BlockCodec-runPull.patch"; 98 98 sha256 = "1rlislkjawq98bbcf1dgl741zd508wwsg85r37ca7pfdf6wgl6z7"; 99 + }) 100 + (fetchDebianPatch { 101 + name = "CVE-2018-13440.patch"; 102 + debname = "11_CVE-2018-13440.patch"; 103 + sha256 = "sha256-qDfjiBJ4QXgn8588Ra1X0ViH0jBjtFS/+2zEGIUIhuo="; 104 + }) 105 + (fetchDebianPatch { 106 + name = "CVE-2018-17095.patch"; 107 + debname = "12_CVE-2018-17095.patch"; 108 + sha256 = "sha256-FC89EFZuRLcj5x4wZVqUlitEMTRPSZk+qzQpIoVk9xY="; 109 + }) 110 + (fetchDebianPatch { 111 + name = "CVE-2022-24599.patch"; 112 + debname = "0013-Fix-CVE-2022-24599.patch"; 113 + sha256 = "sha256-DHJQ4B6cvKfSlXy66ZC5RNaCMDaygj8dWLZZhJnhw1E="; 114 + }) 115 + (fetchDebianPatch { 116 + name = "1_CVE-2019-13147.patch"; 117 + debname = "0014-Partial-fix-of-CVE-2019-13147.patch"; 118 + sha256 = "sha256-clb/XiIZbmttPr2dT9AZsbQ97W6lwifEwMO4l2ZEh0k="; 119 + }) 120 + (fetchDebianPatch { 121 + name = "2_CVE-2019-13147.patch"; 122 + debname = "0015-Partial-fix-of-CVE-2019-13147.patch"; 123 + sha256 = "sha256-JOZIw962ae7ynnjJXGO29i8tuU5Dhk67DmB0o5/vSf4="; 99 124 }) 100 125 ]; 101 126
+2 -2
pkgs/by-name/av/avalanchego/package.nix
··· 1 1 { 2 - buildGo123Module, 2 + buildGoModule, 3 3 fetchFromGitHub, 4 4 lib, 5 5 nix-update-script, 6 6 }: 7 7 8 - buildGo123Module (finalAttrs: { 8 + buildGoModule (finalAttrs: { 9 9 pname = "avalanchego"; 10 10 version = "1.13.2"; 11 11
+1
pkgs/by-name/az/azahar/package.nix
··· 117 117 pipewire 118 118 qt6.qtwayland 119 119 xorg.libX11 120 + xorg.libxcb 120 121 xorg.libXext 121 122 ] 122 123 ++ optionals stdenv.hostPlatform.isDarwin [
+6
pkgs/by-name/ba/bash-completion/package.nix
··· 22 22 hash = "sha256-M2m9XkGKdfuZCGOSWu1bQgOYrOuzIOxMAwaz6uI/EHo="; 23 23 }; 24 24 25 + postPatch = '' 26 + # fix `mount -t` tab completion 27 + substituteInPlace bash_completion \ 28 + --replace-fail "/lib/modules" "/run/booted-system/kernel-modules/lib/modules" 29 + ''; 30 + 25 31 strictDeps = true; 26 32 nativeBuildInputs = [ autoreconfHook ]; 27 33
+44
pkgs/by-name/bl/bluez-headers/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + }: 6 + 7 + # This package only provides the bluetooth headers from the bluez package 8 + # for consumption in Python, which cannot consume bluez.dev due to multiple 9 + # infinite recursion paths. 10 + 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "bluez-headers"; 13 + version = "5.83"; 14 + 15 + # This package has the source, because of the emulatorAvailable check in the 16 + # bluez function args, that causes an infinite recursion with Python on cross 17 + # builds. 18 + src = fetchurl { 19 + url = "mirror://kernel/linux/bluetooth/bluez-${finalAttrs.version}.tar.xz"; 20 + hash = "sha256-EIUi2QnSIFgTmb/sk9qrYgNVOc7vPdo+eZcHhcY70kw="; 21 + }; 22 + 23 + dontConfigure = true; 24 + dontBuild = true; 25 + 26 + installPhase = '' 27 + mkdir -p $out/include/bluetooth 28 + cp -v lib/*.h "$out/include/bluetooth/" 29 + ''; 30 + 31 + meta = { 32 + homepage = "https://www.bluez.org/"; 33 + description = "Official Linux Bluetooth protocol stack"; 34 + changelog = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/ChangeLog?h=${finalAttrs.version}"; 35 + license = with lib.licenses; [ 36 + bsd2 37 + gpl2Plus 38 + lgpl21Plus 39 + mit 40 + ]; 41 + maintainers = with lib.maintainers; [ ]; 42 + platforms = lib.platforms.linux; 43 + }; 44 + })
+10 -17
pkgs/by-name/bl/bluez/package.nix
··· 3 3 stdenv, 4 4 alsa-lib, 5 5 autoreconfHook, 6 + bluez-headers, 6 7 dbus, 7 8 docutils, 8 9 ell, ··· 28 29 29 30 stdenv.mkDerivation (finalAttrs: { 30 31 pname = "bluez"; 31 - version = "5.83"; 32 - 33 - src = fetchurl { 34 - url = "mirror://kernel/linux/bluetooth/bluez-${finalAttrs.version}.tar.xz"; 35 - hash = "sha256-EIUi2QnSIFgTmb/sk9qrYgNVOc7vPdo+eZcHhcY70kw="; 36 - }; 32 + inherit (bluez-headers) version src; 37 33 38 34 patches = [ 39 35 (fetchurl { ··· 187 183 }; 188 184 189 185 meta = { 190 - homepage = "https://www.bluez.org/"; 191 - description = "Official Linux Bluetooth protocol stack"; 192 - changelog = "https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/ChangeLog?h=${finalAttrs.version}"; 193 - license = with lib.licenses; [ 194 - bsd2 195 - gpl2Plus 196 - lgpl21Plus 197 - mit 198 - ]; 199 186 mainProgram = "btinfo"; 200 - maintainers = with lib.maintainers; [ ]; 201 - platforms = lib.platforms.linux; 187 + inherit (bluez-headers.meta) 188 + changelog 189 + description 190 + homepage 191 + license 192 + maintainers 193 + platforms 194 + ; 202 195 }; 203 196 })
+2 -2
pkgs/by-name/bm/bmake/package.nix
··· 11 11 12 12 stdenv.mkDerivation (finalAttrs: { 13 13 pname = "bmake"; 14 - version = "20250707"; 14 + version = "20250804"; 15 15 16 16 src = fetchurl { 17 17 url = "https://www.crufty.net/ftp/pub/sjg/bmake-${finalAttrs.version}.tar.gz"; 18 - hash = "sha256-phJApAZdkMOSXdd0+Po9c97sGnMiiobulfzYIGPSiwg="; 18 + hash = "sha256-C0kDdkSyUyBtLnENRuMoWeYt/ixsjnIYrkOfLvUN6K0="; 19 19 }; 20 20 21 21 patches = [
+12
pkgs/by-name/bp/bpftools/include-asm-types-for-powerpc64.patch
··· 1 + diff '--color=auto' -ruN a/tools/include/uapi/linux/types.h b/tools/include/uapi/linux/types.h 2 + --- a/tools/include/uapi/linux/types.h 2025-05-18 06:26:10.000000000 +0000 3 + +++ b/tools/include/uapi/linux/types.h 2025-07-04 08:00:39.772748792 +0000 4 + @@ -2,7 +2,7 @@ 5 + #ifndef _UAPI_LINUX_TYPES_H 6 + #define _UAPI_LINUX_TYPES_H 7 + 8 + -#include <asm-generic/int-ll64.h> 9 + +#include <asm/types.h> 10 + 11 + /* copied from linux:include/uapi/linux/types.h */ 12 + #define __bitwise
+6
pkgs/by-name/bp/bpftools/package.nix
··· 22 22 23 23 separateDebugInfo = true; 24 24 25 + patches = [ 26 + # fix unknown type name '__vector128' on powerpc64* 27 + # https://www.spinics.net/lists/bpf/msg28613.html 28 + ./include-asm-types-for-powerpc64.patch 29 + ]; 30 + 25 31 depsBuildBuild = [ buildPackages.stdenv.cc ]; 26 32 nativeBuildInputs = [ 27 33 python3
+2 -2
pkgs/by-name/bt/btrfs-progs/package.nix
··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "btrfs-progs"; 24 - version = "6.15"; 24 + version = "6.16"; 25 25 26 26 src = fetchurl { 27 27 url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz"; 28 - hash = "sha256-V9pCjdIZn9iNg+zxytBWeM54ZA735S12M76Yh872dLs="; 28 + hash = "sha256-Makw+HN8JhioJK1L0f3YP1QQPg6qFaqtxIT/rjNGb8U="; 29 29 }; 30 30 31 31 nativeBuildInputs = [
+5
pkgs/by-name/bu/bubblewrap/package.nix
··· 23 23 hash = "sha256-8IDMLQPeO576N1lizVudXUmTV6hNOiowjzRpEWBsZ+U="; 24 24 }; 25 25 26 + outputs = [ 27 + "out" 28 + "dev" 29 + ]; 30 + 26 31 postPatch = '' 27 32 substituteInPlace tests/libtest.sh \ 28 33 --replace "/var/tmp" "$TMPDIR"
+2 -2
pkgs/by-name/ca/cacert/package.nix
··· 23 23 lib.concatStringsSep "\n\n" extraCertificateStrings 24 24 ); 25 25 26 - srcVersion = "3.114"; 26 + srcVersion = "3.115"; 27 27 version = if nssOverride != null then nssOverride.version else srcVersion; 28 28 meta = with lib; { 29 29 homepage = "https://curl.haxx.se/docs/caextract.html"; ··· 47 47 owner = "nss-dev"; 48 48 repo = "nss"; 49 49 rev = "NSS_${lib.replaceStrings [ "." ] [ "_" ] version}_RTM"; 50 - hash = "sha256-YVtXk1U9JtqfOH7+m/+bUI/yXJcydqjjGbCy/5xbMe8="; 50 + hash = "sha256-8PeFeaIOtjBZJLBx3ONwZlK5SaLnjKEFoZWvVsu/3tA="; 51 51 }; 52 52 53 53 dontBuild = true;
+4 -4
pkgs/by-name/ca/cargo-c/package.nix
··· 12 12 13 13 let 14 14 # this version may need to be updated along with package version 15 - cargoVersion = "0.89.0"; 15 + cargoVersion = "0.90.0"; 16 16 in 17 17 rustPlatform.buildRustPackage rec { 18 18 pname = "cargo-c"; 19 - version = "0.10.14"; 19 + version = "0.10.15"; 20 20 21 21 src = fetchCrate { 22 22 inherit pname; 23 23 version = "${version}+cargo-${cargoVersion}"; 24 - hash = "sha256-t6cbufPdpyaFzwEFWt19Nid2S5FXCJCS+SHJ0aJICX0="; 24 + hash = "sha256-szqDSHGihE+Oj8L3EBlC5XH4kSBYOptd0Xtk3MhXooQ="; 25 25 }; 26 26 27 - cargoHash = "sha256-nW+akmbpIGZnhJLBdwDAGI4m5eSwdT2Z/iY2RV4zMQY="; 27 + cargoHash = "sha256-36ygs/EhCktG1jmBnP9c7EgnfcWnGrqqcW3qAw+Yfy4="; 28 28 29 29 nativeBuildInputs = [ 30 30 pkg-config
+2 -2
pkgs/by-name/ce/certinfo/package.nix
··· 1 1 { 2 2 stdenv, 3 3 lib, 4 - buildGo123Module, 4 + buildGoModule, 5 5 fetchFromGitHub, 6 6 libX11, 7 7 }: 8 8 9 - buildGo123Module rec { 9 + buildGoModule rec { 10 10 pname = "certinfo"; 11 11 version = "1.0.24"; 12 12
+8 -6
pkgs/by-name/cr/cryptsetup/package.nix
··· 23 23 rebuildMan ? false, 24 24 }: 25 25 26 - stdenv.mkDerivation rec { 26 + stdenv.mkDerivation (finalAttrs: { 27 27 pname = "cryptsetup"; 28 - version = "2.8.0"; 28 + version = "2.8.1"; 29 29 30 30 outputs = [ 31 31 "bin" ··· 36 36 separateDebugInfo = true; 37 37 38 38 src = fetchurl { 39 - url = "mirror://kernel/linux/utils/cryptsetup/v${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 40 - hash = "sha256-zJ4tN8JahxzqN1ILKNUyIHsMFnD7EPxU1oBx9j9SQ6I="; 39 + url = 40 + "mirror://kernel/linux/utils/cryptsetup/v${lib.versions.majorMinor finalAttrs.version}/" 41 + + "cryptsetup-${finalAttrs.version}.tar.xz"; 42 + hash = "sha256-LDN563ZZfcq1CRFEmwE+JpfEv/zHFtu/DZsOj7u0b7Q="; 41 43 }; 42 44 43 45 patches = [ ··· 106 108 meta = { 107 109 homepage = "https://gitlab.com/cryptsetup/cryptsetup/"; 108 110 description = "LUKS for dm-crypt"; 109 - changelog = "https://gitlab.com/cryptsetup/cryptsetup/-/raw/v${version}/docs/v${version}-ReleaseNotes"; 111 + changelog = "https://gitlab.com/cryptsetup/cryptsetup/-/raw/v${finalAttrs.version}/docs/v${finalAttrs.version}-ReleaseNotes"; 110 112 license = lib.licenses.gpl2Plus; 111 113 mainProgram = "cryptsetup"; 112 114 maintainers = with lib.maintainers; [ ··· 115 117 ]; 116 118 platforms = with lib.platforms; linux; 117 119 }; 118 - } 120 + })
+25
pkgs/by-name/e2/e2fsprogs/package.nix
··· 14 14 e2fsprogs, 15 15 runCommand, 16 16 libarchive, 17 + bash, 18 + bashNonInteractive, 17 19 }: 18 20 19 21 stdenv.mkDerivation rec { 20 22 pname = "e2fsprogs"; 21 23 version = "1.47.3"; 24 + 25 + __structuredAttrs = true; 22 26 23 27 src = fetchurl { 24 28 url = "mirror://kernel/linux/kernel/people/tytso/e2fsprogs/v${version}/e2fsprogs-${version}.tar.xz"; ··· 42 46 "out" 43 47 "man" 44 48 "info" 49 + "scripts" 45 50 ] 46 51 ++ lib.optionals withFuse [ "fuse2fs" ]; 52 + 53 + strictDeps = true; 47 54 48 55 depsBuildBuild = [ buildPackages.stdenv.cc ]; 49 56 nativeBuildInputs = [ ··· 54 61 libuuid 55 62 gettext 56 63 libarchive 64 + bash 57 65 ] 58 66 ++ lib.optionals withFuse [ fuse3 ]; 59 67 ··· 86 94 if [ -f $out/lib/${pname}/e2scrub_all_cron ]; then 87 95 mv $out/lib/${pname}/e2scrub_all_cron $bin/bin/ 88 96 fi 97 + 98 + moveToOutput bin/mk_cmds "$scripts" 99 + moveToOutput bin/compile_et "$scripts" 100 + moveToOutput sbin/e2scrub "$scripts" 101 + moveToOutput sbin/e2scrub_all "$scripts" 89 102 '' 90 103 + lib.optionalString withFuse '' 91 104 mkdir -p $fuse2fs/bin ··· 93 106 ''; 94 107 95 108 enableParallelBuilding = true; 109 + 110 + # non-glibc gettext has issues with this 111 + outputChecks = lib.optionalAttrs stdenv.hostPlatform.isGnu { 112 + bin.disallowedRequisites = [ 113 + bash 114 + bashNonInteractive 115 + ]; 116 + out.disallowedRequisites = [ 117 + bash 118 + bashNonInteractive 119 + ]; 120 + }; 96 121 97 122 passthru.tests = { 98 123 simple-filesystem = runCommand "e2fsprogs-create-fs" { } ''
+2
pkgs/by-name/es/espanso/package.nix
··· 7 7 extra-cmake-modules, 8 8 dbus, 9 9 libX11, 10 + libxcb, 10 11 libXi, 11 12 libXtst, 12 13 libnotify, ··· 80 81 libXi 81 82 libXtst 82 83 libX11 84 + libxcb 83 85 xclip 84 86 xdotool 85 87 ];
+11 -18
pkgs/by-name/fl/flac/package.nix
··· 1 1 { 2 2 cmake, 3 3 doxygen, 4 - fetchFromGitHub, 4 + fetchurl, 5 5 graphviz, 6 6 lib, 7 7 libogg, ··· 10 10 pkg-config, 11 11 stdenv, 12 12 versionCheckHook, 13 - enableManpages ? buildPackages.pandoc.compiler.bootstrapAvailable, 14 13 }: 15 14 stdenv.mkDerivation (finalAttrs: { 16 15 pname = "flac"; 17 16 version = "1.5.0"; 18 17 19 - src = fetchFromGitHub { 20 - owner = "xiph"; 21 - repo = "flac"; 22 - tag = finalAttrs.version; 23 - hash = "sha256-B6XRai5UOAtY/7JXNbI3YuBgazi1Xd2ZOs6vvLq9LIs="; 18 + # Building from tarball instead of GitHub to include pre-built manpages. 19 + # This prevents huge numbers of rebuilds for pandoc / haskell-updates. 20 + # It also enables manpages for platforms where pandoc is not available. 21 + src = fetchurl { 22 + url = "http://downloads.xiph.org/releases/flac/flac-${finalAttrs.version}.tar.xz"; 23 + hash = "sha256-8sHHZZKoL//4QTujxKEpm2x6sGxzTe4D/YhjBIXCuSA="; 24 24 }; 25 25 26 26 hardeningDisable = [ "trivialautovarinit" ]; ··· 30 30 doxygen 31 31 graphviz 32 32 pkg-config 33 - ] 34 - ++ lib.optional enableManpages buildPackages.pandoc; 33 + ]; 35 34 36 35 buildInputs = [ libogg ]; 37 36 38 - cmakeFlags = 39 - lib.optionals (!stdenv.hostPlatform.isStatic) [ 40 - "-DBUILD_SHARED_LIBS=ON" 41 - ] 42 - ++ lib.optionals (!enableManpages) [ 43 - "-DINSTALL_MANPAGES=OFF" 44 - ]; 37 + cmakeFlags = lib.optionals (!stdenv.hostPlatform.isStatic) [ 38 + "-DBUILD_SHARED_LIBS=ON" 39 + ]; 45 40 46 41 CFLAGS = [ 47 42 "-O3" ··· 57 52 "dev" 58 53 "doc" 59 54 "out" 60 - ] 61 - ++ lib.optionals enableManpages [ 62 55 "man" 63 56 ]; 64 57
+2 -2
pkgs/by-name/fl/fluidsynth/package.nix
··· 14 14 15 15 stdenv.mkDerivation (finalAttrs: { 16 16 pname = "fluidsynth"; 17 - version = "2.4.6"; 17 + version = "2.4.7"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "FluidSynth"; 21 21 repo = "fluidsynth"; 22 22 tag = "v${finalAttrs.version}"; 23 - hash = "sha256-hy2kWJmvvmItXl05Nw9gWEYpoDg+NtP2veO2vZ00QhI="; 23 + hash = "sha256-z7DIX8KpPdtEHEMoxH7ewW32aXm27gfmWPZawwITyRQ="; 24 24 }; 25 25 26 26 outputs = [
+51
pkgs/by-name/fo/font-adobe-100dpi/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + font-util, 7 + bdftopcf, 8 + mkfontscale, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "font-adobe-100dpi"; 13 + version = "1.0.4"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/font/font-adobe-100dpi-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-tnr/RF4FYyjVP5cy05iE9V3Y0wP8Ja89u6M6i6NanM8="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ 23 + pkg-config 24 + bdftopcf 25 + font-util 26 + mkfontscale 27 + ]; 28 + 29 + buildInputs = [ font-util ]; 30 + 31 + configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ]; 32 + 33 + passthru = { 34 + updateScript = writeScript "update-${finalAttrs.pname}" '' 35 + #!/usr/bin/env nix-shell 36 + #!nix-shell -i bash -p common-updater-scripts 37 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 38 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 39 + | sort -V | tail -n1)" 40 + update-source-version ${finalAttrs.pname} "$version" 41 + ''; 42 + }; 43 + 44 + meta = { 45 + description = "Adobe 100dpi pcf fonts"; 46 + homepage = "https://gitlab.freedesktop.org/xorg/font/adobe-100dpi"; 47 + license = lib.licenses.hpndSellVariant; # plus a trademark that doesn't change the license 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+51
pkgs/by-name/fo/font-adobe-75dpi/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + font-util, 7 + bdftopcf, 8 + mkfontscale, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "font-adobe-75dpi"; 13 + version = "1.0.4"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/font/font-adobe-75dpi-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-EoGmLb7e0WnklcrhpbSH4fM28rTZcdkpEcWcEDmZuRE="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ 23 + pkg-config 24 + bdftopcf 25 + font-util 26 + mkfontscale 27 + ]; 28 + 29 + buildInputs = [ font-util ]; 30 + 31 + configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ]; 32 + 33 + passthru = { 34 + updateScript = writeScript "update-${finalAttrs.pname}" '' 35 + #!/usr/bin/env nix-shell 36 + #!nix-shell -i bash -p common-updater-scripts 37 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 38 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 39 + | sort -V | tail -n1)" 40 + update-source-version ${finalAttrs.pname} "$version" 41 + ''; 42 + }; 43 + 44 + meta = { 45 + description = "Adobe 75dpi pcf fonts"; 46 + homepage = "https://gitlab.freedesktop.org/xorg/font/adobe-75dpi"; 47 + license = lib.licenses.hpndSellVariant; # plus a trademark that doesn't change the license 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+51
pkgs/by-name/fo/font-adobe-utopia-100dpi/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + font-util, 7 + bdftopcf, 8 + mkfontscale, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "font-adobe-utopia-100dpi"; 13 + version = "1.0.5"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/font/font-adobe-utopia-100dpi-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-+4TsKXqQaXNUjKWbfG2uqtISRL7F0/sefJPfXvQ7Aks="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ 23 + pkg-config 24 + bdftopcf 25 + font-util 26 + mkfontscale 27 + ]; 28 + 29 + buildInputs = [ font-util ]; 30 + 31 + configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ]; 32 + 33 + passthru = { 34 + updateScript = writeScript "update-${finalAttrs.pname}" '' 35 + #!/usr/bin/env nix-shell 36 + #!nix-shell -i bash -p common-updater-scripts 37 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 38 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 39 + | sort -V | tail -n1)" 40 + update-source-version ${finalAttrs.pname} "$version" 41 + ''; 42 + }; 43 + 44 + meta = { 45 + description = "Adobe Utopia 100dpi pcf fonts"; 46 + homepage = "https://gitlab.freedesktop.org/xorg/font/adobe-utopia-100dpi"; 47 + license = lib.licenses.adobeUtopia; 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+51
pkgs/by-name/fo/font-adobe-utopia-75dpi/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + font-util, 7 + bdftopcf, 8 + mkfontscale, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "font-adobe-utopia-75dpi"; 13 + version = "1.0.5"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/font/font-adobe-utopia-75dpi-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-pyYkWTLQck+gxTjJkoEdY9WX5fU5KPQEjpyvViN5d2A="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ 23 + pkg-config 24 + bdftopcf 25 + font-util 26 + mkfontscale 27 + ]; 28 + 29 + buildInputs = [ font-util ]; 30 + 31 + configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ]; 32 + 33 + passthru = { 34 + updateScript = writeScript "update-${finalAttrs.pname}" '' 35 + #!/usr/bin/env nix-shell 36 + #!nix-shell -i bash -p common-updater-scripts 37 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 38 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 39 + | sort -V | tail -n1)" 40 + update-source-version ${finalAttrs.pname} "$version" 41 + ''; 42 + }; 43 + 44 + meta = { 45 + description = "Adobe Utopia 75dpi pcf fonts"; 46 + homepage = "https://gitlab.freedesktop.org/xorg/font/adobe-utopia-75dpi"; 47 + license = lib.licenses.adobeUtopia; 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+38
pkgs/by-name/fo/font-adobe-utopia-type1/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + mkfontscale, 6 + writeScript, 7 + }: 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "font-adobe-utopia-type1"; 10 + version = "1.0.5"; 11 + 12 + src = fetchurl { 13 + url = "mirror://xorg/individual/font/font-adobe-utopia-type1-${finalAttrs.version}.tar.xz"; 14 + hash = "sha256-TLKAvEdpOwfF4A/Q5a1XIaq+vAVIw/BndOXMPLz3Vpc="; 15 + }; 16 + 17 + strictDeps = true; 18 + nativeBuildInputs = [ mkfontscale ]; 19 + 20 + passthru = { 21 + updateScript = writeScript "update-${finalAttrs.pname}" '' 22 + #!/usr/bin/env nix-shell 23 + #!nix-shell -i bash -p common-updater-scripts 24 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 25 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 26 + | sort -V | tail -n1)" 27 + update-source-version ${finalAttrs.pname} "$version" 28 + ''; 29 + }; 30 + 31 + meta = { 32 + description = "Adobe Utopia PostScript Type 1 fonts"; 33 + homepage = "https://gitlab.freedesktop.org/xorg/font/adobe-utopia-type1"; 34 + license = lib.licenses.adobeUtopia; 35 + maintainers = [ ]; 36 + platforms = lib.platforms.unix; 37 + }; 38 + })
+38
pkgs/by-name/fo/font-bh-ttf/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + mkfontscale, 6 + writeScript, 7 + }: 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "font-bh-ttf"; 10 + version = "1.0.4"; 11 + 12 + src = fetchurl { 13 + url = "mirror://xorg/individual/font/font-bh-ttf-${finalAttrs.version}.tar.xz"; 14 + hash = "sha256-haX5DQDEjCsG/RJeqK28i47pdCnjB1CByHEJJu/sOlY="; 15 + }; 16 + 17 + strictDeps = true; 18 + nativeBuildInputs = [ mkfontscale ]; 19 + 20 + passthru = { 21 + updateScript = writeScript "update-${finalAttrs.pname}" '' 22 + #!/usr/bin/env nix-shell 23 + #!nix-shell -i bash -p common-updater-scripts 24 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 25 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 26 + | sort -V | tail -n1)" 27 + update-source-version ${finalAttrs.pname} "$version" 28 + ''; 29 + }; 30 + 31 + meta = { 32 + description = "Luxi TrueType fonts"; 33 + homepage = "https://gitlab.freedesktop.org/xorg/font/bh-ttf"; 34 + license = lib.licenses.unfreeRedistributable; 35 + maintainers = [ ]; 36 + platforms = lib.platforms.unix; 37 + }; 38 + })
+38
pkgs/by-name/fo/font-bh-type1/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + mkfontscale, 6 + writeScript, 7 + }: 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "font-bh-type1"; 10 + version = "1.0.4"; 11 + 12 + src = fetchurl { 13 + url = "mirror://xorg/individual/font/font-bh-type1-${finalAttrs.version}.tar.xz"; 14 + hash = "sha256-Gd7D7Aar3mvt0QCUV56Si+Dw/DvbT76T9MaczkBtcqY="; 15 + }; 16 + 17 + strictDeps = true; 18 + nativeBuildInputs = [ mkfontscale ]; 19 + 20 + passthru = { 21 + updateScript = writeScript "update-${finalAttrs.pname}" '' 22 + #!/usr/bin/env nix-shell 23 + #!nix-shell -i bash -p common-updater-scripts 24 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 25 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 26 + | sort -V | tail -n1)" 27 + update-source-version ${finalAttrs.pname} "$version" 28 + ''; 29 + }; 30 + 31 + meta = { 32 + description = "Luxi PostScript Type 1 fonts"; 33 + homepage = "https://gitlab.freedesktop.org/xorg/font/bh-type1"; 34 + license = lib.licenses.unfreeRedistributable; 35 + maintainers = [ ]; 36 + platforms = lib.platforms.unix; 37 + }; 38 + })
+38
pkgs/by-name/fo/font-encodings/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + mkfontscale, 6 + writeScript, 7 + }: 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "font-encodings"; 10 + version = "1.1.0"; 11 + 12 + src = fetchurl { 13 + url = "mirror://xorg/individual/font/encodings-${finalAttrs.version}.tar.xz"; 14 + hash = "sha256-n/E8YhdWz6EulfMrpIpbI4Oej1d9AEi+2mbGfatN6XU="; 15 + }; 16 + 17 + strictDeps = true; 18 + nativeBuildInputs = [ mkfontscale ]; 19 + 20 + passthru = { 21 + updateScript = writeScript "update-${finalAttrs.pname}" '' 22 + #!/usr/bin/env nix-shell 23 + #!nix-shell -i bash -p common-updater-scripts 24 + version="$(list-directory-versions --pname encodings \ 25 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 26 + | sort -V | tail -n1)" 27 + update-source-version ${finalAttrs.pname} "$version" 28 + ''; 29 + }; 30 + 31 + meta = { 32 + description = "Font encoding tables for libfontenc"; 33 + homepage = "https://gitlab.freedesktop.org/xorg/font/encodings"; 34 + license = lib.licenses.publicDomain; 35 + maintainers = [ ]; 36 + platforms = lib.platforms.unix; 37 + }; 38 + })
+42
pkgs/by-name/fo/font-mutt-misc/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + bdftopcf, 6 + mkfontscale, 7 + writeScript, 8 + }: 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "font-mutt-misc"; 11 + version = "1.0.4"; 12 + 13 + src = fetchurl { 14 + url = "mirror://xorg/individual/font/font-mutt-misc-${finalAttrs.version}.tar.xz"; 15 + hash = "sha256-sSNZ9OEsI7z8tEi5GCl+l1+pG+9Sk9iNPCU0PMdouyQ="; 16 + }; 17 + 18 + strictDeps = true; 19 + nativeBuildInputs = [ 20 + bdftopcf 21 + mkfontscale 22 + ]; 23 + 24 + passthru = { 25 + updateScript = writeScript "update-${finalAttrs.pname}" '' 26 + #!/usr/bin/env nix-shell 27 + #!nix-shell -i bash -p common-updater-scripts 28 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 29 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 30 + | sort -V | tail -n1)" 31 + update-source-version ${finalAttrs.pname} "$version" 32 + ''; 33 + }; 34 + 35 + meta = { 36 + description = "ClearU pcf fonts"; 37 + homepage = "https://gitlab.freedesktop.org/xorg/font/mutt-misc"; 38 + license = lib.licenses.mit; 39 + maintainers = [ ]; 40 + platforms = lib.platforms.unix; 41 + }; 42 + })
+1 -1
pkgs/by-name/fr/froide/package.nix
··· 135 135 ''; 136 136 137 137 nativeCheckInputs = with python.pkgs; [ 138 - (postgresql.withPackages (p: [ p.postgis ])).out 138 + (postgresql.withPackages (p: [ p.postgis ])) 139 139 postgresqlTestHook 140 140 pytest-django 141 141 pytest-playwright
+1
pkgs/by-name/ga/gamescope/package.nix
··· 129 129 pipewire 130 130 hwdata 131 131 xorg.libX11 132 + xorg.libxcb 132 133 wayland 133 134 wayland-protocols 134 135 vulkan-loader
+2 -2
pkgs/by-name/gl/glasskube/package.nix
··· 1 1 { 2 2 lib, 3 - buildGo124Module, 3 + buildGoModule, 4 4 buildNpmPackage, 5 5 fetchFromGitHub, 6 6 nix-update-script, ··· 37 37 }; 38 38 39 39 in 40 - buildGo124Module rec { 40 + buildGoModule rec { 41 41 inherit version; 42 42 pname = "glasskube"; 43 43
+2 -2
pkgs/by-name/gl/glib/package.nix
··· 74 74 75 75 stdenv.mkDerivation (finalAttrs: { 76 76 pname = "glib"; 77 - version = "2.84.3"; 77 + version = "2.84.4"; 78 78 79 79 outputs = [ 80 80 "bin" ··· 87 87 88 88 src = fetchurl { 89 89 url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz"; 90 - hash = "sha256-qk+HwyJb9XyoXzIIiPdISQGheTTKNwI8O9hDWnLbhj4="; 90 + hash = "sha256-ip6hCUPDb8EX4lP4DJHkd7ZzUlrkV2KUKFiu9XYxu5A="; 91 91 }; 92 92 93 93 patches =
+2
pkgs/by-name/go/gossip/package.nix
··· 17 17 wayland-scanner, 18 18 nix-update-script, 19 19 libX11, 20 + libxcb, 20 21 libXcursor, 21 22 libXi, 22 23 libXrandr, ··· 65 66 ++ lib.optionals stdenv.hostPlatform.isLinux [ 66 67 wayland 67 68 libX11 69 + libxcb 68 70 libXcursor 69 71 libXi 70 72 libXrandr
+2
pkgs/by-name/go/gotraceui/package.nix
··· 5 5 buildGoModule, 6 6 libGL, 7 7 libX11, 8 + libxcb, 8 9 libXcursor, 9 10 libXfixes, 10 11 libxkbcommon, ··· 42 43 libxkbcommon 43 44 wayland 44 45 libX11 46 + libxcb 45 47 libXcursor 46 48 libXfixes 47 49 libGL
+7 -2
pkgs/by-name/go/gowitness/package.nix
··· 1 1 { 2 2 lib, 3 - buildGo123Module, 3 + buildGoModule, 4 4 fetchFromGitHub, 5 + versionCheckHook, 5 6 }: 6 7 7 - buildGo123Module rec { 8 + buildGoModule rec { 8 9 pname = "gowitness"; 9 10 version = "3.0.5"; 10 11 ··· 21 22 "-s" 22 23 "-w" 23 24 ]; 25 + 26 + doInstallCheck = true; 27 + nativeInstallCheckInputs = [ versionCheckHook ]; 28 + versionCheckProgramArg = "version"; 24 29 25 30 meta = with lib; { 26 31 description = "Web screenshot utility";
+51
pkgs/by-name/ic/ico/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libX11, 7 + xorgproto, 8 + writeScript, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "ico"; 12 + version = "1.0.6"; 13 + 14 + src = fetchurl { 15 + url = "mirror://xorg/individual/app/ico-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-OPNp1DHnUygP3nD6SJzJTOIE+fjqvS9J/H0yr6afRAU="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ 24 + libX11 25 + xorgproto 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "Simple animation program that may be used for testing various X11 operations and extensions"; 41 + homepage = "https://gitlab.freedesktop.org/xorg/app/ico"; 42 + license = with lib.licenses; [ 43 + x11 44 + hpnd 45 + hpndSellVariant 46 + ]; 47 + mainProgram = "ico"; 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+2 -2
pkgs/by-name/im/imath/package.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "imath"; 10 - version = "3.2.0"; 10 + version = "3.2.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "AcademySoftwareFoundation"; 14 14 repo = "imath"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-tdJh8aRVakdu2zDeGA/0JCCNzdv6s6x55eUpgNJtuI0="; 16 + hash = "sha256-O8IpP2MQ7egDbHIiL5TNBygmQCiS6Q/0VSe0LypsM/g="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/by-name/in/inih/package.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "inih"; 11 - version = "60"; 11 + version = "61"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "benhoyt"; 15 15 repo = "inih"; 16 16 rev = "r${version}"; 17 - hash = "sha256-6U6/b7J4dGFwVPw31Vl+BEDrN2ygK43Hb344Uk8NdFs="; 17 + hash = "sha256-tSmdd9uAXaRQtnqj0hKuT0wofcZcYjqgPbhtaR+cr84="; 18 18 }; 19 19 20 20 nativeBuildInputs = [
+74 -17
pkgs/by-name/in/installShellFiles/setup-hook.sh
··· 16 16 # 17 17 # See comments on each function for more details. 18 18 19 - # installManPage <path> [...<path>] 19 + # installManPage [--name <path>] <path> [...<path>] 20 20 # 21 21 # Each argument is checked for its man section suffix and installed into the appropriate 22 22 # share/man/man<n>/ directory. The function returns an error if any paths don't have the man 23 23 # section suffix (with optional .gz compression). 24 + # 25 + # Optionally accepts pipes as input, which when provided require the `--name` argument to 26 + # name the output file. 27 + # 28 + # installManPage --name foobar.1 <($out/bin/foobar --manpage) 24 29 installManPage() { 25 - local path 26 - for path in "$@"; do 27 - if test -z "$path"; then 30 + local arg name='' continueParsing=1 31 + while { arg=$1; shift; }; do 32 + if (( continueParsing )); then 33 + case "$arg" in 34 + --name) 35 + name=$1 36 + shift || { 37 + nixErrorLog "${FUNCNAME[0]}: --name flag expected an argument" 38 + return 1 39 + } 40 + continue;; 41 + --name=*) 42 + # Treat `--name=foo` that same as `--name foo` 43 + name=${arg#--name=} 44 + continue;; 45 + --) 46 + continueParsing=0 47 + continue;; 48 + esac 49 + fi 50 + 51 + nixInfoLog "${FUNCNAME[0]}: installing $arg${name:+ as $name}" 52 + local basename 53 + 54 + # Check if path is empty 55 + if test -z "$arg"; then 56 + # It is an empty string 28 57 nixErrorLog "${FUNCNAME[0]}: path cannot be empty" 29 58 return 1 30 59 fi 31 - nixInfoLog "${FUNCNAME[0]}: installing $path" 32 - local basename 33 - basename=$(stripHash "$path") # use stripHash in case it's a nix store path 60 + 61 + if test -n "$name"; then 62 + # Provided name. Required for pipes, optional for paths 63 + basename=$name 64 + elif test -p "$arg"; then 65 + # Named pipe requires a file name 66 + nixErrorLog "${FUNCNAME[0]}: named pipe requires --name argument" 67 + else 68 + # Normal file without a name 69 + basename=$(stripHash "$arg") # use stripHash in case it's a nix store path 70 + fi 71 + 72 + # Check that it is well-formed 34 73 local trimmed=${basename%.gz} # don't get fooled by compressed manpages 35 74 local suffix=${trimmed##*.} 36 75 if test -z "$suffix" -o "$suffix" = "$trimmed"; then 37 - nixErrorLog "${FUNCNAME[0]}: path missing manpage section suffix: $path" 76 + nixErrorLog "${FUNCNAME[0]}: path missing manpage section suffix: $arg" 38 77 return 1 39 78 fi 79 + 80 + # Create the out-path 40 81 local outRoot 41 82 if test "$suffix" = 3; then 42 83 outRoot=${!outputDevman:?} 43 84 else 44 85 outRoot=${!outputMan:?} 45 86 fi 46 - local outPath="${outRoot}/share/man/man$suffix/$basename" 47 - install -D --mode=644 --no-target-directory "$path" "$outPath" 87 + local outPath="${outRoot}/share/man/man$suffix/" 88 + nixInfoLog "${FUNCNAME[0]}: installing to $outPath" 89 + 90 + # Install 91 + if test -p "$arg"; then 92 + # install doesn't work with pipes on Darwin 93 + mkdir -p "$outPath" && cat "$arg" > "$outPath/$basename" 94 + else 95 + install -D --mode=644 --no-target-directory -- "$arg" "$outPath/$basename" 96 + fi 97 + 98 + # Reset the name for the next page 99 + name= 48 100 done 49 101 } 50 102 51 103 # installShellCompletion [--cmd <name>] ([--bash|--fish|--zsh] [--name <name>] <path>)... 52 104 # 53 105 # Each path is installed into the appropriate directory for shell completions for the given shell. 54 - # If one of `--bash`, `--fish`, or `--zsh` is given the path is assumed to belong to that shell. 55 - # Otherwise the file extension will be examined to pick a shell. If the shell is unknown a warning 56 - # will be logged and the command will return a non-zero status code after processing any remaining 57 - # paths. Any of the shell flags will affect all subsequent paths (unless another shell flag is 58 - # given). 106 + # If one of `--bash`, `--fish`, `--zsh`, or `--nushell` is given the path is assumed to belong to 107 + # that shell. Otherwise the file extension will be examined to pick a shell. If the shell is 108 + # unknown a warning will be logged and the command will return a non-zero status code after 109 + # processing any remaining paths. Any of the shell flags will affect all subsequent paths (unless 110 + # another shell flag is given). 59 111 # 60 112 # If the shell completion needs to be renamed before installing the optional `--name <name>` flag 61 113 # may be given. Any name provided with this flag only applies to the next path. ··· 84 136 # 85 137 # installShellCompletion --bash --name foobar.bash share/completions.bash 86 138 # installShellCompletion --fish --name foobar.fish share/completions.fish 139 + # installShellCompletion --nushell --name foobar share/completions.nu 87 140 # installShellCompletion --zsh --name _foobar share/completions.zsh 88 141 # 89 142 # Or to use shell newline escaping to split a single invocation across multiple lines: ··· 91 144 # installShellCompletion --cmd foobar \ 92 145 # --bash <($out/bin/foobar --bash-completion) \ 93 146 # --fish <($out/bin/foobar --fish-completion) \ 147 + # --nushell <($out/bin/foobar --nushell-completion) 94 148 # --zsh <($out/bin/foobar --zsh-completion) 95 149 # 96 150 # If any argument is `--` the remaining arguments will be treated as paths. ··· 100 154 # Parse arguments 101 155 if (( parseArgs )); then 102 156 case "$arg" in 103 - --bash|--fish|--zsh) 157 + --bash|--fish|--zsh|--nushell) 104 158 shell=${arg#--} 105 159 continue;; 106 160 --name) ··· 146 200 elif [[ -p "$arg" ]]; then 147 201 # this is a named fd or fifo 148 202 if [[ -z "$curShell" ]]; then 149 - nixErrorLog "${FUNCNAME[0]}: named pipe requires one of --bash, --fish, or --zsh" 203 + nixErrorLog "${FUNCNAME[0]}: named pipe requires one of --bash, --fish, --zsh, or --nushell" 150 204 return 1 151 205 elif [[ -z "$name" && -z "$cmdname" ]]; then 152 206 nixErrorLog "${FUNCNAME[0]}: named pipe requires one of --cmd or --name" ··· 161 215 case "$argbase" in 162 216 ?*.bash) curShell=bash;; 163 217 ?*.fish) curShell=fish;; 218 + ?*.nu) curShell=nushell;; 164 219 ?*.zsh) curShell=zsh;; 165 220 *) 166 221 if [[ "$argbase" = _* && "$argbase" != *.* ]]; then ··· 182 237 elif [[ -n "$cmdname" ]]; then 183 238 case "$curShell" in 184 239 bash|fish) outName=$cmdname.$curShell;; 240 + nushell) outName=$cmdname.nu;; 185 241 zsh) outName=_$cmdname;; 186 242 *) 187 243 # Our list of shells is out of sync with the flags we accept or extensions we detect. ··· 193 249 case "$curShell" in 194 250 bash) sharePath=bash-completion/completions;; 195 251 fish) sharePath=fish/vendor_completions.d;; 252 + nushell) sharePath=nushell/vendor/autoload;; 196 253 zsh) 197 254 sharePath=zsh/site-functions 198 255 # only apply automatic renaming if we didn't have a manual rename
+7 -1
pkgs/by-name/in/installShellFiles/tests/install-completion-cmd.nix
··· 14 14 echo bar > bar.zsh 15 15 echo baz > baz.fish 16 16 echo qux > qux.fish 17 + echo buzz > buzz.nu 17 18 18 - installShellCompletion --cmd foobar --bash foo.bash --zsh bar.zsh --fish baz.fish --name qux qux.fish 19 + installShellCompletion \ 20 + --cmd foobar --bash foo.bash \ 21 + --zsh bar.zsh \ 22 + --fish baz.fish --name qux qux.fish \ 23 + --nushell --cmd buzzbar buzz.nu 19 24 20 25 cmp foo.bash $out/share/bash-completion/completions/foobar.bash 21 26 cmp bar.zsh $out/share/zsh/site-functions/_foobar 22 27 cmp baz.fish $out/share/fish/vendor_completions.d/foobar.fish 23 28 cmp qux.fish $out/share/fish/vendor_completions.d/qux 29 + cmp buzz.nu $out/share/nushell/vendor/autoload/buzzbar.nu 24 30 ''
+3 -1
pkgs/by-name/in/installShellFiles/tests/install-completion-fifo.nix
··· 13 13 installShellCompletion \ 14 14 --bash --name foo.bash <(echo foo) \ 15 15 --zsh --name _foo <(echo bar) \ 16 - --fish --name foo.fish <(echo baz) 16 + --fish --name foo.fish <(echo baz) \ 17 + --nushell --name foo.nu <(echo bucks) 17 18 18 19 [[ $(<$out/share/bash-completion/completions/foo.bash) == foo ]] || { echo "foo.bash comparison failed"; exit 1; } 19 20 [[ $(<$out/share/zsh/site-functions/_foo) == bar ]] || { echo "_foo comparison failed"; exit 1; } 20 21 [[ $(<$out/share/fish/vendor_completions.d/foo.fish) == baz ]] || { echo "foo.fish comparison failed"; exit 1; } 22 + [[ $(<$out/share/nushell/vendor/autoload/foo.nu) == bucks ]] || { echo "foo.nu comparison failed"; exit 1; } 21 23 ''
+3 -1
pkgs/by-name/in/installShellFiles/tests/install-completion-inference.nix
··· 13 13 echo foo > foo.bash 14 14 echo bar > bar.zsh 15 15 echo baz > baz.fish 16 + echo buzz > buzz.nu 16 17 17 - installShellCompletion foo.bash bar.zsh baz.fish 18 + installShellCompletion foo.bash bar.zsh baz.fish buzz.nu 18 19 19 20 cmp foo.bash $out/share/bash-completion/completions/foo.bash 20 21 cmp bar.zsh $out/share/zsh/site-functions/_bar 21 22 cmp baz.fish $out/share/fish/vendor_completions.d/baz.fish 23 + cmp buzz.nu $out/share/nushell/vendor/autoload/buzz.nu 22 24 ''
+7 -1
pkgs/by-name/in/installShellFiles/tests/install-completion-name.nix
··· 13 13 echo foo > foo 14 14 echo bar > bar 15 15 echo baz > baz 16 + echo bucks > bucks 16 17 17 - installShellCompletion --bash --name foobar.bash foo --zsh --name _foobar bar --fish baz 18 + installShellCompletion \ 19 + --bash --name foobar.bash foo \ 20 + --zsh --name _foobar bar \ 21 + --fish baz \ 22 + --nushell --name foobar.nu bucks 18 23 19 24 cmp foo $out/share/bash-completion/completions/foobar.bash 20 25 cmp bar $out/share/zsh/site-functions/_foobar 21 26 cmp baz $out/share/fish/vendor_completions.d/baz 27 + cmp bucks $out/share/nushell/vendor/autoload/foobar.nu 22 28 ''
+7 -1
pkgs/by-name/in/installShellFiles/tests/install-completion.nix
··· 15 15 echo baz > baz 16 16 echo qux > qux.zsh 17 17 echo quux > quux 18 + echo quokka > quokka 18 19 19 - installShellCompletion --bash foo bar --zsh baz qux.zsh --fish quux 20 + installShellCompletion \ 21 + --bash foo bar \ 22 + --zsh baz qux.zsh \ 23 + --fish quux \ 24 + --nushell quokka 20 25 21 26 cmp foo $out/share/bash-completion/completions/foo 22 27 cmp bar $out/share/bash-completion/completions/bar 23 28 cmp baz $out/share/zsh/site-functions/_baz 24 29 cmp qux.zsh $out/share/zsh/site-functions/_qux 25 30 cmp quux $out/share/fish/vendor_completions.d/quux 31 + cmp quokka $out/share/nushell/vendor/autoload/quokka 26 32 ''
+23
pkgs/by-name/in/installShellFiles/tests/install-manpage-fifo.nix
··· 1 + { 2 + lib, 3 + installShellFiles, 4 + runCommandLocal, 5 + }: 6 + 7 + runCommandLocal "install-shell-files--install-manpage-fifo" 8 + { 9 + nativeBuildInputs = [ installShellFiles ]; 10 + meta.platforms = lib.platforms.all; 11 + } 12 + '' 13 + installManPage doc/* 14 + 15 + installManPage \ 16 + --name foo.1 <(echo foo) \ 17 + --name=bar.2 <(echo bar) \ 18 + --name baz.3 <(echo baz) 19 + 20 + echo "foo" | cmp - $out/share/man/man1/foo.1 21 + echo "bar" | cmp - $out/share/man/man2/bar.2 22 + echo "baz" | cmp - $out/share/man/man3/baz.3 23 + ''
+18
pkgs/by-name/in/installShellFiles/tests/install-manpage-named.nix
··· 1 + { 2 + lib, 3 + installShellFiles, 4 + runCommandLocal, 5 + }: 6 + 7 + runCommandLocal "install-shell-files--install-manpage" 8 + { 9 + nativeBuildInputs = [ installShellFiles ]; 10 + meta.platforms = lib.platforms.all; 11 + } 12 + '' 13 + echo foo > foo.1 14 + 15 + installManPage --name bar.1 foo.1 16 + 17 + cmp foo.1 $out/share/man/man1/bar.1 18 + ''
+3
pkgs/by-name/in/installShellFiles/tests/install-manpage.nix
··· 14 14 echo foo > doc/foo.1 15 15 echo bar > doc/bar.2.gz 16 16 echo baz > doc/baz.3 17 + echo buzz > --name.1 17 18 18 19 installManPage doc/* 20 + installManPage -- --name.1 19 21 20 22 cmp doc/foo.1 $out/share/man/man1/foo.1 21 23 cmp doc/bar.2.gz $out/share/man/man2/bar.2.gz 22 24 cmp doc/baz.3 $out/share/man/man3/baz.3 25 + cmp -- --name.1 $out/share/man/man1/--name.1 23 26 ''
+2 -2
pkgs/by-name/ip/iproute2/package.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "iproute2"; 22 - version = "6.15.0"; 22 + version = "6.16.0"; 23 23 24 24 src = fetchurl { 25 25 url = "mirror://kernel/linux/utils/net/${pname}/${pname}-${version}.tar.xz"; 26 - hash = "sha256-gEGFSoglg61SY0ZnNsnIxox0saNXVKt3DSM0P5R1KPs="; 26 + hash = "sha256-WQDMwV+aw797fq6B3rWTcSPfNemTR6fxGiKBhILwqNA="; 27 27 }; 28 28 29 29 patches = [
+2 -2
pkgs/by-name/ja/jasper/package.nix
··· 15 15 16 16 stdenv.mkDerivation (finalAttrs: { 17 17 pname = "jasper"; 18 - version = "4.2.5"; 18 + version = "4.2.6"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "jasper-software"; 22 22 repo = "jasper"; 23 23 rev = "version-${finalAttrs.version}"; 24 - hash = "sha256-PjgglP4mKW1eOJ7QgUmc4KNsp/d9ubJBWr4CLcQAyRA="; 24 + hash = "sha256-tq27ANDDRdP224E12UeQnvE6BFZRk7KczH4Dq+yt0nY="; 25 25 }; 26 26 27 27 outputs = [
+74 -52
pkgs/by-name/kb/kbd/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchurl, 4 + fetchgit, 5 5 nixosTests, 6 6 autoreconfHook, 7 7 pkg-config, 8 8 flex, 9 + perl, 10 + bison, 11 + autoPatchelfHook, 9 12 check, 10 13 pam, 11 14 bash, 15 + bashNonInteractive, 12 16 coreutils, 13 - gzip, 17 + zlib, 14 18 bzip2, 15 19 xz, 16 20 zstd, 17 21 gitUpdater, 22 + pkgsCross, 18 23 withVlock ? true, 19 24 }: 20 25 21 - stdenv.mkDerivation rec { 26 + stdenv.mkDerivation { 22 27 pname = "kbd"; 23 - version = "2.8.0"; 28 + version = "2.8.0-unstable-2025-08-12"; 24 29 25 - src = fetchurl { 26 - url = "mirror://kernel/linux/utils/kbd/${pname}-${version}.tar.xz"; 27 - hash = "sha256-AfWAbafR009ZS3sqauGrIyFTRM8QZOjtzTqQ/vl3ahE="; 30 + __structuredAttrs = true; 31 + 32 + src = fetchgit { 33 + url = "https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git"; 34 + rev = "46295167a55643e941c8cdcfd2cb76bd138c851c"; 35 + hash = "sha256-m1aVfsEme/BnyJogOPvGcOrSJfli8B/TrGxOm4POt0w="; 28 36 }; 29 37 30 38 # vlock is moved into its own output, since it depends on pam. This ··· 39 47 "vlock" 40 48 ]; 41 49 42 - configureFlags = [ 43 - "--enable-optional-progs" 44 - "--enable-libkeymap" 45 - "--disable-nls" 46 - (lib.enableFeature withVlock "vlock") 47 - ] 48 - ++ lib.optionals (!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform) [ 49 - "ac_cv_func_malloc_0_nonnull=yes" 50 - "ac_cv_func_realloc_0_nonnull=yes" 51 - ]; 52 - 53 50 patches = [ 54 51 ./search-paths.patch 55 52 ]; ··· 66 63 mv fgGIod/trf{,-fgGIod}.map 67 64 mv colemak/{en-latin9,colemak}.map 68 65 popd 66 + ''; 69 67 70 - # Fix paths to decompressors. Trailing space to avoid replacing `xz` in `".xz"`. 71 - substituteInPlace src/libkbdfile/kbdfile.c \ 72 - --replace-fail 'gzip ' '${gzip}/bin/gzip ' \ 73 - --replace-fail 'bzip2 ' '${bzip2.bin}/bin/bzip2 ' \ 74 - --replace-fail 'xz ' '${xz.bin}/bin/xz ' \ 75 - --replace-fail 'zstd ' '${zstd.bin}/bin/zstd ' 68 + preConfigure = '' 69 + # Perl and Bash only used during build time 70 + patchShebangs --build contrib/ 71 + ''; 76 72 77 - sed -i ' 78 - 1i prefix:=$(vlock) 79 - 1i bindir := $(vlock)/bin' \ 80 - src/vlock/Makefile.in \ 81 - src/vlock/Makefile.am 82 - ''; 73 + configureFlags = [ 74 + "--enable-optional-progs" 75 + "--enable-libkeymap" 76 + "--disable-nls" 77 + (lib.enableFeature withVlock "vlock") 78 + ] 79 + ++ lib.optionals (!lib.systems.equals stdenv.buildPlatform stdenv.hostPlatform) [ 80 + "ac_cv_func_malloc_0_nonnull=yes" 81 + "ac_cv_func_realloc_0_nonnull=yes" 82 + ]; 83 83 84 + strictDeps = true; 84 85 enableParallelBuilding = true; 85 86 86 - postInstall = '' 87 - for s in unicode_{start,stop}; do 88 - substituteInPlace ''${!outputBin}/bin/$s \ 89 - --replace-fail /usr/bin/tty ${coreutils}/bin/tty 90 - moveToOutput "bin/$s" "$scripts" 91 - done 92 - ''; 87 + nativeBuildInputs = [ 88 + autoreconfHook 89 + pkg-config 90 + flex 91 + perl 92 + bison 93 + autoPatchelfHook # for patching dlopen() 94 + ]; 93 95 94 - buildInputs = [ 96 + nativeCheckInputs = [ 95 97 check 98 + ]; 99 + 100 + buildInputs = [ 101 + zlib 102 + bzip2 103 + xz 104 + zstd 96 105 bash 97 106 ] 98 107 ++ lib.optionals withVlock [ pam ]; 99 108 100 - NIX_LDFLAGS = lib.optional stdenv.hostPlatform.isStatic "-laudit"; 101 - nativeBuildInputs = [ 102 - autoreconfHook 103 - pkg-config 104 - flex 109 + postInstall = '' 110 + substituteInPlace $out/bin/unicode_{start,stop} \ 111 + --replace-fail /usr/bin/tty ${coreutils}/bin/tty 112 + 113 + moveToOutput bin/unicode_start $scripts 114 + moveToOutput bin/unicode_stop $scripts 115 + '' 116 + + lib.optionalString withVlock '' 117 + moveToOutput bin/vlock $vlock 118 + moveToOutput etc/pam.d/vlock $vlock 119 + ''; 120 + 121 + outputChecks.out.disallowedRequisites = [ 122 + bash 123 + bashNonInteractive 105 124 ]; 106 - strictDeps = true; 107 125 108 - passthru.tests = { 109 - inherit (nixosTests) keymap kbd-setfont-decompress kbd-update-search-paths-patch; 110 - }; 111 126 passthru = { 112 - gzip = gzip; 113 127 updateScript = gitUpdater { 114 128 # No nicer place to find latest release. 115 129 url = "https://github.com/legionus/kbd.git"; 116 130 rev-prefix = "v"; 117 131 }; 132 + tests = { 133 + cross = 134 + let 135 + systemString = if stdenv.buildPlatform.isAarch64 then "gnu64" else "aarch64-multiplatform"; 136 + in 137 + pkgsCross.${systemString}.kbd; 138 + inherit (nixosTests) keymap kbd-setfont-decompress kbd-update-search-paths-patch; 139 + }; 118 140 }; 119 141 120 - meta = with lib; { 142 + meta = { 121 143 homepage = "https://kbd-project.org/"; 122 144 description = "Linux keyboard tools and keyboard maps"; 123 - platforms = platforms.linux; 124 - license = licenses.gpl2Plus; 125 - maintainers = with maintainers; [ davidak ]; 145 + platforms = lib.platforms.linux; 146 + license = lib.licenses.gpl2Plus; 147 + maintainers = with lib.maintainers; [ davidak ]; 126 148 }; 127 149 }
+2 -2
pkgs/by-name/li/libadwaita/package.nix
··· 23 23 24 24 stdenv.mkDerivation (finalAttrs: { 25 25 pname = "libadwaita"; 26 - version = "1.7.5"; 26 + version = "1.7.6"; 27 27 28 28 outputs = [ 29 29 "out" ··· 37 37 owner = "GNOME"; 38 38 repo = "libadwaita"; 39 39 tag = finalAttrs.version; 40 - hash = "sha256-KlaRwOWHvzm+VwMygiEh8wqJfEwwA+x7o9T72Qpqnmo="; 40 + hash = "sha256-HpjP6VSkEAFeXIFXLbndQzEWJwVvHe6B3aSwCz6KiIM="; 41 41 }; 42 42 43 43 depsBuildBuild = [
+57
pkgs/by-name/li/libapplewm/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitLab, 5 + pkg-config, 6 + autoreconfHook, 7 + util-macros, 8 + xorgproto, 9 + libX11, 10 + libXext, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libapplewm"; 15 + version = "1.4.1-unstable-2021-01-04"; 16 + 17 + src = fetchFromGitLab { 18 + domain = "gitlab.freedesktop.org"; 19 + owner = "xorg/lib"; 20 + repo = "libapplewm"; 21 + rev = "be972ebc3a97292e7d2b2350eff55ae12df99a42"; 22 + hash = "sha256-NH9YeOEtnEupqpnsMLC21I+LmCOzT7KnfdzNNWqba/Y="; 23 + }; 24 + 25 + strictDeps = true; 26 + 27 + nativeBuildInputs = [ 28 + pkg-config 29 + autoreconfHook 30 + util-macros 31 + ]; 32 + 33 + buildInputs = [ 34 + xorgproto 35 + libX11 36 + libXext 37 + ]; 38 + 39 + passthru = { 40 + # updateScript = # no updatescript since we don't use a tagged release (last one was 14 years ago) 41 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 42 + }; 43 + 44 + meta = { 45 + description = "Xlib-based library for the Apple-WM extension"; 46 + longDescription = '' 47 + AppleWM is a simple library designed to interface with the Apple-WM extension. 48 + This extension allows X window managers to better interact with the Mac OS X Aqua user 49 + interface when running X11 in a rootless mode. 50 + ''; 51 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libapplewm"; 52 + license = lib.licenses.mit; 53 + maintainers = [ ]; 54 + pkgConfigModules = [ "applewm" ]; 55 + platforms = lib.platforms.darwin; 56 + }; 57 + })
+3 -3
pkgs/by-name/li/libarchive/package.nix
··· 74 74 "libarchive/test/test_read_disk_directory_traversals.c" 75 75 "cpio/test/test_option_a.c" 76 76 "cpio/test/test_option_t.c" 77 - ] 78 - ++ lib.optionals (stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) [ 79 - # only on some aarch64-linux systems? 77 + # fails tests on filesystems with 64-bit inode values: 78 + # FAIL: bsdcpio_test 79 + # bsdcpio: linkfile: large inode number truncated: Numerical result out of range 80 80 "cpio/test/test_basic.c" 81 81 "cpio/test/test_format_newc.c" 82 82 ];
+54
pkgs/by-name/li/libdmx/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxext, 9 + testers, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libdmx"; 13 + version = "1.1.5"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/lib/libdmx-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-NaTiaosLK0/jZEHcpGNkXD+lLSgqw1IFAaOOqULL908="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ pkg-config ]; 23 + 24 + buildInputs = [ 25 + xorgproto 26 + libx11 27 + libxext 28 + ]; 29 + 30 + configureFlags = lib.optional ( 31 + stdenv.hostPlatform != stdenv.buildPlatform 32 + ) "--enable-malloc0returnsnull"; 33 + 34 + passthru = { 35 + # updateScript = # libdmx it deprecated and thus needs no updatescript 36 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 37 + }; 38 + 39 + meta = { 40 + description = "Xlib-based library for the DMX (Distributed Multihead X) extension"; 41 + longDescription = '' 42 + This library allows X11 clients to use the Distributed Multihead X (DMX) Extension, 43 + as previously implemented in the Xdmx server. 44 + X.Org removed support for the Xdmx server from the xorg-server releases in the version 21 45 + release in 2021. This library is thus now considered deprecated and the version 1.1.5 release 46 + is the last release X.Org plans to make of libdmx. 47 + ''; 48 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libdmx"; 49 + license = lib.licenses.mit; 50 + maintainers = [ ]; 51 + pkgConfigModules = [ "dmx" ]; 52 + platforms = lib.platforms.unix; 53 + }; 54 + })
+49
pkgs/by-name/li/libfontenc/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + zlib, 8 + writeScript, 9 + testers, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libfontenc"; 13 + version = "1.1.8"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/lib/libfontenc-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-ewLD1AUjbg2GgGsd6daGj+YMMTYos4NQsDKRSqT9FMY="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ pkg-config ]; 23 + 24 + buildInputs = [ 25 + xorgproto 26 + zlib 27 + ]; 28 + 29 + passthru = { 30 + updateScript = writeScript "update-${finalAttrs.pname}" '' 31 + #!/usr/bin/env nix-shell 32 + #!nix-shell -i bash -p common-updater-scripts 33 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 34 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 35 + | sort -V | tail -n1)" 36 + update-source-version ${finalAttrs.pname} "$version" 37 + ''; 38 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 39 + }; 40 + 41 + meta = { 42 + description = "X font encoding library"; 43 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libfontenc"; 44 + license = lib.licenses.mit; 45 + maintainers = [ ]; 46 + pkgConfigModules = [ "fontenc" ]; 47 + platforms = lib.platforms.unix; 48 + }; 49 + })
+56
pkgs/by-name/li/libfs/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + xtrans, 8 + writeScript, 9 + testers, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libfs"; 13 + version = "1.0.10"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/lib/libFS-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-m6u9PIYGnJhWPaBEBF/cDs5OwMk9zdLGiqdOs0tPO3c="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ pkg-config ]; 23 + 24 + buildInputs = [ 25 + xorgproto 26 + xtrans 27 + ]; 28 + 29 + configureFlags = lib.optional ( 30 + stdenv.hostPlatform != stdenv.buildPlatform 31 + ) "--enable-malloc0returnsnull"; 32 + 33 + passthru = { 34 + updateScript = writeScript "update-${finalAttrs.pname}" '' 35 + #!/usr/bin/env nix-shell 36 + #!nix-shell -i bash -p common-updater-scripts 37 + version="$(list-directory-versions --pname libFS \ 38 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 39 + | sort -V | tail -n1)" 40 + update-source-version ${finalAttrs.pname} "$version" 41 + ''; 42 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 43 + }; 44 + 45 + meta = { 46 + description = "X Font Service client library"; 47 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libfs"; 48 + license = with lib.licenses; [ 49 + mitOpenGroup 50 + hpndSellVariant 51 + ]; 52 + maintainers = [ ]; 53 + pkgConfigModules = [ "libfs" ]; 54 + platforms = lib.platforms.unix; 55 + }; 56 + })
+55
pkgs/by-name/li/libice/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + xtrans, 8 + writeScript, 9 + testers, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libice"; 13 + version = "1.1.2"; 14 + 15 + outputs = [ 16 + "out" 17 + "dev" 18 + "doc" 19 + ]; 20 + 21 + src = fetchurl { 22 + url = "mirror://xorg/individual/lib/libICE-${finalAttrs.version}.tar.xz"; 23 + hash = "sha256-l05O1BQiXrPHFphd+XCfTajSKmeiiQBmvG38ia0phiU="; 24 + }; 25 + 26 + strictDeps = true; 27 + 28 + nativeBuildInputs = [ pkg-config ]; 29 + 30 + buildInputs = [ 31 + xorgproto 32 + xtrans 33 + ]; 34 + 35 + passthru = { 36 + updateScript = writeScript "update-${finalAttrs.pname}" '' 37 + #!/usr/bin/env nix-shell 38 + #!nix-shell -i bash -p common-updater-scripts 39 + version="$(list-directory-versions --pname libICE \ 40 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 41 + | sort -V | tail -n1)" 42 + update-source-version ${finalAttrs.pname} "$version" 43 + ''; 44 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 45 + }; 46 + 47 + meta = { 48 + description = "Inter-Client Exchange Library"; 49 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libice"; 50 + license = lib.licenses.mitOpenGroup; 51 + maintainers = [ ]; 52 + pkgConfigModules = [ "ice" ]; 53 + platforms = lib.platforms.unix; 54 + }; 55 + })
+2 -2
pkgs/by-name/li/libmbim/package.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "libmbim"; 23 - version = "1.30.0"; 23 + version = "1.32.0"; 24 24 25 25 outputs = [ 26 26 "out" ··· 33 33 owner = "mobile-broadband"; 34 34 repo = "libmbim"; 35 35 rev = version; 36 - hash = "sha256-sHTpu9WeMZroT+1I18ObEHWSzcyj/Relyz8UNe+WawI="; 36 + hash = "sha256-+4INXuH2kbKs9C6t4bOJye7yyfYH/BLukmgDVvXo+u0="; 37 37 }; 38 38 39 39 mesonFlags = [
+21 -2
pkgs/by-name/li/libpcap/package.nix
··· 4 4 fetchurl, 5 5 flex, 6 6 bison, 7 + bash, 8 + bashNonInteractive, 7 9 bluez, 8 10 libnl, 9 11 libxcrypt, ··· 26 28 pname = "libpcap"; 27 29 version = "1.10.5"; 28 30 31 + __structuredAttrs = true; 32 + 29 33 src = fetchurl { 30 34 url = "https://www.tcpdump.org/release/${pname}-${version}.tar.gz"; 31 35 hash = "sha256-N87ZChmjAqfzLkWCJKAMNlwReQXCzTWsVEtogKgUiPA="; 32 36 }; 33 37 34 - buildInputs = 35 - lib.optionals stdenv.hostPlatform.isLinux [ libnl ] ++ lib.optionals withRemote [ libxcrypt ]; 38 + outputs = [ 39 + "out" 40 + "lib" 41 + ]; 42 + 43 + strictDeps = true; 44 + 45 + buildInputs = [ 46 + bash 47 + ] 48 + ++ lib.optionals stdenv.hostPlatform.isLinux [ libnl ] 49 + ++ lib.optionals withRemote [ libxcrypt ]; 36 50 37 51 nativeBuildInputs = [ 38 52 flex ··· 61 75 ''; 62 76 63 77 enableParallelBuilding = true; 78 + 79 + outputChecks.lib.disallowedRequisites = [ 80 + bash 81 + bashNonInteractive 82 + ]; 64 83 65 84 passthru.tests = { 66 85 inherit
-37
pkgs/by-name/li/libseccomp/oob-read.patch
··· 1 - From 904e9dee373eca499e976dce131f0baee06db2d6 Mon Sep 17 00:00:00 2001 2 - From: Alyssa Ross <hi@alyssa.is> 3 - Date: Thu, 13 Feb 2025 12:05:17 +0100 4 - Subject: [PATCH] api: fix seccomp_export_bpf_mem out-of-bounds read 5 - 6 - *len is the length of the destination buffer, but program->blks is 7 - probably not anywhere near that long. It's already been checked above 8 - that BPF_PGM_SIZE(program) is less than or equal to *len, so that's 9 - the correct value to use here to avoid either reading or writing too 10 - much. 11 - 12 - I noticed this because tests/11-basic-basic_errors started failing on 13 - musl after e797591 ("all: add seccomp_precompute() functionality"). 14 - 15 - Signed-off-by: Alyssa Ross <hi@alyssa.is> 16 - --- 17 - Link: https://github.com/seccomp/libseccomp/pull/458 18 - 19 - src/api.c | 2 +- 20 - 1 file changed, 1 insertion(+), 1 deletion(-) 21 - 22 - diff --git a/src/api.c b/src/api.c 23 - index adccef3..65a277a 100644 24 - --- a/src/api.c 25 - +++ b/src/api.c 26 - @@ -786,7 +786,7 @@ API int seccomp_export_bpf_mem(const scmp_filter_ctx ctx, void *buf, 27 - if (BPF_PGM_SIZE(program) > *len) 28 - rc = _rc_filter(-ERANGE); 29 - else 30 - - memcpy(buf, program->blks, *len); 31 - + memcpy(buf, program->blks, BPF_PGM_SIZE(program)); 32 - } 33 - *len = BPF_PGM_SIZE(program); 34 - 35 - -- 36 - 2.47.0 37 -
+16 -1
pkgs/by-name/li/libseccomp/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchurl, 5 + fetchpatch, 5 6 getopt, 6 7 util-linuxMinimal, 7 8 which, ··· 20 21 }; 21 22 22 23 patches = [ 23 - ./oob-read.patch 24 + # Remove when version > 2.6.0 25 + # Fixes test failures on big-endian archs 26 + (fetchpatch { 27 + name = "0001-libseccomp-remove-fuzzer-from-test-62-sim-arch_transactions.patch"; 28 + url = "https://github.com/seccomp/libseccomp/commit/2f0f3b0e9121720108431c5d054164016f476230.patch"; 29 + hash = "sha256-AKAQyALJlLgxnS23OEoqfyDswp0kU2vmja5ohgvFojw="; 30 + }) 31 + 32 + # Remove when version > 2.6.0 33 + # Fixes OOB reads & tests on musl 34 + (fetchpatch { 35 + name = "0002-libseccomp-fix-seccomp_export_bpf_mem-out-of-bounds-read.patch"; 36 + url = "https://github.com/seccomp/libseccomp/commit/dd759e8c4f5685b526638fba9ec4fc24c37c9aec.patch"; 37 + hash = "sha256-TdfQ5T8FrGE6+P24MIi9rKSC3fQu/Jlr4bsFiJd4yVY="; 38 + }) 24 39 ]; 25 40 26 41 outputs = [
+67
pkgs/by-name/li/libsm/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libice, 7 + libuuid, 8 + xorgproto, 9 + xtrans, 10 + writeScript, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libsm"; 15 + version = "1.2.6"; 16 + 17 + outputs = [ 18 + "out" 19 + "dev" 20 + "doc" 21 + ]; 22 + 23 + src = fetchurl { 24 + url = "mirror://xorg/individual/lib/libSM-${finalAttrs.version}.tar.xz"; 25 + hash = "sha256-vnwKvbFcv9KaxiVzwcguh3+dQEetFTIefql9HkPYNb4="; 26 + }; 27 + 28 + strictDeps = true; 29 + 30 + nativeBuildInputs = [ pkg-config ]; 31 + 32 + buildInputs = [ 33 + libice 34 + libuuid 35 + xorgproto 36 + xtrans 37 + ]; 38 + 39 + propagatedBuildInputs = [ 40 + # needs to be propagated because of header file dependencies 41 + libice 42 + ]; 43 + 44 + passthru = { 45 + updateScript = writeScript "update-${finalAttrs.pname}" '' 46 + #!/usr/bin/env nix-shell 47 + #!nix-shell -i bash -p common-updater-scripts 48 + version="$(list-directory-versions --pname libSM \ 49 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 50 + | sort -V | tail -n1)" 51 + update-source-version ${finalAttrs.pname} "$version" 52 + ''; 53 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 54 + }; 55 + 56 + meta = { 57 + description = "X Session Management Library"; 58 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libsm"; 59 + license = with lib.licenses; [ 60 + mit 61 + mitOpenGroup 62 + ]; 63 + maintainers = [ ]; 64 + pkgConfigModules = [ "sm" ]; 65 + platforms = lib.platforms.unix; 66 + }; 67 + })
+24
pkgs/by-name/li/libtiff/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitLab, 5 + fetchpatch, 5 6 nix-update-script, 6 7 7 8 cmake, ··· 48 49 }; 49 50 50 51 patches = [ 52 + # Fix test_directory test on big-endian 53 + # https://gitlab.com/libtiff/libtiff/-/issues/652 54 + (fetchpatch { 55 + name = "0001-Update-test_directory-not-to-fail-on-big-endian-machines"; 56 + url = "https://gitlab.com/libtiff/libtiff/-/commit/e8233c42f2e0a0ea7260c3cc7ebbaec8e5cb5e07.patch"; 57 + hash = "sha256-z5odG66j4U+WoUjTUuBIhcVUCGK1GYdvW/cVucawNZI="; 58 + }) 59 + 51 60 # libc++abi 11 has an `#include <version>`, this picks up files name 52 61 # `version` in the project's include paths 53 62 ./rename-version.patch 63 + (fetchpatch { 64 + name = "CVE-2024-13978_1.patch"; 65 + url = "https://gitlab.com/libtiff/libtiff/-/commit/7be20ccaab97455f192de0ac561ceda7cd9e12d1.patch"; 66 + hash = "sha256-cpsQyIvyP6LkGeQTlLX73iNd1AcPkvZ6Xqfns7G3JBc="; 67 + }) 68 + (fetchpatch { 69 + name = "CVE-2024-13978_2.patch"; 70 + url = "https://gitlab.com/libtiff/libtiff/-/commit/2ebfffb0e8836bfb1cd7d85c059cd285c59761a4.patch"; 71 + hash = "sha256-cZlLTeB7/nvylf5SLzKF7g91aBERhZxpV5fmWEJVrX4="; 72 + }) 73 + (fetchpatch { 74 + name = "CVE-2025-9165.patch"; 75 + url = "https://gitlab.com/libtiff/libtiff/-/commit/ed141286a37f6e5ddafb5069347ff5d587e7a4e0.patch"; 76 + hash = "sha256-DIsk8trbHMMTrj6jP5Ae8ciRjHV4CPHdWCN+VbeFnFo="; 77 + }) 54 78 ]; 55 79 56 80 postPatch = ''
+2
pkgs/by-name/li/libuiohook/package.nix
··· 6 6 cmake, 7 7 pkg-config, 8 8 libX11, 9 + libxcb, 9 10 libxkbcommon, 10 11 xinput, 11 12 xorg, ··· 30 31 buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) ( 31 32 [ 32 33 libX11 34 + libxcb 33 35 libxkbcommon 34 36 xinput 35 37 ]
+2 -2
pkgs/by-name/li/liburing/package.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "liburing"; 9 - version = "2.11"; 9 + version = "2.12"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "axboe"; 13 13 repo = "liburing"; 14 14 tag = "liburing-${version}"; 15 - hash = "sha256-V73QP89WMrL2fkPRbo/TSkfO7GeDsCudlw2Ut5baDzA="; 15 + hash = "sha256-sEMzkyjrCc49ogfUnzdgNtEXmW0Tz/PUKo99C965428="; 16 16 }; 17 17 18 18 separateDebugInfo = true;
-1
pkgs/by-name/li/libx11/package.nix
··· 41 41 42 42 propagatedBuildInputs = [ 43 43 xorgproto 44 - libxcb 45 44 ]; 46 45 47 46 configureFlags =
+82
pkgs/by-name/li/libxaw/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxext, 9 + libxmu, 10 + libxpm, 11 + libxt, 12 + writeScript, 13 + testers, 14 + }: 15 + stdenv.mkDerivation (finalAttrs: { 16 + pname = "libxaw"; 17 + version = "1.0.16"; 18 + 19 + outputs = [ 20 + "out" 21 + "dev" 22 + "devdoc" 23 + ]; 24 + 25 + src = fetchurl { 26 + url = "mirror://xorg/individual/lib/libXaw-${finalAttrs.version}.tar.xz"; 27 + hash = "sha256-cx1XK1THCPgeGXpq+oAWkY4uBt/TAl4GbKZCpbjDnI8="; 28 + }; 29 + 30 + strictDeps = true; 31 + 32 + nativeBuildInputs = [ pkg-config ]; 33 + 34 + buildInputs = [ 35 + xorgproto 36 + libx11 37 + libxext 38 + libxmu 39 + libxpm 40 + libxt 41 + ]; 42 + 43 + propagatedBuildInputs = [ 44 + xorgproto 45 + libxt 46 + # needs to be propagated because of header file dependencies 47 + libxmu 48 + ]; 49 + 50 + postInstall = 51 + # remove dangling symlinks to .so files on static 52 + lib.optionalString stdenv.hostPlatform.isStatic "rm $out/lib/*.so*"; 53 + 54 + passthru = { 55 + updateScript = writeScript "update-${finalAttrs.pname}" '' 56 + #!/usr/bin/env nix-shell 57 + #!nix-shell -i bash -p common-updater-scripts 58 + version="$(list-directory-versions --pname libXaw \ 59 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 60 + | sort -V | tail -n1)" 61 + update-source-version ${finalAttrs.pname} "$version" 62 + ''; 63 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 64 + }; 65 + 66 + meta = { 67 + description = "X Athena Widget Set, based on the X Toolkit Intrinsics (Xt) Library"; 68 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxaw"; 69 + license = with lib.licenses; [ 70 + mitOpenGroup 71 + x11 72 + hpndSellVariant 73 + hpnd 74 + ]; 75 + maintainers = [ ]; 76 + pkgConfigModules = [ 77 + "xaw6" 78 + "xaw7" 79 + ]; 80 + platforms = lib.platforms.unix; 81 + }; 82 + })
+62
pkgs/by-name/li/libxcb-errors/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + m4, 7 + python3, 8 + xcbproto, 9 + libxcb, 10 + writeScript, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libxcb-errors"; 15 + version = "1.0.1"; 16 + 17 + outputs = [ 18 + "out" 19 + "dev" 20 + ]; 21 + 22 + src = fetchurl { 23 + url = "mirror://xorg/individual/xcb/xcb-util-errors-${finalAttrs.version}.tar.xz"; 24 + hash = "sha256-VijIe5hCWa2Se6zYpClYMZw2vfSwZYh4A8nYIPuA81c="; 25 + }; 26 + 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = [ 30 + pkg-config 31 + m4 32 + python3 33 + ]; 34 + 35 + buildInputs = [ 36 + xcbproto 37 + libxcb 38 + ]; 39 + 40 + propagatedBuildInputs = [ libxcb ]; 41 + 42 + passthru = { 43 + updateScript = writeScript "update-${finalAttrs.pname}" '' 44 + #!/usr/bin/env nix-shell 45 + #!nix-shell -i bash -p common-updater-scripts 46 + version="$(list-directory-versions --pname xcb-util-errors \ 47 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 48 + | sort -V | tail -n1)" 49 + update-source-version ${finalAttrs.pname} "$version" 50 + ''; 51 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 52 + }; 53 + 54 + meta = { 55 + description = "XCB utility library that gives human readable names to error, event & request codes"; 56 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-errors"; 57 + license = lib.licenses.x11; 58 + maintainers = [ ]; 59 + pkgConfigModules = [ "xcb-errors" ]; 60 + platforms = lib.platforms.unix; 61 + }; 62 + })
+62
pkgs/by-name/li/libxcb-image/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + m4, 7 + xorgproto, 8 + libxcb, 9 + libxcb-util, 10 + writeScript, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libxcb-image"; 15 + version = "0.4.1"; 16 + 17 + outputs = [ 18 + "out" 19 + "dev" 20 + ]; 21 + 22 + src = fetchurl { 23 + url = "mirror://xorg/individual/xcb/xcb-util-image-${finalAttrs.version}.tar.xz"; 24 + hash = "sha256-zK2O5drbEnH9RyetFNm9d6ZOUFYIdmxOmCZ9mu3kDT0="; 25 + }; 26 + 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = [ 30 + pkg-config 31 + m4 32 + ]; 33 + 34 + buildInputs = [ 35 + xorgproto 36 + libxcb 37 + libxcb-util 38 + ]; 39 + 40 + propagatedBuildInputs = [ libxcb ]; 41 + 42 + passthru = { 43 + updateScript = writeScript "update-${finalAttrs.pname}" '' 44 + #!/usr/bin/env nix-shell 45 + #!nix-shell -i bash -p common-updater-scripts 46 + version="$(list-directory-versions --pname xcb-util-image \ 47 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 48 + | sort -V | tail -n1)" 49 + update-source-version ${finalAttrs.pname} "$version" 50 + ''; 51 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 52 + }; 53 + 54 + meta = { 55 + description = "XCB port of Xlib's XImage and XShmImage functions."; 56 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-image"; 57 + license = lib.licenses.x11; 58 + maintainers = [ ]; 59 + pkgConfigModules = [ "xcb-image" ]; 60 + platforms = lib.platforms.unix; 61 + }; 62 + })
+56
pkgs/by-name/li/libxcb-keysyms/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libxcb, 7 + xorgproto, 8 + writeScript, 9 + testers, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libxcb-keysyms"; 13 + version = "0.4.1"; 14 + 15 + outputs = [ 16 + "out" 17 + "dev" 18 + ]; 19 + 20 + src = fetchurl { 21 + url = "mirror://xorg/individual/xcb/xcb-util-keysyms-${finalAttrs.version}.tar.xz"; 22 + hash = "sha256-fCYKUpRBKu1CnfHaL4r9O9B7fLo/7HcvuhWmE6bVxjg="; 23 + }; 24 + 25 + strictDeps = true; 26 + 27 + nativeBuildInputs = [ pkg-config ]; 28 + 29 + buildInputs = [ 30 + libxcb 31 + xorgproto 32 + ]; 33 + 34 + propagatedBuildInputs = [ libxcb ]; 35 + 36 + passthru = { 37 + updateScript = writeScript "update-${finalAttrs.pname}" '' 38 + #!/usr/bin/env nix-shell 39 + #!nix-shell -i bash -p common-updater-scripts 40 + version="$(list-directory-versions --pname xcb-util-keysyms \ 41 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 42 + | sort -V | tail -n1)" 43 + update-source-version ${finalAttrs.pname} "$version" 44 + ''; 45 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 46 + }; 47 + 48 + meta = { 49 + description = "Standard X key constants and conversion to/from keycodes"; 50 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-keysyms"; 51 + license = lib.licenses.x11; 52 + maintainers = [ ]; 53 + pkgConfigModules = [ "xcb-keysyms" ]; 54 + platforms = lib.platforms.unix; 55 + }; 56 + })
+59
pkgs/by-name/li/libxcb-render-util/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libxcb, 7 + xorgproto, 8 + writeScript, 9 + testers, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libxcb-render-util"; 13 + version = "0.3.10"; 14 + 15 + outputs = [ 16 + "out" 17 + "dev" 18 + ]; 19 + 20 + src = fetchurl { 21 + url = "mirror://xorg/individual/xcb/xcb-util-renderutil-${finalAttrs.version}.tar.xz"; 22 + hash = "sha256-PhXU8OItjdv7ufXXfbQ+rNejBAKb8lphZsxjyqltBLo="; 23 + }; 24 + 25 + strictDeps = true; 26 + 27 + nativeBuildInputs = [ pkg-config ]; 28 + 29 + buildInputs = [ 30 + libxcb 31 + xorgproto 32 + ]; 33 + 34 + propagatedBuildInputs = [ libxcb ]; 35 + 36 + passthru = { 37 + updateScript = writeScript "update-${finalAttrs.pname}" '' 38 + #!/usr/bin/env nix-shell 39 + #!nix-shell -i bash -p common-updater-scripts 40 + version="$(list-directory-versions --pname xcb-util-renderutil \ 41 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 42 + | sort -V | tail -n1)" 43 + update-source-version ${finalAttrs.pname} "$version" 44 + ''; 45 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 46 + }; 47 + 48 + meta = { 49 + description = "XCB convenience functions for the Render extension"; 50 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-render-util"; 51 + license = with lib.licenses; [ 52 + hpndSellVariant 53 + x11 54 + ]; 55 + maintainers = [ ]; 56 + pkgConfigModules = [ "xcb-renderutil" ]; 57 + platforms = lib.platforms.unix; 58 + }; 59 + })
+62
pkgs/by-name/li/libxcb-util/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libxcb, 7 + writeScript, 8 + testers, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "libxcb-util"; 12 + version = "0.4.1"; 13 + 14 + outputs = [ 15 + "out" 16 + "dev" 17 + ]; 18 + 19 + src = fetchurl { 20 + url = "mirror://xorg/individual/xcb/xcb-util-${finalAttrs.version}.tar.xz"; 21 + hash = "sha256-Wr47u9jlTw+j7JRSkbfo+oz9PMzENxj4dYQw+UEm5RI="; 22 + }; 23 + 24 + strictDeps = true; 25 + 26 + nativeBuildInputs = [ pkg-config ]; 27 + buildInputs = [ libxcb ]; 28 + propagatedBuildInputs = [ libxcb ]; 29 + 30 + passthru = { 31 + updateScript = writeScript "update-${finalAttrs.pname}" '' 32 + #!/usr/bin/env nix-shell 33 + #!nix-shell -i bash -p common-updater-scripts 34 + version="$(list-directory-versions --pname xcb-util \ 35 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 36 + | sort -V | tail -n1)" 37 + update-source-version ${finalAttrs.pname} "$version" 38 + ''; 39 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 40 + }; 41 + 42 + meta = { 43 + description = "XCB utility libraries"; 44 + longDescription = '' 45 + The XCB util modules provides a number of libraries which sit on top of libxcb, the core 46 + X protocol library, and some of the extension libraries. These experimental libraries provid 47 + convenience functions and interfaces which make the raw X protocol more usable. Some of the 48 + libraries also provide client-side code which is not strictly part of the X protocol but which 49 + have traditionally been provided by Xlib. 50 + ''; 51 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-util"; 52 + license = lib.licenses.x11; 53 + maintainers = [ ]; 54 + pkgConfigModules = [ 55 + "xcb-atom" 56 + "xcb-aux" 57 + "xcb-event" 58 + "xcb-util" 59 + ]; 60 + platforms = lib.platforms.unix; 61 + }; 62 + })
+63
pkgs/by-name/li/libxcb-wm/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libxcb, 7 + xorgproto, 8 + m4, 9 + writeScript, 10 + testers, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "libxcb-wm"; 14 + version = "0.4.2"; 15 + 16 + outputs = [ 17 + "out" 18 + "dev" 19 + ]; 20 + 21 + src = fetchurl { 22 + url = "mirror://xorg/individual/xcb/xcb-util-wm-${finalAttrs.version}.tar.xz"; 23 + hash = "sha256-YsNOIdBiZGh/rqftv2NjLJ8E1V5yEUqkpXu5Xk+Iigs="; 24 + }; 25 + 26 + strictDeps = true; 27 + 28 + nativeBuildInputs = [ 29 + pkg-config 30 + m4 31 + ]; 32 + 33 + buildInputs = [ 34 + libxcb 35 + xorgproto 36 + ]; 37 + 38 + propagatedBuildInputs = [ libxcb ]; 39 + 40 + passthru = { 41 + updateScript = writeScript "update-${finalAttrs.pname}" '' 42 + #!/usr/bin/env nix-shell 43 + #!nix-shell -i bash -p common-updater-scripts 44 + version="$(list-directory-versions --pname xcb-util-wm \ 45 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 46 + | sort -V | tail -n1)" 47 + update-source-version ${finalAttrs.pname} "$version" 48 + ''; 49 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 50 + }; 51 + 52 + meta = { 53 + description = "XCB client and window-manager helpers for ICCCM & EWMH."; 54 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcb-wm"; 55 + license = lib.licenses.x11; 56 + maintainers = [ ]; 57 + pkgConfigModules = [ 58 + "xcb-ewmh" 59 + "xcb-icccm" 60 + ]; 61 + platforms = lib.platforms.unix; 62 + }; 63 + })
+58
pkgs/by-name/li/libxcursor/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxfixes, 9 + libxrender, 10 + writeScript, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libxcursor"; 15 + version = "1.2.3"; 16 + 17 + outputs = [ 18 + "out" 19 + "dev" 20 + ]; 21 + 22 + src = fetchurl { 23 + url = "mirror://xorg/individual/lib/libXcursor-${finalAttrs.version}.tar.xz"; 24 + hash = "sha256-/elALdTP552nHi2Wu5gK/F5v9Pin10wVnhlmr7KywsA="; 25 + }; 26 + 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = [ pkg-config ]; 30 + 31 + buildInputs = [ 32 + xorgproto 33 + libx11 34 + libxfixes 35 + libxrender 36 + ]; 37 + 38 + passthru = { 39 + updateScript = writeScript "update-${finalAttrs.pname}" '' 40 + #!/usr/bin/env nix-shell 41 + #!nix-shell -i bash -p common-updater-scripts 42 + version="$(list-directory-versions --pname libXcursor \ 43 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 44 + | sort -V | tail -n1)" 45 + update-source-version ${finalAttrs.pname} "$version" 46 + ''; 47 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 48 + }; 49 + 50 + meta = { 51 + description = "X11 Cursor management library"; 52 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxcursor"; 53 + license = lib.licenses.hpndSellVariant; 54 + maintainers = [ ]; 55 + pkgConfigModules = [ "xcursor" ]; 56 + platforms = lib.platforms.unix; 57 + }; 58 + })
+57
pkgs/by-name/li/libxfixes/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libX11, 8 + writeScript, 9 + testers, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libxfixes"; 13 + version = "6.0.1"; 14 + 15 + outputs = [ 16 + "out" 17 + "dev" 18 + ]; 19 + 20 + src = fetchurl { 21 + url = "mirror://xorg/individual/lib/libXfixes-${finalAttrs.version}.tar.xz"; 22 + hash = "sha256-tpX5PNJJlCGrAtInREWOZQzMiMHUyBMNYCACE6vALVg="; 23 + }; 24 + 25 + strictDeps = true; 26 + 27 + nativeBuildInputs = [ pkg-config ]; 28 + 29 + buildInputs = [ 30 + xorgproto 31 + libX11 32 + ]; 33 + 34 + passthru = { 35 + updateScript = writeScript "update-${finalAttrs.pname}" '' 36 + #!/usr/bin/env nix-shell 37 + #!nix-shell -i bash -p common-updater-scripts 38 + version="$(list-directory-versions --pname libXfixes \ 39 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 40 + | sort -V | tail -n1)" 41 + update-source-version ${finalAttrs.pname} "$version" 42 + ''; 43 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 44 + }; 45 + 46 + meta = { 47 + description = "Xlib-based library for the XFIXES Extension"; 48 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxfixes"; 49 + license = with lib.licenses; [ 50 + hpndSellVariant 51 + mit 52 + ]; 53 + maintainers = [ ]; 54 + pkgConfigModules = [ "xfixes" ]; 55 + platforms = lib.platforms.unix; 56 + }; 57 + })
+2 -2
pkgs/by-name/li/libxkbcommon_8/package.nix
··· 24 24 25 25 stdenv.mkDerivation (finalAttrs: { 26 26 pname = "libxkbcommon"; 27 - version = "1.10.0"; 27 + version = "1.11.0"; 28 28 29 29 src = fetchFromGitHub { 30 30 owner = "xkbcommon"; 31 31 repo = "libxkbcommon"; 32 32 tag = "xkbcommon-${finalAttrs.version}"; 33 - hash = "sha256-rLh5BD9a0bI0nHtWX+n0LqmdIO5ykd98rNc5hAN3ndE="; 33 + hash = "sha256-IV1dgGM8z44OQCQYQ5PiUUw/zAvG5IIxiBywYVw2ius="; 34 34 }; 35 35 36 36 patches = [
+2 -2
pkgs/by-name/li/libxmlb/package.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "libxmlb"; 26 - version = "0.3.22"; 26 + version = "0.3.23"; 27 27 28 28 outputs = [ 29 29 "out" ··· 39 39 owner = "hughsie"; 40 40 repo = "libxmlb"; 41 41 rev = version; 42 - hash = "sha256-6S/4X6dYsVj9v98LoDJjir6Kmb5L8PloD23yvvkiD6o="; 42 + hash = "sha256-hdF1yce9/ztXVV6BYocPGVAjoxJancID77rnHBJsKmM="; 43 43 }; 44 44 45 45 patches = [
+75
pkgs/by-name/li/libxmu/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxext, 9 + libxt, 10 + writeScript, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libxmu"; 15 + version = "1.2.1"; 16 + 17 + outputs = [ 18 + "out" 19 + "dev" 20 + "doc" 21 + ]; 22 + 23 + src = fetchurl { 24 + url = "mirror://xorg/individual/lib/libXmu-${finalAttrs.version}.tar.xz"; 25 + hash = "sha256-/LJ3kySKOeX8xbnErsQMwHNLPKdqrD19HCZOf34U6LI="; 26 + }; 27 + 28 + strictDeps = true; 29 + 30 + nativeBuildInputs = [ pkg-config ]; 31 + 32 + buildInputs = [ 33 + xorgproto 34 + libx11 35 + libxext 36 + libxt 37 + ]; 38 + 39 + propagatedBuildInputs = [ 40 + xorgproto 41 + libx11 42 + libxt 43 + ]; 44 + 45 + buildFlags = [ "BITMAP_DEFINES='-DBITMAPDIR=\"/no-such-path\"'" ]; 46 + 47 + passthru = { 48 + updateScript = writeScript "update-${finalAttrs.pname}" '' 49 + #!/usr/bin/env nix-shell 50 + #!nix-shell -i bash -p common-updater-scripts 51 + version="$(list-directory-versions --pname libXmu \ 52 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 53 + | sort -V | tail -n1)" 54 + update-source-version ${finalAttrs.pname} "$version" 55 + ''; 56 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 57 + }; 58 + 59 + meta = { 60 + description = "X miscellaneous utility routines library"; 61 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxmu"; 62 + license = with lib.licenses; [ 63 + mitOpenGroup 64 + hpnd 65 + x11 66 + isc 67 + ]; 68 + maintainers = [ ]; 69 + pkgConfigModules = [ 70 + "xmu" 71 + "xmuu" 72 + ]; 73 + platforms = lib.platforms.unix; 74 + }; 75 + })
+79
pkgs/by-name/li/libxpm/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + gettext, 7 + xorgproto, 8 + libx11, 9 + libxext, 10 + libxt, 11 + ncompress, 12 + gzip, 13 + writeScript, 14 + testers, 15 + }: 16 + stdenv.mkDerivation (finalAttrs: { 17 + pname = "libxpm"; 18 + version = "3.5.17"; 19 + 20 + outputs = [ 21 + "bin" 22 + "dev" 23 + "out" 24 + ]; 25 + 26 + src = fetchurl { 27 + url = "mirror://xorg/individual/lib/libXpm-${finalAttrs.version}.tar.xz"; 28 + hash = "sha256-ZLMfgQGefTiMgisLKK+NUcRiK4Px8Mtvo/yV4nEibkM="; 29 + }; 30 + 31 + strictDeps = true; 32 + 33 + nativeBuildInputs = [ 34 + pkg-config 35 + gettext 36 + ]; 37 + 38 + buildInputs = [ 39 + xorgproto 40 + libx11 41 + libxext 42 + libxt 43 + ]; 44 + 45 + propagatedBuildInputs = [ 46 + libx11 47 + ]; 48 + 49 + env = { 50 + XPM_PATH_COMPRESS = lib.makeBinPath [ ncompress ]; 51 + XPM_PATH_GZIP = lib.makeBinPath [ gzip ]; 52 + XPM_PATH_UNCOMPRESS = lib.makeBinPath [ gzip ]; 53 + }; 54 + 55 + passthru = { 56 + updateScript = writeScript "update-${finalAttrs.pname}" '' 57 + #!/usr/bin/env nix-shell 58 + #!nix-shell -i bash -p common-updater-scripts 59 + version="$(list-directory-versions --pname libXpm \ 60 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 61 + | sort -V | tail -n1)" 62 + update-source-version ${finalAttrs.pname} "$version" 63 + ''; 64 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 65 + }; 66 + 67 + meta = { 68 + description = "X Pixmap (XPM) image file format library"; 69 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxpm"; 70 + license = with lib.licenses; [ 71 + x11 72 + mit 73 + ]; 74 + mainProgram = "sxpm"; 75 + maintainers = [ ]; 76 + pkgConfigModules = [ "xpm" ]; 77 + platforms = lib.platforms.unix; 78 + }; 79 + })
+64
pkgs/by-name/li/libxrandr/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxext, 9 + libxrender, 10 + writeScript, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libxrandr"; 15 + version = "1.5.4"; 16 + 17 + outputs = [ 18 + "out" 19 + "dev" 20 + ]; 21 + 22 + src = fetchurl { 23 + url = "mirror://xorg/individual/lib/libXrandr-${finalAttrs.version}.tar.xz"; 24 + hash = "sha256-GtWwZTdfSoWRWqYGEcxkB8BgSSohTX+dryFL51LDtNM="; 25 + }; 26 + 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = [ pkg-config ]; 30 + 31 + buildInputs = [ 32 + xorgproto 33 + libx11 34 + libxext 35 + libxrender 36 + ]; 37 + 38 + propagatedBuildInputs = [ libxrender ]; 39 + 40 + configureFlags = lib.optional ( 41 + stdenv.hostPlatform != stdenv.buildPlatform 42 + ) "--enable-malloc0returnsnull"; 43 + 44 + passthru = { 45 + updateScript = writeScript "update-${finalAttrs.pname}" '' 46 + #!/usr/bin/env nix-shell 47 + #!nix-shell -i bash -p common-updater-scripts 48 + version="$(list-directory-versions --pname libXrandr \ 49 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 50 + | sort -V | tail -n1)" 51 + update-source-version ${finalAttrs.pname} "$version" 52 + ''; 53 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 54 + }; 55 + 56 + meta = { 57 + description = "Xlib Resize, Rotate and Reflection (RandR) extension library"; 58 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxrandr"; 59 + license = lib.licenses.hpndSellVariant; 60 + maintainers = [ ]; 61 + pkgConfigModules = [ "xrandr" ]; 62 + platforms = lib.platforms.unix; 63 + }; 64 + })
+64
pkgs/by-name/li/libxrender/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + writeScript, 9 + testers, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "libxrender"; 13 + version = "0.9.12"; 14 + 15 + outputs = [ 16 + "out" 17 + "dev" 18 + "doc" 19 + ]; 20 + 21 + src = fetchurl { 22 + url = "mirror://xorg/individual/lib/libXrender-${finalAttrs.version}.tar.xz"; 23 + hash = "sha256-uDISjaSLOcjWCCJEgXQ0A60Wkb9OVU5L6cF03xcdG5c="; 24 + }; 25 + 26 + strictDeps = true; 27 + 28 + nativeBuildInputs = [ pkg-config ]; 29 + 30 + buildInputs = [ 31 + xorgproto 32 + libx11 33 + ]; 34 + 35 + propagatedBuildInputs = [ 36 + xorgproto 37 + libx11 38 + ]; 39 + 40 + configureFlags = lib.optional ( 41 + stdenv.hostPlatform != stdenv.buildPlatform 42 + ) "--enable-malloc0returnsnull"; 43 + 44 + passthru = { 45 + updateScript = writeScript "update-${finalAttrs.pname}" '' 46 + #!/usr/bin/env nix-shell 47 + #!nix-shell -i bash -p common-updater-scripts 48 + version="$(list-directory-versions --pname libXrender \ 49 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 50 + | sort -V | tail -n1)" 51 + update-source-version ${finalAttrs.pname} "$version" 52 + ''; 53 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 54 + }; 55 + 56 + meta = { 57 + description = "Xlib library for the Render Extension to the X11 protocol"; 58 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxrender"; 59 + license = lib.licenses.hpndSellVariant; 60 + maintainers = [ ]; 61 + pkgConfigModules = [ "xrender" ]; 62 + platforms = lib.platforms.unix; 63 + }; 64 + })
+82
pkgs/by-name/li/libxt/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + buildPackages, 6 + pkg-config, 7 + xorgproto, 8 + libx11, 9 + libsm, 10 + writeScript, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libxt"; 15 + version = "1.3.1"; 16 + 17 + outputDoc = "devdoc"; 18 + outputs = [ 19 + "out" 20 + "dev" 21 + "devdoc" 22 + ]; 23 + 24 + src = fetchurl { 25 + url = "mirror://xorg/individual/lib/libXt-${finalAttrs.version}.tar.xz"; 26 + hash = "sha256-4Kd0szMk9NTAWxmepFBQ+HIGWG2BZV+L7026Q02TEog="; 27 + }; 28 + 29 + strictDeps = true; 30 + 31 + depsBuildBuild = [ buildPackages.stdenv.cc ]; 32 + 33 + nativeBuildInputs = [ pkg-config ]; 34 + 35 + buildInputs = [ 36 + xorgproto 37 + libx11 38 + libsm 39 + ]; 40 + 41 + propagatedBuildInputs = [ 42 + xorgproto 43 + libx11 44 + # needs to be propagated because of header file dependencies 45 + libsm 46 + ]; 47 + 48 + configureFlags = 49 + lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "--enable-malloc0returnsnull" 50 + ++ lib.optional (stdenv.targetPlatform.useLLVM or false) "ac_cv_path_RAWCPP=cpp"; 51 + 52 + env = { 53 + CPP = if stdenv.hostPlatform.isDarwin then "clang -E -" else "${stdenv.cc.targetPrefix}cc -E -"; 54 + }; 55 + 56 + passthru = { 57 + updateScript = writeScript "update-${finalAttrs.pname}" '' 58 + #!/usr/bin/env nix-shell 59 + #!nix-shell -i bash -p common-updater-scripts 60 + version="$(list-directory-versions --pname libXt \ 61 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 62 + | sort -V | tail -n1)" 63 + update-source-version ${finalAttrs.pname} "$version" 64 + ''; 65 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 66 + }; 67 + 68 + meta = { 69 + description = "X Toolkit Intrinsics library"; 70 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxt"; 71 + license = with lib.licenses; [ 72 + mit 73 + hpndSellVariant 74 + hpnd 75 + mitOpenGroup 76 + x11 77 + ]; 78 + maintainers = [ ]; 79 + pkgConfigModules = [ "xt" ]; 80 + platforms = lib.platforms.unix; 81 + }; 82 + })
+64
pkgs/by-name/li/libxv/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libX11, 8 + libXext, 9 + writeScript, 10 + testers, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "libxv"; 14 + version = "1.0.13"; 15 + 16 + outputs = [ 17 + "out" 18 + "dev" 19 + "devdoc" 20 + ]; 21 + 22 + src = fetchurl { 23 + url = "mirror://xorg/individual/lib/libXv-${finalAttrs.version}.tar.xz"; 24 + hash = "sha256-fTSRCVjhwfjRk9go/qG32hkilygKNUN68GkvADugN1U="; 25 + }; 26 + 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = [ pkg-config ]; 30 + 31 + buildInputs = [ 32 + xorgproto 33 + libX11 34 + libXext 35 + ]; 36 + 37 + configureFlags = lib.optional ( 38 + stdenv.hostPlatform != stdenv.buildPlatform 39 + ) "--enable-malloc0returnsnull"; 40 + 41 + passthru = { 42 + updateScript = writeScript "update-${finalAttrs.pname}" '' 43 + #!/usr/bin/env nix-shell 44 + #!nix-shell -i bash -p common-updater-scripts 45 + version="$(list-directory-versions --pname libXv \ 46 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 47 + | sort -V | tail -n1)" 48 + update-source-version ${finalAttrs.pname} "$version" 49 + ''; 50 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 51 + }; 52 + 53 + meta = { 54 + description = "Xlib-based library for the X Video (Xv) extension to the X Window System"; 55 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxv"; 56 + license = with lib.licenses; [ 57 + hpnd 58 + hpndSellVariant 59 + ]; 60 + maintainers = [ ]; 61 + pkgConfigModules = [ "xv" ]; 62 + platforms = lib.platforms.unix; 63 + }; 64 + })
+68
pkgs/by-name/li/libxvmc/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libX11, 8 + libXext, 9 + libXv, 10 + writeScript, 11 + testers, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "libxvmc"; 15 + version = "1.0.14"; 16 + 17 + outputs = [ 18 + "out" 19 + "dev" 20 + "doc" 21 + ]; 22 + 23 + src = fetchurl { 24 + url = "mirror://xorg/individual/lib/libXvMC-${finalAttrs.version}.tar.xz"; 25 + hash = "sha256-5L6etra6/bv4H0f3FjBHIVN25F4tx4bQ6mGByTByXtk="; 26 + }; 27 + 28 + strictDeps = true; 29 + 30 + nativeBuildInputs = [ pkg-config ]; 31 + 32 + buildInputs = [ 33 + xorgproto 34 + libX11 35 + libXext 36 + libXv 37 + ]; 38 + 39 + propagatedBuildInputs = [ xorgproto ]; 40 + 41 + configureFlags = lib.optional ( 42 + stdenv.hostPlatform != stdenv.buildPlatform 43 + ) "--enable-malloc0returnsnull"; 44 + 45 + passthru = { 46 + updateScript = writeScript "update-${finalAttrs.pname}" '' 47 + #!/usr/bin/env nix-shell 48 + #!nix-shell -i bash -p common-updater-scripts 49 + version="$(list-directory-versions --pname libXvMC \ 50 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 51 + | sort -V | tail -n1)" 52 + update-source-version ${finalAttrs.pname} "$version" 53 + ''; 54 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 55 + }; 56 + 57 + meta = { 58 + description = "X-Video Motion Compensation API"; 59 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxvmc"; 60 + license = lib.licenses.mit; 61 + maintainers = [ ]; 62 + pkgConfigModules = [ 63 + "xvmc" 64 + "xvmc-wrapper" 65 + ]; 66 + platforms = lib.platforms.unix; 67 + }; 68 + })
+57
pkgs/by-name/li/libxxf86dga/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libX11, 7 + libXext, 8 + xorgproto, 9 + writeScript, 10 + testers, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "libxxf86dga"; 14 + version = "1.1.6"; 15 + 16 + src = fetchurl { 17 + url = "mirror://xorg/individual/lib/libXxf86dga-${finalAttrs.version}.tar.xz"; 18 + hash = "sha256-vkRCdXmAj+OiF9WfUcrnVqJpE+tuTIc4zKtl/1bXmA8="; 19 + }; 20 + 21 + strictDeps = true; 22 + 23 + nativeBuildInputs = [ pkg-config ]; 24 + 25 + buildInputs = [ 26 + libX11 27 + libXext 28 + xorgproto 29 + ]; 30 + 31 + propagatedBuildInputs = [ xorgproto ]; 32 + 33 + configureFlags = lib.optional ( 34 + stdenv.hostPlatform != stdenv.buildPlatform 35 + ) "--enable-malloc0returnsnull"; 36 + 37 + passthru = { 38 + updateScript = writeScript "update-${finalAttrs.pname}" '' 39 + #!/usr/bin/env nix-shell 40 + #!nix-shell -i bash -p common-updater-scripts 41 + version="$(list-directory-versions --pname libXxf86dga \ 42 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 43 + | sort -V | tail -n1)" 44 + update-source-version ${finalAttrs.pname} "$version" 45 + ''; 46 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 47 + }; 48 + 49 + meta = { 50 + description = "Client library for the XFree86-DGA extension"; 51 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxxf86dga"; 52 + license = lib.licenses.x11; 53 + maintainers = [ ]; 54 + pkgConfigModules = [ "xxf86dga" ]; 55 + platforms = lib.platforms.unix; 56 + }; 57 + })
+57
pkgs/by-name/li/libxxf86misc/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxext, 9 + writeScript, 10 + testers, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "libxxf86misc"; 14 + version = "1.0.4"; 15 + 16 + src = fetchurl { 17 + url = "mirror://xorg/individual/lib/libXxf86misc-${finalAttrs.version}.tar.bz2"; 18 + hash = "sha256-qJwD4rDxYjnWeiAxuQA/MbWmhhBrvbPHl/uIrkcq84A="; 19 + }; 20 + 21 + strictDeps = true; 22 + 23 + nativeBuildInputs = [ pkg-config ]; 24 + 25 + buildInputs = [ 26 + xorgproto 27 + libx11 28 + libxext 29 + ]; 30 + 31 + propagatedBuildInputs = [ xorgproto ]; 32 + 33 + configureFlags = lib.optional ( 34 + stdenv.hostPlatform != stdenv.buildPlatform 35 + ) "--enable-malloc0returnsnull"; 36 + 37 + passthru = { 38 + updateScript = writeScript "update-${finalAttrs.pname}" '' 39 + #!/usr/bin/env nix-shell 40 + #!nix-shell -i bash -p common-updater-scripts 41 + version="$(list-directory-versions --pname libXxf86misc \ 42 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 43 + | sort -V | tail -n1)" 44 + update-source-version ${finalAttrs.pname} "$version" 45 + ''; 46 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 47 + }; 48 + 49 + meta = { 50 + description = "Extension library for the XFree86-Misc X extension"; 51 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxxf86misc"; 52 + license = lib.licenses.x11; 53 + maintainers = [ ]; 54 + pkgConfigModules = [ "xxf86misc" ]; 55 + platforms = lib.platforms.unix; 56 + }; 57 + })
+60
pkgs/by-name/li/libxxf86vm/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libX11, 7 + libXext, 8 + xorgproto, 9 + writeScript, 10 + testers, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "libxxf86vm"; 14 + version = "1.1.6"; 15 + 16 + outputs = [ 17 + "out" 18 + "dev" 19 + ]; 20 + 21 + src = fetchurl { 22 + url = "mirror://xorg/individual/lib/libXxf86vm-${finalAttrs.version}.tar.xz"; 23 + hash = "sha256-lq9BTHPOHVRJrQS+f58n+oMw+ES23ahD7yLj4b77PuM="; 24 + }; 25 + 26 + strictDeps = true; 27 + 28 + nativeBuildInputs = [ pkg-config ]; 29 + 30 + buildInputs = [ 31 + libX11 32 + libXext 33 + xorgproto 34 + ]; 35 + 36 + configureFlags = lib.optional ( 37 + stdenv.hostPlatform != stdenv.buildPlatform 38 + ) "--enable-malloc0returnsnull"; 39 + 40 + passthru = { 41 + updateScript = writeScript "update-${finalAttrs.pname}" '' 42 + #!/usr/bin/env nix-shell 43 + #!nix-shell -i bash -p common-updater-scripts 44 + version="$(list-directory-versions --pname libXxf86vm \ 45 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 46 + | sort -V | tail -n1)" 47 + update-source-version ${finalAttrs.pname} "$version" 48 + ''; 49 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 50 + }; 51 + 52 + meta = { 53 + description = "Extension library for the XFree86-VidMode X extension"; 54 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libxxf86vm"; 55 + license = lib.licenses.x11; 56 + maintainers = [ ]; 57 + pkgConfigModules = [ "xxf86vm" ]; 58 + platforms = lib.platforms.unix; 59 + }; 60 + })
+19
pkgs/by-name/li/linux-pam/package.nix
··· 10 10 audit, 11 11 linuxHeaders, 12 12 libxcrypt, 13 + bash, 14 + bashNonInteractive, 13 15 nixosTests, 14 16 meson, 15 17 pkg-config, ··· 37 39 repo = "linux-pam"; 38 40 tag = "v${finalAttrs.version}"; 39 41 hash = "sha256-kANcwxifQz2tYPSrSBSFiYNTm51Gr10L/zroCqm8ZHQ="; 42 + 40 43 }; 44 + 45 + __structuredAttrs = true; 41 46 42 47 # patching unix_chkpwd is required as the nix store entry does not have the necessary bits 43 48 postPatch = '' ··· 49 54 "out" 50 55 "doc" 51 56 "man" 57 + "scripts" 52 58 # "modules" 53 59 ]; 60 + 61 + strictDeps = true; 54 62 55 63 depsBuildBuild = [ buildPackages.stdenv.cc ]; 56 64 nativeBuildInputs = [ ··· 71 79 buildInputs = [ 72 80 db4 73 81 libxcrypt 82 + bash 74 83 ] 75 84 ++ lib.optionals withAudit [ 76 85 audit ··· 97 106 (lib.mesonBool "examples" false) 98 107 ]; 99 108 109 + postInstall = '' 110 + moveToOutput sbin/pam_namespace_helper $scripts 111 + moveToOutput etc/security/namespace.init $scripts 112 + ''; 113 + 100 114 doCheck = false; # fails 115 + 116 + outputChecks.out.disallowedRequisites = [ 117 + bash 118 + bashNonInteractive 119 + ]; 101 120 102 121 passthru = { 103 122 tests = {
+5 -2
pkgs/by-name/lo/local-ai/package.nix
··· 15 15 ffmpeg, 16 16 cmake, 17 17 pkg-config, 18 - buildGo123Module, 18 + buildGoModule, 19 19 makeWrapper, 20 20 ncurses, 21 21 which, ··· 356 356 ${cp} ${stable-diffusion} sources/stablediffusion-ggml.cpp 357 357 ''; 358 358 359 - self = buildGo123Module.override { stdenv = effectiveStdenv; } { 359 + self = buildGoModule.override { stdenv = effectiveStdenv; } { 360 360 inherit pname version src; 361 361 362 362 vendorHash = "sha256-1OY/y1AeL0K+vOU4Jk/cj7rToVLC9EkkNhgifB+icDM="; ··· 538 538 ck3d 539 539 ]; 540 540 platforms = platforms.linux; 541 + # Doesn't build with >buildGo123Module. 542 + # 'cp: cannot stat 'bin/rpc-server': No such file or directory' 543 + broken = true; 541 544 }; 542 545 }; 543 546 in
+5
pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix
··· 29 29 hash = "sha256-qpgDErV1VVzaUHHQX4ReXCPihdrSKI/4HtbDeQIblR8="; 30 30 }; 31 31 32 + postPatch = '' 33 + substituteInPlace pyproject.toml \ 34 + --replace-fail "setuptools_rust>=1.3,<=1.11.1" "setuptools_rust<=1.12,>=1.3" 35 + ''; 36 + 32 37 build-system = with python3Packages; [ 33 38 poetry-core 34 39 setuptools-rust
+2 -2
pkgs/by-name/me/memcached/package.nix
··· 8 8 }: 9 9 10 10 stdenv.mkDerivation rec { 11 - version = "1.6.38"; 11 + version = "1.6.39"; 12 12 pname = "memcached"; 13 13 14 14 src = fetchurl { 15 15 url = "https://memcached.org/files/${pname}-${version}.tar.gz"; 16 - sha256 = "sha256-M015IpTjdzh5a1sDN1xHu22yg7EVLi6kzLcgFS3RfGY="; 16 + sha256 = "sha256-I+VQfpM7FUYxYdTF05IbDF80C1Qtbt1/bF4Xw08Ro2M="; 17 17 }; 18 18 19 19 configureFlags = [
+2
pkgs/by-name/me/mesa-demos/package.nix
··· 6 6 libGL, 7 7 libGLU, 8 8 libX11, 9 + libxcb, 9 10 libXext, 10 11 libgbm, 11 12 mesa, ··· 45 46 buildInputs = [ 46 47 libglut 47 48 libX11 49 + libxcb 48 50 libXext 49 51 libGL 50 52 libGLU
+10 -9
pkgs/by-name/me/meson/001-fix-rpath.patch
··· 1 - --- a/mesonbuild/backend/backends.py 2 - +++ b/mesonbuild/backend/backends.py 3 - @@ -723,6 +723,21 @@ 4 - @staticmethod 5 - def get_rpath_dirs_from_link_args(args: T.List[str]) -> T.Set[str]: 1 + diff --git a/mesonbuild/build.py b/mesonbuild/build.py 2 + index 9014d09fb..4dda63a96 100644 3 + --- a/mesonbuild/build.py 4 + +++ b/mesonbuild/build.py 5 + @@ -1888,6 +1888,20 @@ class BuildTarget(Target): 6 + def get_rpath_dirs_from_link_args(cls, args: T.List[str]) -> T.Set[str]: 6 7 dirs: T.Set[str] = set() 7 - + 8 + 8 9 + nix_ldflags = os.environ.get('NIX_LDFLAGS', '').split() 9 10 + next_is_path = False 10 11 + # Try to add rpaths set by user or ld-wrapper so that they are not removed. ··· 19 20 + dirs.add(flag) 20 21 + next_is_path = False 21 22 + 22 - # Match rpath formats: 23 - # -Wl,-rpath= 24 - # -Wl,-rpath, 23 + for arg in args: 24 + if not arg.startswith('-Wl,'): 25 + continue
+2 -2
pkgs/by-name/me/meson/package.nix
··· 16 16 17 17 python3.pkgs.buildPythonApplication rec { 18 18 pname = "meson"; 19 - version = "1.8.3"; 19 + version = "1.9.0"; 20 20 format = "setuptools"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "mesonbuild"; 24 24 repo = "meson"; 25 25 tag = version; 26 - hash = "sha256-Htjr/gZ4G53XY/kuGsbToZOo+ptDoNA737aaqDT1AUo="; 26 + hash = "sha256-VMLcGtyJIH3jsTkHrIUhCpjwm6ljsRSyRECYhaafjD8="; 27 27 }; 28 28 29 29 patches = [
+53
pkgs/by-name/mk/mkfontscale/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libfontenc, 7 + freetype, 8 + xorgproto, 9 + zlib, 10 + writeScript, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "mkfontscale"; 14 + version = "1.2.3"; 15 + 16 + src = fetchurl { 17 + url = "mirror://xorg/individual/app/mkfontscale-${finalAttrs.version}.tar.xz"; 18 + hash = "sha256-KSHNw0TxrO4EvNbqHilWXBMIJjAG4TSp7jjPnJ1v514="; 19 + }; 20 + 21 + strictDeps = true; 22 + nativeBuildInputs = [ pkg-config ]; 23 + buildInputs = [ 24 + libfontenc 25 + freetype 26 + xorgproto 27 + zlib 28 + ]; 29 + 30 + passthru = { 31 + updateScript = writeScript "update-${finalAttrs.pname}" '' 32 + #!/usr/bin/env nix-shell 33 + #!nix-shell -i bash -p common-updater-scripts 34 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 35 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 36 + | sort -V | tail -n1)" 37 + update-source-version ${finalAttrs.pname} "$version" 38 + ''; 39 + }; 40 + 41 + meta = { 42 + description = "Utilities to create the fonts.scale and fonts.dir index files used by the legacy X11 font system"; 43 + homepage = "https://gitlab.freedesktop.org/xorg/app/mkfontscale"; 44 + license = with lib.licenses; [ 45 + mit 46 + mitOpenGroup 47 + hpndSellVariant 48 + ]; 49 + maintainers = [ ]; 50 + mainProgram = "mkfontscale"; 51 + platforms = lib.platforms.unix; 52 + }; 53 + })
+11
pkgs/by-name/mo/modemmanager/no-dummy-dirs-in-sysconfdir.patch
··· 18 18 mkdir_cmd = 'mkdir -p ${DESTDIR}@0@' 19 19 -meson.add_install_script('sh', '-c', mkdir_cmd.format(mm_prefix / mm_fccunlockdiruser)) 20 20 meson.add_install_script('sh', '-c', mkdir_cmd.format(mm_prefix / mm_fccunlockdirpackage)) 21 + diff --git a/data/dispatcher-modem-setup/meson.build b/data/dispatcher-modem-setup/meson.build 22 + index 812152a3..7527022b 100644 23 + --- a/data/dispatcher-modem-setup/meson.build 24 + +++ b/data/dispatcher-modem-setup/meson.build 25 + @@ -22,5 +22,4 @@ install_data( 26 + ) 27 + 28 + mkdir_cmd = 'mkdir -p ${DESTDIR}@0@' 29 + -meson.add_install_script('sh', '-c', mkdir_cmd.format(mm_prefix / mm_modemsetupdiruser)) 30 + meson.add_install_script('sh', '-c', mkdir_cmd.format(mm_prefix / mm_modemsetupdirpackage)) 31 +
+2 -8
pkgs/by-name/mo/modemmanager/package.nix
··· 32 32 33 33 stdenv.mkDerivation rec { 34 34 pname = "modemmanager"; 35 - version = "1.22.0"; 35 + version = "1.24.0"; 36 36 37 37 src = fetchFromGitLab { 38 38 domain = "gitlab.freedesktop.org"; 39 39 owner = "mobile-broadband"; 40 40 repo = "ModemManager"; 41 41 rev = version; 42 - hash = "sha256-/D9b2rCCUhpDCUfSNAWR65+3EyUywzFdH1R17eSKRDo="; 42 + hash = "sha256-3jI75aR2esmv5dkE4TrdCHIcCvtdOBKnBC5XLEKoVFs="; 43 43 }; 44 44 45 45 patches = [ 46 46 # Since /etc is the domain of NixOS, not Nix, we cannot install files there. 47 47 # But these are just placeholders so we do not need to install them at all. 48 48 ./no-dummy-dirs-in-sysconfdir.patch 49 - 50 - (fetchpatch { 51 - name = "GI_TYPELIB_PATH.patch"; 52 - url = "https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/commit/daa829287894273879799a383ed4dc373c6111b0.patch"; 53 - hash = "sha256-tPQokiZO2SpTlX8xMlkWjP1AIXgoLHW3rJwnmG33z/k="; 54 - }) 55 49 ]; 56 50 57 51 strictDeps = true;
+2 -12
pkgs/by-name/mo/moltenvk/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - fetchpatch2, 6 5 gitUpdater, 7 6 apple-sdk_15, 8 7 cereal, ··· 22 21 23 22 stdenv.mkDerivation (finalAttrs: { 24 23 pname = "MoltenVK"; 25 - version = "1.2.11"; 24 + version = "1.3.0"; 26 25 27 26 strictDeps = true; 28 27 ··· 48 47 owner = "KhronosGroup"; 49 48 repo = "MoltenVK"; 50 49 rev = "v${finalAttrs.version}"; 51 - hash = "sha256-24qQnJ0RnJP2M4zSlSlQ4c4dVZtHutNiCvjrsCDw6wY="; 50 + hash = "sha256-V69P1t48XP/pAPgpVsnFeCBidhHk60XGHRkHF6AEke0="; 52 51 }; 53 - 54 - patches = [ 55 - # Cherry-pick patch to fix build failure due to a hardcoded SPIRV-Cross namespace. 56 - # This can be dropped for MoltenVK 1.2.12. 57 - (fetchpatch2 { 58 - url = "https://github.com/KhronosGroup/MoltenVK/commit/856c8237ac3b32178caae3408effc35bedfdffa1.patch?full_index=1"; 59 - hash = "sha256-dVTop8sU19Swdb3ajbI+6S715NaxTqd7d0yQ/FDqxqY="; 60 - }) 61 - ]; 62 52 63 53 postPatch = '' 64 54 # Move `mvkGitRevDerived.h` to a stable location
+2 -2
pkgs/by-name/ne/neon/package.nix
··· 22 22 in 23 23 24 24 stdenv.mkDerivation rec { 25 - version = "0.34.2"; 25 + version = "0.35.0"; 26 26 pname = "neon"; 27 27 28 28 src = fetchurl { 29 29 url = "https://notroj.github.io/${pname}/${pname}-${version}.tar.gz"; 30 - sha256 = "sha256-+Yzjx0MAvgXt3wXcy9ykmLFNQMKJ93MZXdGlWc/6WFY="; 30 + sha256 = "sha256-FGevtz814/XQ6f1wYowUy6Jmpl4qH7bj+UXuM4XIWVs="; 31 31 }; 32 32 33 33 patches = optionals stdenv.hostPlatform.isDarwin [ ./darwin-fix-configure.patch ];
+3 -3
pkgs/by-name/ne/netpbm/package.nix
··· 21 21 # Determine version and revision from: 22 22 # https://sourceforge.net/p/netpbm/code/HEAD/log/?path=/advanced 23 23 pname = "netpbm"; 24 - version = "11.11.0"; 24 + version = "11.11.1"; 25 25 26 26 outputs = [ 27 27 "bin" ··· 31 31 32 32 src = fetchsvn { 33 33 url = "https://svn.code.sf.net/p/netpbm/code/advanced"; 34 - rev = "5101"; 35 - sha256 = "sha256-/oS+h4VujaNM7AnMq6e5/8A0cVZysJzFSGgJ4p01oJU="; 34 + rev = "5104"; 35 + sha256 = "sha256-zgA3EZPrXD8JOO9O2nuLt4ouPbbUJAlFKlX+2QOz8Uw="; 36 36 }; 37 37 38 38 nativeBuildInputs = [
+2 -2
pkgs/by-name/re/re2/package.nix
··· 17 17 18 18 stdenv.mkDerivation (finalAttrs: { 19 19 pname = "re2"; 20 - version = "2025-08-05"; 20 + version = "2025-08-12"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "google"; 24 24 repo = "re2"; 25 25 rev = finalAttrs.version; 26 - hash = "sha256-Q4/xab6Jqhai/WIMND5YWOrPmNyDDf3HysKDqum3RgQ="; 26 + hash = "sha256-3cWbw8Wlnl1OMPIcbNlc3HnCsuL4VT7psuHWtldsWoQ="; 27 27 }; 28 28 29 29 outputs = [
+1
pkgs/by-name/re/remctl/package.nix
··· 25 25 postPatch = '' 26 26 patchShebangs tests 27 27 sed -i '\,server/acl/localgroup,d' tests/TESTS 28 + substituteInPlace configure.ac --replace "-Werror" "" 28 29 ''; 29 30 30 31 nativeBuildInputs = [
+3 -24
pkgs/by-name/ru/ruff/package.nix
··· 16 16 17 17 rustPlatform.buildRustPackage (finalAttrs: { 18 18 pname = "ruff"; 19 - version = "0.12.8"; 19 + version = "0.12.10"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "astral-sh"; 23 23 repo = "ruff"; 24 24 tag = finalAttrs.version; 25 - hash = "sha256-ypYtAUQBFSf+cgly9K5eRMegtWrRmLmqrgfRmCJvXEk="; 25 + hash = "sha256-pHwWYgU/PMkoKIADJsbU3ta+u7H4DR+kb3xZturqpgk="; 26 26 }; 27 27 28 - # Patch out test that fails due to ANSI escape codes being written as-is, 29 - # causing a snapshot test to fail. The output itself is correct. 30 - # 31 - # This is the relevant test's output as of 0.12.5 32 - # > 0 │-/home/ferris/project/code.py:1:1: E902 Permission denied (os error 13) 33 - # > 1 │-/home/ferris/project/notebook.ipynb:1:1: E902 Permission denied (os error 13) 34 - # > 2 │-/home/ferris/project/pyproject.toml:1:1: E902 Permission denied (os error 13) 35 - # > 0 │+␛[1m/home/ferris/project/code.py␛[0m␛[36m:␛[0m1␛[36m:␛[0m1␛[36m:␛[0m ␛[1m␛[31mE902␛[0m Permission denied (os error 13) 36 - # > 1 │+␛[1m/home/ferris/project/notebook.ipynb␛[0m␛[36m:␛[0m1␛[36m:␛[0m1␛[36m:␛[0m ␛[1m␛[31mE902␛[0m Permission denied (os error 13) 37 - # > 2 │+␛[1m/home/ferris/project/pyproject.toml␛[0m␛[36m:␛[0m1␛[36m:␛[0m1␛[36m:␛[0m ␛[1m␛[31mE902␛[0m Permission denied (os error 13) 38 - # > ────────────┴─────────────────────────────────────────────────────────────────── 39 - postPatch = '' 40 - substituteInPlace crates/ruff/src/commands/check.rs --replace-fail ' 41 - #[test] 42 - fn unreadable_files() -> Result<()> {' \ 43 - ' 44 - #[test] 45 - #[ignore = "ANSI Escape Codes trigger snapshot diff"] 46 - fn unreadable_files() -> Result<()> {' 47 - ''; 48 - 49 28 cargoBuildFlags = [ "--package=ruff" ]; 50 29 51 - cargoHash = "sha256-0iYwS8Ssi4JDxwr0Q2+iKvYHb179L6BiiuXa2D4qiOA="; 30 + cargoHash = "sha256-M4NyUvtoDK9MKacSMl+W4d+WF7LrINm9zowrTNwy9wk="; 52 31 53 32 nativeBuildInputs = [ installShellFiles ]; 54 33
+2 -2
pkgs/by-name/s2/s2n-tls/package.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "s2n-tls"; 12 - version = "1.5.23"; 12 + version = "1.5.24"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "aws"; 16 16 repo = "s2n-tls"; 17 17 rev = "v${version}"; 18 - hash = "sha256-gg8JrkZ9W93sEQ4uEqCh+oaAqtUH+xAz4FdS0GD4F90="; 18 + hash = "sha256-a5TJlxDj5B+fq8EUrlXtqGKtMC3S8PoIG2w12DTYVsc="; 19 19 }; 20 20 21 21 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/by-name/sc/screego/package.nix
··· 1 1 { 2 2 lib, 3 - buildGo123Module, 3 + buildGoModule, 4 4 fetchFromGitHub, 5 5 fetchYarnDeps, 6 6 yarnConfigHook, ··· 48 48 49 49 in 50 50 51 - buildGo123Module rec { 51 + buildGoModule rec { 52 52 inherit src version; 53 53 54 54 pname = "screego-server";
+1
pkgs/by-name/sd/sdl3/package.nix
··· 147 147 ] 148 148 ++ lib.optionals x11Support [ 149 149 xorg.libX11 150 + xorg.libxcb 150 151 xorg.libXScrnSaver 151 152 xorg.libXcursor 152 153 xorg.libXext
+1 -5
pkgs/by-name/se/searxng/package.nix
··· 25 25 26 26 nativeBuildInputs = with python.pkgs; [ pythonRelaxDepsHook ]; 27 27 28 - pythonRemoveDeps = [ 29 - "typer-slim" # we use typer instead 30 - ]; 31 - 32 28 pythonRelaxDeps = [ 33 29 "certifi" 34 30 "flask" ··· 79 75 python-dateutil 80 76 pyyaml 81 77 setproctitle 82 - typer 78 + typer-slim 83 79 uvloop 84 80 valkey 85 81 whitenoise
+6 -5
pkgs/by-name/sh/shadow/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 - runtimeShell, 6 5 nixosTests, 7 6 autoreconfHook, 8 7 bison, ··· 49 48 "man" 50 49 ]; 51 50 52 - RUNTIME_SHELL = runtimeShell; 53 - 54 51 nativeBuildInputs = [ 55 52 autoreconfHook 56 53 bison ··· 74 71 ./keep-path.patch 75 72 # Obtain XML resources from XML catalog (patch adapted from gtk-doc) 76 73 ./respect-xml-catalog-files-var.patch 77 - ./runtime-shell.patch 78 74 ./fix-install-with-tcb.patch 79 75 ]; 80 76 81 - # The nix daemon often forbids even creating set[ug]id files. 82 77 postPatch = '' 78 + # The nix daemon often forbids even creating set[ug]id files 83 79 sed 's/^\(s[ug]idperms\) = [0-9]755/\1 = 0755/' -i src/Makefile.am 80 + 81 + # The default shell is not defined at build time of the package. It is 82 + # decided at build time of the NixOS configration. Thus, don't decide this 83 + # here but just point to the location of the shell on the system. 84 + substituteInPlace configure.ac --replace-fail '$SHELL' /bin/sh 84 85 ''; 85 86 86 87 # `AC_FUNC_SETPGRP' is not cross-compilation capable.
-13
pkgs/by-name/sh/shadow/runtime-shell.patch
··· 1 - diff --git a/configure.ac b/configure.ac 2 - index e4c6aaec..03883ad7 100644 3 - --- a/configure.ac 4 - +++ b/configure.ac 5 - @@ -682,7 +682,7 @@ if test "$enable_utmpx" = "yes"; then 6 - [Define if utmpx should be used]) 7 - fi 8 - 9 - -AC_DEFINE_UNQUOTED(SHELL, ["$SHELL"], [The default shell.]) 10 - +AC_DEFINE_UNQUOTED(SHELL, ["$RUNTIME_SHELL"], [The runtime shell.]) 11 - 12 - AM_GNU_GETTEXT_VERSION(0.16) 13 - AM_GNU_GETTEXT([external], [need-ngettext])
+2
pkgs/by-name/sl/slstatus/package.nix
··· 5 5 pkg-config, 6 6 writeText, 7 7 libX11, 8 + libxcb, 8 9 libXau, 9 10 libXdmcp, 10 11 config, ··· 39 40 nativeBuildInputs = [ pkg-config ]; 40 41 buildInputs = [ 41 42 libX11 43 + libxcb 42 44 libXau 43 45 libXdmcp 44 46 ]
+2 -2
pkgs/by-name/so/sointu/package.nix
··· 1 1 { 2 - buildGo123Module, 2 + buildGoModule, 3 3 fetchFromGitHub, 4 4 lib, 5 5 pkg-config, ··· 12 12 xorg, 13 13 }: 14 14 15 - buildGo123Module { 15 + buildGoModule { 16 16 pname = "sointu"; 17 17 version = "0.4.1-unstable-2025-08-13"; 18 18
+41 -25
pkgs/by-name/sp/spirv-llvm-translator/package.nix
··· 14 14 15 15 let 16 16 llvmMajor = lib.versions.major llvm.version; 17 - isROCm = lib.hasPrefix "rocm" llvm.pname; 18 17 19 - # ROCm, if actively updated will always be at the latest version 20 18 versions = { 19 + "21" = rec { 20 + version = "21.1.0"; 21 + rev = "v${version}"; 22 + hash = "sha256-kk8BbPl/UBW1gaO/cuOQ9OsiNTEk0TkvRDLKUAh6exk="; 23 + }; 24 + "20" = rec { 25 + version = "20.1.5"; 26 + rev = "v${version}"; 27 + hash = "sha256-GdlC/Vl61nTNdua2s+CW2YOvkSKK6MNOvBc/393iths="; 28 + }; 21 29 "19" = rec { 22 - version = "19.1.6"; 30 + version = "19.1.10"; 23 31 rev = "v${version}"; 24 - hash = "sha256-mUvDF5y+cBnqUaHjyiiE8cJGH5MfQMqGFy6bYv9vCVY="; 32 + hash = "sha256-VgA47AGMnOKYNeW95nxJZzmKnYK8D/9okgssPnPqXXI="; 25 33 }; 26 34 "18" = rec { 27 - version = "18.1.11"; 35 + version = "18.1.15"; 28 36 rev = "v${version}"; 29 - hash = "sha256-VoALyFqShKL3bpeoOIdKoseNfDWiRE+j0ppHapXOmEU="; 37 + hash = "sha256-rt3RTZut41uDEh0YmpOzH3sOezeEVWtAIGMKCHLSJBw="; 30 38 }; 31 39 "17" = rec { 32 - version = "17.0.11"; 40 + version = "17.0.15"; 33 41 rev = "v${version}"; 34 - hash = "sha256-Ba4GZS7Rc93Fphj2xaBZ3AqwXvxB9UU0gzPNoDEoaQM="; 42 + hash = "sha256-ETpTQYMMApECDfuRY87HrO/PUxZ13x9dBRJ3ychslUI="; 35 43 }; 36 44 "16" = rec { 37 - version = "16.0.11"; 45 + version = "16.0.15"; 38 46 rev = "v${version}"; 39 - hash = "sha256-PI4cT/PGqpaF5SysOTrEE4D+OcIUsIOMzww4CRPtwBQ="; 47 + hash = "sha256-30i73tGl+1KlP92XA0uxdMTydd9EtaQ4SZ0W1kdm1fQ="; 40 48 }; 41 49 "15" = rec { 42 - version = "15.0.14"; 50 + version = "15.0.15"; 43 51 rev = "v${version}"; 44 - hash = "sha256-6DiCO2VEEQFdKmnH5vzUZ2MQ7lducb5dKkpewwx9uE4="; 52 + hash = "sha256-kFVDS+qwoG1AXrZ8LytoiLVbZkTGR9sO+Wrq3VGgWNQ="; 45 53 }; 46 - "14" = { 47 - version = "14.0.11+unstable-2025-01-28"; 48 - rev = "9df26b6af308cb834a4013deb8094f386f29accd"; 49 - hash = "sha256-8VRQwXFbLcYgHtWKs73yuTsy2kkCgYgPqD+W/GPy1BM="; 54 + "14" = rec { 55 + version = "14.0.14"; 56 + rev = "v${version}"; 57 + hash = "sha256-PW+5w93omLYPZXjRtU4BNY2ztZ86pcjgUQZkrktMq+4="; 50 58 }; 51 59 }; 52 60 53 - branch = 54 - versions."${if isROCm then "17" else llvmMajor}" 55 - or (throw "Incompatible LLVM version ${llvmMajor}"); 61 + branch = versions."${llvmMajor}" or (throw "Incompatible LLVM version ${llvmMajor}"); 56 62 in 57 63 stdenv.mkDerivation { 58 64 pname = "SPIRV-LLVM-Translator"; ··· 76 82 nativeBuildInputs = [ 77 83 pkg-config 78 84 cmake 79 - ] 80 - ++ (if isROCm then [ llvm ] else [ llvm.dev ]); 85 + llvm.dev 86 + ]; 81 87 82 88 buildInputs = [ 83 89 spirv-headers 84 90 spirv-tools 85 - ] 86 - ++ lib.optionals (!isROCm) [ llvm ]; 91 + llvm 92 + ]; 87 93 88 94 nativeCheckInputs = [ lit ]; 89 95 90 96 cmakeFlags = [ 91 97 "-DLLVM_INCLUDE_TESTS=ON" 92 - "-DLLVM_DIR=${(if isROCm then llvm else llvm.dev)}" 98 + "-DLLVM_DIR=${llvm.dev}" 93 99 "-DBUILD_SHARED_LIBS=YES" 94 100 "-DLLVM_SPIRV_BUILD_EXTERNAL=YES" 95 101 # RPATH of binary /nix/store/.../bin/llvm-spirv contains a forbidden reference to /build/ 96 102 "-DCMAKE_SKIP_BUILD_RPATH=ON" 97 103 "-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=${spirv-headers.src}" 98 104 ] 99 - ++ lib.optional (llvmMajor == "19") "-DBASE_LLVM_VERSION=${lib.versions.majorMinor llvm.version}.0"; 105 + ++ lib.optional ( 106 + lib.toInt llvmMajor >= 19 107 + ) "-DBASE_LLVM_VERSION=${lib.versions.majorMinor llvm.version}.0"; 100 108 101 109 # FIXME: CMake tries to run "/llvm-lit" which of course doesn't exist 102 110 doCheck = false; ··· 125 133 license = licenses.ncsa; 126 134 platforms = platforms.unix; 127 135 maintainers = with maintainers; [ gloaming ]; 136 + 137 + # For the LLVM 21 build some commits to spirv-headers 138 + # are required that didn't make it into the final release of 1.4.321 139 + # For example: 9e3836d Add SPV_INTEL_function_variants 140 + # Once spirv-headers are released again and updated on nixpkgs, 141 + # this will switch over to the nixpkgs version and should no 142 + # longer be broken. 143 + broken = llvmMajor == "21" && lib.versionOlder spirv-headers.version "1.4.322"; 128 144 }; 129 145 }
+2 -2
pkgs/by-name/st/stash/package.nix
··· 1 1 { 2 - buildGo123Module, 2 + buildGoModule, 3 3 fetchFromGitHub, 4 4 fetchYarnDeps, 5 5 lib, ··· 72 72 dontFixup = true; 73 73 }); 74 74 in 75 - buildGo123Module { 75 + buildGoModule { 76 76 inherit 77 77 pname 78 78 src
+2 -2
pkgs/by-name/ta/taglib/package.nix
··· 10 10 11 11 stdenv.mkDerivation (finalAttrs: { 12 12 pname = "taglib"; 13 - version = "2.1"; 13 + version = "2.1.1"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "taglib"; 17 17 repo = "taglib"; 18 18 rev = "v${finalAttrs.version}"; 19 - hash = "sha256-1eIx4Lp/GZEBdHJcMN1zvctxJK2OAywuPzBwgtZgbmE="; 19 + hash = "sha256-pzsjZgtr9icfXWxsZoA5GXf9k3gh92DzJRcp87T0PVQ="; 20 20 }; 21 21 22 22 strictDeps = true;
+2 -2
pkgs/by-name/te/teleport_16/package.nix
··· 1 1 { 2 2 buildTeleport, 3 - buildGo124Module, 3 + buildGoModule, 4 4 wasm-bindgen-cli_0_2_95, 5 5 }: 6 6 buildTeleport rec { ··· 11 11 cargoHash = "sha256-04zykCcVTptEPGy35MIWG+tROKFzEepLBmn04mSbt7I="; 12 12 13 13 wasm-bindgen-cli = wasm-bindgen-cli_0_2_95; 14 - buildGoModule = buildGo124Module; 14 + inherit buildGoModule; 15 15 }
+2 -2
pkgs/by-name/te/teleport_17/package.nix
··· 1 1 { 2 2 buildTeleport, 3 - buildGo124Module, 3 + buildGoModule, 4 4 wasm-bindgen-cli_0_2_95, 5 5 }: 6 6 ··· 12 12 pnpmHash = "sha256-ZONs8z8mgBBQBmqaDGJKqhmtUKBrxE8BGYppbAqpQmg="; 13 13 14 14 wasm-bindgen-cli = wasm-bindgen-cli_0_2_95; 15 - buildGoModule = buildGo124Module; 15 + inherit buildGoModule; 16 16 }
+51
pkgs/by-name/tr/transset/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libx11, 7 + xorgproto, 8 + writeScript, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "transset"; 12 + version = "1.0.4"; 13 + 14 + src = fetchurl { 15 + url = "mirror://xorg/individual/app/transset-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-gamrdK8TdzOqjLajf4KSlIUm/n7wa4WfwP8nLEN8Czg="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ 24 + libx11 25 + xorgproto 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "Utility for setting opacity/transparency property on a window"; 41 + homepage = "https://gitlab.freedesktop.org/xorg/app/transset"; 42 + license = with lib.licenses; [ 43 + mit 44 + mitOpenGroup 45 + hpndSellVariant 46 + ]; 47 + mainProgram = "transset"; 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+2 -2
pkgs/by-name/um/umockdev/package.nix
··· 22 22 23 23 stdenv.mkDerivation (finalAttrs: { 24 24 pname = "umockdev"; 25 - version = "0.19.2"; 25 + version = "0.19.3"; 26 26 27 27 outputs = [ 28 28 "bin" ··· 33 33 34 34 src = fetchurl { 35 35 url = "https://github.com/martinpitt/umockdev/releases/download/${finalAttrs.version}/umockdev-${finalAttrs.version}.tar.xz"; 36 - hash = "sha256-b92mdUTzZslfFVbeDR+C2xPyMbwDYsffA8w0uiaykmg="; 36 + hash = "sha256-RuReq29la/wJJDjX4OXfTF9R0Y46gzYMK+aAsgehoLc="; 37 37 }; 38 38 39 39 patches = [
+10 -5
pkgs/by-name/ut/util-linux/package.nix
··· 81 81 patchShebangs tests/run.sh tools/all_syscalls tools/all_errnos 82 82 83 83 substituteInPlace sys-utils/eject.c \ 84 - --replace "/bin/umount" "$bin/bin/umount" 84 + --replace-fail "/bin/umount" "$bin/bin/umount" 85 + 86 + # fix `mount -t` tab completion 87 + substituteInPlace bash-completion/{blkid,mount,umount} \ 88 + --replace-fail "/lib/modules" "/run/booted-system/kernel-modules/lib/modules" 85 89 '' 86 90 + lib.optionalString shadowSupport '' 87 91 substituteInPlace include/pathnames.h \ 88 - --replace "/bin/login" "${shadow}/bin/login" 92 + --replace-fail "/bin/login" "${shadow}/bin/login" 89 93 '' 90 94 + lib.optionalString stdenv.hostPlatform.isFreeBSD '' 91 95 substituteInPlace lib/c_strtod.c --replace-fail __APPLE__ __FreeBSD__ ··· 184 188 ${lib.optionalString (!stdenv.hostPlatform.isStatic) ''moveToOutput "lib/security" "$lastlog"''} 185 189 moveToOutput "lib/tmpfiles.d/lastlog2-tmpfiles.conf" "$lastlog" 186 190 191 + moveToOutput "bin/lastlog2" "$lastlog" 192 + ln -svf "$lastlog/bin/"* $bin/bin/ 193 + '' 194 + + lib.optionalString (withLastlog && systemdSupport) '' 187 195 moveToOutput "lib/systemd/system/lastlog2-import.service" "$lastlog" 188 196 substituteInPlace $lastlog/lib/systemd/system/lastlog2-import.service \ 189 197 --replace-fail "$bin/bin/lastlog2" "$lastlog/bin/lastlog2" 190 - 191 - moveToOutput "bin/lastlog2" "$lastlog" 192 - ln -svf "$lastlog/bin/"* $bin/bin/ 193 198 '' 194 199 + lib.optionalString stdenv.hostPlatform.isLinux '' 195 200
+19 -26
pkgs/by-name/ut/util-macros/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchurl, 5 - pkg-config, 6 - automake, 7 - autoconf, 8 - libtool, 4 + fetchFromGitLab, 9 5 testers, 10 - writeScript, 6 + gitUpdater, 7 + autoreconfHook, 11 8 }: 12 9 stdenv.mkDerivation (finalAttrs: { 13 10 pname = "util-macros"; 14 11 version = "1.20.2"; 15 12 16 - src = fetchurl { 17 - url = "mirror://xorg/individual/util/util-macros-${finalAttrs.version}.tar.xz"; 18 - hash = "sha256-msJp66JPZy19ezV05L5fMz0T8Ep3EjA7GCGypRrILo4="; 13 + src = fetchFromGitLab { 14 + domain = "gitlab.freedesktop.org"; 15 + group = "xorg"; 16 + owner = "util"; 17 + repo = "macros"; 18 + tag = "util-macros-${finalAttrs.version}"; 19 + hash = "sha256-COIWe7GMfbk76/QUIRsN5yvjd6MEarI0j0M+Xa0WoKQ="; 19 20 }; 20 21 21 22 strictDeps = true; 22 23 23 - nativeBuildInputs = [ pkg-config ]; 24 - 25 - # not needed for releases, we propagate the needed tools 26 - propagatedNativeBuildInputs = [ 27 - automake 28 - autoconf 29 - libtool 30 - ]; 24 + nativeBuildInputs = [ autoreconfHook ]; 31 25 32 26 passthru = { 33 27 tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 34 - updateScript = writeScript "update-${finalAttrs.pname}" '' 35 - #!/usr/bin/env nix-shell 36 - #!nix-shell -i bash -p common-updater-scripts 37 - version="$(list-directory-versions --pname ${finalAttrs.pname} \ 38 - --url https://xorg.freedesktop.org/releases/individual/util/ \ 39 - | sort -V | tail -n1)" 40 - update-source-version ${finalAttrs.pname} "$version" 41 - ''; 28 + updateScript = gitUpdater { 29 + rev-prefix = "util-macros-"; 30 + ignoredVersions = "1_0_2"; 31 + }; 42 32 }; 43 33 44 34 meta = { ··· 48 38 hpndSellVariant 49 39 mit 50 40 ]; 51 - maintainers = [ ]; 41 + maintainers = with lib.maintainers; [ 42 + raboof 43 + jopejoe1 44 + ]; 52 45 pkgConfigModules = [ "xorg-macros" ]; 53 46 platforms = lib.platforms.unix; 54 47 };
+3 -3
pkgs/by-name/uv/uv/package.nix
··· 18 18 19 19 rustPlatform.buildRustPackage (finalAttrs: { 20 20 pname = "uv"; 21 - version = "0.8.6"; 21 + version = "0.8.14"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "astral-sh"; 25 25 repo = "uv"; 26 26 tag = finalAttrs.version; 27 - hash = "sha256-82KKnz42Nn2Ef8DHBWBMPTrQVsM+klIOV8hqSKnXqEY="; 27 + hash = "sha256-KG6WNaHbrPBasHdSdtWrnvzwMRrvpwukVSIZe3COrUA="; 28 28 }; 29 29 30 - cargoHash = "sha256-l2/PMPiSPE6WpXOuU21NsMx0vsz9cuy/QeCiSTkbvVw="; 30 + cargoHash = "sha256-Ow39kxnACXVbEtCPGJJ7SKdTFhYwd9IDPbYAsvNPOKw="; 31 31 32 32 buildInputs = [ 33 33 rust-jemalloc-sys
+26 -21
pkgs/by-name/w3/w3m/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchFromGitHub, 4 + fetchFromSourcehut, 5 5 fetchpatch, 6 6 ncurses, 7 7 boehmgc, ··· 38 38 ''; 39 39 }; 40 40 in 41 - stdenv.mkDerivation rec { 41 + stdenv.mkDerivation (finalAttrs: { 42 42 pname = "w3m"; 43 - version = "0.5.3+git20230121"; 43 + version = "0.5.5"; 44 44 45 - src = fetchFromGitHub { 46 - owner = "tats"; 45 + src = fetchFromSourcehut { 46 + owner = "~rkta"; 47 47 repo = "w3m"; 48 - rev = "v${version}"; 49 - hash = "sha256-upb5lWqhC1jRegzTncIz5e21v4Pw912FyVn217HucFs="; 48 + tag = "v${finalAttrs.version}"; 49 + hash = "sha256-rz9tNkMg5xUqMpMdK2AQlKjCJlCjgLQOkj4A/eyPm0M="; 50 50 }; 51 51 52 - NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isSunOS "-lsocket -lnsl"; 52 + env = { 53 + NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isSunOS "-lsocket -lnsl"; 54 + 55 + # we must set these so that the generated files (e.g. w3mhelp.cgi) contain 56 + # the correct paths. 57 + PERL = "${perl}/bin/perl"; 58 + MAN = "${man}/bin/man"; 53 59 54 - # we must set these so that the generated files (e.g. w3mhelp.cgi) contain 55 - # the correct paths. 56 - PERL = "${perl}/bin/perl"; 57 - MAN = "${man}/bin/man"; 60 + # for w3mimgdisplay 61 + # see: https://bbs.archlinux.org/viewtopic.php?id=196093 62 + LIBS = lib.optionalString x11Support "-lX11"; 63 + }; 58 64 59 65 makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ]; 60 66 ··· 113 119 114 120 enableParallelBuilding = false; 115 121 116 - # for w3mimgdisplay 117 - # see: https://bbs.archlinux.org/viewtopic.php?id=196093 118 - LIBS = lib.optionalString x11Support "-lX11"; 119 - 120 122 passthru.tests.version = testers.testVersion { 121 - inherit version; 123 + inherit (finalAttrs) version; 122 124 package = w3m; 123 125 command = "w3m -version"; 124 126 }; 125 127 126 128 meta = { 127 - homepage = "https://w3m.sourceforge.net/"; 128 - changelog = "https://github.com/tats/w3m/blob/v${version}/ChangeLog"; 129 + homepage = "https://git.sr.ht/~rkta/w3m"; 130 + changelog = "https://git.sr.ht/~rkta/w3m/tree/v${finalAttrs.version}/item/NEWS"; 129 131 description = "Text-mode web browser"; 130 - maintainers = with lib.maintainers; [ anthonyroussel ]; 132 + maintainers = with lib.maintainers; [ 133 + anthonyroussel 134 + toastal 135 + ]; 131 136 platforms = lib.platforms.unix; 132 137 license = lib.licenses.mit; 133 138 mainProgram = "w3m"; 134 139 }; 135 - } 140 + })
+2
pkgs/by-name/wl/wlx-overlay-s/package.nix
··· 6 6 lib, 7 7 libGL, 8 8 libX11, 9 + libxcb, 9 10 libXext, 10 11 libXrandr, 11 12 libxkbcommon, ··· 62 63 fontconfig 63 64 libGL 64 65 libX11 66 + libxcb 65 67 libXext 66 68 libXrandr 67 69 libxkbcommon
+51
pkgs/by-name/xc/xcmsdb/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libx11, 7 + writeScript, 8 + }: 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "xcmsdb"; 11 + version = "1.0.7"; 12 + 13 + src = fetchurl { 14 + url = "mirror://xorg/individual/app/xcmsdb-${finalAttrs.version}.tar.xz"; 15 + hash = "sha256-XsQGjkiBh7BeqS7hNiyWt4qQ8ZzMehhExZIdcGJrvDg="; 16 + }; 17 + 18 + strictDeps = true; 19 + 20 + nativeBuildInputs = [ pkg-config ]; 21 + 22 + buildInputs = [ libx11 ]; 23 + 24 + passthru = { 25 + updateScript = writeScript "update-${finalAttrs.pname}" '' 26 + #!/usr/bin/env nix-shell 27 + #!nix-shell -i bash -p common-updater-scripts 28 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 29 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 30 + | sort -V | tail -n1)" 31 + update-source-version ${finalAttrs.pname} "$version" 32 + ''; 33 + }; 34 + 35 + meta = { 36 + description = "Device Color Characterization utility for X Color Management System"; 37 + longDescription = '' 38 + xcmsdb is used to load, query, or remove Device Color Characterization data stored in 39 + properties on the root window of the screen as specified in section 7, Device Color 40 + Characterization, of the X11 Inter-Client Communication Conventions Manual (ICCCM). 41 + ''; 42 + homepage = "https://gitlab.freedesktop.org/xorg/app/xcmsdb"; 43 + license = with lib.licenses; [ 44 + hpnd 45 + mitOpenGroup 46 + ]; 47 + mainProgram = "xcmsdb"; 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+49
pkgs/by-name/xc/xcursor-themes/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xcursorgen, 7 + xorgproto, 8 + libxcursor, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "xcursor-themes"; 13 + version = "1.0.7"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/data/xcursor-themes-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-lbro9Igj2JSgW/Qt+/RTZ0q3296xHivAeehSWtRzeMg="; 18 + }; 19 + 20 + strictDeps = true; 21 + nativeBuildInputs = [ 22 + pkg-config 23 + xcursorgen 24 + ]; 25 + buildInputs = [ 26 + xorgproto 27 + libxcursor 28 + ]; 29 + 30 + configureFlags = [ "--with-cursordir=$(out)/share/icons" ]; 31 + passthru = { 32 + updateScript = writeScript "update-${finalAttrs.pname}" '' 33 + #!/usr/bin/env nix-shell 34 + #!nix-shell -i bash -p common-updater-scripts 35 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 36 + --url https://xorg.freedesktop.org/releases/individual/data/ \ 37 + | sort -V | tail -n1)" 38 + update-source-version ${finalAttrs.pname} "$version" 39 + ''; 40 + }; 41 + 42 + meta = { 43 + description = "Default set of cursor themes for use with libXcursor."; 44 + homepage = "https://gitlab.freedesktop.org/xorg/data/cursors"; 45 + license = lib.licenses.x11; 46 + maintainers = [ ]; 47 + platforms = lib.platforms.unix; 48 + }; 49 + })
+51
pkgs/by-name/xc/xcursorgen/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libpng, 7 + libx11, 8 + libxcursor, 9 + xorgproto, 10 + writeScript, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "xcursorgen"; 14 + version = "1.0.9"; 15 + 16 + src = fetchurl { 17 + url = "mirror://xorg/individual/app/xcursorgen-${finalAttrs.version}.tar.xz"; 18 + hash = "sha256-DMnhVqyEyhbqkCcQrzXg+v+lHRN5cHHjtLbMfL1JO7w="; 19 + }; 20 + 21 + strictDeps = true; 22 + 23 + nativeBuildInputs = [ pkg-config ]; 24 + 25 + buildInputs = [ 26 + libpng 27 + libx11 28 + libxcursor 29 + xorgproto 30 + ]; 31 + 32 + passthru = { 33 + updateScript = writeScript "update-${finalAttrs.pname}" '' 34 + #!/usr/bin/env nix-shell 35 + #!nix-shell -i bash -p common-updater-scripts 36 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 37 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 38 + | sort -V | tail -n1)" 39 + update-source-version ${finalAttrs.pname} "$version" 40 + ''; 41 + }; 42 + 43 + meta = { 44 + description = "prepares X11 cursor sets for use with libXcursor"; 45 + homepage = "https://gitlab.freedesktop.org/xorg/app/xcursorgen"; 46 + license = lib.licenses.hpndSellVariant; 47 + mainProgram = "xcursorgen"; 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+49
pkgs/by-name/xd/xdriinfo/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libGL, 7 + xorgproto, 8 + libx11, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "xdriinfo"; 13 + version = "1.0.8"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/app/xdriinfo-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-AEYwVkNbgiYcInrQ3hhz/UU2EBYH+8V1QOKOSgqbcfc="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ pkg-config ]; 23 + 24 + buildInputs = [ 25 + libGL 26 + xorgproto 27 + libx11 28 + ]; 29 + 30 + passthru = { 31 + updateScript = writeScript "update-${finalAttrs.pname}" '' 32 + #!/usr/bin/env nix-shell 33 + #!nix-shell -i bash -p common-updater-scripts 34 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 35 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 36 + | sort -V | tail -n1)" 37 + update-source-version ${finalAttrs.pname} "$version" 38 + ''; 39 + }; 40 + 41 + meta = { 42 + description = "Utility to query configuration information of X11 DRI drivers"; 43 + homepage = "https://gitlab.freedesktop.org/xorg/app/xdriinfo"; 44 + license = lib.licenses.mit; 45 + mainProgram = "xdriinfo"; 46 + maintainers = [ ]; 47 + platforms = lib.platforms.unix; 48 + }; 49 + })
+2 -2
pkgs/by-name/xd/xdummy/package.nix
··· 29 29 ModulePath "${xorg.xorgserver.out}/lib/xorg/modules" 30 30 ModulePath "${xorg.xf86videodummy}/lib/xorg/modules" 31 31 XkbDir "${xkeyboard_config}/share/X11/xkb" 32 - FontPath "${xorg.fontadobe75dpi}/lib/X11/fonts/75dpi" 33 - FontPath "${xorg.fontadobe100dpi}/lib/X11/fonts/100dpi" 32 + FontPath "${xorg.fontadobe75dpi}/share/fonts/X11/75dpi" 33 + FontPath "${xorg.fontadobe100dpi}/share/fonts/X11/100dpi" 34 34 FontPath "${xorg.fontmiscmisc}/lib/X11/fonts/misc" 35 35 FontPath "${xorg.fontcursormisc}/lib/X11/fonts/misc" 36 36 ${lib.optionalString unfreeFonts ''
+54
pkgs/by-name/xe/xev/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxrandr, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "xev"; 13 + version = "1.2.6"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/app/xev-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-YeHF4AismXOsp83d826d90EOdwg7Aw6wT03HN8UYB9c="; 18 + }; 19 + 20 + strictDeps = true; 21 + nativeBuildInputs = [ pkg-config ]; 22 + buildInputs = [ 23 + xorgproto 24 + libx11 25 + libxrandr 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "X event monitor"; 41 + longDescription = '' 42 + xev creates a window and then asks the X server to send it X11 events whenever anything 43 + happens to the window (such as it being moved, resized, typed in, clicked in, etc.). 44 + You can also attach it to an existing window. It is useful for seeing what causes events to 45 + occur and to display the information that they contain; it is essentially a debugging and 46 + development tool, and should not be needed in normal usage. 47 + ''; 48 + homepage = "https://gitlab.freedesktop.org/xorg/app/xev"; 49 + license = lib.licenses.x11; 50 + mainProgram = "xev"; 51 + maintainers = [ ]; 52 + platforms = lib.platforms.unix; 53 + }; 54 + })
+56
pkgs/by-name/xf/xfsinfo/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libfs, 8 + writeScript, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "xfsinfo"; 12 + version = "1.0.8"; 13 + 14 + src = fetchurl { 15 + url = "mirror://xorg/individual/app/xfsinfo-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-roBZK2Bj2pKOPQyBAjcJsvopoE/NpJ9sNjrFedl/I6I="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ 24 + xorgproto 25 + libfs 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "X font server information utility"; 41 + longDescription = '' 42 + xfsinfo is a utility for displaying information about an X font server. 43 + It is used to examine the capabilities of a server, the predefined values for various 44 + parameters used in communicating between clients and the server, and the font catalogues and 45 + alternate servers that are available. 46 + ''; 47 + homepage = "https://gitlab.freedesktop.org/xorg/app/xfsinfo"; 48 + license = with lib.licenses; [ 49 + mitOpenGroup 50 + hpndSellVariant 51 + ]; 52 + mainProgram = "xfsinfo"; 53 + maintainers = [ ]; 54 + platforms = lib.platforms.unix; 55 + }; 56 + })
+52
pkgs/by-name/xg/xgamma/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxxf86vm, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "xgamma"; 13 + version = "1.0.8"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/app/xgamma-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-mPn2nlOhHDVKZjfqXD12mc61xbH4rW8KFNmTHloQ0Hk="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ pkg-config ]; 23 + 24 + buildInputs = [ 25 + xorgproto 26 + libx11 27 + libxxf86vm 28 + ]; 29 + 30 + passthru = { 31 + updateScript = writeScript "update-${finalAttrs.pname}" '' 32 + #!/usr/bin/env nix-shell 33 + #!nix-shell -i bash -p common-updater-scripts 34 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 35 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 36 + | sort -V | tail -n1)" 37 + update-source-version ${finalAttrs.pname} "$version" 38 + ''; 39 + }; 40 + 41 + meta = { 42 + description = "Utility to query and alter the gamma correction of a X monitor"; 43 + homepage = "https://gitlab.freedesktop.org/xorg/app/xgamma"; 44 + license = with lib.licenses; [ 45 + x11 46 + hpndSellVariant 47 + ]; 48 + mainProgram = "xgamma"; 49 + maintainers = [ ]; 50 + platforms = lib.platforms.unix; 51 + }; 52 + })
+56
pkgs/by-name/xg/xgc/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libxaw, 7 + libxt, 8 + wrapWithXFileSearchPathHook, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "xgc"; 13 + version = "1.0.7"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/app/xgc-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-2FgljAXqrC0fSLtEgg3C3OCmhgGhT/+XhTxytI0bfQg="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ 23 + pkg-config 24 + wrapWithXFileSearchPathHook 25 + ]; 26 + 27 + buildInputs = [ 28 + libxaw 29 + libxt 30 + ]; 31 + 32 + installFlags = [ "appdefaultdir=$(out)/share/X11/app-defaults" ]; 33 + 34 + passthru = { 35 + updateScript = writeScript "update-${finalAttrs.pname}" '' 36 + #!/usr/bin/env nix-shell 37 + #!nix-shell -i bash -p common-updater-scripts 38 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 39 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 40 + | sort -V | tail -n1)" 41 + update-source-version ${finalAttrs.pname} "$version" 42 + ''; 43 + }; 44 + 45 + meta = { 46 + description = "Demo to show various features of the X11 core protocol graphics primitives"; 47 + homepage = "https://gitlab.freedesktop.org/xorg/app/xgc"; 48 + license = with lib.licenses; [ 49 + x11 50 + mit 51 + ]; 52 + mainProgram = "xgc"; 53 + maintainers = [ ]; 54 + platforms = lib.platforms.unix; 55 + }; 56 + })
+62
pkgs/by-name/xh/xhost/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + gettext, 7 + xorgproto, 8 + libx11, 9 + libxau, 10 + libxmu, 11 + writeScript, 12 + }: 13 + stdenv.mkDerivation (finalAttrs: { 14 + pname = "xhost"; 15 + version = "1.0.10"; 16 + 17 + src = fetchurl { 18 + url = "mirror://xorg/individual/app/xhost-${finalAttrs.version}.tar.xz"; 19 + hash = "sha256-qK/XAFlHnHEpSLiV5Bw1pKi/zt47otWkuFXIi7tyW+E="; 20 + }; 21 + 22 + strictDeps = true; 23 + 24 + nativeBuildInputs = [ 25 + pkg-config 26 + gettext 27 + ]; 28 + 29 + buildInputs = [ 30 + xorgproto 31 + libx11 32 + libxau 33 + libxmu 34 + ]; 35 + 36 + passthru = { 37 + updateScript = writeScript "update-${finalAttrs.pname}" '' 38 + #!/usr/bin/env nix-shell 39 + #!nix-shell -i bash -p common-updater-scripts 40 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 41 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 42 + | sort -V | tail -n1)" 43 + update-source-version ${finalAttrs.pname} "$version" 44 + ''; 45 + }; 46 + 47 + meta = { 48 + description = "X server access control program"; 49 + longDescription = '' 50 + xhost is used to manage the list of host names or user names allowed to make connections to 51 + the X server. 52 + ''; 53 + homepage = "https://gitlab.freedesktop.org/xorg/app/xhost"; 54 + license = with lib.licenses; [ 55 + mit 56 + icu 57 + ]; 58 + mainProgram = "xhost"; 59 + maintainers = [ ]; 60 + platforms = lib.platforms.unix; 61 + }; 62 + })
+1
pkgs/by-name/xi/xidlehook/package.nix
··· 28 28 29 29 buildInputs = [ 30 30 xorg.libX11 31 + xorg.libxcb 31 32 xorg.libXScrnSaver 32 33 libpulseaudio 33 34 ];
+5 -1
pkgs/by-name/xk/xkbmon/package.nix
··· 3 3 stdenv, 4 4 fetchFromGitHub, 5 5 libX11, 6 + libxcb, 6 7 }: 7 8 8 9 stdenv.mkDerivation rec { ··· 16 17 sha256 = "sha256-EWW6L6NojzXodDOET01LMcQT8/1JIMpOD++MCiM3j1Y="; 17 18 }; 18 19 19 - buildInputs = [ libX11 ]; 20 + buildInputs = [ 21 + libX11 22 + libxcb 23 + ]; 20 24 21 25 installPhase = "install -D -t $out/bin xkbmon"; 22 26
+60
pkgs/by-name/xk/xkbutils/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxaw, 9 + libxt, 10 + writeScript, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "xkbutils"; 14 + version = "1.0.6"; 15 + 16 + src = fetchurl { 17 + url = "mirror://xorg/individual/app/xkbutils-${finalAttrs.version}.tar.xz"; 18 + hash = "sha256-MaK77h4JzLoB3pKJe49UC1Rd6BLzGNMd4HvTpade4l4="; 19 + }; 20 + 21 + strictDeps = true; 22 + 23 + nativeBuildInputs = [ pkg-config ]; 24 + 25 + buildInputs = [ 26 + xorgproto 27 + libx11 28 + libxaw 29 + libxt 30 + ]; 31 + 32 + passthru = { 33 + updateScript = writeScript "update-${finalAttrs.pname}" '' 34 + #!/usr/bin/env nix-shell 35 + #!nix-shell -i bash -p common-updater-scripts 36 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 37 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 38 + | sort -V | tail -n1)" 39 + update-source-version ${finalAttrs.pname} "$version" 40 + ''; 41 + }; 42 + 43 + meta = { 44 + description = "Collection of small XKB utilities"; 45 + longDescription = '' 46 + xkbutils is a collection of small utilities using the X Keyboard extenison: 47 + - xkbbell: generate X Keyboard Extension bell events 48 + - xkbvleds: display X Keyboard Extension LED state in a window 49 + - xkbwatch: report state changes using the X Keyboard Extension 50 + ''; 51 + homepage = "https://gitlab.freedesktop.org/xorg/app/xkbutils"; 52 + license = with lib.licenses; [ 53 + hpnd 54 + hpndDec 55 + mit 56 + ]; 57 + maintainers = [ ]; 58 + platforms = lib.platforms.unix; 59 + }; 60 + })
+54
pkgs/by-name/xk/xkill/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxmu, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "xkill"; 13 + version = "1.0.6"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/app/xkill-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-5aiqeMR1Z3sRUEZG2o2T2swwdEJYB2ospBiiRDiuuQc="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ pkg-config ]; 23 + 24 + buildInputs = [ 25 + xorgproto 26 + libx11 27 + libxmu 28 + ]; 29 + 30 + passthru = { 31 + updateScript = writeScript "update-${finalAttrs.pname}" '' 32 + #!/usr/bin/env nix-shell 33 + #!nix-shell -i bash -p common-updater-scripts 34 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 35 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 36 + | sort -V | tail -n1)" 37 + update-source-version ${finalAttrs.pname} "$version" 38 + ''; 39 + }; 40 + 41 + meta = { 42 + description = "Utility to forcibly terminate X11 clients"; 43 + longDescription = '' 44 + xkill is a utility for forcing the X server to close connections to clients. 45 + This program is very dangerous, but is useful for aborting programs that have displayed 46 + undesired windows on a user's screen. 47 + ''; 48 + homepage = "https://gitlab.freedesktop.org/xorg/app/xkill"; 49 + license = lib.licenses.mitOpenGroup; 50 + mainProgram = "xkill"; 51 + maintainers = [ ]; 52 + platforms = lib.platforms.unix; 53 + }; 54 + })
+2 -2
pkgs/by-name/xl/xlogo/package.nix
··· 5 5 xorg, 6 6 autoreconfHook, 7 7 pkg-config, 8 - xorg-autoconf, 8 + util-macros, 9 9 }: 10 10 11 11 stdenv.mkDerivation rec { ··· 22 22 }; 23 23 24 24 nativeBuildInputs = [ 25 - xorg-autoconf 25 + util-macros 26 26 autoreconfHook 27 27 pkg-config 28 28 ];
+43
pkgs/by-name/xl/xlsatoms/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libxcb, 7 + writeScript, 8 + }: 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "xlsatoms"; 11 + version = "1.1.4"; 12 + 13 + src = fetchurl { 14 + url = "mirror://xorg/individual/app/xlsatoms-${finalAttrs.version}.tar.xz"; 15 + hash = "sha256-9L+hX1bAZtMmpdWykmRnCPJbkkdQaEC5BHzSaH3Mcbc="; 16 + }; 17 + 18 + strictDeps = true; 19 + 20 + nativeBuildInputs = [ pkg-config ]; 21 + 22 + buildInputs = [ libxcb ]; 23 + 24 + passthru = { 25 + updateScript = writeScript "update-${finalAttrs.pname}" '' 26 + #!/usr/bin/env nix-shell 27 + #!nix-shell -i bash -p common-updater-scripts 28 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 29 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 30 + | sort -V | tail -n1)" 31 + update-source-version ${finalAttrs.pname} "$version" 32 + ''; 33 + }; 34 + 35 + meta = { 36 + description = "Utility to list interned atoms defined on X server"; 37 + homepage = "https://gitlab.freedesktop.org/xorg/app/xlsatoms"; 38 + license = lib.licenses.mitOpenGroup; 39 + mainProgram = "xlsatoms"; 40 + maintainers = [ ]; 41 + platforms = lib.platforms.unix; 42 + }; 43 + })
+46
pkgs/by-name/xl/xlsclients/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libxcb, 7 + writeScript, 8 + }: 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "xlsclients"; 11 + version = "1.1.5"; 12 + 13 + src = fetchurl { 14 + url = "mirror://xorg/individual/app/xlsclients-${finalAttrs.version}.tar.xz"; 15 + hash = "sha256-aLruV+cCUKxKd1n7eCIYMfl9iLyOUdzC5k6z+MpWuuM="; 16 + }; 17 + 18 + strictDeps = true; 19 + 20 + nativeBuildInputs = [ pkg-config ]; 21 + 22 + buildInputs = [ libxcb ]; 23 + 24 + passthru = { 25 + updateScript = writeScript "update-${finalAttrs.pname}" '' 26 + #!/usr/bin/env nix-shell 27 + #!nix-shell -i bash -p common-updater-scripts 28 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 29 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 30 + | sort -V | tail -n1)" 31 + update-source-version ${finalAttrs.pname} "$version" 32 + ''; 33 + }; 34 + 35 + meta = { 36 + description = "Utility to list client applications running on a X11 display"; 37 + homepage = "https://gitlab.freedesktop.org/xorg/app/xlsclients"; 38 + license = with lib.licenses; [ 39 + mitOpenGroup 40 + mit 41 + ]; 42 + mainProgram = "xlsclients"; 43 + maintainers = [ ]; 44 + platforms = lib.platforms.unix; 45 + }; 46 + })
+47
pkgs/by-name/xl/xlsfonts/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libx11, 7 + xorgproto, 8 + writeScript, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "xlsfonts"; 12 + version = "1.0.8"; 13 + 14 + src = fetchurl { 15 + url = "mirror://xorg/individual/app/xlsfonts-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-gH+QnqzmhLhm/GOz6WJynBIIIqbJbgUf9RzzULP/ts0="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ 24 + libx11 25 + xorgproto 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "Utility to list core protocol fonts on an X server"; 41 + homepage = "https://gitlab.freedesktop.org/xorg/app/xlsfonts"; 42 + license = lib.licenses.mitOpenGroup; 43 + mainProgram = "xlsfonts"; 44 + maintainers = [ ]; 45 + platforms = lib.platforms.unix; 46 + }; 47 + })
+55
pkgs/by-name/xm/xmodmap/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libx11, 7 + xorgproto, 8 + writeScript, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "xmodmap"; 12 + version = "1.0.11"; 13 + 14 + src = fetchurl { 15 + url = "mirror://xorg/individual/app/xmodmap-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-mi+BaPewvDgoKIR0A5Astr8XXhdlizYYnqyH7dqHfoE="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ 24 + libx11 25 + xorgproto 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "Utility for modifying keymaps and pointer button mappings in X"; 41 + longDescription = '' 42 + The xmodmap program is used to edit and display the keyboard modifier map and keymap table 43 + that are used by client applications to convert event keycodes into keysyms. It is usually run 44 + from the user's session startup script to configure the keyboard according to personal tastes. 45 + ''; 46 + homepage = "https://gitlab.freedesktop.org/xorg/app/xmodmap"; 47 + license = with lib.licenses; [ 48 + mit 49 + mitOpenGroup 50 + ]; 51 + mainProgram = "xmodmap"; 52 + maintainers = [ ]; 53 + platforms = lib.platforms.unix; 54 + }; 55 + })
-30
pkgs/by-name/xo/xorg-autoconf/package.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - autoreconfHook, 5 - fetchFromGitLab, 6 - }: 7 - 8 - stdenv.mkDerivation rec { 9 - pname = "xorg-autoconf"; 10 - version = "1.19.3"; 11 - 12 - src = fetchFromGitLab { 13 - domain = "gitlab.freedesktop.org"; 14 - group = "xorg"; 15 - owner = "util"; 16 - repo = "macros"; 17 - rev = "util-macros-${version}"; 18 - sha256 = "sha256-+yEMCjLztdY5LKTNjfhudDS0fdaOj4LKZ3YL5witFR4="; 19 - }; 20 - 21 - nativeBuildInputs = [ autoreconfHook ]; 22 - 23 - meta = with lib; { 24 - description = "GNU autoconf macros shared across X.Org projects"; 25 - homepage = "https://gitlab.freedesktop.org/xorg/util/macros"; 26 - maintainers = with maintainers; [ raboof ]; 27 - license = licenses.mit; 28 - platforms = platforms.unix; 29 - }; 30 - }
+51
pkgs/by-name/xp/xprop/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libx11, 7 + xorgproto, 8 + writeScript, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "xprop"; 12 + version = "1.2.8"; 13 + 14 + src = fetchurl { 15 + url = "mirror://xorg/individual/app/xprop-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-1onirbfve0OfZGm1HNqKfa78gyQ4VMKjuPhNDwKdZ+4="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ 24 + libx11 25 + xorgproto 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "Command line tool to display and/or set window and font properties of an X server"; 41 + homepage = "https://gitlab.freedesktop.org/xorg/app/xprop"; 42 + license = with lib.licenses; [ 43 + mitOpenGroup 44 + hpndSellVariant 45 + mit 46 + ]; 47 + mainProgram = "xprop"; 48 + maintainers = [ ]; 49 + platforms = lib.platforms.unix; 50 + }; 51 + })
+57
pkgs/by-name/xr/xrandr/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxrandr, 9 + libxrender, 10 + writeScript, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "xrandr"; 14 + version = "1.5.3"; 15 + 16 + src = fetchurl { 17 + url = "mirror://xorg/individual/app/xrandr-${finalAttrs.version}.tar.xz"; 18 + hash = "sha256-+N11Zq23QUf6uZZGgLa7re6Hz0Bqf8/1Fxil5pSbhBw="; 19 + }; 20 + 21 + strictDeps = true; 22 + 23 + nativeBuildInputs = [ pkg-config ]; 24 + 25 + buildInputs = [ 26 + xorgproto 27 + libx11 28 + libxrandr 29 + libxrender 30 + ]; 31 + 32 + postInstall = '' 33 + # remove useless xkeystone script 34 + # it is written in a language not packaged in nixpkgs 35 + rm $out/bin/xkeystone 36 + ''; 37 + 38 + passthru = { 39 + updateScript = writeScript "update-${finalAttrs.pname}" '' 40 + #!/usr/bin/env nix-shell 41 + #!nix-shell -i bash -p common-updater-scripts 42 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 43 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 44 + | sort -V | tail -n1)" 45 + update-source-version ${finalAttrs.pname} "$version" 46 + ''; 47 + }; 48 + 49 + meta = { 50 + description = "Command line interface to X11 Resize, Rotate, and Reflect (RandR) extension"; 51 + homepage = "https://gitlab.freedesktop.org/xorg/app/xrandr"; 52 + license = lib.licenses.hpndSellVariant; 53 + mainProgram = "xrandr"; 54 + maintainers = [ ]; 55 + platforms = lib.platforms.unix; 56 + }; 57 + })
+50
pkgs/by-name/xr/xrefresh/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libx11, 7 + xorgproto, 8 + writeScript, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "xrefresh"; 12 + version = "1.1.0"; 13 + 14 + src = fetchurl { 15 + url = "mirror://xorg/individual/app/xrefresh-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-Ke1ZLV7ONaMCkATYxG8wAvkpcIcKlsEeOLr38RIri18="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ 24 + libx11 25 + xorgproto 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "Utility to refresh all or part of an X screen"; 41 + homepage = "https://gitlab.freedesktop.org/xorg/app/xrefresh"; 42 + license = with lib.licenses; [ 43 + mitOpenGroup 44 + hpnd 45 + ]; 46 + mainProgram = "xrefresh"; 47 + maintainers = [ ]; 48 + platforms = lib.platforms.unix; 49 + }; 50 + })
+2 -2
pkgs/by-name/xs/xscope/package.nix
··· 4 4 fetchFromGitLab, 5 5 pkg-config, 6 6 autoreconfHook, 7 - xorg-autoconf, 7 + util-macros, 8 8 xorg, 9 9 }: 10 10 ··· 23 23 nativeBuildInputs = [ 24 24 autoreconfHook 25 25 pkg-config 26 - xorg-autoconf 26 + util-macros 27 27 ]; 28 28 29 29 buildInputs = [
+1
pkgs/by-name/xt/xterm/package.nix
··· 116 116 maintainers = with lib.maintainers; [ nequissimus ]; 117 117 platforms = with lib.platforms; linux ++ darwin; 118 118 changelog = "https://invisible-island.net/xterm/xterm.log.html"; 119 + mainProgram = "xterm"; 119 120 }; 120 121 }
+55
pkgs/by-name/xv/xvinfo/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + xorgproto, 7 + libx11, 8 + libxv, 9 + libxext, 10 + writeScript, 11 + }: 12 + stdenv.mkDerivation (finalAttrs: { 13 + pname = "xvinfo"; 14 + version = "1.1.5"; 15 + 16 + src = fetchurl { 17 + url = "mirror://xorg/individual/app/xvinfo-${finalAttrs.version}.tar.xz"; 18 + hash = "sha256-Pt5x7LJtlhTMvGkWcgKF6VosfgxeGbhXDqr3KtfFxAQ="; 19 + }; 20 + 21 + strictDeps = true; 22 + 23 + nativeBuildInputs = [ pkg-config ]; 24 + 25 + buildInputs = [ 26 + xorgproto 27 + libx11 28 + libxv 29 + libxext 30 + ]; 31 + 32 + passthru = { 33 + updateScript = writeScript "update-${finalAttrs.pname}" '' 34 + #!/usr/bin/env nix-shell 35 + #!nix-shell -i bash -p common-updater-scripts 36 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 37 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 38 + | sort -V | tail -n1)" 39 + update-source-version ${finalAttrs.pname} "$version" 40 + ''; 41 + }; 42 + 43 + meta = { 44 + description = "Utility to print out X-Video extension adaptor information"; 45 + longDescription = '' 46 + xvinfo prints out the capabilities of any video adaptors associated with the display that are 47 + accessible through the X-Video extension. 48 + ''; 49 + homepage = "https://gitlab.freedesktop.org/xorg/app/xvinfo"; 50 + license = lib.licenses.x11; 51 + mainProgram = "xvinfo"; 52 + maintainers = [ ]; 53 + platforms = lib.platforms.unix; 54 + }; 55 + })
+55
pkgs/by-name/xw/xwininfo/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libx11, 7 + libxcb, 8 + xorgproto, 9 + writeScript, 10 + }: 11 + stdenv.mkDerivation (finalAttrs: { 12 + pname = "xwininfo"; 13 + version = "1.1.6"; 14 + 15 + src = fetchurl { 16 + url = "mirror://xorg/individual/app/xwininfo-${finalAttrs.version}.tar.xz"; 17 + hash = "sha256-NRiJfBdEjfm6ma1tm7HKDxe8DtfA/WEoGzTO7SmpJT8="; 18 + }; 19 + 20 + strictDeps = true; 21 + 22 + nativeBuildInputs = [ pkg-config ]; 23 + 24 + buildInputs = [ 25 + libx11 26 + libxcb 27 + xorgproto 28 + ]; 29 + 30 + passthru = { 31 + updateScript = writeScript "update-${finalAttrs.pname}" '' 32 + #!/usr/bin/env nix-shell 33 + #!nix-shell -i bash -p common-updater-scripts 34 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 35 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 36 + | sort -V | tail -n1)" 37 + update-source-version ${finalAttrs.pname} "$version" 38 + ''; 39 + }; 40 + 41 + meta = { 42 + description = "Utility to print information about windows on an X server"; 43 + homepage = "https://gitlab.freedesktop.org/xorg/app/xwininfo"; 44 + license = with lib.licenses; [ 45 + mit 46 + # mit-open-group with icu disclaimer ?! 47 + # close enough to mit-open-group 48 + mitOpenGroup 49 + hpndSellVariant 50 + ]; 51 + mainProgram = "xwininfo"; 52 + maintainers = [ ]; 53 + platforms = lib.platforms.unix; 54 + }; 55 + })
+47
pkgs/by-name/xw/xwud/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + pkg-config, 6 + libx11, 7 + xorgproto, 8 + writeScript, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "xwud"; 12 + version = "1.0.7"; 13 + 14 + src = fetchurl { 15 + url = "mirror://xorg/individual/app/xwud-${finalAttrs.version}.tar.xz"; 16 + hash = "sha256-5Vy+2rNtel9nGr+OWUiIr8SMqhFtUdQp6lPqMX7Axh4="; 17 + }; 18 + 19 + strictDeps = true; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ 24 + libx11 25 + xorgproto 26 + ]; 27 + 28 + passthru = { 29 + updateScript = writeScript "update-${finalAttrs.pname}" '' 30 + #!/usr/bin/env nix-shell 31 + #!nix-shell -i bash -p common-updater-scripts 32 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 33 + --url https://xorg.freedesktop.org/releases/individual/app/ \ 34 + | sort -V | tail -n1)" 35 + update-source-version ${finalAttrs.pname} "$version" 36 + ''; 37 + }; 38 + 39 + meta = { 40 + description = "Utility to display an image in XWD (X Window Dump) format"; 41 + homepage = "https://gitlab.freedesktop.org/xorg/app/xwud"; 42 + license = lib.licenses.mitOpenGroup; 43 + mainProgram = "xwud"; 44 + maintainers = [ ]; 45 + platforms = lib.platforms.unix; 46 + }; 47 + })
+2 -2
pkgs/by-name/zi/zimg/package.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "zimg"; 10 - version = "3.0.5"; 10 + version = "3.0.6"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "sekrit-twc"; 14 14 repo = "zimg"; 15 15 rev = "release-${version}"; 16 - sha256 = "sha256-DCSqHCnOyIvKtIAfprb8tgtzLn67Ix6BWyeIliu0HO4="; 16 + sha256 = "sha256-T+/wuTxPK+PLofqJm3dujGqGGXhpdGQLjAttTQPsgOI="; 17 17 }; 18 18 19 19 outputs = [
+2 -2
pkgs/by-name/zl/zlib-ng/package.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "zlib-ng"; 13 - version = "2.2.4"; 13 + version = "2.2.5"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "zlib-ng"; 17 17 repo = "zlib-ng"; 18 18 rev = version; 19 - hash = "sha256-Khmrhp5qy4vvoQe4WgoogpjWrgcUB/q8zZeqIydthYg="; 19 + hash = "sha256-c2RYqHi3hj/ViBzJcYWoNib27GAbq/B1SJUfvG7CPG4="; 20 20 }; 21 21 22 22 outputs = [
-174
pkgs/development/compilers/go/1.23.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - fetchurl, 5 - tzdata, 6 - replaceVars, 7 - iana-etc, 8 - mailcap, 9 - buildPackages, 10 - pkgsBuildTarget, 11 - targetPackages, 12 - testers, 13 - skopeo, 14 - buildGo123Module, 15 - }: 16 - 17 - let 18 - goBootstrap = buildPackages.callPackage ./bootstrap121.nix { }; 19 - 20 - skopeoTest = skopeo.override { buildGoModule = buildGo123Module; }; 21 - 22 - # We need a target compiler which is still runnable at build time, 23 - # to handle the cross-building case where build != host == target 24 - targetCC = pkgsBuildTarget.targetPackages.stdenv.cc; 25 - 26 - isCross = stdenv.buildPlatform != stdenv.targetPlatform; 27 - in 28 - stdenv.mkDerivation (finalAttrs: { 29 - pname = "go"; 30 - version = "1.23.12"; 31 - 32 - src = fetchurl { 33 - url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz"; 34 - hash = "sha256-4czpN5ok6JVxSkEsfd0VfSYU2e2+g6hESbbhhAtPEiY="; 35 - }; 36 - 37 - strictDeps = true; 38 - buildInputs = 39 - [ ] 40 - ++ lib.optionals stdenv.hostPlatform.isLinux [ stdenv.cc.libc.out ] 41 - ++ lib.optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ]; 42 - 43 - depsBuildTarget = lib.optional isCross targetCC; 44 - 45 - depsTargetTarget = lib.optional stdenv.targetPlatform.isMinGW targetPackages.threads.package; 46 - 47 - postPatch = '' 48 - patchShebangs . 49 - ''; 50 - 51 - patches = [ 52 - (replaceVars ./iana-etc-1.17.patch { 53 - iana = iana-etc; 54 - }) 55 - # Patch the mimetype database location which is missing on NixOS. 56 - # but also allow static binaries built with NixOS to run outside nix 57 - (replaceVars ./mailcap-1.17.patch { 58 - inherit mailcap; 59 - }) 60 - # prepend the nix path to the zoneinfo files but also leave the original value for static binaries 61 - # that run outside a nix server 62 - (replaceVars ./tzdata-1.19.patch { 63 - inherit tzdata; 64 - }) 65 - ./remove-tools-1.11.patch 66 - ./go_no_vendor_checks-1.23.patch 67 - ]; 68 - 69 - inherit (stdenv.targetPlatform.go) GOOS GOARCH GOARM; 70 - # GOHOSTOS/GOHOSTARCH must match the building system, not the host system. 71 - # Go will nevertheless build a for host system that we will copy over in 72 - # the install phase. 73 - GOHOSTOS = stdenv.buildPlatform.go.GOOS; 74 - GOHOSTARCH = stdenv.buildPlatform.go.GOARCH; 75 - 76 - # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those 77 - # to be different from CC/CXX 78 - CC_FOR_TARGET = if isCross then "${targetCC}/bin/${targetCC.targetPrefix}cc" else null; 79 - CXX_FOR_TARGET = if isCross then "${targetCC}/bin/${targetCC.targetPrefix}c++" else null; 80 - 81 - GO386 = "softfloat"; # from Arch: don't assume sse2 on i686 82 - # Wasi does not support CGO 83 - CGO_ENABLED = if stdenv.targetPlatform.isWasi then 0 else 1; 84 - 85 - GOROOT_BOOTSTRAP = "${goBootstrap}/share/go"; 86 - 87 - buildPhase = '' 88 - runHook preBuild 89 - export GOCACHE=$TMPDIR/go-cache 90 - 91 - export PATH=$(pwd)/bin:$PATH 92 - 93 - ${lib.optionalString isCross '' 94 - # Independent from host/target, CC should produce code for the building system. 95 - # We only set it when cross-compiling. 96 - export CC=${buildPackages.stdenv.cc}/bin/cc 97 - ''} 98 - ulimit -a 99 - 100 - pushd src 101 - ./make.bash 102 - popd 103 - runHook postBuild 104 - ''; 105 - 106 - preInstall = '' 107 - # Contains the wrong perl shebang when cross compiling, 108 - # since it is not used for anything we can deleted as well. 109 - rm src/regexp/syntax/make_perl_groups.pl 110 - '' 111 - + ( 112 - if (stdenv.buildPlatform.system != stdenv.hostPlatform.system) then 113 - '' 114 - mv bin/*_*/* bin 115 - rmdir bin/*_* 116 - ${lib.optionalString 117 - (!(finalAttrs.GOHOSTARCH == finalAttrs.GOARCH && finalAttrs.GOOS == finalAttrs.GOHOSTOS)) 118 - '' 119 - rm -rf pkg/${finalAttrs.GOHOSTOS}_${finalAttrs.GOHOSTARCH} pkg/tool/${finalAttrs.GOHOSTOS}_${finalAttrs.GOHOSTARCH} 120 - '' 121 - } 122 - '' 123 - else 124 - lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system) '' 125 - rm -rf bin/*_* 126 - ${lib.optionalString 127 - (!(finalAttrs.GOHOSTARCH == finalAttrs.GOARCH && finalAttrs.GOOS == finalAttrs.GOHOSTOS)) 128 - '' 129 - rm -rf pkg/${finalAttrs.GOOS}_${finalAttrs.GOARCH} pkg/tool/${finalAttrs.GOOS}_${finalAttrs.GOARCH} 130 - '' 131 - } 132 - '' 133 - ); 134 - 135 - installPhase = '' 136 - runHook preInstall 137 - mkdir -p $out/share/go 138 - cp -a bin pkg src lib misc api doc go.env VERSION $out/share/go 139 - mkdir -p $out/bin 140 - ln -s $out/share/go/bin/* $out/bin 141 - runHook postInstall 142 - ''; 143 - 144 - disallowedReferences = [ goBootstrap ]; 145 - 146 - passthru = { 147 - inherit goBootstrap skopeoTest; 148 - tests = { 149 - skopeo = testers.testVersion { package = skopeoTest; }; 150 - version = testers.testVersion { 151 - package = finalAttrs.finalPackage; 152 - command = "go version"; 153 - version = "go${finalAttrs.version}"; 154 - }; 155 - }; 156 - }; 157 - 158 - meta = with lib; { 159 - changelog = "https://go.dev/doc/devel/release#go${finalAttrs.version}"; 160 - description = "Go Programming language"; 161 - homepage = "https://go.dev/"; 162 - license = licenses.bsd3; 163 - teams = [ teams.golang ]; 164 - platforms = platforms.darwin ++ platforms.linux ++ platforms.wasi ++ platforms.freebsd; 165 - badPlatforms = [ 166 - # Support for big-endian POWER < 8 was dropped in 1.9, but POWER8 users have less of a reason to run in big-endian mode than pre-POWER8 ones 167 - # So non-LE ppc64 is effectively unsupported, and Go SIGILLs on affordable ppc64 hardware 168 - # https://github.com/golang/go/issues/19074 - Dropped support for big-endian POWER < 8, with community pushback 169 - # https://github.com/golang/go/issues/73349 - upstream will not accept submissions to fix this 170 - "powerpc64-linux" 171 - ]; 172 - mainProgram = "go"; 173 - }; 174 - })
+2 -2
pkgs/development/compilers/go/1.24.nix
··· 27 27 in 28 28 stdenv.mkDerivation (finalAttrs: { 29 29 pname = "go"; 30 - version = "1.24.6"; 30 + version = "1.24.7"; 31 31 32 32 src = fetchurl { 33 33 url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz"; 34 - hash = "sha256-4ctVgqq1iGaLwEwH3hhogHD2uMmyqvNh+CHhm9R8/b0="; 34 + hash = "sha256-Ko9Q2w+IgDYHxQ1+qINNy3vUg8a0KKkeNg/fhiS0ZGQ="; 35 35 }; 36 36 37 37 strictDeps = true;
+2 -2
pkgs/development/compilers/go/1.25.nix
··· 28 28 in 29 29 stdenv.mkDerivation (finalAttrs: { 30 30 pname = "go"; 31 - version = "1.25.1"; 31 + version = "1.25.0"; 32 32 33 33 src = fetchurl { 34 34 url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz"; 35 - hash = "sha256-0BDBCc7pTYDv5oHqtGvepJGskGv0ZYPDLp8NuwvRpZQ="; 35 + hash = "sha256-S9AekSlyB7+kUOpA1NWpOxtTGl5DhHOyoG4Y4HciciU="; 36 36 }; 37 37 38 38 strictDeps = true;
+22
pkgs/development/compilers/llvm/20/libclc/use-default-paths.patch
··· 1 + From e8b910246d0c7c3d9fff994f71c6f8a48ec09a50 Mon Sep 17 00:00:00 2001 2 + From: Tristan Ross <tristan.ross@midstall.com> 3 + Date: Sat, 24 Aug 2024 19:56:24 -0700 4 + Subject: [PATCH] [libclc] use default paths with find_program when possible 5 + 6 + --- 7 + libclc/CMakeLists.txt | 4 ++-- 8 + 1 file changed, 1 insertions(+), 1 deletions(-) 9 + 10 + diff --git a/CMakeLists.txt b/CMakeLists.txt 11 + index 02bb859ae8590b..6bcd8ae52a5794 100644 12 + --- a/CMakeLists.txt 13 + +++ b/CMakeLists.txt 14 + @@ -55,7 +55,7 @@ if( LIBCLC_STANDALONE_BUILD OR CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DI 15 + # Import required tools 16 + if( NOT EXISTS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} ) 17 + foreach( tool IN ITEMS clang llvm-as llvm-link opt ) 18 + - find_program( LLVM_TOOL_${tool} ${tool} PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH ) 19 + + find_program( LLVM_TOOL_${tool} ${tool} PATHS ${LLVM_TOOLS_BINARY_DIR} ) 20 + set( ${tool}_exe ${LLVM_TOOL_${tool}} ) 21 + set( ${tool}_target ) 22 + endforeach()
+8
pkgs/development/compilers/llvm/21/libclc/gnu-install-dirs.patch
··· 1 + --- a/libclc.pc.in 2 + +++ b/libclc.pc.in 3 + @@ -1,4 +1,4 @@ 4 + -libexecdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATADIR@/clc 5 + +libexecdir=@CMAKE_INSTALL_FULL_DATADIR@/clc 6 + 7 + Name: libclc 8 + Description: Library requirements of the OpenCL C programming language
+1 -1
pkgs/development/compilers/llvm/common/default.nix
··· 484 484 } 485 485 // 486 486 lib.optionalAttrs 487 - (lib.versionAtLeast metadata.release_version "16" && lib.versionOlder metadata.release_version "20") 487 + (lib.versionAtLeast metadata.release_version "16" && lib.versionOlder metadata.release_version "22") 488 488 { 489 489 libclc = callPackage ./libclc { }; 490 490 }
+2 -2
pkgs/development/compilers/llvm/common/libclc/default.nix
··· 50 50 ]; 51 51 52 52 patches = [ 53 - ./libclc-gnu-install-dirs.patch 53 + (getVersionFile "libclc/gnu-install-dirs.patch") 54 54 ] 55 55 # LLVM 19 changes how host tools are looked up. 56 56 # Need to remove NO_DEFAULT_PATH and the PATHS arguments for find_program ··· 95 95 ninja 96 96 python3 97 97 ] 98 - ++ lib.optional (lib.versionAtLeast release_version "19") [ 98 + ++ lib.optionals (lib.versionAtLeast release_version "19") [ 99 99 clang-only 100 100 buildLlvmTools.llvm 101 101 spirv-llvm-translator
pkgs/development/compilers/llvm/common/libclc/libclc-gnu-install-dirs.patch pkgs/development/compilers/llvm/16/libclc/gnu-install-dirs.patch
+16
pkgs/development/compilers/llvm/common/patches.nix
··· 236 236 "libclc/use-default-paths.patch" = [ 237 237 { 238 238 after = "19"; 239 + before = "20"; 239 240 path = ../19; 241 + } 242 + { 243 + after = "20"; 244 + path = ../20; 245 + } 246 + ]; 247 + "libclc/gnu-install-dirs.patch" = [ 248 + { 249 + after = "16"; 250 + before = "21"; 251 + path = ../16; 252 + } 253 + { 254 + after = "21"; 255 + path = ../21; 240 256 } 241 257 ]; 242 258 }
+24 -18
pkgs/development/compilers/llvm/common/tblgen.nix
··· 56 56 else 57 57 src; 58 58 59 + # List of tablegen targets. 60 + targets = [ 61 + "clang-tblgen" 62 + "llvm-tblgen" 63 + ] 64 + ++ lib.optionals (lib.versionAtLeast release_version "15") [ 65 + "clang-tidy-confusable-chars-gen" 66 + ] 67 + ++ lib.optionals (lib.versionAtLeast release_version "16") [ 68 + "mlir-tblgen" 69 + ] 70 + ++ 71 + lib.optionals ((lib.versionAtLeast release_version "15") && (lib.versionOlder release_version "20")) 72 + [ 73 + "clang-pseudo-gen" # Removed in LLVM 20 @ ed8f78827895050442f544edef2933a60d4a7935. 74 + ]; 75 + 59 76 self = stdenv.mkDerivation (finalAttrs: { 60 77 inherit pname version patches; 61 78 62 79 src = src'; 63 80 sourceRoot = "${finalAttrs.src.name}/llvm"; 81 + 82 + __structuredAttrs = true; 64 83 65 84 postPatch = '' 66 85 ( ··· 100 119 ] 101 120 ++ devExtraCmakeFlags; 102 121 103 - # List of tablegen targets. 104 - ninjaFlags = [ 105 - "clang-tblgen" 106 - "llvm-tblgen" 107 - ] 108 - ++ lib.optionals (lib.versionAtLeast release_version "15") [ 109 - "clang-tidy-confusable-chars-gen" 110 - ] 111 - ++ lib.optionals (lib.versionAtLeast release_version "16") [ 112 - "mlir-tblgen" 113 - ] 114 - ++ 115 - lib.optionals ((lib.versionAtLeast release_version "15") && (lib.versionOlder release_version "20")) 116 - [ 117 - "clang-pseudo-gen" # Removed in LLVM 20 @ ed8f78827895050442f544edef2933a60d4a7935. 118 - ]; 122 + ninjaFlags = targets; 123 + 124 + inherit targets; 119 125 120 126 installPhase = '' 121 - mkdir -p $out 122 - cp -ar bin $out/bin 127 + mkdir -p $out/bin 128 + cp "''${targets[@]/#/bin/}" $out/bin 123 129 ''; 124 130 }); 125 131 in
+2 -2
pkgs/development/compilers/openjdk/21/source.json
··· 1 1 { 2 - "hash": "sha256-H2ed09+1qafIDsHYDYRIcE9nyWwQagVyE563ROlNTtk=", 2 + "hash": "sha256-8wUwxjhAGIp1bzny2e86vPH9q4vw1kLDoTjO7FrJbx4=", 3 3 "owner": "openjdk", 4 4 "repo": "jdk21u", 5 - "rev": "refs/tags/jdk-21.0.7+6" 5 + "rev": "refs/tags/jdk-21.0.8+9" 6 6 }
+3 -3
pkgs/development/compilers/rust/rustc.nix
··· 110 110 stdenv: "${prefixForStdenv stdenv}${if (stdenv.cc.isClang or false) then "clang" else "cc"}"; 111 111 cxxPrefixForStdenv = 112 112 stdenv: "${prefixForStdenv stdenv}${if (stdenv.cc.isClang or false) then "clang++" else "c++"}"; 113 - setBuild = "--set=target.\"${stdenv.buildPlatform.rust.rustcTarget}\""; 114 - setHost = "--set=target.\"${stdenv.hostPlatform.rust.rustcTarget}\""; 115 - setTarget = "--set=target.\"${stdenv.targetPlatform.rust.rustcTarget}\""; 113 + setBuild = "--set=target.\"${stdenv.buildPlatform.rust.rustcTargetSpec}\""; 114 + setHost = "--set=target.\"${stdenv.hostPlatform.rust.rustcTargetSpec}\""; 115 + setTarget = "--set=target.\"${stdenv.targetPlatform.rust.rustcTargetSpec}\""; 116 116 ccForBuild = ccPrefixForStdenv pkgsBuildBuild.targetPackages.stdenv; 117 117 cxxForBuild = cxxPrefixForStdenv pkgsBuildBuild.targetPackages.stdenv; 118 118 ccForHost = ccPrefixForStdenv pkgsBuildHost.targetPackages.stdenv;
+1 -1
pkgs/development/compilers/sbcl/default.nix
··· 29 29 "2.4.10".sha256 = "sha256-zus5a2nSkT7uBIQcKva+ylw0LOFGTD/j5FPy3hDF4vg="; 30 30 # By unofficial and very loose convention we keep the latest version of 31 31 # SBCL, and the previous one in case someone quickly needs to roll back. 32 - "2.5.4".sha256 = "sha256-XxS07ZKUKp44dZT6wAC5bbdGfpzlYTBn/8CSPfPsIHI="; 33 32 "2.5.5".sha256 = "sha256-ZQJnCvs2G6m+RKL6/pr5tZ57JK5QmnkaZrVIHylVlQs="; 33 + "2.5.7".sha256 = "sha256-xPr+t5VpnVvP+QhQkazHYtz15V+FI1Yl89eu8SyJ0dM="; 34 34 }; 35 35 # Collection of pre-built SBCL binaries for platforms that need them for 36 36 # bootstrapping. Ideally these are to be avoided. If ECL (or any other
+17 -16
pkgs/development/compilers/zulu/21.nix
··· 4 4 ... 5 5 }@args: 6 6 7 + let 8 + # JDK FX can potentially be different version than regular JDK 9 + zuluVersion = if enableJavaFX then "21.44.17" else "21.44.17"; 10 + jdkVersion = "21.0.8"; 11 + in 7 12 callPackage ./common.nix ( 8 13 { 9 14 # Details from https://www.azul.com/downloads/?version=java-21-lts&package=jdk 10 15 # Note that the latest build may differ by platform 11 16 dists = { 12 17 x86_64-linux = { 13 - zuluVersion = "21.36.17"; 14 - jdkVersion = "21.0.4"; 18 + inherit zuluVersion jdkVersion; 15 19 hash = 16 20 if enableJavaFX then 17 - "sha256-Q2bdM0/a2t5aBRCIzXBlhXamf8N7wdSUsK5VhaU9DcY=" 21 + "sha256-T+bGfe0IoYwX1Odh66CdRL1fzbvA63NqM9e2hLCbx2Y=" 18 22 else 19 - "sha256-MY0MLtPIdvt+oslSlFzc997PtSZMpRrs4VnmNaxT1UQ="; 23 + "sha256-Y/Vru0aVjPVzUvugjydV4JU3mRleVUWswMipKSC+/x4="; 20 24 }; 21 25 22 26 aarch64-linux = { 23 - zuluVersion = "21.36.17"; 24 - jdkVersion = "21.0.4"; 27 + inherit zuluVersion jdkVersion; 25 28 hash = 26 29 if enableJavaFX then 27 - "sha256-BzNEcDrQo5yOWnEsJxw9JfXYdZGN6/wxnTDB0qC1i/0=" 30 + "sha256-6qFwo2rBV+mbEFDZNoqEs3z+2saj31fsOHG9jToST2Q=" 28 31 else 29 - "sha256-2jwtfbM2cLz2ZTJEGut/M9zw0ifI2v5841zuZ/aCnEw="; 32 + "sha256-/38u3R1cFTy2y0k6OqNSNFPimgXsUTslwkqhR37AxyI="; 30 33 }; 31 34 32 35 x86_64-darwin = { 33 - zuluVersion = "21.36.17"; 34 - jdkVersion = "21.0.4"; 36 + inherit zuluVersion jdkVersion; 35 37 hash = 36 38 if enableJavaFX then 37 - "sha256-H3gM2XCCcuUxlAEzX6IO7Cp6NtH85PYHlH54k5XvNAc=" 39 + "sha256-PGnYq+9MskgczsEjx4aH5yDYjZLw8Tk8IZSMOXw03aw=" 38 40 else 39 - "sha256-XOdaaiR8cCm3TEynz29g/SstaM4eiVb7RI0phDFrX+o="; 41 + "sha256-KvCAUAtcwoamNTGHx8WbWq/LPtwpwch9H9cbotalI/E="; 40 42 }; 41 43 42 44 aarch64-darwin = { 43 - zuluVersion = "21.36.17"; 44 - jdkVersion = "21.0.4"; 45 + inherit zuluVersion jdkVersion; 45 46 hash = 46 47 if enableJavaFX then 47 - "sha256-lLAb8MABo95A5WcayBLNvsBSdVFptnO4EmhX2gjo6r8=" 48 + "sha256-Bj1cYFfm3dq+HB9tdnFwT7onVQ9Slf0zRFBK4z9LUoY=" 48 49 else 49 - "sha256-vCdQ+BoWbMbpwwroqrpU8lOoyOydjPwEpVX+IHEse/8="; 50 + "sha256-0izgX+o+PyjIxZ8sNIvHjulnvxKJpPsoeWzAF3/2yNs="; 50 51 }; 51 52 }; 52 53 }
+3 -3
pkgs/development/interpreters/php/generic.nix
··· 24 24 libargon2, 25 25 libxml2, 26 26 pcre2, 27 - systemd, 27 + systemdLibs, 28 28 system-sendmail, 29 29 valgrind, 30 30 xcbuild, ··· 60 60 ipv6Support ? true, 61 61 zendSignalsSupport ? true, 62 62 zendMaxExecutionTimersSupport ? false, 63 - systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, 63 + systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemdLibs, 64 64 valgrindSupport ? 65 65 !stdenv.hostPlatform.isDarwin && lib.meta.availableOn stdenv.hostPlatform valgrind, 66 66 ztsSupport ? apxs2Support, ··· 252 252 # Misc deps 253 253 ++ lib.optional apxs2Support apacheHttpd 254 254 ++ lib.optional argon2Support libargon2 255 - ++ lib.optional systemdSupport systemd 255 + ++ lib.optional systemdSupport systemdLibs 256 256 ++ lib.optional valgrindSupport valgrind; 257 257 258 258 CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
-373
pkgs/development/interpreters/python/cpython/3.13/revert-gh134724.patch
··· 1 - commit 4a37dd6cef1556c64c2665061b5e01bbd2bb3a82 2 - Author: Gregory P. Smith <68491+gpshead@users.noreply.github.com> 3 - Date: Sun Jul 27 08:30:25 2025 -0700 4 - 5 - [3.13] gh-134698: Hold a lock when the thread state is detached in ssl (GH-134724) (#137126) 6 - 7 - Lock when the thread state is detached. 8 - (cherry picked from commit e047a35b23c1aa69ab8d5da56f36319cec4d36b8) or really from the 3.14 backport fd565fdfc9c0001900d03d627e2fda83f1bcca90 9 - 10 - Co-authored-by: Peter Bierma <zintensitydev@gmail.com> 11 - 12 - diff --git b/Modules/_ssl.c a/Modules/_ssl.c 13 - index 981c3d6a936..aa846f68641 100644 14 - --- b/Modules/_ssl.c 15 - +++ a/Modules/_ssl.c 16 - @@ -42,14 +42,14 @@ 17 - /* Redefined below for Windows debug builds after important #includes */ 18 - #define _PySSL_FIX_ERRNO 19 - 20 - -#define PySSL_BEGIN_ALLOW_THREADS_S(save, mutex) \ 21 - - do { (save) = PyEval_SaveThread(); PyMutex_Lock(mutex); } while(0) 22 - -#define PySSL_END_ALLOW_THREADS_S(save, mutex) \ 23 - - do { PyMutex_Unlock(mutex); PyEval_RestoreThread(save); _PySSL_FIX_ERRNO; } while(0) 24 - -#define PySSL_BEGIN_ALLOW_THREADS(self) { \ 25 - +#define PySSL_BEGIN_ALLOW_THREADS_S(save) \ 26 - + do { (save) = PyEval_SaveThread(); } while(0) 27 - +#define PySSL_END_ALLOW_THREADS_S(save) \ 28 - + do { PyEval_RestoreThread(save); _PySSL_FIX_ERRNO; } while(0) 29 - +#define PySSL_BEGIN_ALLOW_THREADS { \ 30 - PyThreadState *_save = NULL; \ 31 - - PySSL_BEGIN_ALLOW_THREADS_S(_save, &self->tstate_mutex); 32 - -#define PySSL_END_ALLOW_THREADS(self) PySSL_END_ALLOW_THREADS_S(_save, &self->tstate_mutex); } 33 - + PySSL_BEGIN_ALLOW_THREADS_S(_save); 34 - +#define PySSL_END_ALLOW_THREADS PySSL_END_ALLOW_THREADS_S(_save); } 35 - 36 - #if defined(HAVE_POLL_H) 37 - #include <poll.h> 38 - @@ -304,9 +304,6 @@ typedef struct { 39 - PyObject *psk_client_callback; 40 - PyObject *psk_server_callback; 41 - #endif 42 - - /* Lock to synchronize calls when the thread state is detached. 43 - - See also gh-134698. */ 44 - - PyMutex tstate_mutex; 45 - } PySSLContext; 46 - 47 - typedef struct { 48 - @@ -332,9 +329,6 @@ typedef struct { 49 - * and shutdown methods check for chained exceptions. 50 - */ 51 - PyObject *exc; 52 - - /* Lock to synchronize calls when the thread state is detached. 53 - - See also gh-134698. */ 54 - - PyMutex tstate_mutex; 55 - } PySSLSocket; 56 - 57 - typedef struct { 58 - @@ -846,14 +840,13 @@ newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, 59 - self->server_hostname = NULL; 60 - self->err = err; 61 - self->exc = NULL; 62 - - self->tstate_mutex = (PyMutex){0}; 63 - 64 - /* Make sure the SSL error state is initialized */ 65 - ERR_clear_error(); 66 - 67 - - PySSL_BEGIN_ALLOW_THREADS(sslctx) 68 - + PySSL_BEGIN_ALLOW_THREADS 69 - self->ssl = SSL_new(ctx); 70 - - PySSL_END_ALLOW_THREADS(sslctx) 71 - + PySSL_END_ALLOW_THREADS 72 - if (self->ssl == NULL) { 73 - Py_DECREF(self); 74 - _setSSLError(get_state_ctx(self), NULL, 0, __FILE__, __LINE__); 75 - @@ -919,12 +912,12 @@ newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, 76 - BIO_set_nbio(SSL_get_wbio(self->ssl), 1); 77 - } 78 - 79 - - PySSL_BEGIN_ALLOW_THREADS(self) 80 - + PySSL_BEGIN_ALLOW_THREADS 81 - if (socket_type == PY_SSL_CLIENT) 82 - SSL_set_connect_state(self->ssl); 83 - else 84 - SSL_set_accept_state(self->ssl); 85 - - PySSL_END_ALLOW_THREADS(self) 86 - + PySSL_END_ALLOW_THREADS 87 - 88 - self->socket_type = socket_type; 89 - if (sock != NULL) { 90 - @@ -993,10 +986,10 @@ _ssl__SSLSocket_do_handshake_impl(PySSLSocket *self) 91 - /* Actually negotiate SSL connection */ 92 - /* XXX If SSL_do_handshake() returns 0, it's also a failure. */ 93 - do { 94 - - PySSL_BEGIN_ALLOW_THREADS(self) 95 - + PySSL_BEGIN_ALLOW_THREADS 96 - ret = SSL_do_handshake(self->ssl); 97 - err = _PySSL_errno(ret < 1, self->ssl, ret); 98 - - PySSL_END_ALLOW_THREADS(self) 99 - + PySSL_END_ALLOW_THREADS 100 - self->err = err; 101 - 102 - if (PyErr_CheckSignals()) 103 - @@ -2369,10 +2362,9 @@ PySSL_select(PySocketSockObject *s, int writing, PyTime_t timeout) 104 - ms = (int)_PyTime_AsMilliseconds(timeout, _PyTime_ROUND_CEILING); 105 - assert(ms <= INT_MAX); 106 - 107 - - Py_BEGIN_ALLOW_THREADS 108 - + PySSL_BEGIN_ALLOW_THREADS 109 - rc = poll(&pollfd, 1, (int)ms); 110 - - Py_END_ALLOW_THREADS 111 - - _PySSL_FIX_ERRNO; 112 - + PySSL_END_ALLOW_THREADS 113 - #else 114 - /* Guard against socket too large for select*/ 115 - if (!_PyIsSelectable_fd(s->sock_fd)) 116 - @@ -2384,14 +2376,13 @@ PySSL_select(PySocketSockObject *s, int writing, PyTime_t timeout) 117 - FD_SET(s->sock_fd, &fds); 118 - 119 - /* Wait until the socket becomes ready */ 120 - - Py_BEGIN_ALLOW_THREADS 121 - + PySSL_BEGIN_ALLOW_THREADS 122 - nfds = Py_SAFE_DOWNCAST(s->sock_fd+1, SOCKET_T, int); 123 - if (writing) 124 - rc = select(nfds, NULL, &fds, NULL, &tv); 125 - else 126 - rc = select(nfds, &fds, NULL, NULL, &tv); 127 - - Py_END_ALLOW_THREADS 128 - - _PySSL_FIX_ERRNO; 129 - + PySSL_END_ALLOW_THREADS 130 - #endif 131 - 132 - /* Return SOCKET_TIMED_OUT on timeout, SOCKET_OPERATION_OK otherwise 133 - @@ -2462,10 +2453,10 @@ _ssl__SSLSocket_write_impl(PySSLSocket *self, Py_buffer *b) 134 - } 135 - 136 - do { 137 - - PySSL_BEGIN_ALLOW_THREADS(self) 138 - + PySSL_BEGIN_ALLOW_THREADS 139 - retval = SSL_write_ex(self->ssl, b->buf, (size_t)b->len, &count); 140 - err = _PySSL_errno(retval == 0, self->ssl, retval); 141 - - PySSL_END_ALLOW_THREADS(self) 142 - + PySSL_END_ALLOW_THREADS 143 - self->err = err; 144 - 145 - if (PyErr_CheckSignals()) 146 - @@ -2523,10 +2514,10 @@ _ssl__SSLSocket_pending_impl(PySSLSocket *self) 147 - int count = 0; 148 - _PySSLError err; 149 - 150 - - PySSL_BEGIN_ALLOW_THREADS(self) 151 - + PySSL_BEGIN_ALLOW_THREADS 152 - count = SSL_pending(self->ssl); 153 - err = _PySSL_errno(count < 0, self->ssl, count); 154 - - PySSL_END_ALLOW_THREADS(self) 155 - + PySSL_END_ALLOW_THREADS 156 - self->err = err; 157 - 158 - if (count < 0) 159 - @@ -2617,10 +2608,10 @@ _ssl__SSLSocket_read_impl(PySSLSocket *self, Py_ssize_t len, 160 - deadline = _PyDeadline_Init(timeout); 161 - 162 - do { 163 - - PySSL_BEGIN_ALLOW_THREADS(self) 164 - + PySSL_BEGIN_ALLOW_THREADS 165 - retval = SSL_read_ex(self->ssl, mem, (size_t)len, &count); 166 - err = _PySSL_errno(retval == 0, self->ssl, retval); 167 - - PySSL_END_ALLOW_THREADS(self) 168 - + PySSL_END_ALLOW_THREADS 169 - self->err = err; 170 - 171 - if (PyErr_CheckSignals()) 172 - @@ -2719,7 +2710,7 @@ _ssl__SSLSocket_shutdown_impl(PySSLSocket *self) 173 - } 174 - 175 - while (1) { 176 - - PySSL_BEGIN_ALLOW_THREADS(self) 177 - + PySSL_BEGIN_ALLOW_THREADS 178 - /* Disable read-ahead so that unwrap can work correctly. 179 - * Otherwise OpenSSL might read in too much data, 180 - * eating clear text data that happens to be 181 - @@ -2732,7 +2723,7 @@ _ssl__SSLSocket_shutdown_impl(PySSLSocket *self) 182 - SSL_set_read_ahead(self->ssl, 0); 183 - ret = SSL_shutdown(self->ssl); 184 - err = _PySSL_errno(ret < 0, self->ssl, ret); 185 - - PySSL_END_ALLOW_THREADS(self) 186 - + PySSL_END_ALLOW_THREADS 187 - self->err = err; 188 - 189 - /* If err == 1, a secure shutdown with SSL_shutdown() is complete */ 190 - @@ -3124,10 +3115,9 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version) 191 - // no other thread can be touching this object yet. 192 - // (Technically, we can't even lock if we wanted to, as the 193 - // lock hasn't been initialized yet.) 194 - - Py_BEGIN_ALLOW_THREADS 195 - + PySSL_BEGIN_ALLOW_THREADS 196 - ctx = SSL_CTX_new(method); 197 - - Py_END_ALLOW_THREADS 198 - - _PySSL_FIX_ERRNO; 199 - + PySSL_END_ALLOW_THREADS 200 - 201 - if (ctx == NULL) { 202 - _setSSLError(get_ssl_state(module), NULL, 0, __FILE__, __LINE__); 203 - @@ -3153,7 +3143,6 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version) 204 - self->psk_client_callback = NULL; 205 - self->psk_server_callback = NULL; 206 - #endif 207 - - self->tstate_mutex = (PyMutex){0}; 208 - 209 - /* Don't check host name by default */ 210 - if (proto_version == PY_SSL_VERSION_TLS_CLIENT) { 211 - @@ -3270,10 +3259,9 @@ context_clear(PySSLContext *self) 212 - Py_CLEAR(self->psk_server_callback); 213 - #endif 214 - if (self->keylog_bio != NULL) { 215 - - Py_BEGIN_ALLOW_THREADS 216 - + PySSL_BEGIN_ALLOW_THREADS 217 - BIO_free_all(self->keylog_bio); 218 - - Py_END_ALLOW_THREADS 219 - - _PySSL_FIX_ERRNO; 220 - + PySSL_END_ALLOW_THREADS 221 - self->keylog_bio = NULL; 222 - } 223 - return 0; 224 - @@ -3992,8 +3980,7 @@ _password_callback(char *buf, int size, int rwflag, void *userdata) 225 - _PySSLPasswordInfo *pw_info = (_PySSLPasswordInfo*) userdata; 226 - PyObject *fn_ret = NULL; 227 - 228 - - pw_info->thread_state = PyThreadState_Swap(pw_info->thread_state); 229 - - _PySSL_FIX_ERRNO; 230 - + PySSL_END_ALLOW_THREADS_S(pw_info->thread_state); 231 - 232 - if (pw_info->error) { 233 - /* already failed previously. OpenSSL 3.0.0-alpha14 invokes the 234 - @@ -4023,13 +4010,13 @@ _password_callback(char *buf, int size, int rwflag, void *userdata) 235 - goto error; 236 - } 237 - 238 - - pw_info->thread_state = PyThreadState_Swap(pw_info->thread_state); 239 - + PySSL_BEGIN_ALLOW_THREADS_S(pw_info->thread_state); 240 - memcpy(buf, pw_info->password, pw_info->size); 241 - return pw_info->size; 242 - 243 - error: 244 - Py_XDECREF(fn_ret); 245 - - pw_info->thread_state = PyThreadState_Swap(pw_info->thread_state); 246 - + PySSL_BEGIN_ALLOW_THREADS_S(pw_info->thread_state); 247 - pw_info->error = 1; 248 - return -1; 249 - } 250 - @@ -4082,10 +4069,10 @@ _ssl__SSLContext_load_cert_chain_impl(PySSLContext *self, PyObject *certfile, 251 - SSL_CTX_set_default_passwd_cb(self->ctx, _password_callback); 252 - SSL_CTX_set_default_passwd_cb_userdata(self->ctx, &pw_info); 253 - } 254 - - PySSL_BEGIN_ALLOW_THREADS_S(pw_info.thread_state, &self->tstate_mutex); 255 - + PySSL_BEGIN_ALLOW_THREADS_S(pw_info.thread_state); 256 - r = SSL_CTX_use_certificate_chain_file(self->ctx, 257 - PyBytes_AS_STRING(certfile_bytes)); 258 - - PySSL_END_ALLOW_THREADS_S(pw_info.thread_state, &self->tstate_mutex); 259 - + PySSL_END_ALLOW_THREADS_S(pw_info.thread_state); 260 - if (r != 1) { 261 - if (pw_info.error) { 262 - ERR_clear_error(); 263 - @@ -4100,11 +4087,11 @@ _ssl__SSLContext_load_cert_chain_impl(PySSLContext *self, PyObject *certfile, 264 - } 265 - goto error; 266 - } 267 - - PySSL_BEGIN_ALLOW_THREADS_S(pw_info.thread_state, &self->tstate_mutex); 268 - + PySSL_BEGIN_ALLOW_THREADS_S(pw_info.thread_state); 269 - r = SSL_CTX_use_PrivateKey_file(self->ctx, 270 - PyBytes_AS_STRING(keyfile ? keyfile_bytes : certfile_bytes), 271 - SSL_FILETYPE_PEM); 272 - - PySSL_END_ALLOW_THREADS_S(pw_info.thread_state, &self->tstate_mutex); 273 - + PySSL_END_ALLOW_THREADS_S(pw_info.thread_state); 274 - Py_CLEAR(keyfile_bytes); 275 - Py_CLEAR(certfile_bytes); 276 - if (r != 1) { 277 - @@ -4121,9 +4108,9 @@ _ssl__SSLContext_load_cert_chain_impl(PySSLContext *self, PyObject *certfile, 278 - } 279 - goto error; 280 - } 281 - - PySSL_BEGIN_ALLOW_THREADS_S(pw_info.thread_state, &self->tstate_mutex); 282 - + PySSL_BEGIN_ALLOW_THREADS_S(pw_info.thread_state); 283 - r = SSL_CTX_check_private_key(self->ctx); 284 - - PySSL_END_ALLOW_THREADS_S(pw_info.thread_state, &self->tstate_mutex); 285 - + PySSL_END_ALLOW_THREADS_S(pw_info.thread_state); 286 - if (r != 1) { 287 - _setSSLError(get_state_ctx(self), NULL, 0, __FILE__, __LINE__); 288 - goto error; 289 - @@ -4340,9 +4327,9 @@ _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self, 290 - cafile_buf = PyBytes_AS_STRING(cafile_bytes); 291 - if (capath) 292 - capath_buf = PyBytes_AS_STRING(capath_bytes); 293 - - PySSL_BEGIN_ALLOW_THREADS(self) 294 - + PySSL_BEGIN_ALLOW_THREADS 295 - r = SSL_CTX_load_verify_locations(self->ctx, cafile_buf, capath_buf); 296 - - PySSL_END_ALLOW_THREADS(self) 297 - + PySSL_END_ALLOW_THREADS 298 - if (r != 1) { 299 - if (errno != 0) { 300 - PyErr_SetFromErrno(PyExc_OSError); 301 - @@ -4394,11 +4381,10 @@ _ssl__SSLContext_load_dh_params_impl(PySSLContext *self, PyObject *filepath) 302 - return NULL; 303 - 304 - errno = 0; 305 - - Py_BEGIN_ALLOW_THREADS 306 - + PySSL_BEGIN_ALLOW_THREADS 307 - dh = PEM_read_DHparams(f, NULL, NULL, NULL); 308 - fclose(f); 309 - - Py_END_ALLOW_THREADS 310 - - _PySSL_FIX_ERRNO; 311 - + PySSL_END_ALLOW_THREADS 312 - if (dh == NULL) { 313 - if (errno != 0) { 314 - PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, filepath); 315 - @@ -4550,7 +4536,6 @@ _ssl__SSLContext_set_default_verify_paths_impl(PySSLContext *self) 316 - Py_BEGIN_ALLOW_THREADS 317 - rc = SSL_CTX_set_default_verify_paths(self->ctx); 318 - Py_END_ALLOW_THREADS 319 - - _PySSL_FIX_ERRNO; 320 - if (!rc) { 321 - _setSSLError(get_state_ctx(self), NULL, 0, __FILE__, __LINE__); 322 - return NULL; 323 - diff --git b/Modules/_ssl/debughelpers.c a/Modules/_ssl/debughelpers.c 324 - index fb8ae7c4e0b..5fc69a07184 100644 325 - --- b/Modules/_ssl/debughelpers.c 326 - +++ a/Modules/_ssl/debughelpers.c 327 - @@ -135,15 +135,13 @@ _PySSL_keylog_callback(const SSL *ssl, const char *line) 328 - * critical debug helper. 329 - */ 330 - 331 - - assert(PyMutex_IsLocked(&ssl_obj->tstate_mutex)); 332 - - Py_BEGIN_ALLOW_THREADS 333 - + PySSL_BEGIN_ALLOW_THREADS 334 - PyThread_acquire_lock(lock, 1); 335 - res = BIO_printf(ssl_obj->ctx->keylog_bio, "%s\n", line); 336 - e = errno; 337 - (void)BIO_flush(ssl_obj->ctx->keylog_bio); 338 - PyThread_release_lock(lock); 339 - - Py_END_ALLOW_THREADS 340 - - _PySSL_FIX_ERRNO; 341 - + PySSL_END_ALLOW_THREADS 342 - 343 - if (res == -1) { 344 - errno = e; 345 - @@ -179,10 +177,9 @@ _PySSLContext_set_keylog_filename(PySSLContext *self, PyObject *arg, void *c) { 346 - if (self->keylog_bio != NULL) { 347 - BIO *bio = self->keylog_bio; 348 - self->keylog_bio = NULL; 349 - - Py_BEGIN_ALLOW_THREADS 350 - + PySSL_BEGIN_ALLOW_THREADS 351 - BIO_free_all(bio); 352 - - Py_END_ALLOW_THREADS 353 - - _PySSL_FIX_ERRNO; 354 - + PySSL_END_ALLOW_THREADS 355 - } 356 - 357 - if (arg == Py_None) { 358 - @@ -204,13 +201,13 @@ _PySSLContext_set_keylog_filename(PySSLContext *self, PyObject *arg, void *c) { 359 - self->keylog_filename = Py_NewRef(arg); 360 - 361 - /* Write a header for seekable, empty files (this excludes pipes). */ 362 - - PySSL_BEGIN_ALLOW_THREADS(self) 363 - + PySSL_BEGIN_ALLOW_THREADS 364 - if (BIO_tell(self->keylog_bio) == 0) { 365 - BIO_puts(self->keylog_bio, 366 - "# TLS secrets log file, generated by OpenSSL / Python\n"); 367 - (void)BIO_flush(self->keylog_bio); 368 - } 369 - - PySSL_END_ALLOW_THREADS(self) 370 - + PySSL_END_ALLOW_THREADS 371 - SSL_CTX_set_keylog_callback(self->ctx, _PySSL_keylog_callback); 372 - return 0; 373 - }
+15 -38
pkgs/development/interpreters/python/cpython/default.nix
··· 21 21 expat, 22 22 libffi, 23 23 libuuid, 24 - withLibxcrypt ? !withMinimalDeps, 25 24 libxcrypt, 26 25 withMpdecimal ? !withMinimalDeps, 27 26 mpdecimal, ··· 39 38 windows, 40 39 41 40 # optional dependencies 42 - bluezSupport ? false, 43 - bluez, 41 + bluezSupport ? !withMinimalDeps && stdenv.hostPlatform.isLinux, 42 + bluez-headers, 44 43 mimetypesSupport ? !withMinimalDeps, 45 44 mailcap, 46 45 tzdata, ··· 48 47 gdbm, 49 48 withReadline ? !withMinimalDeps && !stdenv.hostPlatform.isWindows, 50 49 readline, 51 - x11Support ? false, 52 - tcl, 53 - tk, 54 - tclPackages, 55 - libX11, 56 - xorgproto, 57 50 58 51 # splicing/cross 59 52 pythonAttr ? "python${sourceVersion.major}${sourceVersion.minor}", ··· 115 108 # cgit) that are needed here should be included directly in Nixpkgs as 116 109 # files. 117 110 118 - assert x11Support -> tcl != null && tk != null && xorgproto != null && libX11 != null; 119 - 120 - assert bluezSupport -> bluez != null; 121 - 122 111 assert lib.assertMsg ( 123 112 enableFramework -> stdenv.hostPlatform.isDarwin 124 113 ) "Framework builds are only supported on Darwin."; ··· 145 134 optionals 146 135 optionalString 147 136 replaceStrings 148 - versionOlder 149 137 ; 150 138 151 - # mixes libc and libxcrypt headers and libs and causes segfaults on importing crypt 152 - libxcrypt = if stdenv.hostPlatform.isFreeBSD && withMinimalDeps then null else inputs.libxcrypt; 139 + withLibxcrypt = 140 + (!withMinimalDeps) 141 + && 142 + # mixes libc and libxcrypt headers and libs and causes segfaults on importing crypt 143 + (!stdenv.hostPlatform.isFreeBSD) 144 + && 145 + # crypt module was removed in 3.13 146 + passthru.pythonOlder "3.13"; 153 147 154 148 buildPackages = pkgsBuildHost; 155 149 inherit (passthru) pythonOnBuildForHost; ··· 159 153 passthru = 160 154 let 161 155 # When we override the interpreter we also need to override the spliced versions of the interpreter 162 - # bluez is excluded manually to break an infinite recursion. 163 - inputs' = lib.filterAttrs (n: v: n != "bluez" && n != "passthruFun" && !lib.isDerivation v) inputs; 156 + inputs' = lib.filterAttrs (n: v: n != "passthruFun" && !lib.isDerivation v) inputs; 164 157 # Memoization of the splices to avoid re-evaluating this function for all combinations of splices e.g. 165 158 # python3.pythonOnBuildForHost.pythonOnBuildForTarget == python3.pythonOnBuildForTarget by consuming 166 159 # __splices as an arg and using the cache if populated. ··· 261 254 zstd 262 255 ] 263 256 ++ optionals bluezSupport [ 264 - bluez 257 + bluez-headers 265 258 ] 266 259 ++ optionals stdenv.hostPlatform.isMinGW [ 267 260 windows.dlfcn ··· 276 269 ++ optionals withReadline [ 277 270 readline 278 271 ] 279 - ++ optionals x11Support [ 280 - libX11 281 - tcl 282 - tk 283 - xorgproto 284 - ] 285 272 ); 286 273 287 274 hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false); ··· 365 352 ++ optionals (pythonAtLeast "3.13") [ 366 353 ./3.13/virtualenv-permissions.patch 367 354 ] 368 - ++ optionals isPy313 [ 369 - # https://github.com/python/cpython/issues/137583 370 - ./3.13/revert-gh134724.patch 371 - ] 372 355 ++ optionals mimetypesSupport [ 373 356 # Make the mimetypes module refer to the right file 374 357 ./mimetypes.patch ··· 446 429 + optionalString mimetypesSupport '' 447 430 substituteInPlace Lib/mimetypes.py \ 448 431 --replace-fail "@mime-types@" "${mailcap}" 449 - '' 450 - + optionalString (pythonOlder "3.13" && x11Support && ((tclPackages.tix or null) != null)) '' 451 - substituteInPlace "Lib/tkinter/tix.py" --replace-fail \ 452 - "os.environ.get('TIX_LIBRARY')" \ 453 - "os.environ.get('TIX_LIBRARY') or '${tclPackages.tix}/lib'" 454 432 ''; 455 433 456 434 env = { ··· 581 559 if stdenv.hostPlatform.isAarch64 then "uint128" else "x64" 582 560 }' 583 561 '' 584 - + optionalString (stdenv.hostPlatform.isDarwin && x11Support && pythonAtLeast "3.11") '' 585 - export TCLTK_LIBS="-L${tcl}/lib -L${tk}/lib -l${tcl.libPrefix} -l${tk.libPrefix}" 586 - export TCLTK_CFLAGS="-I${tcl}/include -I${tk}/include" 587 - '' 588 562 + optionalString stdenv.hostPlatform.isWindows '' 589 563 export NIX_CFLAGS_COMPILE+=" -Wno-error=incompatible-pointer-types" 590 564 '' ··· 603 577 optionalString enableNoSemanticInterposition '' 604 578 export CFLAGS_NODIST="-fno-semantic-interposition" 605 579 ''; 580 + 581 + # Our aarch64-linux bootstrap files lack Scrt1.o, which fails the config test 582 + hardeningEnable = lib.optionals (!withMinimalDeps && !stdenv.hostPlatform.isAarch64) [ "pie" ]; 606 583 607 584 setupHook = python-setup-hook sitePackages; 608 585
+2 -2
pkgs/development/interpreters/python/default.nix
··· 20 20 sourceVersion = { 21 21 major = "3"; 22 22 minor = "13"; 23 - patch = "6"; 23 + patch = "7"; 24 24 suffix = ""; 25 25 }; 26 - hash = "sha256-F7pVCIGdhzahT7/EfTbhhJRqh3hRsunEtsQ6y0SjsQQ="; 26 + hash = "sha256-VGL5CZ39MOI43vg8cdkYl9jKpf9uvHpQ8U1IAs2qp5o="; 27 27 }; 28 28 }; 29 29
-8
pkgs/development/interpreters/ruby/config.nix
··· 1 - # Ruby >= 2.1.0 tries to download config.{guess,sub} 2 - { fetchFromSavannah }: 3 - 4 - fetchFromSavannah { 5 - repo = "config"; 6 - rev = "576c839acca0e082e536fd27568b90a446ce5b96"; 7 - sha256 = "11bjngchjhj0qq0ppp8c37rfw0yhp230nvhs2jvlx15i9qbf56a0"; 8 - }
+4 -7
pkgs/development/interpreters/ruby/default.nix
··· 4 4 lib, 5 5 fetchurl, 6 6 fetchpatch, 7 - fetchFromSavannah, 8 7 zlib, 9 8 gdbm, 10 9 ncurses, ··· 38 37 op = lib.optional; 39 38 ops = lib.optionals; 40 39 opString = lib.optionalString; 41 - config = import ./config.nix { inherit fetchFromSavannah; }; 42 40 rubygems = import ./rubygems { 43 41 inherit 44 42 stdenv ··· 74 72 lib, 75 73 fetchurl, 76 74 fetchpatch, 77 - fetchFromSavannah, 78 75 rubygemsSupport ? true, 79 76 zlib, 80 77 zlibSupport ? true, ··· 229 226 cp -r ${rubygems}/lib/rubygems* $sourceRoot/lib 230 227 ''; 231 228 229 + # Ruby >= 2.1.0 tries to download config.{guess,sub}; copy it from autoconf instead. 232 230 postPatch = '' 233 231 sed -i configure.ac -e '/config.guess/d' 234 - cp --remove-destination ${config}/config.guess tool/ 235 - cp --remove-destination ${config}/config.sub tool/ 232 + cp --remove-destination ${autoconf}/share/autoconf/build-aux/config.{guess,sub} tool/ 236 233 ''; 237 234 238 235 configureFlags = [ ··· 425 422 }; 426 423 427 424 ruby_3_3 = generic { 428 - version = rubyVersion "3" "3" "8" ""; 429 - hash = "sha256-WuKKh6WaPkrWa8KTHSMturlT0KqPa687xPj4CXfInKs="; 425 + version = rubyVersion "3" "3" "9" ""; 426 + hash = "sha256-0ZkWkKThcjPsazx4RMHhJFwK3OPgDXE1UdBFhGe3J7E="; 430 427 cargoHash = "sha256-xE7Cv+NVmOHOlXa/Mg72CTSaZRb72lOja98JBvxPvSs="; 431 428 }; 432 429
+2 -2
pkgs/development/interpreters/spidermonkey/128.nix
··· 1 1 import ./common.nix { 2 - version = "128.5.0"; 3 - hash = "sha512-/yDxj5LF6c0dnq98OM7GG8qy3KjdKBdRm3ErwfdgtcbikCEqzzKJFSdk5RMOAWJpULfs2TJ7LFh7JKJGWRr9Zw=="; 2 + version = "128.14.0"; 3 + hash = "sha512-o88mfoK29auLZJemKxL4Wvt4/K72sSxD73lWTOgnDTMnqHM2jOSPwBjkb+9eBzOcB7mklKX/bCKoQJn5Ofap3g=="; 4 4 }
+13
pkgs/development/interpreters/spidermonkey/140-relax-apple-sdk.patch
··· 1 + diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure 2 + index 37c00230c853..dd89bea24392 100644 3 + --- a/build/moz.configure/toolchain.configure 4 + +++ b/build/moz.configure/toolchain.configure 5 + @@ -233,7 +233,7 @@ with only_when(host_is_osx | target_is_osx): 6 + ) 7 + 8 + def mac_sdk_min_version(): 9 + - return "15.5" 10 + + return "15.2" 11 + 12 + @depends( 13 + "--with-macos-sdk",
-4
pkgs/development/interpreters/spidermonkey/91.nix
··· 1 - import ./common.nix { 2 - version = "91.13.0"; 3 - hash = "sha512-OLTMUt4h521gYea6F14cv9iIoWBwqpUfWkQoPy251+lPJQRiHw2nj+rG5xSRptDnA49j3QrhEtytcA6wLpqlFg=="; 4 - }
+10 -39
pkgs/development/interpreters/spidermonkey/common.nix
··· 8 8 fetchpatch, 9 9 10 10 # build time 11 + apple-sdk_14, 12 + apple-sdk_15, 11 13 buildPackages, 12 14 cargo, 13 15 m4, 14 16 perl, 15 17 pkg-config, 16 18 python3, 17 - python311, 18 19 rust-cbindgen, 19 20 rustPlatform, 20 21 rustc, ··· 46 47 }; 47 48 48 49 patches = 49 - lib.optionals (lib.versionAtLeast version "102" && lib.versionOlder version "128") [ 50 + lib.optionals (lib.versionOlder version "128") [ 50 51 # use pkg-config at all systems 51 52 ./always-check-for-pkg-config.patch 52 53 ./allow-system-s-nspr-and-icu-on-bootstrapped-sysroot.patch ··· 56 57 ./always-check-for-pkg-config-128.patch 57 58 ./allow-system-s-nspr-and-icu-on-bootstrapped-sysroot-128.patch 58 59 ] 59 - ++ lib.optionals (lib.versionAtLeast version "91" && stdenv.hostPlatform.system == "i686-linux") [ 60 + ++ lib.optionals (stdenv.hostPlatform.system == "i686-linux") [ 60 61 # Fixes i686 build, https://bugzilla.mozilla.org/show_bug.cgi?id=1729459 61 62 ./fix-float-i686.patch 62 63 ] 63 - ++ lib.optionals (lib.versionAtLeast version "91" && lib.versionOlder version "102") [ 64 - # Fix 91 compatibility with python311 65 - (fetchpatch { 66 - url = "https://src.fedoraproject.org/rpms/mozjs91/raw/e3729167646775e60a3d8c602c0412e04f206baf/f/0001-Python-Build-Use-r-instead-of-rU-file-read-modes.patch"; 67 - hash = "sha256-WgDIBidB9XNQ/+HacK7jxWnjOF8PEUt5eB0+Aubtl48="; 68 - }) 69 - ] 70 64 ++ lib.optionals (lib.versionAtLeast version "140") [ 71 65 # mozjs-140.pc does not contain -DXP_UNIX on Linux 72 66 # https://bugzilla.mozilla.org/show_bug.cgi?id=1973994 ··· 74 68 url = "https://src.fedoraproject.org/rpms/mozjs140/raw/49492baa47bc1d7b7d5bc738c4c81b4661302f27/f/9aa8b4b051dd539e0fbd5e08040870b3c712a846.patch"; 75 69 hash = "sha256-SsyO5g7wlrxE7y2+VTHfmUDamofeZVqge8fv2y0ZhuU="; 76 70 }) 71 + # SDK 15.5 is not available in nixpkgs yet 72 + ./140-relax-apple-sdk.patch 77 73 ]; 78 74 79 75 nativeBuildInputs = [ ··· 81 77 m4 82 78 perl 83 79 pkg-config 84 - # 91 does not build with python 3.12: ModuleNotFoundError: No module named 'six.moves' 85 - # 102 does not build with python 3.12: ModuleNotFoundError: No module named 'distutils' 86 - (if lib.versionOlder version "115" then python311 else python3) 80 + python3 87 81 rustc 88 82 rustc.llvmPackages.llvm # for llvm-objdump 89 83 which ··· 105 99 ] 106 100 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 107 101 libiconv 102 + (if (lib.versionAtLeast version "140") then apple-sdk_15 else apple-sdk_14) 108 103 ]; 109 104 110 105 depsBuildBuild = [ ··· 125 120 "--enable-readline" 126 121 "--enable-release" 127 122 "--enable-shared-js" 128 - ] 129 - ++ lib.optionals (lib.versionAtLeast version "91") [ 130 123 "--disable-debug" 131 124 ] 132 125 ++ lib.optionals (lib.versionAtLeast version "140") [ ··· 151 144 152 145 enableParallelBuilding = true; 153 146 154 - postPatch = lib.optionalString (lib.versionOlder version "102") '' 155 - # This patch is a manually applied fix of 156 - # https://bugzilla.mozilla.org/show_bug.cgi?id=1644600 157 - # Once that bug is fixed, this can be removed. 158 - # This is needed in, for example, `zeroad`. 159 - substituteInPlace js/public/StructuredClone.h \ 160 - --replace "class SharedArrayRawBufferRefs {" \ 161 - "class JS_PUBLIC_API SharedArrayRawBufferRefs {" 162 - ''; 163 - 164 147 preConfigure = 165 148 lib.optionalString (lib.versionAtLeast version "128") '' 166 149 export MOZBUILD_STATE_PATH=$TMPDIR/mozbuild ··· 168 151 + '' 169 152 export LIBXUL_DIST=$out 170 153 export PYTHON="${buildPackages.python3.interpreter}" 171 - '' 172 - + lib.optionalString (lib.versionAtLeast version "91") '' 173 154 export M4=m4 174 155 export AWK=awk 175 156 export AS=$CC 176 157 export AC_MACRODIR=$PWD/build/autoconf/ 177 - 178 - '' 179 - + lib.optionalString (lib.versionAtLeast version "91" && lib.versionOlder version "115") '' 180 - pushd js/src 181 - sh ../../build/autoconf/autoconf.sh --localdir=$PWD configure.in > configure 182 - chmod +x configure 183 - popd 184 - '' 185 - + lib.optionalString (lib.versionAtLeast version "115") '' 186 158 patchShebangs build/cargo-linker 187 - '' 188 - + '' 189 159 # We can't build in js/src/, so create a build dir 190 160 mkdir obj 191 161 cd obj/ ··· 217 187 catap 218 188 bobby285271 219 189 ]; 220 - broken = stdenv.hostPlatform.isDarwin; # 91 is broken, >=115 requires SDK 13.3 (see #242666). 190 + # ERROR: Failed to find an adequate linker 191 + broken = lib.versionOlder version "128" && stdenv.hostPlatform.isDarwin; 221 192 platforms = platforms.unix; 222 193 }; 223 194 })
+5 -1
pkgs/development/libraries/ffmpeg/generic.nix
··· 87 87 withFrei0r ? withFullDeps && withGPL, # frei0r video filtering 88 88 withFribidi ? withHeadlessDeps, # Needed for drawtext filter 89 89 withGme ? withFullDeps, # Game Music Emulator 90 + withGmp ? withHeadlessDeps && withVersion3, # rtmp(t)e support 90 91 withGnutls ? withHeadlessDeps, 91 92 withGsm ? withFullDeps, # GSM de/encoder 92 93 withHarfbuzz ? withHeadlessDeps && lib.versionAtLeast version "6.1", # Needed for drawtext filter ··· 124 125 withQuirc ? withFullDeps && lib.versionAtLeast version "7", # QR decoding 125 126 withRav1e ? withFullDeps, # AV1 encoder (focused on speed and safety) 126 127 withRist ? withHeadlessDeps, # Reliable Internet Stream Transport (RIST) protocol 127 - withRtmp ? withFullDeps, # RTMP[E] support 128 + withRtmp ? false, # RTMP[E] support via librtmp 128 129 withRubberband ? withFullDeps && withGPL && !stdenv.hostPlatform.isFreeBSD, # Rubberband filter 129 130 withSamba ? withFullDeps && !stdenv.hostPlatform.isDarwin && withGPLv3, # Samba protocol 130 131 withSdl2 ? withSmallDeps, ··· 259 260 frei0r, 260 261 fribidi, 261 262 game-music-emu, 263 + gmp, 262 264 gnutls, 263 265 gsm, 264 266 harfbuzz, ··· 650 652 (enableFeature withFrei0r "frei0r") 651 653 (enableFeature withFribidi "libfribidi") 652 654 (enableFeature withGme "libgme") 655 + (enableFeature withGmp "gmp") 653 656 (enableFeature withGnutls "gnutls") 654 657 (enableFeature withGsm "libgsm") 655 658 ] ··· 874 877 ++ optionals withFrei0r [ frei0r ] 875 878 ++ optionals withFribidi [ fribidi ] 876 879 ++ optionals withGme [ game-music-emu ] 880 + ++ optionals withGmp [ gmp ] 877 881 ++ optionals withGnutls [ gnutls ] 878 882 ++ optionals withGsm [ gsm ] 879 883 ++ optionals withHarfbuzz [ harfbuzz ]
+3 -5
pkgs/development/libraries/gssdp/1.6.nix
··· 7 7 pkg-config, 8 8 gobject-introspection, 9 9 vala, 10 - buildPackages, 11 - enableManpages ? buildPackages.pandoc.compiler.bootstrapAvailable, 12 10 gi-docgen, 13 11 python3, 14 12 libsoup_3, ··· 44 42 vala 45 43 gi-docgen 46 44 python3 47 - ] 48 - ++ lib.optionals enableManpages [ buildPackages.pandoc ]; 45 + ]; 49 46 50 47 buildInputs = [ 51 48 libsoup_3 ··· 58 55 mesonFlags = [ 59 56 "-Dgtk_doc=true" 60 57 "-Dsniffer=false" 61 - (lib.mesonBool "manpages" enableManpages) 58 + # This packages only has manpages for gssdp-device-sniffer, which we disabled above. 59 + "-Dmanpages=false" 62 60 ]; 63 61 64 62 # On Darwin: Failed to bind socket, Operation not permitted
+2 -2
pkgs/development/libraries/gstreamer/bad/default.nix
··· 115 115 116 116 stdenv.mkDerivation (finalAttrs: { 117 117 pname = "gst-plugins-bad"; 118 - version = "1.26.3"; 118 + version = "1.26.5"; 119 119 120 120 outputs = [ 121 121 "out" ··· 124 124 125 125 src = fetchurl { 126 126 url = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${finalAttrs.version}.tar.xz"; 127 - hash = "sha256-lcSNrK8UJ29OWV9MvKlLPP6/wiKF52XiqlbQpydddWE="; 127 + hash = "sha256-mJDyYvOyqVZNy2KenraX13uT0fcYl+2hqBcLfc/nMpQ="; 128 128 }; 129 129 130 130 patches = [
+2 -2
pkgs/development/libraries/gstreamer/base/default.nix
··· 50 50 51 51 stdenv.mkDerivation (finalAttrs: { 52 52 pname = "gst-plugins-base"; 53 - version = "1.26.3"; 53 + version = "1.26.5"; 54 54 55 55 outputs = [ 56 56 "out" ··· 61 61 62 62 src = fetchurl { 63 63 url = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${finalAttrs.version}.tar.xz"; 64 - hash = "sha256-Tvn57wkCUwjOIg4t0iqJ5MmS2MpxuWjjxwrwY07CeTM="; 64 + hash = "sha256-8MDibL7apXcyy2pXjozBOhFkvxjXN9VcMzBhxS8MSNc="; 65 65 }; 66 66 67 67 strictDeps = true;
+2 -2
pkgs/development/libraries/gstreamer/core/default.nix
··· 40 40 in 41 41 stdenv.mkDerivation (finalAttrs: { 42 42 pname = "gstreamer"; 43 - version = "1.26.3"; 43 + version = "1.26.5"; 44 44 45 45 outputs = [ 46 46 "bin" ··· 52 52 53 53 src = fetchurl { 54 54 url = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${finalAttrs.version}.tar.xz"; 55 - hash = "sha256-3GYWAyISk9zMdAhiQl61T7vtYPsp0IyAHUQKaj/4JoA="; 55 + hash = "sha256-Cn7bDntC2+a1dfzmGkgIo/ayDghaHq7LwCXQ7CHx53Q="; 56 56 }; 57 57 58 58 depsBuildBuild = [
+3 -3
pkgs/development/libraries/gstreamer/devtools/default.nix
··· 28 28 29 29 stdenv.mkDerivation (finalAttrs: { 30 30 pname = "gst-devtools"; 31 - version = "1.26.3"; 31 + version = "1.26.5"; 32 32 33 33 outputs = [ 34 34 "out" ··· 37 37 38 38 src = fetchurl { 39 39 url = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${finalAttrs.version}.tar.xz"; 40 - hash = "sha256-T94Zw8FEg0+MsFwso/FLOlDTlbrSA9F/mKbnDBZy8ro="; 40 + hash = "sha256-Y9Rqjv+ooiXiWkZLp1OKzoU/4NwecDZrJ8IIE15UAc4="; 41 41 }; 42 42 43 43 cargoDeps = rustPlatform.fetchCargoVendor { ··· 47 47 cargoRoot 48 48 ; 49 49 name = "gst-devtools-${finalAttrs.version}"; 50 - hash = "sha256-AgxvFMq37a8NuOHY1QIUGOAo8aSBt4HVeSCHNUYa1tQ="; 50 + hash = "sha256-gU+SBvxwmrGiyeKXF3SA2ohIHNTS4ZBC+elB0u1QKRE="; 51 51 }; 52 52 53 53 patches = [
+2 -2
pkgs/development/libraries/gstreamer/ges/default.nix
··· 23 23 24 24 stdenv.mkDerivation (finalAttrs: { 25 25 pname = "gst-editing-services"; 26 - version = "1.26.3"; 26 + version = "1.26.5"; 27 27 28 28 outputs = [ 29 29 "out" ··· 32 32 33 33 src = fetchurl { 34 34 url = "https://gstreamer.freedesktop.org/src/gst-editing-services/gst-editing-services-${finalAttrs.version}.tar.xz"; 35 - hash = "sha256-3SCpPSw0aLahAk/wySeIayGTe9E7jLjxdfhjc2DRb9I="; 35 + hash = "sha256-c0kAlE+Q7OXi85g8M1F4/aUAI/40KqdezZ2KnDi2TZ4="; 36 36 }; 37 37 38 38 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/gstreamer/good/default.nix
··· 74 74 75 75 stdenv.mkDerivation (finalAttrs: { 76 76 pname = "gst-plugins-good"; 77 - version = "1.26.3"; 77 + version = "1.26.5"; 78 78 79 79 outputs = [ 80 80 "out" ··· 83 83 84 84 src = fetchurl { 85 85 url = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${finalAttrs.version}.tar.xz"; 86 - hash = "sha256-/k7JZw7f5rseXycWmuFFtawt0hismL2CUcj7pBrTPFM="; 86 + hash = "sha256-6whi6TQEsHPpjsUDUOzn5mheopNsq4EYwrjpOOLL6os="; 87 87 }; 88 88 89 89 patches = [
+2 -2
pkgs/development/libraries/gstreamer/libav/default.nix
··· 19 19 20 20 stdenv.mkDerivation (finalAttrs: { 21 21 pname = "gst-libav"; 22 - version = "1.26.3"; 22 + version = "1.26.5"; 23 23 24 24 outputs = [ 25 25 "out" ··· 28 28 29 29 src = fetchurl { 30 30 url = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${finalAttrs.version}.tar.xz"; 31 - hash = "sha256-Otp+UKO5uLo+QFsUxAIeJfuxA3n3fSzkkKoWUj7Sck0="; 31 + hash = "sha256-1t4FiE70I3bdjN6JlA97UM7Zb09vUoiOdkzYIz508FI="; 32 32 }; 33 33 34 34 nativeBuildInputs = [
+1 -12
pkgs/development/libraries/gstreamer/rs/default.nix
··· 127 127 ) (lib.attrNames validPlugins); 128 128 129 129 invalidPlugins = lib.subtractLists (lib.attrNames validPlugins) selectedPlugins; 130 - 131 - # TODO: figure out what must be done about this upstream - related lu-zero/cargo-c#323 lu-zero/cargo-c#138 132 - cargo-c' = (cargo-c.__spliced.buildHost or cargo-c).overrideAttrs (oldAttrs: { 133 - patches = (oldAttrs.patches or [ ]) ++ [ 134 - (fetchpatch { 135 - name = "cargo-c-test-rlib-fix.patch"; 136 - url = "https://github.com/lu-zero/cargo-c/commit/dd02009d965cbd664785149a90d702251de747b3.diff"; 137 - hash = "sha256-Az0WFF9fc5+igcV8C/QFhq5GE4PAyGEO84D9ECxx3v0="; 138 - }) 139 - ]; 140 - }); 141 130 in 142 131 assert lib.assertMsg (invalidPlugins == [ ]) 143 132 "Invalid gst-plugins-rs plugin${ ··· 207 196 pkg-config 208 197 rustc 209 198 cargo 210 - cargo-c' 199 + cargo-c 211 200 nasm 212 201 ] 213 202 ++ lib.optionals stdenv.hostPlatform.isDarwin [
+2 -2
pkgs/development/libraries/gstreamer/rtsp-server/default.nix
··· 19 19 20 20 stdenv.mkDerivation (finalAttrs: { 21 21 pname = "gst-rtsp-server"; 22 - version = "1.26.3"; 22 + version = "1.26.5"; 23 23 24 24 outputs = [ 25 25 "out" ··· 28 28 29 29 src = fetchurl { 30 30 url = "https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-${finalAttrs.version}.tar.xz"; 31 - hash = "sha256-QV6KU6mER4l3DdTxFqwuOkoz3kJnPFeswlxboPRAb8U="; 31 + hash = "sha256-Mo3/JFdBloPypPBsoRnP0ivrYyzuGtaDBZEhMyU1PEQ="; 32 32 }; 33 33 34 34 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/gstreamer/ugly/default.nix
··· 27 27 28 28 stdenv.mkDerivation (finalAttrs: { 29 29 pname = "gst-plugins-ugly"; 30 - version = "1.26.3"; 30 + version = "1.26.5"; 31 31 32 32 outputs = [ 33 33 "out" ··· 36 36 37 37 src = fetchurl { 38 38 url = "https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${finalAttrs.version}.tar.xz"; 39 - hash = "sha256-QX9e6JX3NKwDQbNxnBdf/xa0yOrogG4p4XCzvLPZ26U="; 39 + hash = "sha256-PfxDQ1vpfhEIFrrG1gKw8gagOFRieWg9nSU3L/En21I="; 40 40 }; 41 41 42 42 nativeBuildInputs = [
+3 -2
pkgs/development/libraries/gstreamer/vaapi/default.nix
··· 30 30 31 31 stdenv.mkDerivation (finalAttrs: { 32 32 pname = "gstreamer-vaapi"; 33 - version = "1.26.3"; 33 + version = "1.26.5"; 34 34 35 35 outputs = [ 36 36 "out" ··· 39 39 40 40 src = fetchurl { 41 41 url = "https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-${finalAttrs.version}.tar.xz"; 42 - hash = "sha256-LWQ/vRQgKX2lpNaUXRHwpbT4L+6lTqauyTaNQpldiwM="; 42 + hash = "sha256-tC1E22PzGVpvMyluHq0ywU0B7ydFK3Bo8aLYZiT1Xqk="; 43 43 }; 44 44 45 45 nativeBuildInputs = [ ··· 64 64 libdrm 65 65 udev 66 66 xorg.libX11 67 + xorg.libxcb 67 68 xorg.libXext 68 69 xorg.libXv 69 70 xorg.libXrandr
+17 -4
pkgs/development/libraries/kerberos/krb5.nix
··· 6 6 byacc, # can also use bison, but byacc has fewer dependencies 7 7 keyutils, 8 8 openssl, 9 + bashNonInteractive, 9 10 perl, 10 11 pkg-config, 11 12 ··· 32 33 33 34 stdenv.mkDerivation rec { 34 35 pname = "krb5"; 35 - version = "1.21.3"; 36 + version = "1.22.1"; 37 + 38 + __structuredAttrs = true; 36 39 37 40 src = fetchurl { 38 41 url = "https://kerberos.org/dist/krb5/${lib.versions.majorMinor version}/krb5-${version}.tar.gz"; 39 - hash = "sha256-t6TNXq1n+wi5gLIavRUP9yF+heoyDJ7QxtrdMEhArTU="; 42 + hash = "sha256-GogyuMrZI+u/E5T2fi789B46SfRgKFpm41reyPoAU68="; 40 43 }; 41 44 42 45 outputs = [ ··· 72 75 "ac_cv_func_regcomp=yes" 73 76 "ac_cv_printf_positional=yes" 74 77 ]; 78 + 79 + strictDeps = true; 75 80 76 81 nativeBuildInputs = [ 77 82 byacc ··· 83 88 84 89 buildInputs = [ 85 90 openssl 91 + bashNonInteractive # cannot use bashInteractive because of a dependency cycle 86 92 ] 87 93 ++ lib.optionals ( 88 94 stdenv.hostPlatform.isLinux ··· 116 122 # options don't give us enough granularity to specify that, so we have to override the generated 117 123 # Makefiles manually. 118 124 postConfigure = '' 119 - find $libFolders -type f -name Makefile -print0 | while IFS= read -rd "" f; do 125 + find "''${libFolders[@]}" -type f -name Makefile -print0 | while IFS= read -rd "" f; do 120 126 substituteInPlace "$f" --replace-fail "$out" "$lib" 121 127 done 122 128 ''; ··· 125 131 mkdir -p "$lib"/{bin,sbin,lib/pkgconfig,share/{et,man/man1}} 126 132 ''; 127 133 128 - # not via outputBin, due to reference from libkrb5.so 129 134 postInstall = '' 135 + # not via outputBin, due to reference from libkrb5.so 130 136 moveToOutput bin/krb5-config "$dev" 137 + moveToOutput sbin/krb5-send-pr "$out" 138 + moveToOutput bin/compile_et "$out" 131 139 ''; 132 140 133 141 # Disable _multioutDocs in stdenv by overriding it to be a no-op. ··· 140 148 141 149 enableParallelBuilding = true; 142 150 doCheck = false; # fails with "No suitable file for testing purposes" 151 + 152 + outputChecks.lib.disallowedRequisites = [ 153 + # bash cannot be here because of a dependency cycle 154 + bashNonInteractive 155 + ]; 143 156 144 157 meta = with lib; { 145 158 description = "MIT Kerberos 5";
+2
pkgs/development/libraries/libva/default.nix
··· 9 9 libdrm, 10 10 minimal ? false, 11 11 libX11, 12 + libxcb, 12 13 libXext, 13 14 libXfixes, 14 15 wayland, ··· 54 55 ] 55 56 ++ lib.optionals (!minimal) [ 56 57 libX11 58 + libxcb 57 59 libXext 58 60 libXfixes 59 61 wayland
+51 -5
pkgs/development/libraries/libxmlxx/v3.nix
··· 7 7 glibmm, 8 8 perl, 9 9 gnome, 10 + meson, 11 + ninja, 12 + docbook5, 13 + docbook-xsl-ns, 14 + doxygen, 15 + libxslt, 16 + fop, 17 + dblatex, 18 + graphviz, 19 + 20 + withDocumentation ? false, 21 + withManual ? false, # Broken due to not being allowed to fetch file from web 22 + withPDF ? false, 23 + withExamples ? false, 10 24 }: 11 25 12 26 stdenv.mkDerivation rec { 13 27 pname = "libxml++"; 14 - version = "3.0.1"; 28 + version = "3.2.5"; 15 29 16 30 src = fetchurl { 17 - url = "mirror://gnome/sources/libxml++/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 18 - sha256 = "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"; 31 + url = "mirror://gnome/sources/libxml++/${lib.versions.majorMinor version}/libxml++-${version}.tar.xz"; 32 + hash = "sha256-DJs4G1qD1rOrSwuGXXJW2rJ9V1mBtjvi+Fnty5TaWcc="; 19 33 }; 20 34 21 35 outputs = [ 22 36 "out" 23 37 "dev" 38 + ] 39 + ++ lib.lists.optionals withDocumentation [ 24 40 "doc" 25 41 "devdoc" 26 42 ]; 27 43 28 44 nativeBuildInputs = [ 45 + ninja 46 + meson 29 47 pkg-config 48 + ] 49 + ++ lib.lists.optionals withDocumentation [ 30 50 perl 51 + doxygen 52 + libxslt 53 + graphviz 54 + ] 55 + ++ lib.lists.optionals withManual [ 56 + docbook5 57 + docbook-xsl-ns 58 + ] 59 + ++ lib.lists.optional withPDF [ 60 + fop 61 + dblatex 31 62 ]; 32 63 33 64 buildInputs = [ glibmm ]; 34 65 35 66 propagatedBuildInputs = [ libxml2 ]; 36 67 68 + mesonFlags = [ 69 + (lib.mesonBool "maintainer-mode" false) 70 + (lib.mesonBool "build-documentation" withDocumentation) 71 + (lib.mesonBool "build-manual" withManual) 72 + (lib.mesonBool "build-pdf" withPDF) 73 + (lib.mesonBool "build-examples" withExamples) 74 + (lib.mesonBool "build-tests" doCheck) 75 + ]; 76 + 77 + preBuild = lib.strings.optionalString withDocumentation '' 78 + doxygen -u docs/reference/Doxyfile 79 + ''; 80 + 37 81 postFixup = '' 38 82 substituteInPlace $dev/lib/pkgconfig/libxml++-3.0.pc \ 39 - --replace 'docdir=''${datarootdir}' "docdir=$doc/share" 83 + --replace-fail 'docdir=''${datarootdir}' "docdir=$doc/share" 40 84 ''; 41 85 42 86 passthru = { ··· 48 92 }; 49 93 }; 50 94 95 + doCheck = true; 96 + 51 97 meta = with lib; { 52 98 homepage = "https://libxmlplusplus.sourceforge.net/"; 53 99 description = "C++ wrapper for the libxml2 XML parser library, version 3"; 54 100 license = licenses.lgpl2Plus; 55 101 platforms = platforms.unix; 56 - maintainers = with maintainers; [ loskutov ]; 102 + maintainers = with maintainers; [ willow ]; 57 103 }; 58 104 }
+1
pkgs/development/libraries/mesa/darwin.nix
··· 48 48 xorg.libX11 49 49 xorg.libXext 50 50 xorg.libXfixes 51 + xorg.libxcb 51 52 zlib 52 53 ]; 53 54
+3 -3
pkgs/development/libraries/nss/esr.nix
··· 1 1 import ./generic.nix { 2 - version = "3.101.2"; 3 - hash = "sha256-i5K47pzQYOiD4vFHBN6VeqXEdPBOM7U1oSK0qSi2M2Y="; 2 + version = "3.112.1"; 3 + hash = "sha256-NpvE/WH+oY231uDKxXJptDojfU4rNsXySpOduWszzjQ="; 4 4 filename = "esr.nix"; 5 - versionRegex = "NSS_(3)_(101)(?:_(\\d+))?_RTM"; 5 + versionRegex = "NSS_(3)_(112)(?:_(\\d+))?_RTM"; 6 6 }
+2 -2
pkgs/development/libraries/openexr/3.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "openexr"; 15 - version = "3.3.4"; 15 + version = "3.3.5"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "AcademySoftwareFoundation"; 19 19 repo = "openexr"; 20 20 rev = "v${version}"; 21 - hash = "sha256-dPPL9ML5O/u0FXuLxE3bkkgetOzNU3qni3n0pq25bT0="; 21 + hash = "sha256-J1SButHDPy0gGkVOZKfemaMF0MY/lifB5n39+3GRKR8="; 22 22 }; 23 23 24 24 outputs = [
+1
pkgs/development/libraries/pipewire/default.nix
··· 165 165 ++ lib.optionals x11Support [ 166 166 libcanberra 167 167 xorg.libX11 168 + xorg.libxcb 168 169 xorg.libXfixes 169 170 ] 170 171 ++ lib.optionals bluezSupport [
+1 -1
pkgs/development/libraries/qt-6/fetch.sh
··· 1 - WGET_ARGS=( https://download.qt.io/official_releases/qt/6.9/6.9.1/submodules/ -A '*.tar.xz' ) 1 + WGET_ARGS=( https://download.qt.io/official_releases/qt/6.9/6.9.2/submodules/ -A '*.tar.xz' )
-8
pkgs/development/libraries/qt-6/modules/qtbase/default.nix
··· 80 80 libinput, 81 81 # options 82 82 qttranslations ? null, 83 - fetchpatch, 84 83 }: 85 84 86 85 let ··· 218 217 ./qmlimportscanner-import-path.patch 219 218 # don't pass qtbase's QML directory to qmlimportscanner if it's empty 220 219 ./skip-missing-qml-directory.patch 221 - 222 - # Backport patch recommended by KDE to fix HTTP2 stream corruption issues 223 - # FIXME: remove in 6.9.2 224 - (fetchpatch { 225 - url = "https://invent.kde.org/qt/qt/qtbase/-/commit/904aec2f372e2981af19bf762583a0ef42ec6bb9.diff"; 226 - hash = "sha256-bSf4TgYUk7Ariu37NHGQKv6wFArVpQLlnHCTbCFzAfI="; 227 - }) 228 220 ]; 229 221 230 222 postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
-6
pkgs/development/libraries/qt-6/modules/qtdeclarative/default.nix
··· 10 10 lib, 11 11 pkgsBuildBuild, 12 12 replaceVars, 13 - fetchpatch, 14 13 }: 15 14 16 15 qtModule { ··· 38 37 }) 39 38 # add version specific QML import path 40 39 ./use-versioned-import-path.patch 41 - # This should make it into the 6.9.2 release. 42 - (fetchpatch { 43 - url = "https://invent.kde.org/qt/qt/qtdeclarative/-/commit/672e6777e8e6a8fd.diff"; 44 - hash = "sha256-nPczX6SHZPcdg7AqpRIwPCrcS3PId+Ibb0iPSiHUdaw="; 45 - }) 46 40 ]; 47 41 48 42 preConfigure =
+2 -2
pkgs/development/libraries/qt-6/modules/qtmqtt.nix
··· 6 6 7 7 qtModule rec { 8 8 pname = "qtmqtt"; 9 - version = "6.9.1"; 9 + version = "6.9.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "qt"; 13 13 repo = "qtmqtt"; 14 14 tag = "v${version}"; 15 - hash = "sha256-nyMsl07pL6mNpg1p7W3cn2NXGmEbm+y9tgMexp6+xYI="; 15 + hash = "sha256-/qz93JmMkJW3+lzT+QKvb/VL+xmbg5H8kKaXK+XN2nE="; 16 16 }; 17 17 18 18 propagatedBuildInputs = [ qtbase ];
+9 -7
pkgs/development/libraries/qt-6/modules/qtwebengine/default.nix
··· 7 7 buildPackages, 8 8 bison, 9 9 coreutils, 10 - fetchpatch2, 11 10 flex, 12 11 gperf, 13 12 ninja, ··· 65 64 bootstrap_cmds, 66 65 cctools, 67 66 xcbuild, 67 + 68 + fetchpatch, 68 69 }: 69 70 70 71 qtModule { ··· 112 113 # Reproducibility QTBUG-136068 113 114 ./gn-object-sorted.patch 114 115 115 - # https://chromium-review.googlesource.com/c/chromium/src/+/6445471 116 - (fetchpatch2 { 117 - url = "https://github.com/chromium/chromium/commit/f8f21fb4aa01f75acbb12abf5ea8c263c6817141.patch?full_index=1"; 118 - stripLen = 1; 119 - extraPrefix = "src/3rdparty/chromium/"; 120 - hash = "sha256-wcby9uD8xb4re9+s+rdl1hcpxDcHxuI68vUNAC7Baas="; 116 + # Revert "Create EGLImage with eglCreateDRMImageMESA() for exporting dma_buf" 117 + # Mesa 25.2 dropped eglCreateDRMImageMESA, so this no longer works. 118 + # There are better ways to do this, but this is the easy fix for now. 119 + (fetchpatch { 120 + url = "https://invent.kde.org/qt/qt/qtwebengine/-/commit/ddcd30454aa6338d898c9d20c8feb48f36632e16.diff"; 121 + revert = true; 122 + hash = "sha256-ht7C3GIEaPtmMGLzQKOtMqE9sLKdqqYCgi/W6b430YU="; 121 123 }) 122 124 ]; 123 125
+156 -156
pkgs/development/libraries/qt-6/srcs.nix
··· 4 4 5 5 { 6 6 qt3d = { 7 - version = "6.9.1"; 7 + version = "6.9.2"; 8 8 src = fetchurl { 9 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qt3d-everywhere-src-6.9.1.tar.xz"; 10 - sha256 = "1127kkbrds6xsd28p47drs51py5x8gsv2rwbllkb6yqlc1x4jilw"; 11 - name = "qt3d-everywhere-src-6.9.1.tar.xz"; 9 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qt3d-everywhere-src-6.9.2.tar.xz"; 10 + sha256 = "0ndn5fbsfj2vbcq3siq1gnk2rgblicd6ri2jrh9g41anicxh4vma"; 11 + name = "qt3d-everywhere-src-6.9.2.tar.xz"; 12 12 }; 13 13 }; 14 14 qt5compat = { 15 - version = "6.9.1"; 15 + version = "6.9.2"; 16 16 src = fetchurl { 17 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qt5compat-everywhere-src-6.9.1.tar.xz"; 18 - sha256 = "0yli7mbsdhksx57n05axr3kkspf9nm56w6bm1rbl0p0d7yn2diwn"; 19 - name = "qt5compat-everywhere-src-6.9.1.tar.xz"; 17 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qt5compat-everywhere-src-6.9.2.tar.xz"; 18 + sha256 = "0q2vly836wgs462czw7lg0ysf2h48iwbdy43wwf2gz49qq2rja6b"; 19 + name = "qt5compat-everywhere-src-6.9.2.tar.xz"; 20 20 }; 21 21 }; 22 22 qtactiveqt = { 23 - version = "6.9.1"; 23 + version = "6.9.2"; 24 24 src = fetchurl { 25 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtactiveqt-everywhere-src-6.9.1.tar.xz"; 26 - sha256 = "0lvd6566yycfid6nq66m5cl3aw5bfzfifbhcpnqangvq1vla2zpx"; 27 - name = "qtactiveqt-everywhere-src-6.9.1.tar.xz"; 25 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtactiveqt-everywhere-src-6.9.2.tar.xz"; 26 + sha256 = "003vgfxswi6cpdp9i8kdzm1n34cbrbzlap4sg9h1ap0i9is51s1w"; 27 + name = "qtactiveqt-everywhere-src-6.9.2.tar.xz"; 28 28 }; 29 29 }; 30 30 qtbase = { 31 - version = "6.9.1"; 31 + version = "6.9.2"; 32 32 src = fetchurl { 33 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtbase-everywhere-src-6.9.1.tar.xz"; 34 - sha256 = "13pjmha1jpalpy5qc5gijny7i648clsmcc08c5cik6nchfzyvjj0"; 35 - name = "qtbase-everywhere-src-6.9.1.tar.xz"; 33 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtbase-everywhere-src-6.9.2.tar.xz"; 34 + sha256 = "0h149x8l2ywfr5m034n20z6cjxnldary39x0vv22jhg0ryg9rgj4"; 35 + name = "qtbase-everywhere-src-6.9.2.tar.xz"; 36 36 }; 37 37 }; 38 38 qtcharts = { 39 - version = "6.9.1"; 39 + version = "6.9.2"; 40 40 src = fetchurl { 41 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtcharts-everywhere-src-6.9.1.tar.xz"; 42 - sha256 = "1ly3mq4hgl4b20grajqy9bw16cx50d4drjxr3ljfj5n8gbmip1xq"; 43 - name = "qtcharts-everywhere-src-6.9.1.tar.xz"; 41 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtcharts-everywhere-src-6.9.2.tar.xz"; 42 + sha256 = "0jzzlh0jq5fidgs9r4aqpilyj0nan30r1d0pigp1hgz7cigz20cz"; 43 + name = "qtcharts-everywhere-src-6.9.2.tar.xz"; 44 44 }; 45 45 }; 46 46 qtconnectivity = { 47 - version = "6.9.1"; 47 + version = "6.9.2"; 48 48 src = fetchurl { 49 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtconnectivity-everywhere-src-6.9.1.tar.xz"; 50 - sha256 = "05qabslwr7dc7mfkgkr2ikqlb93c0dkfyg2vbvc5lk8h280yb229"; 51 - name = "qtconnectivity-everywhere-src-6.9.1.tar.xz"; 49 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtconnectivity-everywhere-src-6.9.2.tar.xz"; 50 + sha256 = "0qq4d8hn6s8bb9r2gglb6gzq6isbb13knqh7n2s2wsnx8rqwdzwa"; 51 + name = "qtconnectivity-everywhere-src-6.9.2.tar.xz"; 52 52 }; 53 53 }; 54 54 qtdatavis3d = { 55 - version = "6.9.1"; 55 + version = "6.9.2"; 56 56 src = fetchurl { 57 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtdatavis3d-everywhere-src-6.9.1.tar.xz"; 58 - sha256 = "1irjbdm8ypm01zx18rwq8sp161fq9yjhbx01pcgfdix7y9sqnyac"; 59 - name = "qtdatavis3d-everywhere-src-6.9.1.tar.xz"; 57 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtdatavis3d-everywhere-src-6.9.2.tar.xz"; 58 + sha256 = "0p6bvia085hx3jb1la06c2q48m9i897r1a1mf6bi2hbmm2hirzsx"; 59 + name = "qtdatavis3d-everywhere-src-6.9.2.tar.xz"; 60 60 }; 61 61 }; 62 62 qtdeclarative = { 63 - version = "6.9.1"; 63 + version = "6.9.2"; 64 64 src = fetchurl { 65 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtdeclarative-everywhere-src-6.9.1.tar.xz"; 66 - sha256 = "15zc9i9d3c9r2bqbcavqn77qk2vwcwlmp5kv73pdg681vxjldffc"; 67 - name = "qtdeclarative-everywhere-src-6.9.1.tar.xz"; 65 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtdeclarative-everywhere-src-6.9.2.tar.xz"; 66 + sha256 = "0r16qima008y2999r1djvwry01l295nmwwhqg081d2fr1cn2szs7"; 67 + name = "qtdeclarative-everywhere-src-6.9.2.tar.xz"; 68 68 }; 69 69 }; 70 70 qtdoc = { 71 - version = "6.9.1"; 71 + version = "6.9.2"; 72 72 src = fetchurl { 73 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtdoc-everywhere-src-6.9.1.tar.xz"; 74 - sha256 = "1d8sdnwimvy8fi7cihkxzjllri5gsldy39rzqwyxv4nfwnxbw33f"; 75 - name = "qtdoc-everywhere-src-6.9.1.tar.xz"; 73 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtdoc-everywhere-src-6.9.2.tar.xz"; 74 + sha256 = "0qng2lsqmrrj8n85aqh8vl4nlzc23va9hynvvf6gqr35anvbpniz"; 75 + name = "qtdoc-everywhere-src-6.9.2.tar.xz"; 76 76 }; 77 77 }; 78 78 qtgraphs = { 79 - version = "6.9.1"; 79 + version = "6.9.2"; 80 80 src = fetchurl { 81 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtgraphs-everywhere-src-6.9.1.tar.xz"; 82 - sha256 = "0i1lb7zdvhxyv51g9h667g7wq50h6x11w88v68x5mfyda98dqbgm"; 83 - name = "qtgraphs-everywhere-src-6.9.1.tar.xz"; 81 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtgraphs-everywhere-src-6.9.2.tar.xz"; 82 + sha256 = "0wsa4iar52dhiilyl053j7lmsw3xdn47b0pjrylb5a0ij1izp057"; 83 + name = "qtgraphs-everywhere-src-6.9.2.tar.xz"; 84 84 }; 85 85 }; 86 86 qtgrpc = { 87 - version = "6.9.1"; 87 + version = "6.9.2"; 88 88 src = fetchurl { 89 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtgrpc-everywhere-src-6.9.1.tar.xz"; 90 - sha256 = "0l574fwlqszk3zny2mcbka8ipi8bhj8m67jsd7yv129j42g8ck63"; 91 - name = "qtgrpc-everywhere-src-6.9.1.tar.xz"; 89 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtgrpc-everywhere-src-6.9.2.tar.xz"; 90 + sha256 = "0r1z6lbjcsgxhvzylpr8z8wl44ql14ajf99n1hfvf4gy4f43qgd4"; 91 + name = "qtgrpc-everywhere-src-6.9.2.tar.xz"; 92 92 }; 93 93 }; 94 94 qthttpserver = { 95 - version = "6.9.1"; 95 + version = "6.9.2"; 96 96 src = fetchurl { 97 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qthttpserver-everywhere-src-6.9.1.tar.xz"; 98 - sha256 = "0lrby1ii7ic0m3wnv1hvb5izzwrk5ryqvbi723qnbhxvw88vbixz"; 99 - name = "qthttpserver-everywhere-src-6.9.1.tar.xz"; 97 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qthttpserver-everywhere-src-6.9.2.tar.xz"; 98 + sha256 = "06a0f7j1b309xffw3rwydz8lpzxnf5jg67savswskzbd3lfzlhqk"; 99 + name = "qthttpserver-everywhere-src-6.9.2.tar.xz"; 100 100 }; 101 101 }; 102 102 qtimageformats = { 103 - version = "6.9.1"; 103 + version = "6.9.2"; 104 104 src = fetchurl { 105 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtimageformats-everywhere-src-6.9.1.tar.xz"; 106 - sha256 = "0z2py4x0shdn29l9656r63xc8gzk9bgxlgi3qx9bg6xgv8wg5sgb"; 107 - name = "qtimageformats-everywhere-src-6.9.1.tar.xz"; 105 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtimageformats-everywhere-src-6.9.2.tar.xz"; 106 + sha256 = "0fciahs4i0nn5z0j624gkfncqg6byxswj45bw81drpjp5xz3y0la"; 107 + name = "qtimageformats-everywhere-src-6.9.2.tar.xz"; 108 108 }; 109 109 }; 110 110 qtlanguageserver = { 111 - version = "6.9.1"; 111 + version = "6.9.2"; 112 112 src = fetchurl { 113 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtlanguageserver-everywhere-src-6.9.1.tar.xz"; 114 - sha256 = "1v486kb11mg65bvg88mm306nvq55kg6glnqiwfv9n2vn28v3a5ya"; 115 - name = "qtlanguageserver-everywhere-src-6.9.1.tar.xz"; 113 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtlanguageserver-everywhere-src-6.9.2.tar.xz"; 114 + sha256 = "1vlb0qn53y1b4zf7zkpxdvdh5ikr1cidq5gv8blvf6pyw6pnw6vq"; 115 + name = "qtlanguageserver-everywhere-src-6.9.2.tar.xz"; 116 116 }; 117 117 }; 118 118 qtlocation = { 119 - version = "6.9.1"; 119 + version = "6.9.2"; 120 120 src = fetchurl { 121 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtlocation-everywhere-src-6.9.1.tar.xz"; 122 - sha256 = "0mzg4z0zra13czgygaxim8wn4a2lzndly3w0ymcxwzh4gs8fis60"; 123 - name = "qtlocation-everywhere-src-6.9.1.tar.xz"; 121 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtlocation-everywhere-src-6.9.2.tar.xz"; 122 + sha256 = "1ybk3ig69p6zyrxabcfkb4pcyc251gy1m2brkf4q52cmcwcysias"; 123 + name = "qtlocation-everywhere-src-6.9.2.tar.xz"; 124 124 }; 125 125 }; 126 126 qtlottie = { 127 - version = "6.9.1"; 127 + version = "6.9.2"; 128 128 src = fetchurl { 129 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtlottie-everywhere-src-6.9.1.tar.xz"; 130 - sha256 = "18lbl6pxvfiwl84y92xwnm4cayxs8rdfgmvrq44n3jbk0wp8rs4f"; 131 - name = "qtlottie-everywhere-src-6.9.1.tar.xz"; 129 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtlottie-everywhere-src-6.9.2.tar.xz"; 130 + sha256 = "1iiigsb4p1zwkxm1x9c4pbx5rgwz35krdqi3vkql4nawvp997px4"; 131 + name = "qtlottie-everywhere-src-6.9.2.tar.xz"; 132 132 }; 133 133 }; 134 134 qtmultimedia = { 135 - version = "6.9.1"; 135 + version = "6.9.2"; 136 136 src = fetchurl { 137 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtmultimedia-everywhere-src-6.9.1.tar.xz"; 138 - sha256 = "079r0wp4nwyp4a5cannz3vf99aj4dvydwydvwbw5bvhqjm2kcplm"; 139 - name = "qtmultimedia-everywhere-src-6.9.1.tar.xz"; 137 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtmultimedia-everywhere-src-6.9.2.tar.xz"; 138 + sha256 = "04mbwl1mg4rjgai027chldslpjnqrx52c3jxn20j2hx7ayda3y3v"; 139 + name = "qtmultimedia-everywhere-src-6.9.2.tar.xz"; 140 140 }; 141 141 }; 142 142 qtnetworkauth = { 143 - version = "6.9.1"; 143 + version = "6.9.2"; 144 144 src = fetchurl { 145 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtnetworkauth-everywhere-src-6.9.1.tar.xz"; 146 - sha256 = "1jrrfcw3aa93xaq95xhy0iyigldmvgamy5452mpm8d926xdv3bbz"; 147 - name = "qtnetworkauth-everywhere-src-6.9.1.tar.xz"; 145 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtnetworkauth-everywhere-src-6.9.2.tar.xz"; 146 + sha256 = "114c65gyg56v70byyl3if1q7mzhp5kkv1g8sp4y9zaxqirbdjr91"; 147 + name = "qtnetworkauth-everywhere-src-6.9.2.tar.xz"; 148 148 }; 149 149 }; 150 150 qtpositioning = { 151 - version = "6.9.1"; 151 + version = "6.9.2"; 152 152 src = fetchurl { 153 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtpositioning-everywhere-src-6.9.1.tar.xz"; 154 - sha256 = "09pz0sbzcvhcaag7g7pidcnyvrx2kaxsxr73y2iqq949955p6qkh"; 155 - name = "qtpositioning-everywhere-src-6.9.1.tar.xz"; 153 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtpositioning-everywhere-src-6.9.2.tar.xz"; 154 + sha256 = "06mwzlyprwz11ks6fsvzh03ilk5fxy3scr1gqqb4p85xzw0ri6j8"; 155 + name = "qtpositioning-everywhere-src-6.9.2.tar.xz"; 156 156 }; 157 157 }; 158 158 qtquick3d = { 159 - version = "6.9.1"; 159 + version = "6.9.2"; 160 160 src = fetchurl { 161 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtquick3d-everywhere-src-6.9.1.tar.xz"; 162 - sha256 = "0xwr5kdz1yn0arby4jipbh0j8z1x8ppiqhswddyipmdzizd005pn"; 163 - name = "qtquick3d-everywhere-src-6.9.1.tar.xz"; 161 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtquick3d-everywhere-src-6.9.2.tar.xz"; 162 + sha256 = "002888xfnkxmvn8413fllidl3mm2fcwc4gbzdnbvpjlysaq9f3ig"; 163 + name = "qtquick3d-everywhere-src-6.9.2.tar.xz"; 164 164 }; 165 165 }; 166 166 qtquick3dphysics = { 167 - version = "6.9.1"; 167 + version = "6.9.2"; 168 168 src = fetchurl { 169 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtquick3dphysics-everywhere-src-6.9.1.tar.xz"; 170 - sha256 = "0kx2vj6qwwp05iizfnsmbn2337w70crah4zcdm1ah2f4p1g3ds36"; 171 - name = "qtquick3dphysics-everywhere-src-6.9.1.tar.xz"; 169 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtquick3dphysics-everywhere-src-6.9.2.tar.xz"; 170 + sha256 = "12yc0lswcmyaw19yyxzy73j95ncgqw8mlx8svhrwsllgcf2n9z47"; 171 + name = "qtquick3dphysics-everywhere-src-6.9.2.tar.xz"; 172 172 }; 173 173 }; 174 174 qtquickeffectmaker = { 175 - version = "6.9.1"; 175 + version = "6.9.2"; 176 176 src = fetchurl { 177 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtquickeffectmaker-everywhere-src-6.9.1.tar.xz"; 178 - sha256 = "0caxs6xcm5c7g85xyln5jjvz4b4g6flww7kq9vsl9fs20v21gdir"; 179 - name = "qtquickeffectmaker-everywhere-src-6.9.1.tar.xz"; 177 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtquickeffectmaker-everywhere-src-6.9.2.tar.xz"; 178 + sha256 = "1yfq1pp0k2d6438x8pn2y73y29bqwg45bjh6msiy64fldr4z31br"; 179 + name = "qtquickeffectmaker-everywhere-src-6.9.2.tar.xz"; 180 180 }; 181 181 }; 182 182 qtquicktimeline = { 183 - version = "6.9.1"; 183 + version = "6.9.2"; 184 184 src = fetchurl { 185 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtquicktimeline-everywhere-src-6.9.1.tar.xz"; 186 - sha256 = "153ji60xg55m85zg0px5nq1wbpkn61xf0whkjghf8y41rbkxpgvq"; 187 - name = "qtquicktimeline-everywhere-src-6.9.1.tar.xz"; 185 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtquicktimeline-everywhere-src-6.9.2.tar.xz"; 186 + sha256 = "09n51qw0y8v1q83xs1ybwwm4a49j2qhshqrasdkzz25mij6nhrdw"; 187 + name = "qtquicktimeline-everywhere-src-6.9.2.tar.xz"; 188 188 }; 189 189 }; 190 190 qtremoteobjects = { 191 - version = "6.9.1"; 191 + version = "6.9.2"; 192 192 src = fetchurl { 193 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtremoteobjects-everywhere-src-6.9.1.tar.xz"; 194 - sha256 = "040a5s6sx5y0vpxjdmvici63yxr4rn9qisigpbjc4wlggfg0fgr7"; 195 - name = "qtremoteobjects-everywhere-src-6.9.1.tar.xz"; 193 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtremoteobjects-everywhere-src-6.9.2.tar.xz"; 194 + sha256 = "09lby6dqc2sfig1krcszg6fkypgxlz2r7hgjjfi95g7g9gqlwqnz"; 195 + name = "qtremoteobjects-everywhere-src-6.9.2.tar.xz"; 196 196 }; 197 197 }; 198 198 qtscxml = { 199 - version = "6.9.1"; 199 + version = "6.9.2"; 200 200 src = fetchurl { 201 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtscxml-everywhere-src-6.9.1.tar.xz"; 202 - sha256 = "10274n4gslgh59sagyijllnskp204i16zm7bdpx58fmk4chdwcqc"; 203 - name = "qtscxml-everywhere-src-6.9.1.tar.xz"; 201 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtscxml-everywhere-src-6.9.2.tar.xz"; 202 + sha256 = "1dpb687zbw4akx42kfpbb5cpdlq3hcqn8l3l0x7sd5i9061z2sp0"; 203 + name = "qtscxml-everywhere-src-6.9.2.tar.xz"; 204 204 }; 205 205 }; 206 206 qtsensors = { 207 - version = "6.9.1"; 207 + version = "6.9.2"; 208 208 src = fetchurl { 209 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtsensors-everywhere-src-6.9.1.tar.xz"; 210 - sha256 = "0v4w815698zgxhmk681ygfsjlbp1y4gqdmbb0pz2vm6gr8d16jzh"; 211 - name = "qtsensors-everywhere-src-6.9.1.tar.xz"; 209 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtsensors-everywhere-src-6.9.2.tar.xz"; 210 + sha256 = "0qj4674vim2p34mq3kp99spjyf82qvs75w625namzqp274pshk4n"; 211 + name = "qtsensors-everywhere-src-6.9.2.tar.xz"; 212 212 }; 213 213 }; 214 214 qtserialbus = { 215 - version = "6.9.1"; 215 + version = "6.9.2"; 216 216 src = fetchurl { 217 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtserialbus-everywhere-src-6.9.1.tar.xz"; 218 - sha256 = "1mq4mghn19m7m0mkbn6llwiprabr4ym8rpd9ks05spsnhd2ww7j9"; 219 - name = "qtserialbus-everywhere-src-6.9.1.tar.xz"; 217 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtserialbus-everywhere-src-6.9.2.tar.xz"; 218 + sha256 = "0xia9xcz7sjrbf1c4m63qnhz3ggdxr06pycslmsnqizlzb10f7lm"; 219 + name = "qtserialbus-everywhere-src-6.9.2.tar.xz"; 220 220 }; 221 221 }; 222 222 qtserialport = { 223 - version = "6.9.1"; 223 + version = "6.9.2"; 224 224 src = fetchurl { 225 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtserialport-everywhere-src-6.9.1.tar.xz"; 226 - sha256 = "047z7vchc01rki445i7qh5mqy3xh0i6ww1l34s4swx0c719fv3w0"; 227 - name = "qtserialport-everywhere-src-6.9.1.tar.xz"; 225 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtserialport-everywhere-src-6.9.2.tar.xz"; 226 + sha256 = "0sz2dkas4qjdd6lkfb9g89vi94q18aiq9xdchlqb2yn0qbqb544b"; 227 + name = "qtserialport-everywhere-src-6.9.2.tar.xz"; 228 228 }; 229 229 }; 230 230 qtshadertools = { 231 - version = "6.9.1"; 231 + version = "6.9.2"; 232 232 src = fetchurl { 233 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtshadertools-everywhere-src-6.9.1.tar.xz"; 234 - sha256 = "0x2b7dpkgdngpbv1g5qc6ffa4lwq4d8g3r3vdi5zp1q8rr6d47jf"; 235 - name = "qtshadertools-everywhere-src-6.9.1.tar.xz"; 233 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtshadertools-everywhere-src-6.9.2.tar.xz"; 234 + sha256 = "158lpzb1nqspwm0n48d3nfr81q85zka1igrjp6xj8cjlv7wqlrqp"; 235 + name = "qtshadertools-everywhere-src-6.9.2.tar.xz"; 236 236 }; 237 237 }; 238 238 qtspeech = { 239 - version = "6.9.1"; 239 + version = "6.9.2"; 240 240 src = fetchurl { 241 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtspeech-everywhere-src-6.9.1.tar.xz"; 242 - sha256 = "0a0lgjxkdfisczkaw7njs87a9qffigygn311chgqzvz2ragza1v8"; 243 - name = "qtspeech-everywhere-src-6.9.1.tar.xz"; 241 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtspeech-everywhere-src-6.9.2.tar.xz"; 242 + sha256 = "1cc8l2h1frlraay0m40r5a91nsc7b53n6vksa52pwqqia4vngdmj"; 243 + name = "qtspeech-everywhere-src-6.9.2.tar.xz"; 244 244 }; 245 245 }; 246 246 qtsvg = { 247 - version = "6.9.1"; 247 + version = "6.9.2"; 248 248 src = fetchurl { 249 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtsvg-everywhere-src-6.9.1.tar.xz"; 250 - sha256 = "1mdvk8y7dfi8ibv36ccvfbmnsvm2y6dm27l6v6pz47w9zpjmvz1d"; 251 - name = "qtsvg-everywhere-src-6.9.1.tar.xz"; 249 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtsvg-everywhere-src-6.9.2.tar.xz"; 250 + sha256 = "1985asvnkd2ar30nh2zyi490qz0vkz6z1f752lfald33yawcm16r"; 251 + name = "qtsvg-everywhere-src-6.9.2.tar.xz"; 252 252 }; 253 253 }; 254 254 qttools = { 255 - version = "6.9.1"; 255 + version = "6.9.2"; 256 256 src = fetchurl { 257 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qttools-everywhere-src-6.9.1.tar.xz"; 258 - sha256 = "0k2b7z7g41pkq0bccvmwpalmn2ryhl0ccd4zv4zh9zfcyiiabi4h"; 259 - name = "qttools-everywhere-src-6.9.1.tar.xz"; 257 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qttools-everywhere-src-6.9.2.tar.xz"; 258 + sha256 = "12d4czfwvh9rfjwnkpsiwzrpx4ga69c6vz85aabhpk3hx7lggdyq"; 259 + name = "qttools-everywhere-src-6.9.2.tar.xz"; 260 260 }; 261 261 }; 262 262 qttranslations = { 263 - version = "6.9.1"; 263 + version = "6.9.2"; 264 264 src = fetchurl { 265 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qttranslations-everywhere-src-6.9.1.tar.xz"; 266 - sha256 = "0hd707fpsij9bzl143615a4ags6y0nkwdplzlzmwsizlanjs2qcp"; 267 - name = "qttranslations-everywhere-src-6.9.1.tar.xz"; 265 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qttranslations-everywhere-src-6.9.2.tar.xz"; 266 + sha256 = "1mky3xj2yhcsrmpz8m28v7pky6ryn7hvdcglakww0rfk3qlbcfy7"; 267 + name = "qttranslations-everywhere-src-6.9.2.tar.xz"; 268 268 }; 269 269 }; 270 270 qtvirtualkeyboard = { 271 - version = "6.9.1"; 271 + version = "6.9.2"; 272 272 src = fetchurl { 273 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtvirtualkeyboard-everywhere-src-6.9.1.tar.xz"; 274 - sha256 = "07r87pg50drrv2z3b6ldlrvz8261xmq6jfcja9wg0dmqplw9l1c0"; 275 - name = "qtvirtualkeyboard-everywhere-src-6.9.1.tar.xz"; 273 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtvirtualkeyboard-everywhere-src-6.9.2.tar.xz"; 274 + sha256 = "1qqizh7kyqbqqnrm1mmlf2709rm1rnflbqdl1bi75yms07d00hbv"; 275 + name = "qtvirtualkeyboard-everywhere-src-6.9.2.tar.xz"; 276 276 }; 277 277 }; 278 278 qtwayland = { 279 - version = "6.9.1"; 279 + version = "6.9.2"; 280 280 src = fetchurl { 281 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtwayland-everywhere-src-6.9.1.tar.xz"; 282 - sha256 = "0gifjc4l85ilr1gb0p9dy2s2aypskjp8c7wskfqyp03id07fl8bx"; 283 - name = "qtwayland-everywhere-src-6.9.1.tar.xz"; 281 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtwayland-everywhere-src-6.9.2.tar.xz"; 282 + sha256 = "10bpxwpam56gvymz9vjxkppbqsj1369ddzl3k4pz2s2maq39imya"; 283 + name = "qtwayland-everywhere-src-6.9.2.tar.xz"; 284 284 }; 285 285 }; 286 286 qtwebchannel = { 287 - version = "6.9.1"; 287 + version = "6.9.2"; 288 288 src = fetchurl { 289 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtwebchannel-everywhere-src-6.9.1.tar.xz"; 290 - sha256 = "1h7rzjsim2rxdw25sks4yz8r03llr6q8kcc081n43z0a47ch3d0r"; 291 - name = "qtwebchannel-everywhere-src-6.9.1.tar.xz"; 289 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtwebchannel-everywhere-src-6.9.2.tar.xz"; 290 + sha256 = "0rcf7i1wamdf1qynq3yi88r77ch5dg1jinxywlfjlb2dmlvn72l7"; 291 + name = "qtwebchannel-everywhere-src-6.9.2.tar.xz"; 292 292 }; 293 293 }; 294 294 qtwebengine = { 295 - version = "6.9.1"; 295 + version = "6.9.2"; 296 296 src = fetchurl { 297 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtwebengine-everywhere-src-6.9.1.tar.xz"; 298 - sha256 = "0v62j4zzya6yf91630ii6y4m62md69zfs1r21xi6v3rl5gigszbq"; 299 - name = "qtwebengine-everywhere-src-6.9.1.tar.xz"; 297 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtwebengine-everywhere-src-6.9.2.tar.xz"; 298 + sha256 = "1aq35nkgbvhlsmglnjizbkavr7kb0ymf5n3kkllrpqy2mf90gjwr"; 299 + name = "qtwebengine-everywhere-src-6.9.2.tar.xz"; 300 300 }; 301 301 }; 302 302 qtwebsockets = { 303 - version = "6.9.1"; 303 + version = "6.9.2"; 304 304 src = fetchurl { 305 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtwebsockets-everywhere-src-6.9.1.tar.xz"; 306 - sha256 = "1xa8yx1v5xk1zn2wc4gssali0k2l0yn6w2ywxsccq0kz7f38rglq"; 307 - name = "qtwebsockets-everywhere-src-6.9.1.tar.xz"; 305 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtwebsockets-everywhere-src-6.9.2.tar.xz"; 306 + sha256 = "1vh82w96436pqrp4daf324mqs2zjvn51z78b3ksc5mnqgrk3z0xy"; 307 + name = "qtwebsockets-everywhere-src-6.9.2.tar.xz"; 308 308 }; 309 309 }; 310 310 qtwebview = { 311 - version = "6.9.1"; 311 + version = "6.9.2"; 312 312 src = fetchurl { 313 - url = "${mirror}/official_releases/qt/6.9/6.9.1/submodules/qtwebview-everywhere-src-6.9.1.tar.xz"; 314 - sha256 = "19ar1pmf9q39mqvnjkfrxrblgl1vn65zigj194n098ppp3xx96n2"; 315 - name = "qtwebview-everywhere-src-6.9.1.tar.xz"; 313 + url = "${mirror}/official_releases/qt/6.9/6.9.2/submodules/qtwebview-everywhere-src-6.9.2.tar.xz"; 314 + sha256 = "1w8z3d7w7z2xjfb5l15gb37v9w6pa7d71jalkrqda8l2wr5d3ksc"; 315 + name = "qtwebview-everywhere-src-6.9.2.tar.xz"; 316 316 }; 317 317 }; 318 318 }
+3
pkgs/development/perl-modules/generic/default.nix
··· 35 35 36 36 env ? { }, 37 37 38 + postPatch ? "patchShebangs .", 39 + 38 40 ... 39 41 }@attrs: 40 42 ··· 66 68 doCheck 67 69 checkTarget 68 70 enableParallelBuilding 71 + postPatch 69 72 ; 70 73 env = { 71 74 inherit PERL_AUTOINSTALL AUTOMATED_TESTING PERL_USE_UNSAFE_INC;
-2
pkgs/development/python-modules/aiohttp/default.nix
··· 42 42 pytest-mock, 43 43 pytest-xdist, 44 44 pytestCheckHook, 45 - python-on-whales, 46 45 re-assert, 47 46 trustme, 48 47 zlib-ng, ··· 119 118 pytest-mock 120 119 pytest-xdist 121 120 pytestCheckHook 122 - python-on-whales 123 121 re-assert 124 122 trustme 125 123 zlib-ng
+2 -13
pkgs/development/python-modules/cfn-lint/default.nix
··· 22 22 23 23 buildPythonPackage rec { 24 24 pname = "cfn-lint"; 25 - version = "1.38.2"; 25 + version = "1.38.3"; 26 26 pyproject = true; 27 27 28 28 disabled = pythonOlder "3.8"; ··· 31 31 owner = "aws-cloudformation"; 32 32 repo = "cfn-lint"; 33 33 tag = "v${version}"; 34 - hash = "sha256-oHbTB4XOyYSazyhO6No2+Z9QRR8tnuB3E4kGzG1HwTk="; 34 + hash = "sha256-n3NHmbo3qRhP7oqUOokw8oGnNXo4rhRhuAgL66hvfog="; 35 35 }; 36 36 37 37 build-system = [ setuptools ]; ··· 79 79 disabledTests = [ 80 80 # Requires git directory 81 81 "test_update_docs" 82 - # Tests depend on network access (fails in getaddrinfo) 83 - "test_update_resource_specs_python_2" 84 - "test_update_resource_specs_python_3" 85 - "test_sarif_formatter" 86 - # Some CLI tests fails 87 - "test_bad_config" 88 - "test_override_parameters" 89 - "test_positional_template_parameters" 90 - "test_template_config" 91 - # Assertion error 92 - "test_build_graph" 93 82 ]; 94 83 95 84 pythonImportsCheck = [ "cfnlint" ];
+4 -7
pkgs/development/python-modules/charset-normalizer/default.nix
··· 5 5 fetchFromGitHub, 6 6 mypy, 7 7 pytestCheckHook, 8 - pythonOlder, 9 8 requests, 10 9 setuptools, 11 10 setuptools-scm, ··· 13 12 14 13 buildPythonPackage rec { 15 14 pname = "charset-normalizer"; 16 - version = "3.4.2"; 15 + version = "3.4.3"; 17 16 pyproject = true; 18 - 19 - disabled = pythonOlder "3.5"; 20 17 21 18 src = fetchFromGitHub { 22 - owner = "Ousret"; 19 + owner = "jawah"; 23 20 repo = "charset_normalizer"; 24 21 tag = version; 25 - hash = "sha256-PkFmNEMdp9duDCqMTKooOLAOCqHf3IjrGlr8jKYT2WE="; 22 + hash = "sha256-ZEHxBErjjvofqe3rkkgiEuEJcoluwo+2nZrLfrsHn5Q="; 26 23 }; 27 24 28 25 build-system = [ ··· 45 42 description = "Python module for encoding and language detection"; 46 43 mainProgram = "normalizer"; 47 44 homepage = "https://charset-normalizer.readthedocs.io/"; 48 - changelog = "https://github.com/Ousret/charset_normalizer/blob/${src.tag}/CHANGELOG.md"; 45 + changelog = "https://github.com/jawah/charset_normalizer/blob/${src.tag}/CHANGELOG.md"; 49 46 license = licenses.mit; 50 47 maintainers = with maintainers; [ fab ]; 51 48 };
+7 -13
pkgs/development/python-modules/coverage/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "coverage"; 18 - version = "7.10.2"; 18 + version = "7.10.5"; 19 19 pyproject = true; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "nedbat"; 23 23 repo = "coveragepy"; 24 24 tag = version; 25 - hash = "sha256-OXi5FCLcfhseNDerwHdsVHF31Jy+ZSz2RU05vqPxQis="; 25 + hash = "sha256-jsocpziOu0fSmFn075vj2u1SCZkG7M/kuRujaJ1OeH4="; 26 26 }; 27 27 28 28 build-system = [ setuptools ]; ··· 47 47 ''; 48 48 49 49 disabledTests = [ 50 - "test_all_our_source_files" 51 50 "test_doctest" 52 51 "test_files_up_one_level" 53 52 "test_get_encoded_zip_files" 54 - "test_metadata" 55 - "test_more_metadata" 56 53 "test_multi" 57 54 "test_no_duplicate_packages" 58 - "test_xdist_sys_path_nuttiness_is_fixed" 59 55 "test_zipfile" 60 - ] 61 - ++ lib.optionals (isPy312 && stdenv.hostPlatform.system == "x86_64-darwin") [ 62 - # substring that may not be in string is part of the pytest output hash, which appears in the string 63 - "test_nothing_specified" 64 - "test_omit" 65 - "test_omit_2" 66 - "test_omit_as_string" 56 + # tests expect coverage source to be there 57 + "test_all_our_source_files" 58 + "test_metadata" 59 + "test_more_metadata" 60 + "test_real_code_regions" 67 61 ]; 68 62 69 63 disabledTestPaths = [
+2 -2
pkgs/development/python-modules/dash/default.nix
··· 36 36 37 37 buildPythonPackage rec { 38 38 pname = "dash"; 39 - version = "3.2.0"; 39 + version = "3.0.4"; 40 40 pyproject = true; 41 41 42 42 src = fetchFromGitHub { 43 43 owner = "plotly"; 44 44 repo = "dash"; 45 45 tag = "v${version}"; 46 - hash = "sha256-7wSUPAcPvY5Q5Ws2mLjiY599oZlo5SA6Pa8QnS7pgvg="; 46 + hash = "sha256-KCGVdD1L+U2KbktU2GU19BQ6wRcmEeYtC/v8UrFTyto="; 47 47 }; 48 48 49 49 nativeBuildInputs = [
-58
pkgs/development/python-modules/django/3.13.6-html-parser.patch
··· 1 - From e0a1e8d549e7be25960b8ad060c63def3dc35d1d Mon Sep 17 00:00:00 2001 2 - From: Natalia <124304+nessita@users.noreply.github.com> 3 - Date: Mon, 21 Jul 2025 15:23:32 -0300 4 - Subject: [PATCH 1/2] Fixed test_utils.tests.HTMLEqualTests.test_parsing_errors 5 - following Python's HTMLParser fixed parsing. 6 - 7 - Further details about Python changes can be found in: 8 - https://github.com/python/cpython/commit/0243f97cbadec8d985e63b1daec5d1cbc850cae3. 9 - 10 - Thank you Clifford Gama for the thorough review! 11 - --- 12 - tests/test_utils/tests.py | 2 +- 13 - 1 file changed, 1 insertion(+), 1 deletion(-) 14 - 15 - diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py 16 - index 37e87aa1022c..9c22b61b4ff2 100644 17 - --- a/tests/test_utils/tests.py 18 - +++ b/tests/test_utils/tests.py 19 - @@ -962,7 +962,7 @@ def test_parsing_errors(self): 20 - "('Unexpected end tag `div` (Line 1, Column 6)', (1, 6))" 21 - ) 22 - with self.assertRaisesMessage(AssertionError, error_msg): 23 - - self.assertHTMLEqual("< div></ div>", "<div></div>") 24 - + self.assertHTMLEqual("< div></div>", "<div></div>") 25 - with self.assertRaises(HTMLParseError): 26 - parse_html("</p>") 27 - 28 - 29 - From e8afcf0e644553bcba3e5f931266963bffc46748 Mon Sep 17 00:00:00 2001 30 - From: Natalia <124304+nessita@users.noreply.github.com> 31 - Date: Mon, 14 Jul 2025 14:45:03 -0300 32 - Subject: [PATCH 2/2] Fixed #36499 -- Adjusted 33 - utils_tests.test_html.TestUtilsHtml.test_strip_tags following Python's 34 - HTMLParser new behavior. 35 - 36 - Python fixed a quadratic complexity processing for HTMLParser in: 37 - https://github.com/python/cpython/commit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41. 38 - --- 39 - tests/utils_tests/test_html.py | 4 ++-- 40 - 1 file changed, 2 insertions(+), 2 deletions(-) 41 - 42 - diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py 43 - index 284f33aedcfb..51573b81eb9d 100644 44 - --- a/tests/utils_tests/test_html.py 45 - +++ b/tests/utils_tests/test_html.py 46 - @@ -142,10 +142,10 @@ def test_strip_tags(self): 47 - ("&gotcha&#;<>", "&gotcha&#;<>"), 48 - ("<sc<!-- -->ript>test<<!-- -->/script>", "ript>test"), 49 - ("<script>alert()</script>&h", "alert()h"), 50 - - ("><!" + ("&" * 16000) + "D", "><!" + ("&" * 16000) + "D"), 51 - + ("><!" + ("&" * 16000) + "D", ">"), 52 - ("X<<<<br>br>br>br>X", "XX"), 53 - ("<" * 50 + "a>" * 50, ""), 54 - - (">" + "<a" * 500 + "a", ">" + "<a" * 500 + "a"), 55 - + (">" + "<a" * 500 + "a", ">"), 56 - ("<a" * 49 + "a" * 951, "<a" * 49 + "a" * 951), 57 - ("<" + "a" * 1_002, "<" + "a" * 1_002), 58 - )
+2 -7
pkgs/development/python-modules/django/4.nix
··· 45 45 46 46 buildPythonPackage rec { 47 47 pname = "django"; 48 - version = "4.2.23"; 48 + version = "4.2.24"; 49 49 format = "pyproject"; 50 50 51 51 disabled = pythonOlder "3.8"; ··· 54 54 owner = "django"; 55 55 repo = "django"; 56 56 rev = "refs/tags/${version}"; 57 - hash = "sha256-h6VkMLg2XAVC0p+ItTs/2EqpYdZn9uNvv6ZwQHXP0bI="; 57 + hash = "sha256-zDPK30u2QFbHCqnlTMqF1w9iN2sPDphhyKU1u+Mp5ho="; 58 58 }; 59 59 60 60 patches = [ ··· 80 80 hash = "sha256-8YwdOBNJq6+GNoxzdLyN9HEEIWRXGQk9YbyfPwYVkwU="; 81 81 }) 82 82 83 - ] 84 - ++ lib.optionals (pythonAtLeast "3.13") [ 85 - # https://code.djangoproject.com/ticket/36499 86 - # https://github.com/django/django/pull/19639 87 - ./3.13.6-html-parser.patch 88 83 ] 89 84 ++ lib.optionals withGdal [ 90 85 (replaceVars ./django_4_set_geos_gdal_lib.patch {
+3 -1
pkgs/development/python-modules/docformatter/default.nix
··· 48 48 pytestCheckHook 49 49 ]; 50 50 51 - # Disable failing tests until https://github.com/PyCQA/docformatter/issues/274 is fixed upstream 52 51 disabledTests = [ 52 + # Disable failing tests until https://github.com/PyCQA/docformatter/issues/274 is fixed upstream 53 53 "test_do_format_code.py" 54 54 "test_docformatter.py" 55 + # some different issue 56 + "test_detect_encoding_with_undetectable_encoding" 55 57 ]; 56 58 57 59 pythonImportsCheck = [ "docformatter" ];
+6 -4
pkgs/development/python-modules/fenics-basix/default.nix
··· 52 52 lapack 53 53 ]; 54 54 55 - # Prefer finding BLAS and LAPACK via pkg-config. 56 - # Avoid using the Accelerate.framework from the Darwin SDK. 57 - # Also, avoid mistaking BLAS for LAPACK. 58 - env.CMAKE_ARGS = lib.cmakeBool "BLA_PREFER_PKGCONFIG" true; 55 + cmakeFlags = [ 56 + # Prefer finding BLAS and LAPACK via pkg-config. 57 + # Avoid using the Accelerate.framework from the Darwin SDK. 58 + # Also, avoid mistaking BLAS for LAPACK. 59 + (lib.cmakeBool "BLA_PREFER_PKGCONFIG" true) 60 + ]; 59 61 60 62 pythonImportsCheck = [ 61 63 "basix"
+1 -14
pkgs/development/python-modules/flasgger/default.nix
··· 25 25 owner = "flasgger"; 26 26 repo = "flasgger"; 27 27 rev = "v${version}"; 28 - hash = "sha256-cYFMKZxpi69gVWqyZUltCL0ZwcfIABNsJKqAhN2TTSg="; 28 + hash = "sha256-ULEf9DJiz/S2wKlb/vjGto8VCI0QDcm0pkU5rlOwtiE="; 29 29 }; 30 - 31 - patches = [ 32 - (fetchpatch { 33 - # flask 2.3 compat 34 - url = "https://github.com/flasgger/flasgger/commit/ab77be7c6de1d4b361f0eacfa37290239963f890.patch"; 35 - hash = "sha256-ZbE5pPUP23nZAP/qcdeWkwzrZgqJSRES7oFta8U1uVQ="; 36 - }) 37 - (fetchpatch { 38 - # python 3.12 compat 39 - url = "https://github.com/flasgger/flasgger/commit/6f5fcf24c1d816cf7ab529b3a8a764f86df4458d.patch"; 40 - hash = "sha256-37Es1sgBQ9qX3YHQYub4HJkSNTSt3MbtCfV+XdTQZyY="; 41 - }) 42 - ]; 43 30 44 31 propagatedBuildInputs = [ 45 32 flask
+2 -2
pkgs/development/python-modules/flask/default.nix
··· 32 32 33 33 buildPythonPackage rec { 34 34 pname = "flask"; 35 - version = "3.1.1"; 35 + version = "3.1.2"; 36 36 pyproject = true; 37 37 38 38 src = fetchPypi { 39 39 inherit pname version; 40 - hash = "sha256-KEx7jy9Yy3N/DPHDD9fq8Mz83hlgmdJOzt4/wgBapZ4="; 40 + hash = "sha256-v2VsFcgBkO1iitCM39Oqo1vrCHhV4vSUkQqjd0zE/Yc="; 41 41 }; 42 42 43 43 build-system = [ flit-core ];
+5 -5
pkgs/development/python-modules/google-api-core/default.nix
··· 22 22 version = "2.25.1"; 23 23 pyproject = true; 24 24 25 - disabled = pythonOlder "3.7"; 26 - 27 25 src = fetchFromGitHub { 28 26 owner = "googleapis"; 29 27 repo = "python-api-core"; ··· 79 77 80 78 pythonImportsCheck = [ "google.api_core" ]; 81 79 82 - meta = with lib; { 80 + meta = { 83 81 description = "Core Library for Google Client Libraries"; 84 82 longDescription = '' 85 83 This library is not meant to stand-alone. Instead it defines common ··· 87 85 ''; 88 86 homepage = "https://github.com/googleapis/python-api-core"; 89 87 changelog = "https://github.com/googleapis/python-api-core/blob/${src.tag}/CHANGELOG.md"; 90 - license = licenses.asl20; 91 - maintainers = [ ]; 88 + license = lib.licenses.asl20; 89 + maintainers = with lib.maintainers; [ 90 + sarahec 91 + ]; 92 92 }; 93 93 }
+17 -11
pkgs/development/python-modules/google-cloud-storage/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 4 + fetchFromGitHub, 5 5 google-auth, 6 6 google-cloud-core, 7 7 google-cloud-iam, ··· 11 11 mock, 12 12 protobuf, 13 13 pytestCheckHook, 14 + pytest-asyncio, 14 15 pythonOlder, 15 16 requests, 16 17 setuptools, ··· 18 19 19 20 buildPythonPackage rec { 20 21 pname = "google-cloud-storage"; 21 - version = "3.2.0"; 22 + version = "3.3.0"; 22 23 pyproject = true; 23 24 24 - disabled = pythonOlder "3.7"; 25 - 26 - src = fetchPypi { 27 - pname = "google_cloud_storage"; 28 - inherit version; 29 - hash = "sha256-3syoQwdgNvRWMxmMEl0YYf+/R+v1wOO5jcubLbFViWw="; 25 + src = fetchFromGitHub { 26 + owner = "googleapis"; 27 + repo = "python-storage"; 28 + tag = "v${version}"; 29 + hash = "sha256-I0wC/BV8fJr3JW1nyq2TPJZlZaT4+h2lJBdGTttSzRo="; 30 30 }; 31 31 32 32 pythonRelaxDeps = [ "google-auth" ]; ··· 50 50 google-cloud-testutils 51 51 mock 52 52 pytestCheckHook 53 + pytest-asyncio 54 + ]; 55 + 56 + enabledTestPaths = [ 57 + "tests/unit/" 58 + "tests/system/" 53 59 ]; 54 60 55 61 disabledTests = [ ··· 90 96 91 97 pythonImportsCheck = [ "google.cloud.storage" ]; 92 98 93 - meta = with lib; { 99 + meta = { 94 100 description = "Google Cloud Storage API client library"; 95 101 homepage = "https://github.com/googleapis/python-storage"; 96 102 changelog = "https://github.com/googleapis/python-storage/blob/v${version}/CHANGELOG.md"; 97 - license = licenses.asl20; 98 - maintainers = [ ]; 103 + license = lib.licenses.asl20; 104 + maintainers = with lib.maintainers; [ sarahec ]; 99 105 }; 100 106 }
+6 -6
pkgs/development/python-modules/islpy/default.nix
··· 47 47 48 48 dontUseCmakeConfigure = true; 49 49 50 - pypaBuildFlags = [ 51 - "--config-setting=cmake.define.USE_SHIPPED_ISL=OFF" 52 - "--config-setting=cmake.define.USE_SHIPPED_IMATH=OFF" 53 - "--config-setting=cmake.define.USE_BARVINOK=OFF" 54 - "--config-setting=cmake.define.ISL_INC_DIRS:LIST='${lib.getDev isl}/include'" 55 - "--config-setting=cmake.define.ISL_LIB_DIRS:LIST='${lib.getLib isl}/lib'" 50 + cmakeFlags = [ 51 + "-DUSE_SHIPPED_ISL=OFF" 52 + "-DUSE_SHIPPED_IMATH=OFF" 53 + "-DUSE_BARVINOK=OFF" 54 + "-DISL_INC_DIRS:LIST='${lib.getDev isl}/include'" 55 + "-DISL_LIB_DIRS:LIST='${lib.getLib isl}/lib'" 56 56 ]; 57 57 58 58 # Force resolving the package from $out to make generated ext files usable by tests
+1 -4
pkgs/development/python-modules/langgraph-checkpoint-postgres/default.nix
··· 58 58 "psycopg-pool" 59 59 ]; 60 60 61 - # Temporarily disabled until the following is solved: 62 - # https://github.com/NixOS/nixpkgs/pull/425384 63 - doCheck = false; 64 - # doCheck = !(stdenvNoCC.hostPlatform.isDarwin); 61 + doCheck = !(stdenvNoCC.hostPlatform.isDarwin); 65 62 66 63 nativeCheckInputs = [ 67 64 pytest-asyncio
+4 -3
pkgs/development/python-modules/lightgbm/default.nix
··· 87 87 scipy 88 88 ]; 89 89 90 - pypaBuildFlags = 91 - lib.optionals gpuSupport [ "--config-setting=cmake.define.USE_GPU=ON" ] 92 - ++ lib.optionals cudaSupport [ "--config-setting=cmake.define.USE_CUDA=ON" ]; 90 + cmakeFlags = [ 91 + (lib.cmakeBool "USE_GPU" gpuSupport) 92 + (lib.cmakeBool "USE_CUDA" cudaSupport) 93 + ]; 93 94 94 95 optional-dependencies = { 95 96 arrow = [
+9 -11
pkgs/development/python-modules/llama-cpp-python/default.nix
··· 64 64 ]; 65 65 66 66 dontUseCmakeConfigure = true; 67 - SKBUILD_CMAKE_ARGS = lib.strings.concatStringsSep ";" ( 67 + cmakeFlags = [ 68 68 # Set GGML_NATIVE=off. Otherwise, cmake attempts to build with 69 69 # -march=native* which is either a no-op (if cc-wrapper is able to ignore 70 70 # it), or an attempt to build a non-reproducible binary. ··· 73 73 # -mcpu, breaking linux build as follows: 74 74 # 75 75 # cc1: error: unknown value ‘native+nodotprod+noi8mm+nosve’ for ‘-mcpu’ 76 - [ 77 - "-DGGML_NATIVE=off" 78 - "-DGGML_BUILD_NUMBER=1" 79 - ] 80 - ++ lib.optionals cudaSupport [ 81 - "-DGGML_CUDA=on" 82 - "-DCUDAToolkit_ROOT=${lib.getDev cudaPackages.cuda_nvcc}" 83 - "-DCMAKE_CUDA_COMPILER=${lib.getExe cudaPackages.cuda_nvcc}" 84 - ] 85 - ); 76 + "-DGGML_NATIVE=off" 77 + "-DGGML_BUILD_NUMBER=1" 78 + ] 79 + ++ lib.optionals cudaSupport [ 80 + "-DGGML_CUDA=on" 81 + "-DCUDAToolkit_ROOT=${lib.getDev cudaPackages.cuda_nvcc}" 82 + "-DCMAKE_CUDA_COMPILER=${lib.getExe cudaPackages.cuda_nvcc}" 83 + ]; 86 84 87 85 enableParallelBuilding = true; 88 86
+4
pkgs/development/python-modules/loguru/default.nix
··· 47 47 "test_file_buffering" 48 48 # Slow test 49 49 "test_time_rotation" 50 + # broken on latest mypy, fixed upstream, but does not apply cleanly 51 + # https://github.com/Delgan/loguru/commit/7608a014df0fa5c3322dec032345482aa5305a56 52 + # FIXME: remove in next update 53 + "typesafety" 50 54 ] 51 55 ++ lib.optionals stdenv.hostPlatform.isDarwin [ 52 56 "test_rotation_and_retention"
+4 -2
pkgs/development/python-modules/multidict/default.nix
··· 4 4 fetchFromGitHub, 5 5 buildPythonPackage, 6 6 objgraph, 7 + psutil, 7 8 pytestCheckHook, 8 9 pytest-codspeed, 9 10 pytest-cov-stub, ··· 14 15 15 16 buildPythonPackage rec { 16 17 pname = "multidict"; 17 - version = "6.6.3"; 18 + version = "6.6.4"; 18 19 pyproject = true; 19 20 20 21 src = fetchFromGitHub { 21 22 owner = "aio-libs"; 22 23 repo = "multidict"; 23 24 tag = "v${version}"; 24 - hash = "sha256-AB35kVgKizzPi3r4tDVQ7vI50Xsb2BeBp3rFh+UOXQc="; 25 + hash = "sha256-Ewxwz+0Y8pXJpHobLxrV7cuA9fsAaawWmW9XoEg7dxU="; 25 26 }; 26 27 27 28 postPatch = '' ··· 44 45 45 46 nativeCheckInputs = [ 46 47 objgraph 48 + psutil 47 49 pytestCheckHook 48 50 pytest-codspeed 49 51 pytest-cov-stub
+18 -7
pkgs/development/python-modules/mypy/default.nix
··· 3 3 stdenv, 4 4 buildPythonPackage, 5 5 fetchFromGitHub, 6 + fetchpatch, 6 7 gitUpdater, 7 8 pythonAtLeast, 8 9 pythonOlder, 9 10 isPyPy, 10 11 11 12 # build-system 13 + pathspec, 12 14 setuptools, 13 15 types-psutil, 14 16 types-setuptools, 15 - wheel, 16 17 17 18 # propagates 18 19 mypy-extensions, ··· 33 34 34 35 buildPythonPackage rec { 35 36 pname = "mypy"; 36 - version = "1.15.0"; 37 + version = "1.17.1"; 37 38 pyproject = true; 38 39 39 40 # relies on several CPython internals 40 - disabled = pythonOlder "3.8" || isPyPy; 41 + disabled = isPyPy; 41 42 42 43 src = fetchFromGitHub { 43 44 owner = "python"; 44 45 repo = "mypy"; 45 46 tag = "v${version}"; 46 - hash = "sha256-y67kt5i8mT9TcSbUGwnNuTAeqjy9apvWIbA2QD96LS4="; 47 + hash = "sha256-FfONUCCMU1bJXHx3GHH46Tu+wYU5FLPOqeCSCi1bRSs="; 47 48 }; 48 49 50 + patches = [ 51 + # Fix the build on Darwin with a case‐sensitive store. 52 + # Remove on next release. 53 + (fetchpatch { 54 + url = "https://github.com/python/mypy/commit/7534898319cb7f16738c11e4bc1bdcef0eb13c38.patch"; 55 + hash = "sha256-5jD0JBRnirmoMlUz9+n8G4AqHqCi8BaUX5rEl9NnLts="; 56 + }) 57 + ]; 58 + 49 59 passthru.updateScript = gitUpdater { 50 60 rev-prefix = "v"; 51 61 }; 52 62 53 63 build-system = [ 54 64 mypy-extensions 65 + pathspec 55 66 setuptools 56 67 types-psutil 57 68 types-setuptools 58 69 typing-extensions 59 - wheel 60 - ] 61 - ++ lib.optionals (pythonOlder "3.11") [ tomli ]; 70 + ]; 62 71 63 72 dependencies = [ 64 73 mypy-extensions 74 + pathspec 65 75 typing-extensions 66 76 ] 67 77 ++ lib.optionals (pythonOlder "3.11") [ tomli ]; ··· 135 145 description = "Optional static typing for Python"; 136 146 homepage = "https://www.mypy-lang.org"; 137 147 changelog = "https://github.com/python/mypy/blob/${src.rev}/CHANGELOG.md"; 148 + downloadPage = "https://github.com/python/mypy"; 138 149 license = lib.licenses.mit; 139 150 mainProgram = "mypy"; 140 151 maintainers = with lib.maintainers; [ lnl7 ];
-4
pkgs/development/python-modules/pgvector/default.nix
··· 42 42 43 43 dependencies = [ numpy ]; 44 44 45 - # Temporarily disabled until the following is solved: 46 - # https://github.com/NixOS/nixpkgs/pull/425384 47 - doCheck = false; 48 - 49 45 nativeCheckInputs = [ 50 46 asyncpg 51 47 django
+2 -3
pkgs/development/python-modules/pillow-jpls/default.nix
··· 65 65 pyproject-metadata 66 66 ]; 67 67 68 - pypaBuildFlags = [ 69 - "-C" 70 - "cmake.args=--preset=sysdeps" 68 + cmakeFlags = [ 69 + "--preset=sysdeps" 71 70 ]; 72 71 73 72 nativeCheckInputs = [ pytestCheckHook ];
+2
pkgs/development/python-modules/proto-plus/default.nix
··· 34 34 pytestFlags = [ 35 35 # pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 36 36 "-Wignore::DeprecationWarning" 37 + # float_precision option is deprecated for json_format error with latest protobuf 38 + "-Wignore:float_precision:UserWarning" 37 39 ]; 38 40 39 41 pythonImportsCheck = [ "proto" ];
+2 -2
pkgs/development/python-modules/protobuf/6.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "protobuf"; 12 - version = "6.31.1"; 12 + version = "6.32.0"; 13 13 pyproject = true; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-2MrEyYLwuVek3HOoDi6iT6sI5nnA3p3rg19KEtaaypo="; 17 + hash = "sha256-qBQ5BJEnBn/EnsHTbiXG7h0aK3vpMGdfkZJY0DwE59I="; 18 18 }; 19 19 20 20 build-system = [ setuptools ];
+1
pkgs/development/python-modules/pyside6/default.nix
··· 36 36 qtsvg 37 37 qtwebchannel 38 38 qtwebsockets 39 + qtwebview 39 40 qtpositioning 40 41 qtlocation 41 42 qtshadertools
+8
pkgs/development/python-modules/pytest-examples/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + fetchpatch, 5 6 hatchling, 6 7 pytest, 7 8 black, ··· 20 21 tag = "v${version}"; 21 22 hash = "sha256-ZnDl0B7/oLX6PANrqsWtVJwe4E/+7inCgOpo7oSeZlw="; 22 23 }; 24 + 25 + patches = [ 26 + (fetchpatch { 27 + url = "https://github.com/pydantic/pytest-examples/pull/65/commits/60ae70d05ee345b38c2d2048d36b4a4545c98b6b.diff"; 28 + hash = "sha256-Rhrg0zVChwwa7Gk+WYrCu44VgUQmxLBeq8pWSF6Nzdo="; 29 + }) 30 + ]; 23 31 24 32 build-system = [ 25 33 hatchling
-6
pkgs/development/python-modules/python-on-whales/default.nix
··· 8 8 9 9 # dependencies 10 10 pydantic, 11 - requests, 12 - tqdm, 13 - typer, 14 11 }: 15 12 16 13 buildPythonPackage rec { ··· 29 26 30 27 dependencies = [ 31 28 pydantic 32 - requests 33 - tqdm 34 - typer 35 29 ]; 36 30 37 31 doCheck = false; # majority of tests require Docker and/or network access
+18
pkgs/development/python-modules/scikit-build-core/append-cmakeFlags.sh
··· 1 + scikitBuildFlagsHook() { 2 + OLD_IFS="$IFS" 3 + IFS=';' 4 + 5 + local args=() 6 + if [[ -n "$SKBUILD_CMAKE_ARGS" ]]; then 7 + read -ra existing_args <<< "$SKBUILD_CMAKE_ARGS" 8 + args+=("${existing_args[@]}") 9 + fi 10 + args+=($cmakeFlags) 11 + args+=("${cmakeFlagsArray[@]}") 12 + export SKBUILD_CMAKE_ARGS="${args[*]}" 13 + 14 + IFS="$OLD_IFS" 15 + unset OLD_IFS 16 + } 17 + 18 + preConfigureHooks+=(scikitBuildFlagsHook)
+3
pkgs/development/python-modules/scikit-build-core/default.nix
··· 75 75 76 76 # cmake is only used for tests 77 77 dontUseCmakeConfigure = true; 78 + setupHooks = [ 79 + ./append-cmakeFlags.sh 80 + ]; 78 81 79 82 disabledTestMarks = [ 80 83 "isolated"
+2 -4
pkgs/development/python-modules/setuptools-rust/default.nix
··· 11 11 setuptools, 12 12 setuptools-rust, 13 13 setuptools-scm, 14 - tomli, 15 - typing-extensions, 16 14 }: 17 15 18 16 buildPythonPackage rec { 19 17 pname = "setuptools-rust"; 20 - version = "1.11.1"; 18 + version = "1.12.0"; 21 19 format = "pyproject"; 22 20 23 21 disabled = pythonOlder "3.6"; ··· 25 23 src = fetchPypi { 26 24 pname = "setuptools_rust"; 27 25 inherit version; 28 - hash = "sha256-favEOSJSztMUuAUNYyduBf3F0yOY/H08zh9qasNbdsA="; 26 + hash = "sha256-2UqT8Ml3UcFwFFZfB73DJL7kXTls0buoPY56+SuUXww="; 29 27 }; 30 28 31 29 build-system = [
+2 -2
pkgs/development/python-modules/shiboken6/default.nix
··· 13 13 in 14 14 stdenv'.mkDerivation (finalAttrs: { 15 15 pname = "shiboken6"; 16 - version = "6.9.1"; 16 + version = "6.9.2"; 17 17 18 18 src = fetchurl { 19 19 url = "mirror://qt/official_releases/QtForPython/pyside6/PySide6-${finalAttrs.version}-src/pyside-setup-everywhere-src-${finalAttrs.version}.tar.xz"; 20 - hash = "sha256-BMcSxbkjSt0Nm1qjwBoMrt5kpVtJYSd1H11SojDP90g="; 20 + hash = "sha256-nsCHRlNCvcnb5JKjDlj9u8VEhlXerPWYKg/nEj9ZIi0="; 21 21 }; 22 22 23 23 sourceRoot = "pyside-setup-everywhere-src-${finalAttrs.version}/sources/shiboken6";
+2 -2
pkgs/development/python-modules/soxr/default.nix
··· 46 46 47 47 dontUseCmakeConfigure = true; 48 48 49 - pypaBuildFlags = [ 50 - "--config-setting=cmake.define.USE_SYSTEM_LIBSOXR=ON" 49 + cmakeFlags = [ 50 + (lib.cmakeBool "USE_SYSTEM_LIBSOXR" true) 51 51 ]; 52 52 53 53 build-system = [
+3
pkgs/development/python-modules/sphinx/default.nix
··· 132 132 # Racy tex file creation 133 133 "test_literalinclude_namedlink_latex" 134 134 "test_literalinclude_caption_latex" 135 + # Racy local networking 136 + "test_load_mappings_cache" 137 + "test_load_mappings_cache_update" 135 138 ] 136 139 ++ lib.optionals (pythonAtLeast "3.12") [ 137 140 # https://github.com/sphinx-doc/sphinx/issues/12430
+82 -20
pkgs/development/python-modules/tkinter/default.nix
··· 1 1 { 2 2 lib, 3 - stdenv, 4 3 buildPythonPackage, 4 + replaceVars, 5 + setuptools, 5 6 python, 6 - py, 7 - isPyPy, 7 + pythonOlder, 8 + tcl, 9 + tclPackages, 10 + tk, 11 + tkinter, 12 + xvfb-run, 8 13 }: 9 14 10 15 buildPythonPackage { 11 16 pname = "tkinter"; 12 17 version = python.version; 13 - src = py; 14 - format = "other"; 18 + pyproject = true; 19 + 20 + src = python.src; 21 + 22 + prePatch = '' 23 + mkdir $NIX_BUILD_TOP/tkinter 24 + 25 + # copy the module bits and pieces from the python source 26 + cp -v Modules/{_tkinter.c,tkinter.h} ../tkinter/ 27 + cp -rv Modules/clinic ../tkinter/ 28 + cp -rv Lib/tkinter ../tkinter/ 29 + 30 + pushd $NIX_BUILD_TOP/tkinter 15 31 16 - # tkinter is included in PyPy, making this package a no-op. 17 - installPhase = lib.optionalString (!isPyPy) ( 18 - '' 19 - # Move the tkinter module 20 - mkdir -p $out/${py.sitePackages} 21 - mv lib/${py.libPrefix}/lib-dynload/_tkinter* $out/${py.sitePackages}/ 22 - '' 23 - + lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 24 - # Update the rpath to point to python without x11Support 25 - old_rpath=$(patchelf --print-rpath $out/${py.sitePackages}/_tkinter*) 26 - new_rpath=$(sed "s#${py}#${python}#g" <<< "$old_rpath" ) 27 - patchelf --set-rpath $new_rpath $out/${py.sitePackages}/_tkinter* 28 - '' 29 - ); 32 + # install our custom pyproject.toml 33 + cp ${ 34 + replaceVars ./pyproject.toml { 35 + python_version = python.version; 36 + python_internal_dir = "${python}/include/${python.libPrefix}/internal"; 37 + } 38 + } ./pyproject.toml 30 39 31 - meta = py.meta // { 40 + '' 41 + + lib.optionalString (pythonOlder "3.13") '' 42 + substituteInPlace "tkinter/tix.py" --replace-fail \ 43 + "os.environ.get('TIX_LIBRARY')" \ 44 + "os.environ.get('TIX_LIBRARY') or '${tclPackages.tix}/lib'" 45 + ''; 46 + 47 + build-system = [ setuptools ]; 48 + 49 + buildInputs = [ 50 + tcl 51 + tk 52 + ]; 53 + 54 + env = { 55 + TCLTK_LIBS = toString [ 56 + "-L${lib.getLib tcl}/lib" 57 + "-L${lib.getLib tk}/lib" 58 + "-l${tcl.libPrefix}" 59 + "-l${tk.libPrefix}" 60 + ]; 61 + TCLTK_CFLAGS = toString [ 62 + "-I${lib.getDev tcl}/include" 63 + "-I${lib.getDev tk}/include" 64 + ]; 65 + }; 66 + 67 + doCheck = false; 68 + 69 + nativeCheckInputs = [ xvfb-run ]; 70 + 71 + preCheck = '' 72 + cd $NIX_BUILD_TOP/Python-*/Lib 73 + export HOME=$TMPDIR 74 + ''; 75 + 76 + checkPhase = '' 77 + runHook preCheck 78 + xvfb-run -w 10 -s "-screen 0 1920x1080x24" \ 79 + python -m unittest test.test_tkinter 80 + 81 + runHook postCheck 82 + ''; 83 + 84 + passthru.tests.unittests = tkinter.overridePythonAttrs { doCheck = true; }; 85 + 86 + pythonImportsCheck = [ "tkinter" ]; 87 + 88 + meta = { 32 89 # Based on first sentence from https://docs.python.org/3/library/tkinter.html 33 90 description = "Standard Python interface to the Tcl/Tk GUI toolkit"; 34 91 longDescription = '' ··· 52 109 these additions and changes, and refer to the official Tcl/Tk 53 110 documentation for details that are unchanged. 54 111 ''; 112 + homepage = "https://docs.python.org/3/library/tkinter.html"; 113 + inherit (python.meta) 114 + license 115 + maintainers 116 + ; 55 117 }; 56 118 }
+16
pkgs/development/python-modules/tkinter/pyproject.toml
··· 1 + [build-system] 2 + requires = ["setuptools"] 3 + build-backend = "setuptools.build_meta" 4 + 5 + [project] 6 + name = "tkinter" 7 + version = "@python_version@" 8 + description = "Tkinter." 9 + requires-python = ">=@python_version@" 10 + 11 + [tool.setuptools] 12 + packages = ["tkinter"] 13 + ext-modules = [ 14 + { name = "_tkinter", sources = ["_tkinter.c"], libraries = ["tcl9.0", "tcl9tk9.0"], include-dirs = ["@python_internal_dir@/"] } 15 + ] 16 +
+8 -5
pkgs/development/python-modules/trove-classifiers/default.nix
··· 4 4 fetchPypi, 5 5 calver, 6 6 pytestCheckHook, 7 - pythonOlder, 8 7 setuptools, 9 8 }: 10 9 11 10 let 12 11 self = buildPythonPackage rec { 13 12 pname = "trove-classifiers"; 14 - version = "2025.5.9.12"; 13 + version = "2025.8.26.11"; 15 14 pyproject = true; 16 15 17 - disabled = pythonOlder "3.7"; 18 - 19 16 src = fetchPypi { 20 17 pname = "trove_classifiers"; 21 18 inherit version; 22 - hash = "sha256-fKfIp6duLNMURoxnfGnRLMI1dxH8q0pg+HmUwVieXLU="; 19 + hash = "sha256-5z7/8xfEkqeZAJL5wSZ2xwW/bP5AolipP2P0tMmUFDI="; 23 20 }; 24 21 22 + postPatch = '' 23 + substituteInPlace tests/test_cli.py \ 24 + --replace-fail "BINDIR = Path(sys.executable).parent" "BINDIR = '$out/bin'" 25 + ''; 26 + 25 27 build-system = [ 26 28 calver 27 29 setuptools ··· 40 42 homepage = "https://github.com/pypa/trove-classifiers"; 41 43 changelog = "https://github.com/pypa/trove-classifiers/releases/tag/${version}"; 42 44 license = lib.licenses.asl20; 45 + mainProgram = "trove-classifiers"; 43 46 maintainers = with lib.maintainers; [ dotlambda ]; 44 47 }; 45 48 };
+11 -4
pkgs/development/python-modules/typer/default.nix
··· 21 21 pytestCheckHook, 22 22 writableTmpDirAsHomeHook, 23 23 procps, 24 + 25 + # typer or typer-slim 26 + package ? "typer", 24 27 }: 25 28 26 29 buildPythonPackage rec { 27 - pname = "typer"; 30 + pname = package; 28 31 version = "0.16.0"; 29 32 pyproject = true; 30 33 ··· 35 38 hash = "sha256-WB9PIxagTHutfk3J+mNTVK8bC7TMDJquu3GLBQgaras="; 36 39 }; 37 40 41 + env.TIANGOLO_BUILD_PACKAGE = package; 42 + 38 43 build-system = [ pdm-backend ]; 39 44 40 45 dependencies = [ 41 46 click 42 47 typing-extensions 43 - # Build includes the standard optional by default 44 - # https://github.com/tiangolo/typer/blob/0.12.3/pyproject.toml#L71-L72 45 48 ] 46 - ++ optional-dependencies.standard; 49 + # typer includes the standard optional by default 50 + # https://github.com/tiangolo/typer/blob/0.12.3/pyproject.toml#L71-L72 51 + ++ lib.optionals (package == "typer") optional-dependencies.standard; 47 52 48 53 optional-dependencies = { 49 54 standard = [ ··· 51 56 shellingham 52 57 ]; 53 58 }; 59 + 60 + doCheck = package == "typer"; # tests expect standard dependencies 54 61 55 62 nativeCheckInputs = [ 56 63 coverage # execs coverage in tests
+4 -3
pkgs/development/python-modules/ueberzug/default.nix
··· 50 50 51 51 pythonImportsCheck = [ "ueberzug" ]; 52 52 53 - meta = with lib; { 53 + meta = { 54 54 description = "Alternative for w3mimgdisplay"; 55 55 homepage = "https://github.com/ueber-devel/ueberzug"; 56 56 changelog = "https://github.com/ueber-devel/ueberzug/releases/tag/${version}"; 57 - license = licenses.gpl3Only; 57 + license = lib.licenses.gpl3Only; 58 58 mainProgram = "ueberzug"; 59 - maintainers = with maintainers; [ Br1ght0ne ]; 59 + maintainers = with lib.maintainers; [ Br1ght0ne ]; 60 + platforms = lib.platforms.linux; 60 61 }; 61 62 }
+3 -8
pkgs/development/python-modules/units-llnl/default.nix
··· 36 36 ninja 37 37 ]; 38 38 dontUseCmakeConfigure = true; 39 - env = { 40 - SKBUILD_CMAKE_ARGS = lib.strings.concatStringsSep ";" ( 41 - cmakeFlags 42 - ++ [ 43 - (lib.cmakeBool "UNITS_BUILD_PYTHON_LIBRARY" true) 44 - ] 45 - ); 46 - }; 39 + cmakeFlags = cmakeFlags ++ [ 40 + (lib.cmakeBool "UNITS_BUILD_PYTHON_LIBRARY" true) 41 + ]; 47 42 48 43 # Also upstream turns off testing for the python build so it seems, see: 49 44 # https://github.com/LLNL/units/blob/v0.13.1/pyproject.toml#L65-L66 However
+4 -3
pkgs/development/python-modules/uv/default.nix
··· 17 17 build-system = [ hatchling ]; 18 18 19 19 postPatch = 20 - # Do not rely on path lookup at runtime to find the uv binary. 21 - # Use the propagated binary instead. 20 + # Add the path to the uv binary as a fallback after other path search methods have been exhausted 22 21 '' 23 22 substituteInPlace python/uv/_find_uv.py \ 24 - --replace-fail '"""Return the uv binary path."""' "return '${lib.getExe uv}'" 23 + --replace-fail \ 24 + 'sysconfig.get_path("scripts", scheme=_user_scheme()),' \ 25 + 'sysconfig.get_path("scripts", scheme=_user_scheme()), "${builtins.baseNameOf (lib.getExe uv)}",' 25 26 '' 26 27 # Sidestep the maturin build system in favour of reusing the binary already built by nixpkgs, 27 28 # to avoid rebuilding the uv binary for every active python package set.
+3 -7
pkgs/development/tools/misc/patchelf/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "patchelf"; 14 - version = "0.15.0"; 14 + version = "0.15.2"; 15 15 16 16 src = fetchurl { 17 17 url = "https://github.com/NixOS/${pname}/releases/download/${version}/${pname}-${version}.tar.bz2"; 18 - sha256 = "sha256-9ANtPuTY4ijewb7/8PbkbYpA6eVw4AaOOdd+YuLIvcI="; 18 + sha256 = "sha256-F3RfVkFZyOIo/EEtplogSLhGxLa0Igt3y/IkFuAvLXw="; 19 19 }; 20 20 21 21 strictDeps = true; ··· 25 25 enableParallelBuilding = true; 26 26 27 27 # fails 8 out of 24 tests, problems when loading libc.so.6 28 - doCheck = 29 - stdenv.name == "stdenv-linux" 30 - # test scripts require unprefixed bintools binaries 31 - # https://github.com/NixOS/patchelf/issues/417 32 - && stdenv.cc.targetPrefix == ""; 28 + doCheck = stdenv.name == "stdenv-linux"; 33 29 34 30 meta = with lib; { 35 31 homepage = "https://github.com/NixOS/patchelf";
-76
pkgs/development/web/nodejs/bypass-darwin-xcrun-node16.patch
··· 1 - Avoids needing xcrun or xcodebuild in PATH for native package builds 2 - 3 - --- a/tools/gyp/pylib/gyp/xcode_emulation.py 4 - +++ b/tools/gyp/pylib/gyp/xcode_emulation.py 5 - @@ -522,7 +522,13 @@ class XcodeSettings: 6 - # Since the CLT has no SDK paths anyway, returning None is the 7 - # most sensible route and should still do the right thing. 8 - try: 9 - - return GetStdoutQuiet(["xcrun", "--sdk", sdk, infoitem]) 10 - + #return GetStdoutQuiet(["xcrun", "--sdk", sdk, infoitem]) 11 - + return { 12 - + "--show-sdk-platform-path": "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform", 13 - + "--show-sdk-path": "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk", 14 - + "--show-sdk-build-version": "19A547", 15 - + "--show-sdk-version": "10.15" 16 - + }[infoitem] 17 - except GypError: 18 - pass 19 - 20 - @@ -1499,7 +1505,8 @@ def XcodeVersion(): 21 - version = "" 22 - build = "" 23 - try: 24 - - version_list = GetStdoutQuiet(["xcodebuild", "-version"]).splitlines() 25 - + #version_list = GetStdoutQuiet(["xcodebuild", "-version"]).splitlines() 26 - + version_list = [] 27 - # In some circumstances xcodebuild exits 0 but doesn't return 28 - # the right results; for example, a user on 10.7 or 10.8 with 29 - # a bogus path set via xcode-select 30 - @@ -1510,7 +1517,8 @@ def XcodeVersion(): 31 - version = version_list[0].split()[-1] # Last word on first line 32 - build = version_list[-1].split()[-1] # Last word on last line 33 - except GypError: # Xcode not installed so look for XCode Command Line Tools 34 - - version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322 35 - + #version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322 36 - + version = "11.0.0.0.1.1567737322" 37 - if not version: 38 - raise GypError("No Xcode or CLT version detected!") 39 - # Be careful to convert "4.2.3" to "0423" and "11.0.0" to "1100": 40 - --- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 41 - +++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 42 - @@ -522,7 +522,13 @@ class XcodeSettings: 43 - # Since the CLT has no SDK paths anyway, returning None is the 44 - # most sensible route and should still do the right thing. 45 - try: 46 - - return GetStdoutQuiet(["xcrun", "--sdk", sdk, infoitem]) 47 - + #return GetStdoutQuiet(["xcrun", "--sdk", sdk, infoitem]) 48 - + return { 49 - + "--show-sdk-platform-path": "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform", 50 - + "--show-sdk-path": "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk", 51 - + "--show-sdk-build-version": "19A547", 52 - + "--show-sdk-version": "10.15" 53 - + }[infoitem] 54 - except GypError: 55 - pass 56 - 57 - @@ -1499,7 +1505,8 @@ def XcodeVersion(): 58 - version = "" 59 - build = "" 60 - try: 61 - - version_list = GetStdoutQuiet(["xcodebuild", "-version"]).splitlines() 62 - + #version_list = GetStdoutQuiet(["xcodebuild", "-version"]).splitlines() 63 - + version_list = [] 64 - # In some circumstances xcodebuild exits 0 but doesn't return 65 - # the right results; for example, a user on 10.7 or 10.8 with 66 - # a bogus path set via xcode-select 67 - @@ -1510,7 +1517,8 @@ def XcodeVersion(): 68 - version = version_list[0].split()[-1] # Last word on first line 69 - build = version_list[-1].split()[-1] # Last word on last line 70 - except GypError: # Xcode not installed so look for XCode Command Line Tools 71 - - version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322 72 - + #version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322 73 - + version = "11.0.0.0.1.1567737322" 74 - if not version: 75 - raise GypError("No Xcode or CLT version detected!") 76 - # Be careful to convert "4.2.3" to "0423" and "11.0.0" to "1100":
-16
pkgs/development/web/nodejs/disable-darwin-v8-system-instrumentation-node19.patch
··· 1 - Disable v8 system instrumentation on Darwin 2 - 3 - On Darwin, the v8 system instrumentation requires the header "os/signpost.h" 4 - which is available since apple_sdk 11+. See: https://github.com/nodejs/node/issues/39584 5 - 6 - --- old/tools/v8_gypfiles/features.gypi 7 - +++ new/tools/v8_gypfiles/features.gypi 8 - @@ -62,7 +62,7 @@ 9 - }, { 10 - 'is_component_build': 0, 11 - }], 12 - - ['OS == "win" or OS == "mac"', { 13 - + ['OS == "win"', { 14 - # Sets -DENABLE_SYSTEM_INSTRUMENTATION. Enables OS-dependent event tracing 15 - 'v8_enable_system_instrumentation': 1, 16 - }, {
+63
pkgs/development/web/nodejs/gyp-patches-set-fallback-value-for-CLT-darwin.patch
··· 1 + Sandboxed builds need a fallback value for the version of the Command Line Tools 2 + being used. 3 + 4 + diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py 5 + index 508f6ccac3e..44bcd988c4c 100644 6 + --- a/tools/gyp/pylib/gyp/xcode_emulation.py 7 + +++ b/tools/gyp/pylib/gyp/xcode_emulation.py 8 + @@ -1495,24 +1495,8 @@ def XcodeVersion(): 9 + global XCODE_VERSION_CACHE 10 + if XCODE_VERSION_CACHE: 11 + return XCODE_VERSION_CACHE 12 + - version = "" 13 + + version = "11.0.0.0.1.1567737322" 14 + build = "" 15 + - try: 16 + - version_list = GetStdoutQuiet(["xcodebuild", "-version"]).splitlines() 17 + - # In some circumstances xcodebuild exits 0 but doesn't return 18 + - # the right results; for example, a user on 10.7 or 10.8 with 19 + - # a bogus path set via xcode-select 20 + - # In that case this may be a CLT-only install so fall back to 21 + - # checking that version. 22 + - if len(version_list) < 2: 23 + - raise GypError("xcodebuild returned unexpected results") 24 + - version = version_list[0].split()[-1] # Last word on first line 25 + - build = version_list[-1].split()[-1] # Last word on last line 26 + - except (GypError, OSError): 27 + - # Xcode not installed so look for XCode Command Line Tools 28 + - version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322 29 + - if not version: 30 + - raise GypError("No Xcode or CLT version detected!") 31 + # Be careful to convert "4.2.3" to "0423" and "11.0.0" to "1100": 32 + version = version.split(".")[:3] # Just major, minor, micro 33 + version[0] = version[0].zfill(2) # Add a leading zero if major is one digit 34 + 35 + 36 + --- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 37 + +++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 38 + @@ -1495,24 +1495,8 @@ def XcodeVersion(): 39 + global XCODE_VERSION_CACHE 40 + if XCODE_VERSION_CACHE: 41 + return XCODE_VERSION_CACHE 42 + - version = "" 43 + + version = "11.0.0.0.1.1567737322" 44 + build = "" 45 + - try: 46 + - version_list = GetStdoutQuiet(["xcodebuild", "-version"]).splitlines() 47 + - # In some circumstances xcodebuild exits 0 but doesn't return 48 + - # the right results; for example, a user on 10.7 or 10.8 with 49 + - # a bogus path set via xcode-select 50 + - # In that case this may be a CLT-only install so fall back to 51 + - # checking that version. 52 + - if len(version_list) < 2: 53 + - raise GypError("xcodebuild returned unexpected results") 54 + - version = version_list[0].split()[-1] # Last word on first line 55 + - build = version_list[-1].split()[-1] # Last word on last line 56 + - except (GypError, OSError): 57 + - # Xcode not installed so look for XCode Command Line Tools 58 + - version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322 59 + - if not version: 60 + - raise GypError("No Xcode or CLT version detected!") 61 + # Be careful to convert "4.2.3" to "0423" and "11.0.0" to "1100": 62 + version = version.split(".")[:3] # Just major, minor, micro 63 + version[0] = version[0].zfill(2) # Add a leading zero if major is one digit
+25
pkgs/development/web/nodejs/gyp-patches-set-fallback-value-for-CLT.patch
··· 1 + Sandboxed builds need a fallback value for the version of the Command Line Tools 2 + being used. 3 + 4 + --- a/tools/gyp/pylib/gyp/xcode_emulation.py 5 + +++ b/tools/gyp/pylib/gyp/xcode_emulation.py 6 + @@ -1552,7 +1552,7 @@ def CLTVersion(): 7 + output = GetStdout(["/usr/sbin/softwareupdate", "--history"]) 8 + return re.search(regex, output).groupdict()["version"] 9 + except (GypError, OSError): 10 + - return None 11 + + return "11.0.0.0.1.1567737322" 12 + 13 + 14 + def GetStdoutQuiet(cmdlist): 15 + --- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 16 + +++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py 17 + @@ -1552,7 +1552,7 @@ def CLTVersion(): 18 + output = GetStdout(["/usr/sbin/softwareupdate", "--history"]) 19 + return re.search(regex, output).groupdict()["version"] 20 + except (GypError, OSError): 21 + - return None 22 + + return "11.0.0.0.1.1567737322" 23 + 24 + 25 + def GetStdoutQuiet(cmdlist):
+32 -7
pkgs/development/web/nodejs/gyp-patches.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 fetchpatch2, 4 5 patch_npm ? true, 5 6 patch_tools ? true, 7 + patch_npm_catch_oserror ? patch_npm, 8 + patch_tools_catch_oserror ? patch_tools, 9 + patch_npm_regex_handling ? patch_npm && stdenv.buildPlatform.isDarwin, 10 + patch_tools_regex_handling ? patch_tools && stdenv.buildPlatform.isDarwin, 6 11 }: 7 12 let 8 - url = "https://github.com/nodejs/gyp-next/commit/706d04aba5bd18f311dc56f84720e99f64c73466.patch?full_index=1"; 13 + url = "https://github.com/nodejs/gyp-next/commit/8224deef984add7e7afe846cfb82c9d3fa6da1fb.patch?full_index=1"; 14 + url_regex_handling = "https://github.com/nodejs/gyp-next/commit/b21ee3150eea9fc1a8811e910e5ba64f42e1fb77.patch?full_index=1"; 9 15 in 10 - lib.optionals patch_tools ([ 16 + lib.optionals patch_tools_catch_oserror ([ 11 17 # Fixes builds with Nix sandbox on Darwin for gyp. 12 - # See https://github.com/NixOS/nixpkgs/issues/261820 13 - # and https://github.com/nodejs/gyp-next/pull/216 14 18 (fetchpatch2 { 15 19 inherit url; 16 - hash = "sha256-iV9qvj0meZkgRzFNur2v1jtLZahbqvSJ237NoM8pPZc="; 20 + hash = "sha256-kvCMpedjrY64BlaC1R0NVjk/vIVivYAGVgWwMEGeP6k="; 17 21 stripLen = 1; 18 22 extraPrefix = "tools/gyp/"; 19 23 }) 20 24 ]) 21 - ++ lib.optionals patch_npm ([ 25 + ++ lib.optionals patch_npm_catch_oserror ([ 22 26 (fetchpatch2 { 23 27 inherit url; 24 - hash = "sha256-1iyeeAprmWpmLafvOOXW45iZ4jWFSloWJxQ0reAKBOo="; 28 + hash = "sha256-cXTwmCRHrNhuY1+3cD/EvU0CJ+1Nk4TRh6c3twvfaW8="; 29 + stripLen = 1; 30 + extraPrefix = "deps/npm/node_modules/node-gyp/gyp/"; 31 + }) 32 + ]) 33 + ++ lib.optionals patch_tools_regex_handling ([ 34 + # Fixes builds with Nix sandbox on Darwin for gyp. 35 + (fetchpatch2 { 36 + url = url_regex_handling; 37 + hash = "sha256-xDZO8GgZLPvCeTrCu6RVVFV5bmbuz9UPgHiaAJE6im0="; 38 + stripLen = 1; 39 + extraPrefix = "tools/gyp/"; 40 + }) 41 + ]) 42 + ++ lib.optionals patch_npm_regex_handling ([ 43 + (fetchpatch2 { 44 + url = url_regex_handling; 45 + hash = "sha256-fW5kQh+weCK0g3wzTJLZgAuXxetb14UAf6yxW6bIgbU="; 25 46 stripLen = 1; 26 47 extraPrefix = "deps/npm/node_modules/node-gyp/gyp/"; 27 48 }) 28 49 ]) 50 + # TODO: remove the Darwin conditionals from this file 51 + ++ lib.optionals stdenv.buildPlatform.isDarwin ([ 52 + ./gyp-patches-set-fallback-value-for-CLT-darwin.patch 53 + ])
+28 -2
pkgs/development/web/nodejs/nodejs.nix
··· 28 28 runtimeShell, 29 29 gnupg, 30 30 installShellFiles, 31 + darwin, 31 32 }: 32 33 33 34 { ··· 298 299 299 300 inherit patches; 300 301 302 + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' 303 + substituteInPlace test/parallel/test-macos-app-sandbox.js \ 304 + --subst-var-by codesign '${darwin.sigtool}/bin/codesign' 305 + ''; 306 + 301 307 __darwinAllowLocalNetworking = true; # for tests 302 308 303 309 doCheck = canExecute; ··· 361 367 "test-process-initgroups" 362 368 "test-process-setgroups" 363 369 "test-process-uid-gid" 364 - "test-setproctitle" 365 370 # This is a bit weird, but for some reason fs watch tests fail with 366 371 # sandbox. 367 372 "test-fs-promises-watch" ··· 392 397 ] 393 398 ++ lib.optionals stdenv.buildPlatform.isDarwin [ 394 399 # Disable tests that don’t work under macOS sandbox. 395 - "test-macos-app-sandbox" 400 + # uv_os_setpriority returned EPERM (operation not permitted) 396 401 "test-os" 397 402 "test-os-process-priority" 398 403 ··· 425 430 ) 426 431 }" 427 432 ]; 433 + 434 + sandboxProfile = '' 435 + (allow file-read* 436 + (literal "/Library/Keychains/System.keychain") 437 + (literal "/private/var/db/mds/system/mdsDirectory.db") 438 + (literal "/private/var/db/mds/system/mdsObject.db")) 439 + 440 + ; Allow files written by Module Directory Services (MDS), which is used 441 + ; by Security.framework: https://apple.stackexchange.com/a/411476 442 + ; These rules are based on the system sandbox profiles found in 443 + ; /System/Library/Sandbox/Profiles. 444 + (allow file-write* 445 + (regex #"^/private/var/folders/[^/]+/[^/]+/C/mds/mdsDirectory\.db$") 446 + (regex #"^/private/var/folders/[^/]+/[^/]+/C/mds/mdsObject\.db_?$") 447 + (regex #"^/private/var/folders/[^/]+/[^/]+/C/mds/mds\.lock$")) 448 + 449 + (allow mach-lookup 450 + (global-name "com.apple.FSEvents") 451 + (global-name "com.apple.SecurityServer") 452 + (global-name "com.apple.system.opendirectoryd.membership")) 453 + ''; 428 454 429 455 postInstall = 430 456 let
+18
pkgs/development/web/nodejs/use-nix-codesign.patch
··· 1 + diff --git a/test/parallel/test-macos-app-sandbox.js b/test/parallel/test-macos-app-sandbox.js 2 + index 60ad67b3db..b6ac0dcef4 100644 3 + --- a/test/parallel/test-macos-app-sandbox.js 4 + +++ b/test/parallel/test-macos-app-sandbox.js 5 + @@ -45,11 +45,11 @@ fs.copyFileSync( 6 + 7 + // Sign the app bundle with sandbox entitlements: 8 + assert.strictEqual( 9 + - child_process.spawnSync('/usr/bin/codesign', [ 10 + + child_process.spawnSync('@codesign@', [ 11 + '--entitlements', fixtures.path( 12 + 'macos-app-sandbox', 'node_sandboxed.entitlements'), 13 + '--force', '-s', '-', 14 + - appBundlePath, 15 + + appExecutablePath, 16 + ]).status, 17 + 0); 18 +
+29 -2
pkgs/development/web/nodejs/v20.nix
··· 13 13 }; 14 14 15 15 gypPatches = callPackage ./gyp-patches.nix { } ++ [ 16 + # Fixes builds with Nix sandbox on Darwin for gyp. 17 + # See https://github.com/NixOS/nixpkgs/issues/261820 18 + # and https://github.com/nodejs/gyp-next/pull/216 19 + (fetchpatch2 { 20 + url = "https://github.com/nodejs/gyp-next/commit/706d04aba5bd18f311dc56f84720e99f64c73466.patch?full_index=1"; 21 + hash = "sha256-iV9qvj0meZkgRzFNur2v1jtLZahbqvSJ237NoM8pPZc="; 22 + stripLen = 1; 23 + extraPrefix = "tools/gyp/"; 24 + }) 25 + (fetchpatch2 { 26 + url = "https://github.com/nodejs/gyp-next/commit/706d04aba5bd18f311dc56f84720e99f64c73466.patch?full_index=1"; 27 + hash = "sha256-1iyeeAprmWpmLafvOOXW45iZ4jWFSloWJxQ0reAKBOo="; 28 + stripLen = 1; 29 + extraPrefix = "deps/npm/node_modules/node-gyp/gyp/"; 30 + }) 31 + 16 32 ./gyp-patches-pre-v22-import-sys.patch 33 + ./gyp-patches-set-fallback-value-for-CLT.patch 17 34 ]; 18 35 in 19 36 buildNodejs { ··· 23 40 patches = [ 24 41 ./configure-emulator.patch 25 42 ./configure-armv6-vfpv2.patch 26 - ./disable-darwin-v8-system-instrumentation-node19.patch 27 - ./bypass-darwin-xcrun-node16.patch 28 43 ./node-npm-build-npm-package-logic.patch 29 44 ./use-correct-env-in-tests.patch 45 + ./use-nix-codesign.patch 46 + 47 + # TODO: remove when included in a release 48 + (fetchpatch2 { 49 + url = "https://github.com/nodejs/node/commit/8caa1dcee63b2c6fd7a9edf9b9a6222b38a2cf62.patch?full_index=1"; 50 + hash = "sha256-DtN0bpYfo5twHz2GrLLgq4Bu2gFYTkNPMRKhrgeYRyA="; 51 + includes = [ "test/parallel/test-setproctitle.js" ]; 52 + }) 53 + (fetchpatch2 { 54 + url = "https://github.com/nodejs/node/commit/499a5c345165f0d4a94b98d08f1ace7268781564.patch?full_index=1"; 55 + hash = "sha256-wF4+CytC1OB5egJGOfLm1USsYY12f9kADymVrxotezE="; 56 + }) 30 57 ] 31 58 ++ gypPatches; 32 59 }
+19 -4
pkgs/development/web/nodejs/v22.nix
··· 14 14 inherit openssl; 15 15 python = python3; 16 16 }; 17 + 18 + gypPatches = 19 + if stdenv.buildPlatform.isDarwin then 20 + callPackage ./gyp-patches.nix { } 21 + ++ [ 22 + ./gyp-patches-set-fallback-value-for-CLT.patch 23 + ] 24 + else 25 + [ ]; 17 26 in 18 27 buildNodejs { 19 28 inherit enableNpm; 20 - version = "22.18.0"; 21 - sha256 = "120e0f74419097a9fafae1fd80b9de7791a587e6f1c48c22b193239ccd0f7084"; 29 + version = "22.19.0"; 30 + sha256 = "0272acfce50ce9ad060288321b1092719a7f19966f81419835410c59c09daa46"; 22 31 patches = 23 32 ( 24 33 if (stdenv.hostPlatform.emulatorAvailable buildPackages) then ··· 44 53 hash = "sha256-hSTLljmVzYmc3WAVeRq9EPYluXGXFeWVXkykufGQPVw="; 45 54 }) 46 55 ] 56 + ++ gypPatches 47 57 ++ [ 48 58 ./configure-armv6-vfpv2.patch 49 - ./disable-darwin-v8-system-instrumentation-node19.patch 50 - ./bypass-darwin-xcrun-node16.patch 51 59 ./node-npm-build-npm-package-logic.patch 52 60 ./use-correct-env-in-tests.patch 53 61 ./bin-sh-node-run-v22.patch 62 + ./use-nix-codesign.patch 63 + 64 + # TODO: remove when included in a release 65 + (fetchpatch2 { 66 + url = "https://github.com/nodejs/node/commit/499a5c345165f0d4a94b98d08f1ace7268781564.patch?full_index=1"; 67 + hash = "sha256-wF4+CytC1OB5egJGOfLm1USsYY12f9kADymVrxotezE="; 68 + }) 54 69 ]; 55 70 }
+11 -10
pkgs/development/web/nodejs/v24.nix
··· 14 14 inherit openssl; 15 15 python = python3; 16 16 }; 17 + 18 + gypPatches = 19 + if stdenv.buildPlatform.isDarwin then 20 + callPackage ./gyp-patches.nix { patch_tools_catch_oserror = false; } 21 + ++ [ 22 + ./gyp-patches-set-fallback-value-for-CLT.patch 23 + ] 24 + else 25 + [ ]; 17 26 in 18 27 buildNodejs { 19 28 inherit enableNpm; ··· 46 55 ] 47 56 ++ [ 48 57 ./configure-armv6-vfpv2.patch 49 - ./disable-darwin-v8-system-instrumentation-node19.patch 50 58 ./node-npm-build-npm-package-logic.patch 51 59 ./use-correct-env-in-tests.patch 52 60 ./bin-sh-node-run-v22.patch 53 - 54 - # TODO: newer GYP versions have been patched to be more compatible with Nix sandbox. We need 55 - # to adapt our patch to this newer version, see https://github.com/NixOS/nixpkgs/pull/434742. 56 - (fetchpatch2 { 57 - url = "https://github.com/nodejs/node/commit/886e4b3b534a9f3ad2facbc99097419e06615900.patch?full_index=1"; 58 - hash = "sha256-HFTabl92NPkBwXD0mUGDN+Gzabyi+Ph0kL0FEHHknbk="; 59 - revert = true; 60 - }) 61 - ./bypass-darwin-xcrun-node16.patch 61 + ./use-nix-codesign.patch 62 62 ] 63 + ++ gypPatches 63 64 ++ lib.optionals (!stdenv.buildPlatform.isDarwin) [ 64 65 # test-icu-env is failing without the reverts 65 66 (fetchpatch2 {
+2 -2
pkgs/os-specific/linux/fuse/default.nix
··· 14 14 }; 15 15 16 16 fuse_3 = mkFuse { 17 - version = "3.17.2"; 18 - hash = "sha256-rpWA97ZnoYWEQoUCGtITpx9w1J4qy6LGSxomFNOnKBc="; 17 + version = "3.17.4"; 18 + hash = "sha256-G3+cBp8q8S8oLIcgWp0p+TAtzqXlKYbRSY/5Y3L7QO4="; 19 19 }; 20 20 }
+13
pkgs/os-specific/linux/iptables/default.nix
··· 12 12 libnfnetlink, 13 13 libnftnl, 14 14 libpcap, 15 + bash, 16 + bashNonInteractive, 15 17 nftablesCompat ? true, 16 18 gitUpdater, 17 19 }: ··· 19 21 stdenv.mkDerivation rec { 20 22 version = "1.8.11"; 21 23 pname = "iptables"; 24 + 25 + __structuredAttrs = true; 22 26 23 27 src = fetchurl { 24 28 url = "https://www.netfilter.org/projects/${pname}/files/${pname}-${version}.tar.xz"; ··· 27 31 28 32 outputs = [ 29 33 "out" 34 + "lib" 30 35 "dev" 31 36 "man" 32 37 ]; 38 + 39 + strictDeps = true; 33 40 34 41 nativeBuildInputs = [ 35 42 autoreconfHook ··· 45 52 libnfnetlink 46 53 libnftnl 47 54 libpcap 55 + bash 48 56 ]; 49 57 50 58 configureFlags = [ ··· 67 75 ln -sv xtables-nft-multi $out/bin/ip6tables-restore 68 76 ln -sv xtables-nft-multi $out/bin/ip6tables-save 69 77 ''; 78 + 79 + outputChecks.lib.disallowedRequisites = [ 80 + bash 81 + bashNonInteractive 82 + ]; 70 83 71 84 passthru = { 72 85 updateScript = gitUpdater {
+5
pkgs/os-specific/linux/kernel/manual-config.nix
··· 340 340 "KBUILD_BUILD_VERSION=1-NixOS" 341 341 kernelConf.target 342 342 "vmlinux" # for "perf" and things like that 343 + "scripts_gdb" 343 344 ] 344 345 ++ optional isModular "modules" 345 346 ++ optionals buildDTBs [ ··· 447 448 postInstall = optionalString isModular '' 448 449 mkdir -p $dev 449 450 cp vmlinux $dev/ 451 + 452 + mkdir -p $dev/lib/modules/${modDirVersion}/build/scripts 453 + cp -rL ../scripts/gdb/ $dev/lib/modules/${modDirVersion}/build/scripts 454 + 450 455 if [ -z "''${dontStrip-}" ]; then 451 456 installFlags+=("INSTALL_MOD_STRIP=1") 452 457 fi
+8 -2
pkgs/os-specific/linux/libbpf/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "libbpf"; 18 - version = "1.6.1"; 18 + version = "1.6.2"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "libbpf"; 22 22 repo = "libbpf"; 23 23 rev = "v${version}"; 24 - hash = "sha256-2AtUwCN17bSM0mJrERTklVluUduMMAX25pOGEwNPjAU="; 24 + hash = "sha256-igjjwirg3O5mC3DzGCAO9OgrH2drnE/gV6NH7ZLNnFE="; 25 25 }; 26 + 27 + patches = [ 28 + # Fix redefinition when using linux/netlink.h from libbpf with musl 29 + # https://github.com/libbpf/libbpf/pull/919 30 + ./sync-uapi-move-constants-from-linux-kernel-h-to-linux-const-h.patch 31 + ]; 26 32 27 33 nativeBuildInputs = [ pkg-config ]; 28 34 buildInputs = [
+28
pkgs/os-specific/linux/libbpf/sync-uapi-move-constants-from-linux-kernel-h-to-linux-const-h.patch
··· 1 + From 448f3f2e2065a5ef20010133dae58c5311ecc538 Mon Sep 17 00:00:00 2001 2 + From: Yureka <yuka@yuka.dev> 3 + Date: Sat, 23 Aug 2025 18:24:07 +0200 4 + Subject: [PATCH] sync: uapi: move constants from <linux/kernel.h> to 5 + <linux/const.h> 6 + 7 + This change was applied to the kernel tree in 2020 afaict, to fix redefinition issues with musl-libc. 8 + 9 + I ran into this issue while building with the headers included with libbpf, since it seems they were not synced since then. 10 + 11 + Signed-off-by: Yureka Lilian <yuka@yuka.dev> 12 + --- 13 + include/uapi/linux/netlink.h | 2 +- 14 + 1 file changed, 1 insertion(+), 1 deletion(-) 15 + 16 + diff --git a/include/uapi/linux/netlink.h b/include/uapi/linux/netlink.h 17 + index b857821e3..e900b1f88 100644 18 + --- a/include/uapi/linux/netlink.h 19 + +++ b/include/uapi/linux/netlink.h 20 + @@ -2,7 +2,7 @@ 21 + #ifndef __LINUX_NETLINK_H 22 + #define __LINUX_NETLINK_H 23 + 24 + -#include <linux/kernel.h> 25 + +#include <linux/const.h> 26 + #include <linux/socket.h> /* for __kernel_sa_family_t */ 27 + #include <linux/types.h> 28 +
+45 -9
pkgs/os-specific/linux/lvm2/common.nix
··· 8 8 coreutils, 9 9 libuuid, 10 10 libaio, 11 + bash, 12 + bashNonInteractive, 11 13 replaceVars, 12 14 enableCmdlib ? false, 13 15 enableDmeventd ? false, ··· 39 41 + lib.optionalString enableVDO "-with-vdo"; 40 42 inherit version; 41 43 44 + __structuredAttrs = true; 45 + 42 46 src = fetchurl { 43 47 urls = [ 44 48 "https://mirrors.kernel.org/sourceware/lvm2/LVM2.${version}.tgz" ··· 47 51 inherit hash; 48 52 }; 49 53 54 + strictDeps = true; 55 + 50 56 nativeBuildInputs = [ pkg-config ] ++ lib.optionals udevSupport [ udevCheckHook ]; 51 57 buildInputs = [ 52 58 libaio 59 + bash 53 60 ] 54 61 ++ lib.optionals udevSupport [ 55 62 udev ··· 70 77 "--with-systemd-run=/run/current-system/systemd/bin/systemd-run" 71 78 "--with-default-profile-subdir=profile.d" 72 79 ] 73 - ++ lib.optionals (!enableCmdlib && !onlyLib) [ 74 - "--bindir=${placeholder "bin"}/bin" 75 - "--sbindir=${placeholder "bin"}/bin" 76 - "--libdir=${placeholder "lib"}/lib" 77 - "--with-libexecdir=${placeholder "lib"}/libexec" 78 - ] 80 + ++ lib.optionals (!onlyLib) ( 81 + if enableCmdlib then 82 + [ 83 + "--bindir=${placeholder "out"}/bin" 84 + "--sbindir=${placeholder "out"}/bin" 85 + ] 86 + else 87 + [ 88 + "--bindir=${placeholder "bin"}/bin" 89 + "--sbindir=${placeholder "bin"}/bin" 90 + "--libdir=${placeholder "lib"}/lib" 91 + "--with-libexecdir=${placeholder "lib"}/libexec" 92 + ] 93 + ) 79 94 ++ lib.optional enableCmdlib "--enable-cmdlib" 80 95 ++ lib.optionals enableDmeventd [ 81 96 "--enable-dmeventd" ··· 92 107 ] 93 108 ++ lib.optionals enableVDO [ 94 109 "--enable-vdo" 110 + "--with-vdo-format=${vdo}/bin/vdoformat" 95 111 ] 96 112 ++ lib.optionals stdenv.hostPlatform.isStatic [ 97 113 "--enable-static_link" ··· 173 189 ++ lib.optionals (!onlyLib) [ 174 190 "dev" 175 191 "man" 192 + "scripts" 176 193 ] 177 194 ++ lib.optionals (!onlyLib && !enableCmdlib) [ 178 195 "bin" 179 196 "lib" 180 197 ]; 181 198 182 - postInstall = lib.optionalString (enableCmdlib != true) '' 183 - moveToOutput lib/libdevmapper.so $lib 184 - ''; 199 + postInstall = 200 + lib.optionalString (!onlyLib) '' 201 + moveToOutput bin/fsadm $scripts 202 + moveToOutput bin/blkdeactivate $scripts 203 + moveToOutput bin/lvmdump $scripts 204 + moveToOutput bin/lvm_import_vdo $scripts 205 + moveToOutput libexec/lvresize_fs_helper $scripts/lib 206 + '' 207 + + lib.optionalString (!enableCmdlib) '' 208 + moveToOutput lib/libdevmapper.so $lib 209 + ''; 210 + 211 + outputChecks = lib.optionalAttrs (!stdenv.hostPlatform.isStatic && !enableVDO) { 212 + out.disallowedRequisites = [ 213 + bash 214 + bashNonInteractive 215 + ]; 216 + lib.disallowedRequisites = [ 217 + bash 218 + bashNonInteractive 219 + ]; 220 + }; 185 221 186 222 passthru.tests = { 187 223 installer = nixosTests.installer.lvm;
+2 -2
pkgs/os-specific/linux/systemd/0017-meson.build-do-not-create-systemdstatedir.patch
··· 8 8 1 file changed, 1 deletion(-) 9 9 10 10 diff --git a/meson.build b/meson.build 11 - index 7ede6f7a96..90860be99a 100644 11 + index a4730f0570..b5aaecd669 100644 12 12 --- a/meson.build 13 13 +++ b/meson.build 14 - @@ -2795,7 +2795,6 @@ install_data('LICENSE.GPL2', 14 + @@ -2815,7 +2815,6 @@ install_data('LICENSE.GPL2', 15 15 install_subdir('LICENSES', 16 16 install_dir : docdir) 17 17
-57
pkgs/os-specific/linux/systemd/0018-bootctl-do-not-fail-when-the-same-file-is-updated-mu.patch
··· 1 - From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 2 - From: Yu Watanabe <watanabe.yu+github@gmail.com> 3 - Date: Wed, 19 Jun 2024 16:11:23 +0900 4 - Subject: [PATCH] bootctl: do not fail when the same file is updated multiple 5 - times 6 - 7 - In the second or later trial, copy_file_with_version_check() -> version_check() 8 - fails with -ESRCH. Let's ignore the failure. 9 - 10 - This also adds missing assertions in update_efi_boot_binaries(), and 11 - drop redundant version check in update_efi_boot_binaries(), as version 12 - will be anyway checked later. 13 - 14 - Fixes a regression caused by 929f41c6528fb630753d4e2f588a8eb6c2f6a609. 15 - Fixes #33392. 16 - --- 17 - src/bootctl/bootctl-install.c | 16 +++++++--------- 18 - 1 file changed, 7 insertions(+), 9 deletions(-) 19 - 20 - diff --git a/src/bootctl/bootctl-install.c b/src/bootctl/bootctl-install.c 21 - index e15c2c6bed..5b4cff5d5e 100644 22 - --- a/src/bootctl/bootctl-install.c 23 - +++ b/src/bootctl/bootctl-install.c 24 - @@ -329,6 +329,9 @@ static int update_efi_boot_binaries(const char *esp_path, const char *source_pat 25 - _cleanup_free_ char *p = NULL; 26 - int r, ret = 0; 27 - 28 - + assert(esp_path); 29 - + assert(source_path); 30 - + 31 - r = chase_and_opendir("/EFI/BOOT", esp_path, CHASE_PREFIX_ROOT|CHASE_PROHIBIT_SYMLINKS, &p, &d); 32 - if (r == -ENOENT) 33 - return 0; 34 - @@ -354,19 +357,14 @@ static int update_efi_boot_binaries(const char *esp_path, const char *source_pat 35 - if (r == 0) 36 - continue; 37 - 38 - - r = get_file_version(fd, &v); 39 - - if (r == -ESRCH) 40 - - continue; /* No version information */ 41 - - if (r < 0) 42 - - return r; 43 - - if (!startswith(v, "systemd-boot ")) 44 - - continue; 45 - - 46 - _cleanup_free_ char *dest_path = path_join(p, de->d_name); 47 - if (!dest_path) 48 - return log_oom(); 49 - 50 - - RET_GATHER(ret, copy_file_with_version_check(source_path, dest_path, /* force = */ false)); 51 - + r = copy_file_with_version_check(source_path, dest_path, /* force = */ false); 52 - + if (IN_SET(r, -ESTALE, -ESRCH)) 53 - + continue; 54 - + RET_GATHER(ret, r); 55 - } 56 - 57 - return ret;
pkgs/os-specific/linux/systemd/0020-install-unit_file_exists_full-follow-symlinks.patch pkgs/os-specific/linux/systemd/0019-install-unit_file_exists_full-follow-symlinks.patch
pkgs/os-specific/linux/systemd/0021-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch pkgs/os-specific/linux/systemd/0020-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch
+20 -15
pkgs/os-specific/linux/systemd/default.nix
··· 63 63 libseccomp, 64 64 withKexectools ? lib.meta.availableOn stdenv.hostPlatform kexec-tools, 65 65 kexec-tools, 66 - bashInteractive, 67 66 bash, 67 + bashNonInteractive, 68 68 libmicrohttpd, 69 69 libfido2, 70 70 p11-kit, ··· 114 114 withHostnamed ? true, 115 115 withHwdb ? true, 116 116 withImportd ? !stdenv.hostPlatform.isMusl, 117 - withIptables ? true, 118 117 withKmod ? true, 119 118 withLibBPF ? 120 119 lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0" ··· 196 195 let 197 196 wantCurl = withRemote || withImportd; 198 197 199 - version = "257.7"; 198 + version = "257.8"; 200 199 201 200 # Use the command below to update `releaseTimestamp` on every (major) version 202 201 # change. More details in the commentary at mesonFlags. ··· 216 215 owner = "systemd"; 217 216 repo = "systemd"; 218 217 rev = "v${version}"; 219 - hash = "sha256-9OnjeMrfV5DSAoX/aetI4r/QLPYITUd2aOY0DYfkTzQ="; 218 + hash = "sha256-XQ+IyRar74qQij96CKClHXW0kkPnGeKUgA8ULiWh5YY="; 220 219 }; 221 220 222 221 # On major changes, or when otherwise required, you *must* : ··· 246 245 ./0016-systemctl-edit-suggest-systemdctl-edit-runtime-on-sy.patch 247 246 ./0017-meson.build-do-not-create-systemdstatedir.patch 248 247 249 - # https://github.com/systemd/systemd/issues/33392 250 - # https://github.com/systemd/systemd/pull/33400 251 - ./0018-bootctl-do-not-fail-when-the-same-file-is-updated-mu.patch 252 - 253 248 # systemd tries to link the systemd-ssh-proxy ssh config snippet with tmpfiles 254 249 # if the install prefix is not /usr, but that does not work for us 255 250 # because we include the config snippet manually 256 - ./0019-meson-Don-t-link-ssh-dropins.patch 251 + ./0018-meson-Don-t-link-ssh-dropins.patch 257 252 258 - ./0020-install-unit_file_exists_full-follow-symlinks.patch 253 + ./0019-install-unit_file_exists_full-follow-symlinks.patch 259 254 ] 260 255 ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isGnu) [ 261 - ./0021-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch 256 + ./0020-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch 262 257 ] 263 258 ++ lib.optionals (stdenv.hostPlatform.isPower64) [ 264 259 # Auto-detect ELF ABI instead of hardcoding ELFv2 for BPF build ··· 401 396 (if withPam then libcap else libcap.override { usePam = false; }) 402 397 libuuid 403 398 linuxHeaders 404 - bashInteractive # for patch shebangs 405 399 ] 406 400 407 401 ++ lib.optionals withGcrypt [ ··· 427 421 ++ lib.optional withKmod kmod 428 422 ++ lib.optional withLibidn2 libidn2 429 423 ++ lib.optional withLibseccomp libseccomp 430 - ++ lib.optional withIptables iptables 431 424 ++ lib.optional withPam pam 432 425 ++ lib.optional withPCRE2 pcre2 433 426 ++ lib.optional withSelinux libselinux ··· 466 459 (lib.mesonOption "version-tag" version) 467 460 (lib.mesonOption "mode" "release") 468 461 (lib.mesonOption "tty-gid" "3") # tty in NixOS has gid 3 469 - (lib.mesonOption "debug-shell" "${bashInteractive}/bin/bash") 470 462 (lib.mesonOption "pamconfdir" "${placeholder "out"}/etc/pam.d") 471 463 (lib.mesonOption "shellprofiledir" "${placeholder "out"}/etc/profile.d") 472 464 (lib.mesonOption "kmod-path" "${kmod}/bin/kmod") 465 + 466 + # /bin/sh is also the upstream default. Explicitly set this so that we're 467 + # independent of upstream changes to the default. 468 + (lib.mesonOption "debug-shell" "/bin/sh") 473 469 474 470 # Attempts to check /usr/sbin and that fails in macOS sandbox because 475 471 # permission is denied. If /usr/sbin is not a symlink, it defaults to true. ··· 517 513 (lib.mesonOption "sshconfdir" "") 518 514 (lib.mesonOption "sshdconfdir" "no") 519 515 516 + # RPM 517 + # This stops building/installing RPM specific tools. 518 + (lib.mesonOption "rpmmacrosdir" "no") 519 + 520 520 # Features 521 521 522 522 # Tests ··· 566 566 (lib.mesonEnable "libcurl" wantCurl) 567 567 (lib.mesonEnable "libidn" false) 568 568 (lib.mesonEnable "libidn2" withLibidn2) 569 - (lib.mesonEnable "libiptc" withIptables) 569 + (lib.mesonEnable "libiptc" false) 570 570 (lib.mesonEnable "repart" withRepart) 571 571 (lib.mesonEnable "sysupdate" withSysupdate) 572 572 (lib.mesonEnable "sysupdated" withSysupdate) ··· 904 904 builtins.map (p: p.__spliced.buildHost or p) finalAttrs.nativeBuildInputs 905 905 ) 906 906 ); 907 + 908 + disallowedRequisites = lib.optionals (!withUkify) [ 909 + bash 910 + bashNonInteractive 911 + ]; 907 912 908 913 passthru = { 909 914 # The `interfaceVersion` attribute below points out the incompatibilities
+84 -78
pkgs/servers/sql/postgresql/generic.nix
··· 99 99 gettext, 100 100 101 101 # NUMA 102 - numaSupport ? 103 - lib.versionAtLeast version "18" 104 - && lib.meta.availableOn stdenv.hostPlatform numactl 105 - # NUMA can fail in 18beta2 on some hardware with: 106 - # ERROR: invalid NUMA node id outside of allowed range [0, 0]: 1 107 - # https://github.com/NixOS/nixpkgs/pull/411958#issuecomment-3031680123 108 - # https://www.postgresql.org/message-id/flat/E1u1tr8-003BbN-2E%40gemulon.postgresql.org 109 - && version != "18beta2", 102 + numaSupport ? lib.versionAtLeast version "18" && lib.meta.availableOn stdenv.hostPlatform numactl, 110 103 numactl, 111 104 112 105 # PAM ··· 433 426 substituteInPlace "src/common/config_info.c" --subst-var dev 434 427 cat ${./pg_config.env.mk} >> src/common/Makefile 435 428 '' 429 + # This test always fails on hardware with >1 NUMA node: the sysfs 430 + # dirs providing information about the topology are hidden in the sandbox, 431 + # so postgres assumes there's only a single node `0`. However, 432 + # the test checks on which NUMA nodes the allocated pages are which is >1 433 + # on such hardware. This in turn triggers a safeguard in the view 434 + # which breaks the test. 435 + # Manual tests confirm that the testcase behaves properly outside of the 436 + # Nix sandbox. 437 + + lib.optionalString (atLeast "18") '' 438 + substituteInPlace src/test/regress/parallel_schedule \ 439 + --replace-fail numa "" 440 + '' 436 441 # This check was introduced upstream to prevent calls to "exit" inside libpq. 437 442 # However, this doesn't work reliably with static linking, see this and following: 438 443 # https://postgr.es/m/flat/20210703001639.GB2374652%40rfd.leadboat.com#52584ca4bd3cb9dac376f3158c419f97 ··· 456 461 "$out/bin/pg_config" > "$dev/nix-support/pg_config.expected" 457 462 '' 458 463 + '' 459 - rm "$out/bin/pg_config" 460 - make -C src/common pg_config.env 461 - install -D src/common/pg_config.env "$dev/nix-support/pg_config.env" 464 + rm "$out/bin/pg_config" 465 + make -C src/common pg_config.env 466 + substituteInPlace src/common/pg_config.env \ 467 + --replace-fail "$out" "@out@" \ 468 + --replace-fail "$man" "@man@" 469 + install -D src/common/pg_config.env "$dev/nix-support/pg_config.env" 462 470 463 471 # postgres exposes external symbols get_pkginclude_path and similar. Those 464 472 # can't be stripped away by --gc-sections/LTO, because they could theoretically ··· 585 593 postgresql = this; 586 594 }; 587 595 588 - pg_config = buildPackages.callPackage ./pg_config.nix { inherit (finalAttrs) finalPackage; }; 596 + pg_config = buildPackages.callPackage ./pg_config.nix { 597 + inherit (finalAttrs) finalPackage; 598 + outputs = { 599 + out = lib.getOutput "out" finalAttrs.finalPackage; 600 + man = lib.getOutput "man" finalAttrs.finalPackage; 601 + }; 602 + }; 589 603 590 604 tests = { 591 605 postgresql = nixosTests.postgresql.postgresql.passthru.override finalAttrs.finalPackage; ··· 639 653 f: 640 654 let 641 655 installedExtensions = f postgresql.pkgs; 642 - finalPackage = 643 - (buildEnv { 644 - name = "${postgresql.pname}-and-plugins-${postgresql.version}"; 645 - paths = installedExtensions ++ [ 646 - # consider keeping in-sync with `postBuild` below 647 - postgresql 648 - postgresql.man # in case user installs this into environment 649 - ]; 656 + finalPackage = buildEnv { 657 + name = "${postgresql.pname}-and-plugins-${postgresql.version}"; 658 + paths = installedExtensions ++ [ 659 + # consider keeping in-sync with `postBuild` below 660 + postgresql 661 + postgresql.man # in case user installs this into environment 662 + ]; 663 + 664 + pathsToLink = [ 665 + "/" 666 + "/bin" 667 + "/share/postgresql/extension" 668 + # Unbreaks Omnigres' build system 669 + "/share/postgresql/timezonesets" 670 + "/share/postgresql/tsearch_data" 671 + ]; 650 672 651 - pathsToLink = [ 652 - "/" 653 - "/bin" 654 - "/share/postgresql/extension" 655 - # Unbreaks Omnigres' build system 656 - "/share/postgresql/timezonesets" 657 - "/share/postgresql/tsearch_data" 658 - ]; 673 + nativeBuildInputs = [ makeBinaryWrapper ]; 674 + postBuild = 675 + let 676 + args = lib.concatMap (ext: ext.wrapperArgs or [ ]) installedExtensions; 677 + in 678 + '' 679 + wrapProgram "$out/bin/postgres" ${lib.concatStringsSep " " args} 680 + ''; 659 681 660 - nativeBuildInputs = [ makeBinaryWrapper ]; 661 - postBuild = 662 - let 663 - args = lib.concatMap (ext: ext.wrapperArgs or [ ]) installedExtensions; 664 - in 665 - '' 666 - wrapProgram "$out/bin/postgres" ${lib.concatStringsSep " " args} 682 + passthru = { 683 + inherit installedExtensions; 684 + inherit (postgresql) 685 + pkgs 686 + psqlSchema 687 + version 688 + ; 667 689 668 - mkdir -p "$dev/nix-support" 669 - substitute "${lib.getDev postgresql}/nix-support/pg_config.env" "$dev/nix-support/pg_config.env" \ 670 - --replace-fail "${postgresql}" "$out" \ 671 - --replace-fail "${postgresql.man}" "$out" 672 - ''; 690 + pg_config = postgresql.pg_config.override { 691 + outputs = { 692 + out = finalPackage; 693 + man = finalPackage; 694 + }; 695 + }; 673 696 674 - passthru = { 675 - inherit installedExtensions; 676 - inherit (postgresql) 677 - pkgs 678 - psqlSchema 679 - version 697 + withJIT = postgresqlWithPackages { 698 + inherit 699 + buildEnv 700 + lib 701 + makeBinaryWrapper 702 + postgresql 680 703 ; 681 - 682 - pg_config = postgresql.pg_config.override { inherit finalPackage; }; 704 + } (_: installedExtensions ++ [ postgresql.jit ]); 705 + withoutJIT = postgresqlWithPackages { 706 + inherit 707 + buildEnv 708 + lib 709 + makeBinaryWrapper 710 + postgresql 711 + ; 712 + } (_: lib.remove postgresql.jit installedExtensions); 683 713 684 - withJIT = postgresqlWithPackages { 714 + withPackages = 715 + f': 716 + postgresqlWithPackages { 685 717 inherit 686 718 buildEnv 687 719 lib 688 720 makeBinaryWrapper 689 721 postgresql 690 722 ; 691 - } (_: installedExtensions ++ [ postgresql.jit ]); 692 - withoutJIT = postgresqlWithPackages { 693 - inherit 694 - buildEnv 695 - lib 696 - makeBinaryWrapper 697 - postgresql 698 - ; 699 - } (_: lib.remove postgresql.jit installedExtensions); 700 - 701 - withPackages = 702 - f': 703 - postgresqlWithPackages { 704 - inherit 705 - buildEnv 706 - lib 707 - makeBinaryWrapper 708 - postgresql 709 - ; 710 - } (ps: installedExtensions ++ f' ps); 711 - }; 712 - }).overrideAttrs 713 - { 714 - # buildEnv doesn't support passing `outputs`, so going via overrideAttrs. 715 - outputs = [ 716 - "out" 717 - "dev" 718 - ]; 719 - }; 723 + } (ps: installedExtensions ++ f' ps); 724 + }; 725 + }; 720 726 in 721 727 finalPackage; 722 728
+9 -3
pkgs/servers/sql/postgresql/libpq.nix
··· 31 31 32 32 stdenv.mkDerivation (finalAttrs: { 33 33 pname = "libpq"; 34 - version = "17.5"; 34 + version = "17.6"; 35 35 36 36 src = fetchFromGitHub { 37 37 owner = "postgres"; 38 38 repo = "postgres"; 39 39 # rev, not tag, on purpose: see generic.nix. 40 - rev = "refs/tags/REL_17_5"; 41 - hash = "sha256-jWV7hglu7IPMZbqHrZVZHLbZYjVuDeut7nH50aSQIBc="; 40 + rev = "refs/tags/REL_17_6"; 41 + hash = "sha256-/7C+bjmiJ0/CvoAc8vzTC50vP7OsrM6o0w+lmmHvKvU="; 42 42 }; 43 43 44 44 __structuredAttrs = true; ··· 128 128 make -C src/interfaces/libpq install 129 129 make -C src/port install 130 130 131 + substituteInPlace src/common/pg_config.env \ 132 + --replace-fail "$out" "@out@" 133 + 131 134 install -D src/common/pg_config.env "$dev/nix-support/pg_config.env" 132 135 moveToOutput "lib/*.a" "$dev" 133 136 ··· 151 154 152 155 passthru.pg_config = buildPackages.callPackage ./pg_config.nix { 153 156 inherit (finalAttrs) finalPackage; 157 + outputs = { 158 + out = lib.getOutput "out" finalAttrs.finalPackage; 159 + }; 154 160 }; 155 161 156 162 meta = {
+9 -2
pkgs/servers/sql/postgresql/pg_config.nix
··· 6 6 stdenv, 7 7 # PostgreSQL package 8 8 finalPackage, 9 + # PostgreSQL package's outputs 10 + outputs, 9 11 }: 10 12 11 13 replaceVarsWith { ··· 15 17 isExecutable = true; 16 18 replacements = { 17 19 inherit runtimeShell; 18 - postgresql-dev = lib.getDev finalPackage; 20 + "pg_config.env" = replaceVarsWith { 21 + name = "pg_config.env"; 22 + src = "${lib.getDev finalPackage}/nix-support/pg_config.env"; 23 + replacements = outputs; 24 + }; 19 25 }; 20 26 nativeCheckInputs = [ 21 27 diffutils 22 28 ]; 23 - postCheck = '' 29 + # The expected output only matches when outputs have *not* been altered by postgresql.withPackages. 30 + postCheck = lib.optionalString (outputs.out == lib.getOutput "out" finalPackage) '' 24 31 if [ -e ${lib.getDev finalPackage}/nix-support/pg_config.expected ]; then 25 32 diff ${lib.getDev finalPackage}/nix-support/pg_config.expected <($out/bin/pg_config) 26 33 fi
+1 -1
pkgs/servers/sql/postgresql/pg_config.sh
··· 13 13 # https://github.com/postgres/postgres/blob/7510ac6203bc8e3c56eae95466feaeebfc1b4f31/src/bin/pg_config/pg_config.sh 14 14 # https://github.com/postgres/postgres/blob/master/src/bin/pg_config/pg_config.c 15 15 16 - source @postgresql-dev@/nix-support/pg_config.env 16 + source @pg_config.env@ 17 17 18 18 help=" 19 19 pg_config provides information about the installed version of PostgreSQL.
+116 -2250
pkgs/servers/x11/xorg/default.nix
··· 2 2 { 3 3 lib, 4 4 bdftopcf, 5 + font-adobe-100dpi, 6 + font-adobe-75dpi, 7 + font-adobe-utopia-100dpi, 8 + font-adobe-utopia-75dpi, 9 + font-adobe-utopia-type1, 5 10 font-alias, 11 + font-bh-ttf, 12 + font-bh-type1, 13 + font-encodings, 14 + font-mutt-misc, 6 15 font-util, 7 16 gccmakedep, 17 + ico, 8 18 imake, 19 + libapplewm, 20 + libdmx, 21 + libfontenc, 22 + libfs, 23 + libice, 9 24 libpciaccess, 10 25 libpthread-stubs, 26 + libsm, 11 27 libx11, 12 28 libxau, 29 + libxaw, 13 30 libxcb, 31 + libxcb-errors, 32 + libxcb-image, 33 + libxcb-keysyms, 34 + libxcb-render-util, 35 + libxcb-util, 36 + libxcb-wm, 14 37 libxcvt, 38 + libxcursor, 15 39 libxdmcp, 16 40 libxext, 41 + libxfixes, 42 + libxmu, 43 + libxpm, 44 + libxrandr, 45 + libxrender, 46 + libxt, 47 + libxv, 48 + libxvmc, 49 + libxxf86dga, 50 + libxxf86misc, 51 + libxxf86vm, 17 52 lndir, 18 53 luit, 19 54 makedepend, 55 + mkfontscale, 20 56 pixman, 21 57 sessreg, 58 + transset, 22 59 util-macros, 23 60 xbitmaps, 24 61 xcb-proto, 62 + xcmsdb, 63 + xcursorgen, 64 + xcursor-themes, 65 + xdriinfo, 66 + xev, 67 + xfsinfo, 68 + xgamma, 69 + xgc, 70 + xhost, 71 + xkbutils, 25 72 xkeyboard-config, 73 + xkill, 74 + xlsatoms, 75 + xlsclients, 76 + xlsfonts, 77 + xmodmap, 26 78 xorg-cf-files, 27 79 xorg-docs, 28 80 xorgproto, 29 81 xorg-sgml-doctools, 82 + xprop, 83 + xrandr, 84 + xrefresh, 30 85 xtrans, 86 + xvinfo, 87 + xwininfo, 88 + xwud, 31 89 }: 32 90 33 91 self: with self; { ··· 35 93 inherit 36 94 bdftopcf 37 95 gccmakedep 96 + ico 38 97 imake 98 + libdmx 99 + libfontenc 39 100 libpciaccess 40 101 libxcb 41 102 libxcvt 42 103 lndir 43 104 luit 44 105 makedepend 106 + mkfontscale 45 107 pixman 46 108 sessreg 109 + transset 47 110 xbitmaps 111 + xcmsdb 112 + xcursorgen 113 + xdriinfo 114 + xev 115 + xfsinfo 116 + xgamma 117 + xgc 118 + xhost 119 + xkbutils 120 + xkill 121 + xlsatoms 122 + xlsclients 123 + xlsfonts 124 + xmodmap 48 125 xorgproto 126 + xprop 127 + xrandr 128 + xrefresh 49 129 xtrans 130 + xvinfo 131 + xwininfo 132 + xwud 50 133 ; 134 + encodings = font-encodings; 135 + fontadobe100dpi = font-adobe-100dpi; 136 + fontadobe75dpi = font-adobe-75dpi; 137 + fontadobeutopia100dpi = font-adobe-utopia-100dpi; 138 + fontadobeutopia75dpi = font-adobe-utopia-75dpi; 139 + fontadobeutopiatype1 = font-adobe-utopia-type1; 51 140 fontalias = font-alias; 141 + fontbhttf = font-bh-ttf; 142 + fontbhtype1 = font-bh-type1; 143 + fontmuttmisc = font-mutt-misc; 52 144 fontutil = font-util; 145 + libAppleWM = libapplewm; 146 + libFS = libfs; 147 + libICE = libice; 53 148 libpthreadstubs = libpthread-stubs; 149 + libSM = libsm; 54 150 libX11 = libx11; 55 151 libXau = libxau; 152 + libXaw = libxaw; 153 + libXcursor = libxcursor; 56 154 libXdmcp = libxdmcp; 57 155 libXext = libxext; 156 + libXfixes = libxfixes; 157 + libXmu = libxmu; 158 + libXpm = libxpm; 159 + libXrandr = libxrandr; 160 + libXrender = libxrender; 161 + libXt = libxt; 162 + libXv = libxv; 163 + libXvMC = libxvmc; 164 + libXxf86dga = libxxf86dga; 165 + libXxf86misc = libxxf86misc; 166 + libXxf86vm = libxxf86vm; 58 167 utilmacros = util-macros; 59 168 xcbproto = xcb-proto; 169 + xcbutilerrors = libxcb-errors; 170 + xcbutilimage = libxcb-image; 171 + xcbutilkeysyms = libxcb-keysyms; 172 + xcbutil = libxcb-util; 173 + xcbutilrenderutil = libxcb-render-util; 174 + xcbutilwm = libxcb-wm; 60 175 xkeyboardconfig = xkeyboard-config; 176 + xcursorthemes = xcursor-themes; 61 177 xorgcffiles = xorg-cf-files; 62 178 xorgdocs = xorg-docs; 63 179 xorgsgmldoctools = xorg-sgml-doctools; ··· 197 313 ) { }; 198 314 199 315 # THIS IS A GENERATED FILE. DO NOT EDIT! 200 - encodings = callPackage ( 201 - { 202 - stdenv, 203 - pkg-config, 204 - fetchurl, 205 - mkfontscale, 206 - testers, 207 - }: 208 - stdenv.mkDerivation (finalAttrs: { 209 - pname = "encodings"; 210 - version = "1.1.0"; 211 - builder = ./builder.sh; 212 - src = fetchurl { 213 - url = "mirror://xorg/individual/font/encodings-1.1.0.tar.xz"; 214 - sha256 = "0xg99nmpvik6vaz4h03xay7rx0r3bf5a8azkjlpa3ksn2xi3rwcz"; 215 - }; 216 - hardeningDisable = [ 217 - "bindnow" 218 - "relro" 219 - ]; 220 - strictDeps = true; 221 - nativeBuildInputs = [ 222 - pkg-config 223 - mkfontscale 224 - ]; 225 - buildInputs = [ ]; 226 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 227 - meta = { 228 - pkgConfigModules = [ ]; 229 - platforms = lib.platforms.unix; 230 - }; 231 - }) 232 - ) { }; 233 - 234 - # THIS IS A GENERATED FILE. DO NOT EDIT! 235 - fontadobe100dpi = callPackage ( 236 - { 237 - stdenv, 238 - pkg-config, 239 - fetchurl, 240 - fontutil, 241 - bdftopcf, 242 - mkfontscale, 243 - testers, 244 - }: 245 - stdenv.mkDerivation (finalAttrs: { 246 - pname = "font-adobe-100dpi"; 247 - version = "1.0.4"; 248 - builder = ./builder.sh; 249 - src = fetchurl { 250 - url = "mirror://xorg/individual/font/font-adobe-100dpi-1.0.4.tar.xz"; 251 - sha256 = "1kwwbaiqnfm3pcysy9gw0g9xhpgmhjcd6clp7zajhqq5br2gyymn"; 252 - }; 253 - hardeningDisable = [ 254 - "bindnow" 255 - "relro" 256 - ]; 257 - strictDeps = true; 258 - nativeBuildInputs = [ 259 - pkg-config 260 - bdftopcf 261 - fontutil 262 - mkfontscale 263 - ]; 264 - buildInputs = [ fontutil ]; 265 - configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 266 - postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 267 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 268 - meta = { 269 - pkgConfigModules = [ ]; 270 - platforms = lib.platforms.unix; 271 - }; 272 - }) 273 - ) { }; 274 - 275 - # THIS IS A GENERATED FILE. DO NOT EDIT! 276 - fontadobe75dpi = callPackage ( 277 - { 278 - stdenv, 279 - pkg-config, 280 - fetchurl, 281 - fontutil, 282 - bdftopcf, 283 - mkfontscale, 284 - testers, 285 - }: 286 - stdenv.mkDerivation (finalAttrs: { 287 - pname = "font-adobe-75dpi"; 288 - version = "1.0.4"; 289 - builder = ./builder.sh; 290 - src = fetchurl { 291 - url = "mirror://xorg/individual/font/font-adobe-75dpi-1.0.4.tar.xz"; 292 - sha256 = "04drk4wi176524lxjwfrnkr3dwz1hysabqfajpj6klfypqnsd08j"; 293 - }; 294 - hardeningDisable = [ 295 - "bindnow" 296 - "relro" 297 - ]; 298 - strictDeps = true; 299 - nativeBuildInputs = [ 300 - pkg-config 301 - bdftopcf 302 - fontutil 303 - mkfontscale 304 - ]; 305 - buildInputs = [ fontutil ]; 306 - configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 307 - postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 308 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 309 - meta = { 310 - pkgConfigModules = [ ]; 311 - platforms = lib.platforms.unix; 312 - }; 313 - }) 314 - ) { }; 315 - 316 - # THIS IS A GENERATED FILE. DO NOT EDIT! 317 - fontadobeutopia100dpi = callPackage ( 318 - { 319 - stdenv, 320 - pkg-config, 321 - fetchurl, 322 - fontutil, 323 - bdftopcf, 324 - mkfontscale, 325 - testers, 326 - }: 327 - stdenv.mkDerivation (finalAttrs: { 328 - pname = "font-adobe-utopia-100dpi"; 329 - version = "1.0.5"; 330 - builder = ./builder.sh; 331 - src = fetchurl { 332 - url = "mirror://xorg/individual/font/font-adobe-utopia-100dpi-1.0.5.tar.xz"; 333 - sha256 = "0jq27gs5xpwkghggply5pr215lmamrnpr6x5iia76schg8lyr17v"; 334 - }; 335 - hardeningDisable = [ 336 - "bindnow" 337 - "relro" 338 - ]; 339 - strictDeps = true; 340 - nativeBuildInputs = [ 341 - pkg-config 342 - bdftopcf 343 - fontutil 344 - mkfontscale 345 - ]; 346 - buildInputs = [ fontutil ]; 347 - configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 348 - postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 349 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 350 - meta = { 351 - pkgConfigModules = [ ]; 352 - platforms = lib.platforms.unix; 353 - }; 354 - }) 355 - ) { }; 356 - 357 - # THIS IS A GENERATED FILE. DO NOT EDIT! 358 - fontadobeutopia75dpi = callPackage ( 359 - { 360 - stdenv, 361 - pkg-config, 362 - fetchurl, 363 - fontutil, 364 - bdftopcf, 365 - mkfontscale, 366 - testers, 367 - }: 368 - stdenv.mkDerivation (finalAttrs: { 369 - pname = "font-adobe-utopia-75dpi"; 370 - version = "1.0.5"; 371 - builder = ./builder.sh; 372 - src = fetchurl { 373 - url = "mirror://xorg/individual/font/font-adobe-utopia-75dpi-1.0.5.tar.xz"; 374 - sha256 = "0q3pg4imdbwwiq2g8a1rypjrgmb33n0r5j9qqnh4ywnh69cj89m7"; 375 - }; 376 - hardeningDisable = [ 377 - "bindnow" 378 - "relro" 379 - ]; 380 - strictDeps = true; 381 - nativeBuildInputs = [ 382 - pkg-config 383 - bdftopcf 384 - fontutil 385 - mkfontscale 386 - ]; 387 - buildInputs = [ fontutil ]; 388 - configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 389 - postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 390 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 391 - meta = { 392 - pkgConfigModules = [ ]; 393 - platforms = lib.platforms.unix; 394 - }; 395 - }) 396 - ) { }; 397 - 398 - # THIS IS A GENERATED FILE. DO NOT EDIT! 399 - fontadobeutopiatype1 = callPackage ( 400 - { 401 - stdenv, 402 - pkg-config, 403 - fetchurl, 404 - fontutil, 405 - mkfontscale, 406 - testers, 407 - }: 408 - stdenv.mkDerivation (finalAttrs: { 409 - pname = "font-adobe-utopia-type1"; 410 - version = "1.0.5"; 411 - builder = ./builder.sh; 412 - src = fetchurl { 413 - url = "mirror://xorg/individual/font/font-adobe-utopia-type1-1.0.5.tar.xz"; 414 - sha256 = "15snyyy3rk75fikz1hs80nybxai1aynybl0gw32hffv98yy81cjc"; 415 - }; 416 - hardeningDisable = [ 417 - "bindnow" 418 - "relro" 419 - ]; 420 - strictDeps = true; 421 - nativeBuildInputs = [ 422 - pkg-config 423 - mkfontscale 424 - ]; 425 - buildInputs = [ fontutil ]; 426 - configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 427 - postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 428 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 429 - meta = { 430 - pkgConfigModules = [ ]; 431 - platforms = lib.platforms.unix; 432 - }; 433 - }) 434 - ) { }; 435 - 436 - # THIS IS A GENERATED FILE. DO NOT EDIT! 437 316 fontarabicmisc = callPackage ( 438 317 { 439 318 stdenv, ··· 624 503 pkg-config 625 504 bdftopcf 626 505 fontutil 627 - mkfontscale 628 - ]; 629 - buildInputs = [ fontutil ]; 630 - configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 631 - postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 632 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 633 - meta = { 634 - pkgConfigModules = [ ]; 635 - platforms = lib.platforms.unix; 636 - }; 637 - }) 638 - ) { }; 639 - 640 - # THIS IS A GENERATED FILE. DO NOT EDIT! 641 - fontbhttf = callPackage ( 642 - { 643 - stdenv, 644 - pkg-config, 645 - fetchurl, 646 - fontutil, 647 - mkfontscale, 648 - testers, 649 - }: 650 - stdenv.mkDerivation (finalAttrs: { 651 - pname = "font-bh-ttf"; 652 - version = "1.0.4"; 653 - builder = ./builder.sh; 654 - src = fetchurl { 655 - url = "mirror://xorg/individual/font/font-bh-ttf-1.0.4.tar.xz"; 656 - sha256 = "0misxkpjc2bir20m01z355sfk3lbpjnshphjzl32p364006zk9c5"; 657 - }; 658 - hardeningDisable = [ 659 - "bindnow" 660 - "relro" 661 - ]; 662 - strictDeps = true; 663 - nativeBuildInputs = [ 664 - pkg-config 665 - mkfontscale 666 - ]; 667 - buildInputs = [ fontutil ]; 668 - configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 669 - postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 670 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 671 - meta = { 672 - pkgConfigModules = [ ]; 673 - platforms = lib.platforms.unix; 674 - }; 675 - }) 676 - ) { }; 677 - 678 - # THIS IS A GENERATED FILE. DO NOT EDIT! 679 - fontbhtype1 = callPackage ( 680 - { 681 - stdenv, 682 - pkg-config, 683 - fetchurl, 684 - fontutil, 685 - mkfontscale, 686 - testers, 687 - }: 688 - stdenv.mkDerivation (finalAttrs: { 689 - pname = "font-bh-type1"; 690 - version = "1.0.4"; 691 - builder = ./builder.sh; 692 - src = fetchurl { 693 - url = "mirror://xorg/individual/font/font-bh-type1-1.0.4.tar.xz"; 694 - sha256 = "19kjdm0cx766yj9vwkyv7gyg1q4bjag5g500s7nnppmb0vnc7phr"; 695 - }; 696 - hardeningDisable = [ 697 - "bindnow" 698 - "relro" 699 - ]; 700 - strictDeps = true; 701 - nativeBuildInputs = [ 702 - pkg-config 703 506 mkfontscale 704 507 ]; 705 508 buildInputs = [ fontutil ]; ··· 1345 1148 ) { }; 1346 1149 1347 1150 # THIS IS A GENERATED FILE. DO NOT EDIT! 1348 - fontmuttmisc = callPackage ( 1349 - { 1350 - stdenv, 1351 - pkg-config, 1352 - fetchurl, 1353 - fontutil, 1354 - bdftopcf, 1355 - mkfontscale, 1356 - testers, 1357 - }: 1358 - stdenv.mkDerivation (finalAttrs: { 1359 - pname = "font-mutt-misc"; 1360 - version = "1.0.4"; 1361 - builder = ./builder.sh; 1362 - src = fetchurl { 1363 - url = "mirror://xorg/individual/font/font-mutt-misc-1.0.4.tar.xz"; 1364 - sha256 = "095vd33kqd157j6xi4sjxwdsjpwpgqliifa8nkybq8rcw7s5j8xi"; 1365 - }; 1366 - hardeningDisable = [ 1367 - "bindnow" 1368 - "relro" 1369 - ]; 1370 - strictDeps = true; 1371 - nativeBuildInputs = [ 1372 - pkg-config 1373 - bdftopcf 1374 - mkfontscale 1375 - ]; 1376 - buildInputs = [ fontutil ]; 1377 - configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 1378 - postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 1379 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 1380 - meta = { 1381 - pkgConfigModules = [ ]; 1382 - platforms = lib.platforms.unix; 1383 - }; 1384 - }) 1385 - ) { }; 1386 - 1387 - # THIS IS A GENERATED FILE. DO NOT EDIT! 1388 1151 fontschumachermisc = callPackage ( 1389 1152 { 1390 1153 stdenv, ··· 1698 1461 ) { }; 1699 1462 1700 1463 # THIS IS A GENERATED FILE. DO NOT EDIT! 1701 - ico = callPackage ( 1702 - { 1703 - stdenv, 1704 - pkg-config, 1705 - fetchurl, 1706 - libX11, 1707 - xorgproto, 1708 - testers, 1709 - }: 1710 - stdenv.mkDerivation (finalAttrs: { 1711 - pname = "ico"; 1712 - version = "1.0.6"; 1713 - builder = ./builder.sh; 1714 - src = fetchurl { 1715 - url = "mirror://xorg/individual/app/ico-1.0.6.tar.xz"; 1716 - sha256 = "01a4kykayckxzi4jzggaz3wh9qjcr6f4iykhvq7jhlz767a6kwrq"; 1717 - }; 1718 - hardeningDisable = [ 1719 - "bindnow" 1720 - "relro" 1721 - ]; 1722 - strictDeps = true; 1723 - nativeBuildInputs = [ pkg-config ]; 1724 - buildInputs = [ 1725 - libX11 1726 - xorgproto 1727 - ]; 1728 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 1729 - meta = { 1730 - pkgConfigModules = [ ]; 1731 - platforms = lib.platforms.unix; 1732 - }; 1733 - }) 1734 - ) { }; 1735 - 1736 - # THIS IS A GENERATED FILE. DO NOT EDIT! 1737 - libAppleWM = callPackage ( 1738 - { 1739 - stdenv, 1740 - pkg-config, 1741 - fetchurl, 1742 - xorgproto, 1743 - libX11, 1744 - libXext, 1745 - testers, 1746 - }: 1747 - stdenv.mkDerivation (finalAttrs: { 1748 - pname = "libAppleWM"; 1749 - version = "be972ebc3a97292e7d2b2350eff55ae12df99a42"; 1750 - builder = ./builder.sh; 1751 - src = fetchurl { 1752 - url = "https://gitlab.freedesktop.org/xorg/lib/libAppleWM/-/archive/be972ebc3a97292e7d2b2350eff55ae12df99a42/libAppleWM-be972ebc3a97292e7d2b2350eff55ae12df99a42.tar.bz2"; 1753 - sha256 = "1hrq03pahmrbb05r6a7j7m1nxl65wlfi6d2lwm1kvra63q91f9ph"; 1754 - }; 1755 - hardeningDisable = [ 1756 - "bindnow" 1757 - "relro" 1758 - ]; 1759 - strictDeps = true; 1760 - nativeBuildInputs = [ pkg-config ]; 1761 - buildInputs = [ 1762 - xorgproto 1763 - libX11 1764 - libXext 1765 - ]; 1766 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 1767 - meta = { 1768 - pkgConfigModules = [ "applewm" ]; 1769 - platforms = lib.platforms.unix; 1770 - }; 1771 - }) 1772 - ) { }; 1773 - 1774 - # THIS IS A GENERATED FILE. DO NOT EDIT! 1775 - libFS = callPackage ( 1776 - { 1777 - stdenv, 1778 - pkg-config, 1779 - fetchurl, 1780 - xorgproto, 1781 - xtrans, 1782 - testers, 1783 - }: 1784 - stdenv.mkDerivation (finalAttrs: { 1785 - pname = "libFS"; 1786 - version = "1.0.10"; 1787 - builder = ./builder.sh; 1788 - src = fetchurl { 1789 - url = "mirror://xorg/individual/lib/libFS-1.0.10.tar.xz"; 1790 - sha256 = "0xrv9x5v6km7ib3d5k9xr704xkhfvigh8i507mb9i706hqybvawv"; 1791 - }; 1792 - hardeningDisable = [ 1793 - "bindnow" 1794 - "relro" 1795 - ]; 1796 - strictDeps = true; 1797 - nativeBuildInputs = [ pkg-config ]; 1798 - buildInputs = [ 1799 - xorgproto 1800 - xtrans 1801 - ]; 1802 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 1803 - meta = { 1804 - pkgConfigModules = [ "libfs" ]; 1805 - platforms = lib.platforms.unix; 1806 - }; 1807 - }) 1808 - ) { }; 1809 - 1810 - # THIS IS A GENERATED FILE. DO NOT EDIT! 1811 - libICE = callPackage ( 1812 - { 1813 - stdenv, 1814 - pkg-config, 1815 - fetchurl, 1816 - xorgproto, 1817 - xtrans, 1818 - testers, 1819 - }: 1820 - stdenv.mkDerivation (finalAttrs: { 1821 - pname = "libICE"; 1822 - version = "1.1.2"; 1823 - builder = ./builder.sh; 1824 - src = fetchurl { 1825 - url = "mirror://xorg/individual/lib/libICE-1.1.2.tar.xz"; 1826 - sha256 = "09c656nqkz3dpik012d2cwmd5a2dkxqgjpcq2v3v6pi22ka4wklp"; 1827 - }; 1828 - hardeningDisable = [ 1829 - "bindnow" 1830 - "relro" 1831 - ]; 1832 - strictDeps = true; 1833 - nativeBuildInputs = [ pkg-config ]; 1834 - buildInputs = [ 1835 - xorgproto 1836 - xtrans 1837 - ]; 1838 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 1839 - meta = { 1840 - pkgConfigModules = [ "ice" ]; 1841 - platforms = lib.platforms.unix; 1842 - }; 1843 - }) 1844 - ) { }; 1845 - 1846 - # THIS IS A GENERATED FILE. DO NOT EDIT! 1847 - libSM = callPackage ( 1848 - { 1849 - stdenv, 1850 - pkg-config, 1851 - fetchurl, 1852 - libICE, 1853 - libuuid, 1854 - xorgproto, 1855 - testers, 1856 - }: 1857 - stdenv.mkDerivation (finalAttrs: { 1858 - pname = "libSM"; 1859 - version = "1.2.6"; 1860 - builder = ./builder.sh; 1861 - src = fetchurl { 1862 - url = "mirror://xorg/individual/lib/libSM-1.2.6.tar.xz"; 1863 - sha256 = "1gimv11iwzd9gqg345dd8x09szw75v4c2wr5qsdd5gswn6yhlz5y"; 1864 - }; 1865 - hardeningDisable = [ 1866 - "bindnow" 1867 - "relro" 1868 - ]; 1869 - strictDeps = true; 1870 - nativeBuildInputs = [ pkg-config ]; 1871 - buildInputs = [ 1872 - libICE 1873 - libuuid 1874 - xorgproto 1875 - ]; 1876 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 1877 - meta = { 1878 - pkgConfigModules = [ "sm" ]; 1879 - platforms = lib.platforms.unix; 1880 - }; 1881 - }) 1882 - ) { }; 1883 - 1884 - # THIS IS A GENERATED FILE. DO NOT EDIT! 1885 1464 libWindowsWM = callPackage ( 1886 1465 { 1887 1466 stdenv, ··· 1998 1577 ) { }; 1999 1578 2000 1579 # THIS IS A GENERATED FILE. DO NOT EDIT! 2001 - libXaw = callPackage ( 2002 - { 2003 - stdenv, 2004 - pkg-config, 2005 - fetchurl, 2006 - libX11, 2007 - libXext, 2008 - xorgproto, 2009 - libXmu, 2010 - libXpm, 2011 - libXt, 2012 - testers, 2013 - }: 2014 - stdenv.mkDerivation (finalAttrs: { 2015 - pname = "libXaw"; 2016 - version = "1.0.16"; 2017 - builder = ./builder.sh; 2018 - src = fetchurl { 2019 - url = "mirror://xorg/individual/lib/libXaw-1.0.16.tar.xz"; 2020 - sha256 = "13wwqfwaahm6dh35w0nkvw32x3li2s0glsks34ggh267ahmmf7bk"; 2021 - }; 2022 - hardeningDisable = [ 2023 - "bindnow" 2024 - "relro" 2025 - ]; 2026 - strictDeps = true; 2027 - nativeBuildInputs = [ pkg-config ]; 2028 - buildInputs = [ 2029 - libX11 2030 - libXext 2031 - xorgproto 2032 - libXmu 2033 - libXpm 2034 - libXt 2035 - ]; 2036 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2037 - meta = { 2038 - pkgConfigModules = [ 2039 - "xaw6" 2040 - "xaw7" 2041 - ]; 2042 - platforms = lib.platforms.unix; 2043 - }; 2044 - }) 2045 - ) { }; 2046 - 2047 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2048 1580 libXcomposite = callPackage ( 2049 1581 { 2050 1582 stdenv, ··· 2077 1609 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2078 1610 meta = { 2079 1611 pkgConfigModules = [ "xcomposite" ]; 2080 - platforms = lib.platforms.unix; 2081 - }; 2082 - }) 2083 - ) { }; 2084 - 2085 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2086 - libXcursor = callPackage ( 2087 - { 2088 - stdenv, 2089 - pkg-config, 2090 - fetchurl, 2091 - xorgproto, 2092 - libX11, 2093 - libXfixes, 2094 - libXrender, 2095 - testers, 2096 - }: 2097 - stdenv.mkDerivation (finalAttrs: { 2098 - pname = "libXcursor"; 2099 - version = "1.2.3"; 2100 - builder = ./builder.sh; 2101 - src = fetchurl { 2102 - url = "mirror://xorg/individual/lib/libXcursor-1.2.3.tar.xz"; 2103 - sha256 = "1h62narayrhrkqalrmx7z3s6yppw1acbp5id3skrvrygshnl1sgx"; 2104 - }; 2105 - hardeningDisable = [ 2106 - "bindnow" 2107 - "relro" 2108 - ]; 2109 - strictDeps = true; 2110 - nativeBuildInputs = [ pkg-config ]; 2111 - buildInputs = [ 2112 - xorgproto 2113 - libX11 2114 - libXfixes 2115 - libXrender 2116 - ]; 2117 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2118 - meta = { 2119 - pkgConfigModules = [ "xcursor" ]; 2120 1612 platforms = lib.platforms.unix; 2121 1613 }; 2122 1614 }) ··· 2161 1653 ) { }; 2162 1654 2163 1655 # THIS IS A GENERATED FILE. DO NOT EDIT! 2164 - libXfixes = callPackage ( 2165 - { 2166 - stdenv, 2167 - pkg-config, 2168 - fetchurl, 2169 - xorgproto, 2170 - libX11, 2171 - testers, 2172 - }: 2173 - stdenv.mkDerivation (finalAttrs: { 2174 - pname = "libXfixes"; 2175 - version = "6.0.1"; 2176 - builder = ./builder.sh; 2177 - src = fetchurl { 2178 - url = "mirror://xorg/individual/lib/libXfixes-6.0.1.tar.xz"; 2179 - sha256 = "0n1dq2mi60i0c06i7j6lq64cq335ir2l89yj0amj3529s8ygk5dn"; 2180 - }; 2181 - hardeningDisable = [ 2182 - "bindnow" 2183 - "relro" 2184 - ]; 2185 - strictDeps = true; 2186 - nativeBuildInputs = [ pkg-config ]; 2187 - buildInputs = [ 2188 - xorgproto 2189 - libX11 2190 - ]; 2191 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2192 - meta = { 2193 - pkgConfigModules = [ "xfixes" ]; 2194 - platforms = lib.platforms.unix; 2195 - }; 2196 - }) 2197 - ) { }; 2198 - 2199 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2200 1656 libXfont = callPackage ( 2201 1657 { 2202 1658 stdenv, ··· 2401 1857 ) { }; 2402 1858 2403 1859 # THIS IS A GENERATED FILE. DO NOT EDIT! 2404 - libXmu = callPackage ( 2405 - { 2406 - stdenv, 2407 - pkg-config, 2408 - fetchurl, 2409 - libX11, 2410 - libXext, 2411 - xorgproto, 2412 - libXt, 2413 - testers, 2414 - }: 2415 - stdenv.mkDerivation (finalAttrs: { 2416 - pname = "libXmu"; 2417 - version = "1.2.1"; 2418 - builder = ./builder.sh; 2419 - src = fetchurl { 2420 - url = "mirror://xorg/individual/lib/libXmu-1.2.1.tar.xz"; 2421 - sha256 = "1cp82iz7yki63iykvb3alwy4nwy01k2axi5rqpyfafca4j9pgcpw"; 2422 - }; 2423 - hardeningDisable = [ 2424 - "bindnow" 2425 - "relro" 2426 - ]; 2427 - strictDeps = true; 2428 - nativeBuildInputs = [ pkg-config ]; 2429 - buildInputs = [ 2430 - libX11 2431 - libXext 2432 - xorgproto 2433 - libXt 2434 - ]; 2435 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2436 - meta = { 2437 - pkgConfigModules = [ 2438 - "xmu" 2439 - "xmuu" 2440 - ]; 2441 - platforms = lib.platforms.unix; 2442 - }; 2443 - }) 2444 - ) { }; 2445 - 2446 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2447 1860 libXp = callPackage ( 2448 1861 { 2449 1862 stdenv, ··· 2484 1897 ) { }; 2485 1898 2486 1899 # THIS IS A GENERATED FILE. DO NOT EDIT! 2487 - libXpm = callPackage ( 2488 - { 2489 - stdenv, 2490 - pkg-config, 2491 - fetchurl, 2492 - libX11, 2493 - libXext, 2494 - xorgproto, 2495 - libXt, 2496 - gettext, 2497 - testers, 2498 - }: 2499 - stdenv.mkDerivation (finalAttrs: { 2500 - pname = "libXpm"; 2501 - version = "3.5.17"; 2502 - builder = ./builder.sh; 2503 - src = fetchurl { 2504 - url = "mirror://xorg/individual/lib/libXpm-3.5.17.tar.xz"; 2505 - sha256 = "0hvf49qy55gwldpwpw7ihcmn5i2iinpjh2rbha63hzcy060izcv4"; 2506 - }; 2507 - hardeningDisable = [ 2508 - "bindnow" 2509 - "relro" 2510 - ]; 2511 - strictDeps = true; 2512 - nativeBuildInputs = [ 2513 - pkg-config 2514 - gettext 2515 - ]; 2516 - buildInputs = [ 2517 - libX11 2518 - libXext 2519 - xorgproto 2520 - libXt 2521 - ]; 2522 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2523 - meta = { 2524 - pkgConfigModules = [ "xpm" ]; 2525 - platforms = lib.platforms.unix; 2526 - }; 2527 - }) 2528 - ) { }; 2529 - 2530 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2531 1900 libXpresent = callPackage ( 2532 1901 { 2533 1902 stdenv, ··· 2570 1939 ) { }; 2571 1940 2572 1941 # THIS IS A GENERATED FILE. DO NOT EDIT! 2573 - libXrandr = callPackage ( 2574 - { 2575 - stdenv, 2576 - pkg-config, 2577 - fetchurl, 2578 - xorgproto, 2579 - libX11, 2580 - libXext, 2581 - libXrender, 2582 - testers, 2583 - }: 2584 - stdenv.mkDerivation (finalAttrs: { 2585 - pname = "libXrandr"; 2586 - version = "1.5.4"; 2587 - builder = ./builder.sh; 2588 - src = fetchurl { 2589 - url = "mirror://xorg/individual/lib/libXrandr-1.5.4.tar.xz"; 2590 - sha256 = "1lxlqd9ffjr1myfpyk91594n1h07ck6121m6ba8qajjz6xjv1m8s"; 2591 - }; 2592 - hardeningDisable = [ 2593 - "bindnow" 2594 - "relro" 2595 - ]; 2596 - strictDeps = true; 2597 - nativeBuildInputs = [ pkg-config ]; 2598 - buildInputs = [ 2599 - xorgproto 2600 - libX11 2601 - libXext 2602 - libXrender 2603 - ]; 2604 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2605 - meta = { 2606 - pkgConfigModules = [ "xrandr" ]; 2607 - platforms = lib.platforms.unix; 2608 - }; 2609 - }) 2610 - ) { }; 2611 - 2612 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2613 - libXrender = callPackage ( 2614 - { 2615 - stdenv, 2616 - pkg-config, 2617 - fetchurl, 2618 - xorgproto, 2619 - libX11, 2620 - testers, 2621 - }: 2622 - stdenv.mkDerivation (finalAttrs: { 2623 - pname = "libXrender"; 2624 - version = "0.9.12"; 2625 - builder = ./builder.sh; 2626 - src = fetchurl { 2627 - url = "mirror://xorg/individual/lib/libXrender-0.9.12.tar.xz"; 2628 - sha256 = "15qv3lbxyx61x55lwmafpy8idb836is82i1213bchfcblj6i4cmq"; 2629 - }; 2630 - hardeningDisable = [ 2631 - "bindnow" 2632 - "relro" 2633 - ]; 2634 - strictDeps = true; 2635 - nativeBuildInputs = [ pkg-config ]; 2636 - buildInputs = [ 2637 - xorgproto 2638 - libX11 2639 - ]; 2640 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2641 - meta = { 2642 - pkgConfigModules = [ "xrender" ]; 2643 - platforms = lib.platforms.unix; 2644 - }; 2645 - }) 2646 - ) { }; 2647 - 2648 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2649 1942 libXres = callPackage ( 2650 1943 { 2651 1944 stdenv, ··· 2684 1977 ) { }; 2685 1978 2686 1979 # THIS IS A GENERATED FILE. DO NOT EDIT! 2687 - libXt = callPackage ( 2688 - { 2689 - stdenv, 2690 - pkg-config, 2691 - fetchurl, 2692 - libICE, 2693 - xorgproto, 2694 - libSM, 2695 - libX11, 2696 - testers, 2697 - }: 2698 - stdenv.mkDerivation (finalAttrs: { 2699 - pname = "libXt"; 2700 - version = "1.3.1"; 2701 - builder = ./builder.sh; 2702 - src = fetchurl { 2703 - url = "mirror://xorg/individual/lib/libXt-1.3.1.tar.xz"; 2704 - sha256 = "120jjd6l7fjdxy5myrc1dmc0cwpqa18a97hrbg0d9x146frp99z0"; 2705 - }; 2706 - hardeningDisable = [ 2707 - "bindnow" 2708 - "relro" 2709 - ]; 2710 - strictDeps = true; 2711 - nativeBuildInputs = [ pkg-config ]; 2712 - buildInputs = [ 2713 - libICE 2714 - xorgproto 2715 - libSM 2716 - libX11 2717 - ]; 2718 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2719 - meta = { 2720 - pkgConfigModules = [ "xt" ]; 2721 - platforms = lib.platforms.unix; 2722 - }; 2723 - }) 2724 - ) { }; 2725 - 2726 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2727 1980 libXtst = callPackage ( 2728 1981 { 2729 1982 stdenv, ··· 2764 2017 ) { }; 2765 2018 2766 2019 # THIS IS A GENERATED FILE. DO NOT EDIT! 2767 - libXv = callPackage ( 2768 - { 2769 - stdenv, 2770 - pkg-config, 2771 - fetchurl, 2772 - xorgproto, 2773 - libX11, 2774 - libXext, 2775 - testers, 2776 - }: 2777 - stdenv.mkDerivation (finalAttrs: { 2778 - pname = "libXv"; 2779 - version = "1.0.13"; 2780 - builder = ./builder.sh; 2781 - src = fetchurl { 2782 - url = "mirror://xorg/individual/lib/libXv-1.0.13.tar.xz"; 2783 - sha256 = "0m9pl0xh0bv9y1x46d8a52bj46fsnyhzwa6qjg8zihg1b04r2d3x"; 2784 - }; 2785 - hardeningDisable = [ 2786 - "bindnow" 2787 - "relro" 2788 - ]; 2789 - strictDeps = true; 2790 - nativeBuildInputs = [ pkg-config ]; 2791 - buildInputs = [ 2792 - xorgproto 2793 - libX11 2794 - libXext 2795 - ]; 2796 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2797 - meta = { 2798 - pkgConfigModules = [ "xv" ]; 2799 - platforms = lib.platforms.unix; 2800 - }; 2801 - }) 2802 - ) { }; 2803 - 2804 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2805 - libXvMC = callPackage ( 2806 - { 2807 - stdenv, 2808 - pkg-config, 2809 - fetchurl, 2810 - xorgproto, 2811 - libX11, 2812 - libXext, 2813 - libXv, 2814 - testers, 2815 - }: 2816 - stdenv.mkDerivation (finalAttrs: { 2817 - pname = "libXvMC"; 2818 - version = "1.0.14"; 2819 - builder = ./builder.sh; 2820 - src = fetchurl { 2821 - url = "mirror://xorg/individual/lib/libXvMC-1.0.14.tar.xz"; 2822 - sha256 = "1nayf8qck0b1xb88dirdbvj7clr18wq1dxs73zwbpzdsnsv9xgp4"; 2823 - }; 2824 - hardeningDisable = [ 2825 - "bindnow" 2826 - "relro" 2827 - ]; 2828 - strictDeps = true; 2829 - nativeBuildInputs = [ pkg-config ]; 2830 - buildInputs = [ 2831 - xorgproto 2832 - libX11 2833 - libXext 2834 - libXv 2835 - ]; 2836 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2837 - meta = { 2838 - pkgConfigModules = [ 2839 - "xvmc" 2840 - "xvmc-wrapper" 2841 - ]; 2842 - platforms = lib.platforms.unix; 2843 - }; 2844 - }) 2845 - ) { }; 2846 - 2847 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2848 - libXxf86dga = callPackage ( 2849 - { 2850 - stdenv, 2851 - pkg-config, 2852 - fetchurl, 2853 - libX11, 2854 - libXext, 2855 - xorgproto, 2856 - testers, 2857 - }: 2858 - stdenv.mkDerivation (finalAttrs: { 2859 - pname = "libXxf86dga"; 2860 - version = "1.1.6"; 2861 - builder = ./builder.sh; 2862 - src = fetchurl { 2863 - url = "mirror://xorg/individual/lib/libXxf86dga-1.1.6.tar.xz"; 2864 - sha256 = "03wqsxbgyrdbrhw8fk3fxc9nk8jnwz5537ym2yif73w0g5sl4i5y"; 2865 - }; 2866 - hardeningDisable = [ 2867 - "bindnow" 2868 - "relro" 2869 - ]; 2870 - strictDeps = true; 2871 - nativeBuildInputs = [ pkg-config ]; 2872 - buildInputs = [ 2873 - libX11 2874 - libXext 2875 - xorgproto 2876 - ]; 2877 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2878 - meta = { 2879 - pkgConfigModules = [ "xxf86dga" ]; 2880 - platforms = lib.platforms.unix; 2881 - }; 2882 - }) 2883 - ) { }; 2884 - 2885 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2886 - libXxf86misc = callPackage ( 2887 - { 2888 - stdenv, 2889 - pkg-config, 2890 - fetchurl, 2891 - libX11, 2892 - libXext, 2893 - xorgproto, 2894 - testers, 2895 - }: 2896 - stdenv.mkDerivation (finalAttrs: { 2897 - pname = "libXxf86misc"; 2898 - version = "1.0.4"; 2899 - builder = ./builder.sh; 2900 - src = fetchurl { 2901 - url = "mirror://xorg/individual/lib/libXxf86misc-1.0.4.tar.bz2"; 2902 - sha256 = "107k593sx27vjz3v7gbb223add9i7w0bjc90gbb3jqpin3i07758"; 2903 - }; 2904 - hardeningDisable = [ 2905 - "bindnow" 2906 - "relro" 2907 - ]; 2908 - strictDeps = true; 2909 - nativeBuildInputs = [ pkg-config ]; 2910 - buildInputs = [ 2911 - libX11 2912 - libXext 2913 - xorgproto 2914 - ]; 2915 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2916 - meta = { 2917 - pkgConfigModules = [ "xxf86misc" ]; 2918 - platforms = lib.platforms.unix; 2919 - }; 2920 - }) 2921 - ) { }; 2922 - 2923 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2924 - libXxf86vm = callPackage ( 2925 - { 2926 - stdenv, 2927 - pkg-config, 2928 - fetchurl, 2929 - libX11, 2930 - libXext, 2931 - xorgproto, 2932 - testers, 2933 - }: 2934 - stdenv.mkDerivation (finalAttrs: { 2935 - pname = "libXxf86vm"; 2936 - version = "1.1.6"; 2937 - builder = ./builder.sh; 2938 - src = fetchurl { 2939 - url = "mirror://xorg/individual/lib/libXxf86vm-1.1.6.tar.xz"; 2940 - sha256 = "1qryzfzf3qr2xx1sipdn8kw310zs4ygpzgh4mm4m87fffd643bwn"; 2941 - }; 2942 - hardeningDisable = [ 2943 - "bindnow" 2944 - "relro" 2945 - ]; 2946 - strictDeps = true; 2947 - nativeBuildInputs = [ pkg-config ]; 2948 - buildInputs = [ 2949 - libX11 2950 - libXext 2951 - xorgproto 2952 - ]; 2953 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2954 - meta = { 2955 - pkgConfigModules = [ "xxf86vm" ]; 2956 - platforms = lib.platforms.unix; 2957 - }; 2958 - }) 2959 - ) { }; 2960 - 2961 - # THIS IS A GENERATED FILE. DO NOT EDIT! 2962 - libdmx = callPackage ( 2963 - { 2964 - stdenv, 2965 - pkg-config, 2966 - fetchurl, 2967 - xorgproto, 2968 - libX11, 2969 - libXext, 2970 - testers, 2971 - }: 2972 - stdenv.mkDerivation (finalAttrs: { 2973 - pname = "libdmx"; 2974 - version = "1.1.5"; 2975 - builder = ./builder.sh; 2976 - src = fetchurl { 2977 - url = "mirror://xorg/individual/lib/libdmx-1.1.5.tar.xz"; 2978 - sha256 = "0kzprd1ak3m3042m5hra50nsagswciis9p21ckilyaqbidmf591m"; 2979 - }; 2980 - hardeningDisable = [ 2981 - "bindnow" 2982 - "relro" 2983 - ]; 2984 - strictDeps = true; 2985 - nativeBuildInputs = [ pkg-config ]; 2986 - buildInputs = [ 2987 - xorgproto 2988 - libX11 2989 - libXext 2990 - ]; 2991 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 2992 - meta = { 2993 - pkgConfigModules = [ "dmx" ]; 2994 - platforms = lib.platforms.unix; 2995 - }; 2996 - }) 2997 - ) { }; 2998 - 2999 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3000 - libfontenc = callPackage ( 3001 - { 3002 - stdenv, 3003 - pkg-config, 3004 - fetchurl, 3005 - xorgproto, 3006 - zlib, 3007 - testers, 3008 - }: 3009 - stdenv.mkDerivation (finalAttrs: { 3010 - pname = "libfontenc"; 3011 - version = "1.1.8"; 3012 - builder = ./builder.sh; 3013 - src = fetchurl { 3014 - url = "mirror://xorg/individual/lib/libfontenc-1.1.8.tar.xz"; 3015 - sha256 = "1ihlznj4m49jn1887cr86qqhrrlghvbfj7bbh230svi30pac60kv"; 3016 - }; 3017 - hardeningDisable = [ 3018 - "bindnow" 3019 - "relro" 3020 - ]; 3021 - strictDeps = true; 3022 - nativeBuildInputs = [ pkg-config ]; 3023 - buildInputs = [ 3024 - xorgproto 3025 - zlib 3026 - ]; 3027 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3028 - meta = { 3029 - pkgConfigModules = [ "fontenc" ]; 3030 - platforms = lib.platforms.unix; 3031 - }; 3032 - }) 3033 - ) { }; 3034 - 3035 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3036 2020 libxkbfile = callPackage ( 3037 2021 { 3038 2022 stdenv, ··· 3141 2125 ) { }; 3142 2126 3143 2127 # THIS IS A GENERATED FILE. DO NOT EDIT! 3144 - mkfontscale = callPackage ( 3145 - { 3146 - stdenv, 3147 - pkg-config, 3148 - fetchurl, 3149 - libfontenc, 3150 - freetype, 3151 - xorgproto, 3152 - zlib, 3153 - testers, 3154 - }: 3155 - stdenv.mkDerivation (finalAttrs: { 3156 - pname = "mkfontscale"; 3157 - version = "1.2.3"; 3158 - builder = ./builder.sh; 3159 - src = fetchurl { 3160 - url = "mirror://xorg/individual/app/mkfontscale-1.2.3.tar.xz"; 3161 - sha256 = "0pp7dyfrrkrqxslk9q8660k0h4swaqlixsnnph2fxb7i8k1ws899"; 3162 - }; 3163 - hardeningDisable = [ 3164 - "bindnow" 3165 - "relro" 3166 - ]; 3167 - strictDeps = true; 3168 - nativeBuildInputs = [ pkg-config ]; 3169 - buildInputs = [ 3170 - libfontenc 3171 - freetype 3172 - xorgproto 3173 - zlib 3174 - ]; 3175 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3176 - meta = { 3177 - pkgConfigModules = [ ]; 3178 - platforms = lib.platforms.unix; 3179 - }; 3180 - }) 3181 - ) { }; 3182 - 3183 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3184 2128 oclock = callPackage ( 3185 2129 { 3186 2130 stdenv, ··· 3295 2239 libSM 3296 2240 libXmu 3297 2241 libXt 3298 - ]; 3299 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3300 - meta = { 3301 - pkgConfigModules = [ ]; 3302 - platforms = lib.platforms.unix; 3303 - }; 3304 - }) 3305 - ) { }; 3306 - 3307 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3308 - transset = callPackage ( 3309 - { 3310 - stdenv, 3311 - pkg-config, 3312 - fetchurl, 3313 - libX11, 3314 - xorgproto, 3315 - testers, 3316 - }: 3317 - stdenv.mkDerivation (finalAttrs: { 3318 - pname = "transset"; 3319 - version = "1.0.4"; 3320 - builder = ./builder.sh; 3321 - src = fetchurl { 3322 - url = "mirror://xorg/individual/app/transset-1.0.4.tar.xz"; 3323 - sha256 = "0f0bgi1jq9zzq2gqaszhgvz2d1clja17z8xnijm36xqkmxsapac1"; 3324 - }; 3325 - hardeningDisable = [ 3326 - "bindnow" 3327 - "relro" 3328 - ]; 3329 - strictDeps = true; 3330 - nativeBuildInputs = [ pkg-config ]; 3331 - buildInputs = [ 3332 - libX11 3333 - xorgproto 3334 2242 ]; 3335 2243 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3336 2244 meta = { ··· 3599 2507 ) { }; 3600 2508 3601 2509 # THIS IS A GENERATED FILE. DO NOT EDIT! 3602 - xcbutil = callPackage ( 3603 - { 3604 - stdenv, 3605 - pkg-config, 3606 - fetchurl, 3607 - gperf, 3608 - libxcb, 3609 - xorgproto, 3610 - m4, 3611 - testers, 3612 - }: 3613 - stdenv.mkDerivation (finalAttrs: { 3614 - pname = "xcb-util"; 3615 - version = "0.4.1"; 3616 - builder = ./builder.sh; 3617 - src = fetchurl { 3618 - url = "mirror://xorg/individual/xcb/xcb-util-0.4.1.tar.xz"; 3619 - sha256 = "04p54r0zjc44fpw1hdy4rhygv37sx2vr2lllxjihykz5v2xkpgjs"; 3620 - }; 3621 - hardeningDisable = [ 3622 - "bindnow" 3623 - "relro" 3624 - ]; 3625 - strictDeps = true; 3626 - nativeBuildInputs = [ 3627 - pkg-config 3628 - m4 3629 - ]; 3630 - buildInputs = [ 3631 - gperf 3632 - libxcb 3633 - xorgproto 3634 - ]; 3635 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3636 - meta = { 3637 - pkgConfigModules = [ 3638 - "xcb-atom" 3639 - "xcb-aux" 3640 - "xcb-event" 3641 - "xcb-util" 3642 - ]; 3643 - platforms = lib.platforms.unix; 3644 - }; 3645 - }) 3646 - ) { }; 3647 - 3648 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3649 2510 xcbutilcursor = callPackage ( 3650 2511 { 3651 2512 stdenv, ··· 3692 2553 ) { }; 3693 2554 3694 2555 # THIS IS A GENERATED FILE. DO NOT EDIT! 3695 - xcbutilerrors = callPackage ( 3696 - { 3697 - stdenv, 3698 - pkg-config, 3699 - fetchurl, 3700 - gperf, 3701 - libxcb, 3702 - xcbproto, 3703 - xorgproto, 3704 - m4, 3705 - python3, 3706 - testers, 3707 - }: 3708 - stdenv.mkDerivation (finalAttrs: { 3709 - pname = "xcb-util-errors"; 3710 - version = "1.0.1"; 3711 - builder = ./builder.sh; 3712 - src = fetchurl { 3713 - url = "mirror://xorg/individual/xcb/xcb-util-errors-1.0.1.tar.xz"; 3714 - sha256 = "0mzkh3xj1n690dw8hrdhyjykd71ib0ls9n5cgf9asna2k1xwha2n"; 3715 - }; 3716 - hardeningDisable = [ 3717 - "bindnow" 3718 - "relro" 3719 - ]; 3720 - strictDeps = true; 3721 - nativeBuildInputs = [ 3722 - pkg-config 3723 - m4 3724 - python3 3725 - ]; 3726 - buildInputs = [ 3727 - gperf 3728 - libxcb 3729 - xcbproto 3730 - xorgproto 3731 - ]; 3732 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3733 - meta = { 3734 - pkgConfigModules = [ "xcb-errors" ]; 3735 - platforms = lib.platforms.unix; 3736 - }; 3737 - }) 3738 - ) { }; 3739 - 3740 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3741 - xcbutilimage = callPackage ( 3742 - { 3743 - stdenv, 3744 - pkg-config, 3745 - fetchurl, 3746 - gperf, 3747 - libxcb, 3748 - xcbutil, 3749 - xorgproto, 3750 - m4, 3751 - testers, 3752 - }: 3753 - stdenv.mkDerivation (finalAttrs: { 3754 - pname = "xcb-util-image"; 3755 - version = "0.4.1"; 3756 - builder = ./builder.sh; 3757 - src = fetchurl { 3758 - url = "mirror://xorg/individual/xcb/xcb-util-image-0.4.1.tar.xz"; 3759 - sha256 = "0g8dwknrlz96k176qxh8ar84x9kpppci9b978zyp24nvvbjqxbfc"; 3760 - }; 3761 - hardeningDisable = [ 3762 - "bindnow" 3763 - "relro" 3764 - ]; 3765 - strictDeps = true; 3766 - nativeBuildInputs = [ 3767 - pkg-config 3768 - m4 3769 - ]; 3770 - buildInputs = [ 3771 - gperf 3772 - libxcb 3773 - xcbutil 3774 - xorgproto 3775 - ]; 3776 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3777 - meta = { 3778 - pkgConfigModules = [ "xcb-image" ]; 3779 - platforms = lib.platforms.unix; 3780 - }; 3781 - }) 3782 - ) { }; 3783 - 3784 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3785 - xcbutilkeysyms = callPackage ( 3786 - { 3787 - stdenv, 3788 - pkg-config, 3789 - fetchurl, 3790 - gperf, 3791 - libxcb, 3792 - xorgproto, 3793 - m4, 3794 - testers, 3795 - }: 3796 - stdenv.mkDerivation (finalAttrs: { 3797 - pname = "xcb-util-keysyms"; 3798 - version = "0.4.1"; 3799 - builder = ./builder.sh; 3800 - src = fetchurl { 3801 - url = "mirror://xorg/individual/xcb/xcb-util-keysyms-0.4.1.tar.xz"; 3802 - sha256 = "0f66snk179hmp8ppgv1zp9y7pl1vzn52znpikm1fsaj1ji90l9kw"; 3803 - }; 3804 - hardeningDisable = [ 3805 - "bindnow" 3806 - "relro" 3807 - ]; 3808 - strictDeps = true; 3809 - nativeBuildInputs = [ 3810 - pkg-config 3811 - m4 3812 - ]; 3813 - buildInputs = [ 3814 - gperf 3815 - libxcb 3816 - xorgproto 3817 - ]; 3818 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3819 - meta = { 3820 - pkgConfigModules = [ "xcb-keysyms" ]; 3821 - platforms = lib.platforms.unix; 3822 - }; 3823 - }) 3824 - ) { }; 3825 - 3826 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3827 - xcbutilrenderutil = callPackage ( 3828 - { 3829 - stdenv, 3830 - pkg-config, 3831 - fetchurl, 3832 - gperf, 3833 - libxcb, 3834 - xorgproto, 3835 - m4, 3836 - testers, 3837 - }: 3838 - stdenv.mkDerivation (finalAttrs: { 3839 - pname = "xcb-util-renderutil"; 3840 - version = "0.3.10"; 3841 - builder = ./builder.sh; 3842 - src = fetchurl { 3843 - url = "mirror://xorg/individual/xcb/xcb-util-renderutil-0.3.10.tar.xz"; 3844 - sha256 = "1fh4dnlwlqyccrhmmwlv082a7mxc7ss7vmzmp7xxp39dwbqd859y"; 3845 - }; 3846 - hardeningDisable = [ 3847 - "bindnow" 3848 - "relro" 3849 - ]; 3850 - strictDeps = true; 3851 - nativeBuildInputs = [ 3852 - pkg-config 3853 - m4 3854 - ]; 3855 - buildInputs = [ 3856 - gperf 3857 - libxcb 3858 - xorgproto 3859 - ]; 3860 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3861 - meta = { 3862 - pkgConfigModules = [ "xcb-renderutil" ]; 3863 - platforms = lib.platforms.unix; 3864 - }; 3865 - }) 3866 - ) { }; 3867 - 3868 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3869 - xcbutilwm = callPackage ( 3870 - { 3871 - stdenv, 3872 - pkg-config, 3873 - fetchurl, 3874 - gperf, 3875 - libxcb, 3876 - xorgproto, 3877 - m4, 3878 - testers, 3879 - }: 3880 - stdenv.mkDerivation (finalAttrs: { 3881 - pname = "xcb-util-wm"; 3882 - version = "0.4.2"; 3883 - builder = ./builder.sh; 3884 - src = fetchurl { 3885 - url = "mirror://xorg/individual/xcb/xcb-util-wm-0.4.2.tar.xz"; 3886 - sha256 = "02wai17mxfbvlnj4l4bjbvah97rccdivzvd7mrznhr32s0hlxhv2"; 3887 - }; 3888 - hardeningDisable = [ 3889 - "bindnow" 3890 - "relro" 3891 - ]; 3892 - strictDeps = true; 3893 - nativeBuildInputs = [ 3894 - pkg-config 3895 - m4 3896 - ]; 3897 - buildInputs = [ 3898 - gperf 3899 - libxcb 3900 - xorgproto 3901 - ]; 3902 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3903 - meta = { 3904 - pkgConfigModules = [ 3905 - "xcb-ewmh" 3906 - "xcb-icccm" 3907 - ]; 3908 - platforms = lib.platforms.unix; 3909 - }; 3910 - }) 3911 - ) { }; 3912 - 3913 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3914 2556 xclock = callPackage ( 3915 2557 { 3916 2558 stdenv, ··· 3954 2596 libXrender 3955 2597 libXt 3956 2598 ]; 3957 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3958 - meta = { 3959 - pkgConfigModules = [ ]; 3960 - platforms = lib.platforms.unix; 3961 - }; 3962 - }) 3963 - ) { }; 3964 - 3965 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3966 - xcmsdb = callPackage ( 3967 - { 3968 - stdenv, 3969 - pkg-config, 3970 - fetchurl, 3971 - libX11, 3972 - testers, 3973 - }: 3974 - stdenv.mkDerivation (finalAttrs: { 3975 - pname = "xcmsdb"; 3976 - version = "1.0.7"; 3977 - builder = ./builder.sh; 3978 - src = fetchurl { 3979 - url = "mirror://xorg/individual/app/xcmsdb-1.0.7.tar.xz"; 3980 - sha256 = "0f5wddi707cjqm21hynckkqr12mpjqn3dq9fm5gb11w19270di2y"; 3981 - }; 3982 - hardeningDisable = [ 3983 - "bindnow" 3984 - "relro" 3985 - ]; 3986 - strictDeps = true; 3987 - nativeBuildInputs = [ pkg-config ]; 3988 - buildInputs = [ libX11 ]; 3989 2599 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3990 2600 meta = { 3991 2601 pkgConfigModules = [ ]; ··· 4085 2695 ) { }; 4086 2696 4087 2697 # THIS IS A GENERATED FILE. DO NOT EDIT! 4088 - xcursorgen = callPackage ( 4089 - { 4090 - stdenv, 4091 - pkg-config, 4092 - fetchurl, 4093 - libpng, 4094 - libX11, 4095 - libXcursor, 4096 - xorgproto, 4097 - testers, 4098 - }: 4099 - stdenv.mkDerivation (finalAttrs: { 4100 - pname = "xcursorgen"; 4101 - version = "1.0.9"; 4102 - builder = ./builder.sh; 4103 - src = fetchurl { 4104 - url = "mirror://xorg/individual/app/xcursorgen-1.0.9.tar.xz"; 4105 - sha256 = "1g1v96yprk5nnkip2w3r2cfsbzzsw0ssy417j3m1djl4mibf3j8c"; 4106 - }; 4107 - hardeningDisable = [ 4108 - "bindnow" 4109 - "relro" 4110 - ]; 4111 - strictDeps = true; 4112 - nativeBuildInputs = [ pkg-config ]; 4113 - buildInputs = [ 4114 - libpng 4115 - libX11 4116 - libXcursor 4117 - xorgproto 4118 - ]; 4119 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 4120 - meta = { 4121 - pkgConfigModules = [ ]; 4122 - platforms = lib.platforms.unix; 4123 - }; 4124 - }) 4125 - ) { }; 4126 - 4127 - # THIS IS A GENERATED FILE. DO NOT EDIT! 4128 - xcursorthemes = callPackage ( 4129 - { 4130 - stdenv, 4131 - pkg-config, 4132 - fetchurl, 4133 - libXcursor, 4134 - testers, 4135 - }: 4136 - stdenv.mkDerivation (finalAttrs: { 4137 - pname = "xcursor-themes"; 4138 - version = "1.0.7"; 4139 - builder = ./builder.sh; 4140 - src = fetchurl { 4141 - url = "mirror://xorg/individual/data/xcursor-themes-1.0.7.tar.xz"; 4142 - sha256 = "1j3qfga5llp8g702n7mivvdvfjk7agsgnbglbfh99n13i3sfiflm"; 4143 - }; 4144 - hardeningDisable = [ 4145 - "bindnow" 4146 - "relro" 4147 - ]; 4148 - strictDeps = true; 4149 - nativeBuildInputs = [ pkg-config ]; 4150 - buildInputs = [ libXcursor ]; 4151 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 4152 - meta = { 4153 - pkgConfigModules = [ ]; 4154 - platforms = lib.platforms.unix; 4155 - }; 4156 - }) 4157 - ) { }; 4158 - 4159 - # THIS IS A GENERATED FILE. DO NOT EDIT! 4160 2698 xdm = callPackage ( 4161 2699 { 4162 2700 stdenv, ··· 4265 2803 libXxf86dga 4266 2804 libXxf86misc 4267 2805 libXxf86vm 4268 - ]; 4269 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 4270 - meta = { 4271 - pkgConfigModules = [ ]; 4272 - platforms = lib.platforms.unix; 4273 - }; 4274 - }) 4275 - ) { }; 4276 - 4277 - # THIS IS A GENERATED FILE. DO NOT EDIT! 4278 - xdriinfo = callPackage ( 4279 - { 4280 - stdenv, 4281 - pkg-config, 4282 - fetchurl, 4283 - libGL, 4284 - xorgproto, 4285 - libX11, 4286 - testers, 4287 - }: 4288 - stdenv.mkDerivation (finalAttrs: { 4289 - pname = "xdriinfo"; 4290 - version = "1.0.7"; 4291 - builder = ./builder.sh; 4292 - src = fetchurl { 4293 - url = "mirror://xorg/individual/app/xdriinfo-1.0.7.tar.xz"; 4294 - sha256 = "0d7p9fj3znq0av9pjgi2kphqaz5w7b9hxlz63zbxs69bknp8p0yx"; 4295 - }; 4296 - hardeningDisable = [ 4297 - "bindnow" 4298 - "relro" 4299 - ]; 4300 - strictDeps = true; 4301 - nativeBuildInputs = [ pkg-config ]; 4302 - buildInputs = [ 4303 - libGL 4304 - xorgproto 4305 - libX11 4306 - ]; 4307 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 4308 - meta = { 4309 - pkgConfigModules = [ ]; 4310 - platforms = lib.platforms.unix; 4311 - }; 4312 - }) 4313 - ) { }; 4314 - 4315 - # THIS IS A GENERATED FILE. DO NOT EDIT! 4316 - xev = callPackage ( 4317 - { 4318 - stdenv, 4319 - pkg-config, 4320 - fetchurl, 4321 - libX11, 4322 - xorgproto, 4323 - libXrandr, 4324 - testers, 4325 - }: 4326 - stdenv.mkDerivation (finalAttrs: { 4327 - pname = "xev"; 4328 - version = "1.2.6"; 4329 - builder = ./builder.sh; 4330 - src = fetchurl { 4331 - url = "mirror://xorg/individual/app/xev-1.2.6.tar.xz"; 4332 - sha256 = "1mq7332kgisd9yq0w0rv11vhwhgpkmpg7pfdlyn776dc13hcbqb1"; 4333 - }; 4334 - hardeningDisable = [ 4335 - "bindnow" 4336 - "relro" 4337 - ]; 4338 - strictDeps = true; 4339 - nativeBuildInputs = [ pkg-config ]; 4340 - buildInputs = [ 4341 - libX11 4342 - xorgproto 4343 - libXrandr 4344 2806 ]; 4345 2807 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 4346 2808 meta = { ··· 6469 4931 ) { }; 6470 4932 6471 4933 # THIS IS A GENERATED FILE. DO NOT EDIT! 6472 - xfsinfo = callPackage ( 6473 - { 6474 - stdenv, 6475 - pkg-config, 6476 - fetchurl, 6477 - libFS, 6478 - xorgproto, 6479 - testers, 6480 - }: 6481 - stdenv.mkDerivation (finalAttrs: { 6482 - pname = "xfsinfo"; 6483 - version = "1.0.7"; 6484 - builder = ./builder.sh; 6485 - src = fetchurl { 6486 - url = "mirror://xorg/individual/app/xfsinfo-1.0.7.tar.xz"; 6487 - sha256 = "0x48p4hk0lds2s8nwzgfl616r99s28ydx02zs7p1fxxs3i2wmwwj"; 6488 - }; 6489 - hardeningDisable = [ 6490 - "bindnow" 6491 - "relro" 6492 - ]; 6493 - strictDeps = true; 6494 - nativeBuildInputs = [ pkg-config ]; 6495 - buildInputs = [ 6496 - libFS 6497 - xorgproto 6498 - ]; 6499 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 6500 - meta = { 6501 - pkgConfigModules = [ ]; 6502 - platforms = lib.platforms.unix; 6503 - }; 6504 - }) 6505 - ) { }; 6506 - 6507 - # THIS IS A GENERATED FILE. DO NOT EDIT! 6508 - xgamma = callPackage ( 6509 - { 6510 - stdenv, 6511 - pkg-config, 6512 - fetchurl, 6513 - libX11, 6514 - xorgproto, 6515 - libXxf86vm, 6516 - testers, 6517 - }: 6518 - stdenv.mkDerivation (finalAttrs: { 6519 - pname = "xgamma"; 6520 - version = "1.0.7"; 6521 - builder = ./builder.sh; 6522 - src = fetchurl { 6523 - url = "mirror://xorg/individual/app/xgamma-1.0.7.tar.xz"; 6524 - sha256 = "13xw2fqp9cs7xj3nqi8khqxv81rk0dd8khp59xgs2lw9bbldly8w"; 6525 - }; 6526 - hardeningDisable = [ 6527 - "bindnow" 6528 - "relro" 6529 - ]; 6530 - strictDeps = true; 6531 - nativeBuildInputs = [ pkg-config ]; 6532 - buildInputs = [ 6533 - libX11 6534 - xorgproto 6535 - libXxf86vm 6536 - ]; 6537 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 6538 - meta = { 6539 - pkgConfigModules = [ ]; 6540 - platforms = lib.platforms.unix; 6541 - }; 6542 - }) 6543 - ) { }; 6544 - 6545 - # THIS IS A GENERATED FILE. DO NOT EDIT! 6546 - xgc = callPackage ( 6547 - { 6548 - stdenv, 6549 - pkg-config, 6550 - fetchurl, 6551 - libXaw, 6552 - libXt, 6553 - wrapWithXFileSearchPathHook, 6554 - testers, 6555 - }: 6556 - stdenv.mkDerivation (finalAttrs: { 6557 - pname = "xgc"; 6558 - version = "1.0.6"; 6559 - builder = ./builder.sh; 6560 - src = fetchurl { 6561 - url = "mirror://xorg/individual/app/xgc-1.0.6.tar.xz"; 6562 - sha256 = "0h5jm2946f5m1g8a3qh1c01h3zrsjjivi09vi9rmij2frvdvp1vv"; 6563 - }; 6564 - hardeningDisable = [ 6565 - "bindnow" 6566 - "relro" 6567 - ]; 6568 - strictDeps = true; 6569 - nativeBuildInputs = [ 6570 - pkg-config 6571 - wrapWithXFileSearchPathHook 6572 - ]; 6573 - buildInputs = [ 6574 - libXaw 6575 - libXt 6576 - ]; 6577 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 6578 - meta = { 6579 - pkgConfigModules = [ ]; 6580 - platforms = lib.platforms.unix; 6581 - }; 6582 - }) 6583 - ) { }; 6584 - 6585 - # THIS IS A GENERATED FILE. DO NOT EDIT! 6586 - xhost = callPackage ( 6587 - { 6588 - stdenv, 6589 - pkg-config, 6590 - fetchurl, 6591 - libX11, 6592 - libXau, 6593 - libXmu, 6594 - xorgproto, 6595 - gettext, 6596 - testers, 6597 - }: 6598 - stdenv.mkDerivation (finalAttrs: { 6599 - pname = "xhost"; 6600 - version = "1.0.10"; 6601 - builder = ./builder.sh; 6602 - src = fetchurl { 6603 - url = "mirror://xorg/individual/app/xhost-1.0.10.tar.xz"; 6604 - sha256 = "1qavfaxqpj2mp2jdb8ivvv7bza546lff95dq90lp3727b40dgbx8"; 6605 - }; 6606 - hardeningDisable = [ 6607 - "bindnow" 6608 - "relro" 6609 - ]; 6610 - strictDeps = true; 6611 - nativeBuildInputs = [ 6612 - pkg-config 6613 - gettext 6614 - ]; 6615 - buildInputs = [ 6616 - libX11 6617 - libXau 6618 - libXmu 6619 - xorgproto 6620 - ]; 6621 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 6622 - meta = { 6623 - pkgConfigModules = [ ]; 6624 - platforms = lib.platforms.unix; 6625 - }; 6626 - }) 6627 - ) { }; 6628 - 6629 - # THIS IS A GENERATED FILE. DO NOT EDIT! 6630 4934 xinit = callPackage ( 6631 4935 { 6632 4936 stdenv, ··· 6819 5123 ) { }; 6820 5124 6821 5125 # THIS IS A GENERATED FILE. DO NOT EDIT! 6822 - xkbutils = callPackage ( 6823 - { 6824 - stdenv, 6825 - pkg-config, 6826 - fetchurl, 6827 - xorgproto, 6828 - libX11, 6829 - libXaw, 6830 - libXt, 6831 - testers, 6832 - }: 6833 - stdenv.mkDerivation (finalAttrs: { 6834 - pname = "xkbutils"; 6835 - version = "1.0.6"; 6836 - builder = ./builder.sh; 6837 - src = fetchurl { 6838 - url = "mirror://xorg/individual/app/xkbutils-1.0.6.tar.xz"; 6839 - sha256 = "0pp2bsksblvvw0fx667k2bl5sm0baj7pp2cjvq0vmk093vpbp8ii"; 6840 - }; 6841 - hardeningDisable = [ 6842 - "bindnow" 6843 - "relro" 6844 - ]; 6845 - strictDeps = true; 6846 - nativeBuildInputs = [ pkg-config ]; 6847 - buildInputs = [ 6848 - xorgproto 6849 - libX11 6850 - libXaw 6851 - libXt 6852 - ]; 6853 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 6854 - meta = { 6855 - pkgConfigModules = [ ]; 6856 - platforms = lib.platforms.unix; 6857 - }; 6858 - }) 6859 - ) { }; 6860 - 6861 - # THIS IS A GENERATED FILE. DO NOT EDIT! 6862 - xkill = callPackage ( 6863 - { 6864 - stdenv, 6865 - pkg-config, 6866 - fetchurl, 6867 - libX11, 6868 - libXmu, 6869 - xorgproto, 6870 - testers, 6871 - }: 6872 - stdenv.mkDerivation (finalAttrs: { 6873 - pname = "xkill"; 6874 - version = "1.0.6"; 6875 - builder = ./builder.sh; 6876 - src = fetchurl { 6877 - url = "mirror://xorg/individual/app/xkill-1.0.6.tar.xz"; 6878 - sha256 = "01xrmqw498hqlhn6l1sq89s31k6sjf6xlij6a08pnrvmqiwama75"; 6879 - }; 6880 - hardeningDisable = [ 6881 - "bindnow" 6882 - "relro" 6883 - ]; 6884 - strictDeps = true; 6885 - nativeBuildInputs = [ pkg-config ]; 6886 - buildInputs = [ 6887 - libX11 6888 - libXmu 6889 - xorgproto 6890 - ]; 6891 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 6892 - meta = { 6893 - pkgConfigModules = [ ]; 6894 - platforms = lib.platforms.unix; 6895 - }; 6896 - }) 6897 - ) { }; 6898 - 6899 - # THIS IS A GENERATED FILE. DO NOT EDIT! 6900 5126 xload = callPackage ( 6901 5127 { 6902 5128 stdenv, ··· 6945 5171 ) { }; 6946 5172 6947 5173 # THIS IS A GENERATED FILE. DO NOT EDIT! 6948 - xlsatoms = callPackage ( 6949 - { 6950 - stdenv, 6951 - pkg-config, 6952 - fetchurl, 6953 - libxcb, 6954 - testers, 6955 - }: 6956 - stdenv.mkDerivation (finalAttrs: { 6957 - pname = "xlsatoms"; 6958 - version = "1.1.4"; 6959 - builder = ./builder.sh; 6960 - src = fetchurl { 6961 - url = "mirror://xorg/individual/app/xlsatoms-1.1.4.tar.xz"; 6962 - sha256 = "1dviriynilkw0jwl0s2h8y95pwh8cxj95cnmllkd6rn0args3gzl"; 6963 - }; 6964 - hardeningDisable = [ 6965 - "bindnow" 6966 - "relro" 6967 - ]; 6968 - strictDeps = true; 6969 - nativeBuildInputs = [ pkg-config ]; 6970 - buildInputs = [ libxcb ]; 6971 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 6972 - meta = { 6973 - pkgConfigModules = [ ]; 6974 - platforms = lib.platforms.unix; 6975 - }; 6976 - }) 6977 - ) { }; 6978 - 6979 - # THIS IS A GENERATED FILE. DO NOT EDIT! 6980 - xlsclients = callPackage ( 6981 - { 6982 - stdenv, 6983 - pkg-config, 6984 - fetchurl, 6985 - libxcb, 6986 - testers, 6987 - }: 6988 - stdenv.mkDerivation (finalAttrs: { 6989 - pname = "xlsclients"; 6990 - version = "1.1.5"; 6991 - builder = ./builder.sh; 6992 - src = fetchurl { 6993 - url = "mirror://xorg/individual/app/xlsclients-1.1.5.tar.xz"; 6994 - sha256 = "1qxsav5gicsfwv1dqlcfpj47vy9i30i7iysrfx5aql02wxbyxfk8"; 6995 - }; 6996 - hardeningDisable = [ 6997 - "bindnow" 6998 - "relro" 6999 - ]; 7000 - strictDeps = true; 7001 - nativeBuildInputs = [ pkg-config ]; 7002 - buildInputs = [ libxcb ]; 7003 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7004 - meta = { 7005 - pkgConfigModules = [ ]; 7006 - platforms = lib.platforms.unix; 7007 - }; 7008 - }) 7009 - ) { }; 7010 - 7011 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7012 - xlsfonts = callPackage ( 7013 - { 7014 - stdenv, 7015 - pkg-config, 7016 - fetchurl, 7017 - libX11, 7018 - xorgproto, 7019 - testers, 7020 - }: 7021 - stdenv.mkDerivation (finalAttrs: { 7022 - pname = "xlsfonts"; 7023 - version = "1.0.8"; 7024 - builder = ./builder.sh; 7025 - src = fetchurl { 7026 - url = "mirror://xorg/individual/app/xlsfonts-1.0.8.tar.xz"; 7027 - sha256 = "1kdnzyrm1wqwylghavn9lqi0h4lwf9ifkcv3zikbi176mjg90zw0"; 7028 - }; 7029 - hardeningDisable = [ 7030 - "bindnow" 7031 - "relro" 7032 - ]; 7033 - strictDeps = true; 7034 - nativeBuildInputs = [ pkg-config ]; 7035 - buildInputs = [ 7036 - libX11 7037 - xorgproto 7038 - ]; 7039 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7040 - meta = { 7041 - pkgConfigModules = [ ]; 7042 - platforms = lib.platforms.unix; 7043 - }; 7044 - }) 7045 - ) { }; 7046 - 7047 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7048 5174 xmag = callPackage ( 7049 5175 { 7050 5176 stdenv, ··· 7131 5257 ) { }; 7132 5258 7133 5259 # THIS IS A GENERATED FILE. DO NOT EDIT! 7134 - xmodmap = callPackage ( 7135 - { 7136 - stdenv, 7137 - pkg-config, 7138 - fetchurl, 7139 - libX11, 7140 - xorgproto, 7141 - testers, 7142 - }: 7143 - stdenv.mkDerivation (finalAttrs: { 7144 - pname = "xmodmap"; 7145 - version = "1.0.11"; 7146 - builder = ./builder.sh; 7147 - src = fetchurl { 7148 - url = "mirror://xorg/individual/app/xmodmap-1.0.11.tar.xz"; 7149 - sha256 = "10byhzdfv1xckqc3d2v52xg1ggxn5j806x4450l3ig5hyxl82bws"; 7150 - }; 7151 - hardeningDisable = [ 7152 - "bindnow" 7153 - "relro" 7154 - ]; 7155 - strictDeps = true; 7156 - nativeBuildInputs = [ pkg-config ]; 7157 - buildInputs = [ 7158 - libX11 7159 - xorgproto 7160 - ]; 7161 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7162 - meta = { 7163 - pkgConfigModules = [ ]; 7164 - platforms = lib.platforms.unix; 7165 - }; 7166 - }) 7167 - ) { }; 7168 - 7169 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7170 5260 xmore = callPackage ( 7171 5261 { 7172 5262 stdenv, ··· 7305 5395 ) { }; 7306 5396 7307 5397 # THIS IS A GENERATED FILE. DO NOT EDIT! 7308 - xprop = callPackage ( 7309 - { 7310 - stdenv, 7311 - pkg-config, 7312 - fetchurl, 7313 - libX11, 7314 - xorgproto, 7315 - testers, 7316 - }: 7317 - stdenv.mkDerivation (finalAttrs: { 7318 - pname = "xprop"; 7319 - version = "1.2.8"; 7320 - builder = ./builder.sh; 7321 - src = fetchurl { 7322 - url = "mirror://xorg/individual/app/xprop-1.2.8.tar.xz"; 7323 - sha256 = "1vk7kl10ykgqp2iw4m1q4j1zrbkxibd1rdb9cjgl6yzgnyny52fn"; 7324 - }; 7325 - hardeningDisable = [ 7326 - "bindnow" 7327 - "relro" 7328 - ]; 7329 - strictDeps = true; 7330 - nativeBuildInputs = [ pkg-config ]; 7331 - buildInputs = [ 7332 - libX11 7333 - xorgproto 7334 - ]; 7335 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7336 - meta = { 7337 - pkgConfigModules = [ ]; 7338 - platforms = lib.platforms.unix; 7339 - }; 7340 - }) 7341 - ) { }; 7342 - 7343 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7344 - xrandr = callPackage ( 7345 - { 7346 - stdenv, 7347 - pkg-config, 7348 - fetchurl, 7349 - libX11, 7350 - xorgproto, 7351 - libXrandr, 7352 - libXrender, 7353 - testers, 7354 - }: 7355 - stdenv.mkDerivation (finalAttrs: { 7356 - pname = "xrandr"; 7357 - version = "1.5.3"; 7358 - builder = ./builder.sh; 7359 - src = fetchurl { 7360 - url = "mirror://xorg/individual/app/xrandr-1.5.3.tar.xz"; 7361 - sha256 = "0744kfafd98q2zswyzva837qgvmdpfv80ilnp7x4fhdpmmk7bpgq"; 7362 - }; 7363 - hardeningDisable = [ 7364 - "bindnow" 7365 - "relro" 7366 - ]; 7367 - strictDeps = true; 7368 - nativeBuildInputs = [ pkg-config ]; 7369 - buildInputs = [ 7370 - libX11 7371 - xorgproto 7372 - libXrandr 7373 - libXrender 7374 - ]; 7375 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7376 - meta = { 7377 - pkgConfigModules = [ ]; 7378 - platforms = lib.platforms.unix; 7379 - }; 7380 - }) 7381 - ) { }; 7382 - 7383 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7384 5398 xrdb = callPackage ( 7385 5399 { 7386 5400 stdenv, ··· 7419 5433 ) { }; 7420 5434 7421 5435 # THIS IS A GENERATED FILE. DO NOT EDIT! 7422 - xrefresh = callPackage ( 7423 - { 7424 - stdenv, 7425 - pkg-config, 7426 - fetchurl, 7427 - libX11, 7428 - xorgproto, 7429 - testers, 7430 - }: 7431 - stdenv.mkDerivation (finalAttrs: { 7432 - pname = "xrefresh"; 7433 - version = "1.1.0"; 7434 - builder = ./builder.sh; 7435 - src = fetchurl { 7436 - url = "mirror://xorg/individual/app/xrefresh-1.1.0.tar.xz"; 7437 - sha256 = "0pwb5c9g3xxs70gc35hahxq2ky8261pw9n04j01a6dffbqnmkv99"; 7438 - }; 7439 - hardeningDisable = [ 7440 - "bindnow" 7441 - "relro" 7442 - ]; 7443 - strictDeps = true; 7444 - nativeBuildInputs = [ pkg-config ]; 7445 - buildInputs = [ 7446 - libX11 7447 - xorgproto 7448 - ]; 7449 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7450 - meta = { 7451 - pkgConfigModules = [ ]; 7452 - platforms = lib.platforms.unix; 7453 - }; 7454 - }) 7455 - ) { }; 7456 - 7457 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7458 5436 xset = callPackage ( 7459 5437 { 7460 5438 stdenv, ··· 7663 5641 ) { }; 7664 5642 7665 5643 # THIS IS A GENERATED FILE. DO NOT EDIT! 7666 - xvinfo = callPackage ( 7667 - { 7668 - stdenv, 7669 - pkg-config, 7670 - fetchurl, 7671 - libX11, 7672 - xorgproto, 7673 - libXv, 7674 - testers, 7675 - }: 7676 - stdenv.mkDerivation (finalAttrs: { 7677 - pname = "xvinfo"; 7678 - version = "1.1.5"; 7679 - builder = ./builder.sh; 7680 - src = fetchurl { 7681 - url = "mirror://xorg/individual/app/xvinfo-1.1.5.tar.xz"; 7682 - sha256 = "0164qpbjmxxa1rbvh6ay1iz2qnp9hl1745k9pk6195kdnbn73piy"; 7683 - }; 7684 - hardeningDisable = [ 7685 - "bindnow" 7686 - "relro" 7687 - ]; 7688 - strictDeps = true; 7689 - nativeBuildInputs = [ pkg-config ]; 7690 - buildInputs = [ 7691 - libX11 7692 - xorgproto 7693 - libXv 7694 - ]; 7695 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7696 - meta = { 7697 - pkgConfigModules = [ ]; 7698 - platforms = lib.platforms.unix; 7699 - }; 7700 - }) 7701 - ) { }; 7702 - 7703 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7704 5644 xwd = callPackage ( 7705 5645 { 7706 5646 stdenv, ··· 7727 5667 nativeBuildInputs = [ pkg-config ]; 7728 5668 buildInputs = [ 7729 5669 libxkbfile 7730 - libX11 7731 - xorgproto 7732 - ]; 7733 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7734 - meta = { 7735 - pkgConfigModules = [ ]; 7736 - platforms = lib.platforms.unix; 7737 - }; 7738 - }) 7739 - ) { }; 7740 - 7741 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7742 - xwininfo = callPackage ( 7743 - { 7744 - stdenv, 7745 - pkg-config, 7746 - fetchurl, 7747 - libX11, 7748 - libxcb, 7749 - xorgproto, 7750 - testers, 7751 - }: 7752 - stdenv.mkDerivation (finalAttrs: { 7753 - pname = "xwininfo"; 7754 - version = "1.1.6"; 7755 - builder = ./builder.sh; 7756 - src = fetchurl { 7757 - url = "mirror://xorg/individual/app/xwininfo-1.1.6.tar.xz"; 7758 - sha256 = "0gr5m4lyvkil3cl63zf0sw7bq5qgraqrnvddk6xgk3a42xy8j61m"; 7759 - }; 7760 - hardeningDisable = [ 7761 - "bindnow" 7762 - "relro" 7763 - ]; 7764 - strictDeps = true; 7765 - nativeBuildInputs = [ pkg-config ]; 7766 - buildInputs = [ 7767 - libX11 7768 - libxcb 7769 - xorgproto 7770 - ]; 7771 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 7772 - meta = { 7773 - pkgConfigModules = [ ]; 7774 - platforms = lib.platforms.unix; 7775 - }; 7776 - }) 7777 - ) { }; 7778 - 7779 - # THIS IS A GENERATED FILE. DO NOT EDIT! 7780 - xwud = callPackage ( 7781 - { 7782 - stdenv, 7783 - pkg-config, 7784 - fetchurl, 7785 - libX11, 7786 - xorgproto, 7787 - testers, 7788 - }: 7789 - stdenv.mkDerivation (finalAttrs: { 7790 - pname = "xwud"; 7791 - version = "1.0.7"; 7792 - builder = ./builder.sh; 7793 - src = fetchurl { 7794 - url = "mirror://xorg/individual/app/xwud-1.0.7.tar.xz"; 7795 - sha256 = "07n6q1z33sjkx8lx8lbd26m8ri5gi145k3mz39kmyykdngdbwp75"; 7796 - }; 7797 - hardeningDisable = [ 7798 - "bindnow" 7799 - "relro" 7800 - ]; 7801 - strictDeps = true; 7802 - nativeBuildInputs = [ pkg-config ]; 7803 - buildInputs = [ 7804 5670 libX11 7805 5671 xorgproto 7806 5672 ];
+147
pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl
··· 36 36 $pcMap{"GL"} = "libGL"; 37 37 $pcMap{"gbm"} = "libgbm"; 38 38 $pcMap{"hwdata"} = "hwdata"; 39 + $pcMap{"dmx"} = "libdmx"; 40 + $pcMap{"fontenc"} = "libfontenc"; 39 41 $pcMap{"fontutil"} = "fontutil"; 42 + $pcMap{"ice"} = "libICE"; 43 + $pcMap{"libfs"} = "libFS"; 40 44 $pcMap{"pciaccess"} = "libpciaccess"; 41 45 $pcMap{"pthread-stubs"} = "libpthreadstubs"; 46 + $pcMap{"sm"} = "libSM"; 42 47 $pcMap{"x11"} = "libX11"; 43 48 $pcMap{"x11-xcb"} = "libX11"; 44 49 $pcMap{"xau"} = "libXau"; 50 + $pcMap{"xaw6"} = "libXaw"; 51 + $pcMap{"xaw7"} = "libXaw"; 45 52 $pcMap{"xbitmaps"} = "xbitmaps"; 53 + $pcMap{"xcb-atom"} = "xcbutil"; 54 + $pcMap{"xcb-aux"} = "xcbutil"; 55 + $pcMap{"xcb-errors"} = "xcbutilerrors"; 56 + $pcMap{"xcb-event"} = "xcbutil"; 57 + $pcMap{"xcb-ewmh"} = "xcbutilwm"; 58 + $pcMap{"xcb-icccm"} = "xcbutilwm"; 59 + $pcMap{"xcb-image"} = "xcbutilimage"; 60 + $pcMap{"xcb-keysyms"} = "xcbutilkeysyms"; 46 61 $pcMap{"xcb-proto"} = "xcbproto"; 62 + $pcMap{"xcb-renderutil"} = "xcbutilrenderutil"; 63 + $pcMap{"xcb-util"} = "xcbutil"; 64 + $pcMap{"xcursor"} = "libXcursor"; 47 65 $pcMap{"xdmcp"} = "libXdmcp"; 48 66 $pcMap{"xext"} = "libXext"; 67 + $pcMap{"xfixes"} = "libXfixes"; 68 + $pcMap{"xmu"} = "libXmu"; 69 + $pcMap{"xmuu"} = "libXmu"; 70 + $pcMap{"xpm"} = "libXpm"; 71 + $pcMap{"xrandr"} = "libXrandr"; 72 + $pcMap{"xrender"} = "libXrender"; 73 + $pcMap{"xt"} = "libXt"; 49 74 $pcMap{"xtrans"} = "xtrans"; 75 + $pcMap{"xv"} = "libXv"; 76 + $pcMap{"xvmc"} = "libXvMC"; 77 + $pcMap{"xvmc-wrapper"} = "libXvMC"; 78 + $pcMap{"xxf86dga"} = "libXxf86dga"; 79 + $pcMap{"xxf86misc"} = "libXxf86misc"; 80 + $pcMap{"xxf86vm"} = "libXxf86vm"; 50 81 $pcMap{"\$PIXMAN"} = "pixman"; 51 82 $pcMap{"\$RENDERPROTO"} = "xorgproto"; 52 83 $pcMap{"\$DRI3PROTO"} = "xorgproto"; ··· 287 318 { 288 319 lib, 289 320 bdftopcf, 321 + font-adobe-100dpi, 322 + font-adobe-75dpi, 323 + font-adobe-utopia-100dpi, 324 + font-adobe-utopia-75dpi, 325 + font-adobe-utopia-type1, 290 326 font-alias, 327 + font-bh-ttf, 328 + font-bh-type1, 329 + font-encodings, 330 + font-mutt-misc, 291 331 font-util, 292 332 gccmakedep, 333 + ico, 293 334 imake, 335 + libapplewm, 336 + libdmx, 337 + libfontenc, 338 + libfs, 339 + libice, 294 340 libpciaccess, 295 341 libpthread-stubs, 342 + libsm, 296 343 libx11, 297 344 libxau, 345 + libxaw, 298 346 libxcb, 347 + libxcb-errors, 348 + libxcb-image, 349 + libxcb-keysyms, 350 + libxcb-render-util, 351 + libxcb-util, 352 + libxcb-wm, 299 353 libxcvt, 354 + libxcursor, 300 355 libxdmcp, 301 356 libxext, 357 + libxfixes, 358 + libxmu, 359 + libxpm, 360 + libxrandr, 361 + libxrender, 362 + libxt, 363 + libxv, 364 + libxvmc, 365 + libxxf86dga, 366 + libxxf86misc, 367 + libxxf86vm, 302 368 lndir, 303 369 luit, 304 370 makedepend, 371 + mkfontscale, 305 372 pixman, 306 373 sessreg, 374 + transset, 307 375 util-macros, 308 376 xbitmaps, 309 377 xcb-proto, 378 + xcmsdb, 379 + xcursorgen, 380 + xcursor-themes, 381 + xdriinfo, 382 + xev, 383 + xfsinfo, 384 + xgamma, 385 + xgc, 386 + xhost, 387 + xkbutils, 310 388 xkeyboard-config, 389 + xkill, 390 + xlsatoms, 391 + xlsclients, 392 + xlsfonts, 393 + xmodmap, 311 394 xorg-cf-files, 312 395 xorg-docs, 313 396 xorgproto, 314 397 xorg-sgml-doctools, 398 + xprop, 399 + xrandr, 400 + xrefresh, 315 401 xtrans, 402 + xvinfo, 403 + xwininfo, 404 + xwud, 316 405 }: 317 406 318 407 self: with self; { ··· 320 409 inherit 321 410 bdftopcf 322 411 gccmakedep 412 + ico 323 413 imake 414 + libdmx 415 + libfontenc 324 416 libpciaccess 325 417 libxcb 326 418 libxcvt 327 419 lndir 328 420 luit 329 421 makedepend 422 + mkfontscale 330 423 pixman 331 424 sessreg 425 + transset 332 426 xbitmaps 427 + xcmsdb 428 + xcursorgen 429 + xdriinfo 430 + xev 431 + xfsinfo 432 + xgamma 433 + xgc 434 + xhost 435 + xkbutils 436 + xkill 437 + xlsatoms 438 + xlsclients 439 + xlsfonts 440 + xmodmap 333 441 xorgproto 442 + xprop 443 + xrandr 444 + xrefresh 334 445 xtrans 446 + xvinfo 447 + xwininfo 448 + xwud 335 449 ; 450 + encodings = font-encodings; 451 + fontadobe100dpi = font-adobe-100dpi; 452 + fontadobe75dpi = font-adobe-75dpi; 453 + fontadobeutopia100dpi = font-adobe-utopia-100dpi; 454 + fontadobeutopia75dpi = font-adobe-utopia-75dpi; 455 + fontadobeutopiatype1 = font-adobe-utopia-type1; 336 456 fontalias = font-alias; 457 + fontbhttf = font-bh-ttf; 458 + fontbhtype1 = font-bh-type1; 459 + fontmuttmisc = font-mutt-misc; 337 460 fontutil = font-util; 461 + libAppleWM = libapplewm; 462 + libFS = libfs; 463 + libICE = libice; 338 464 libpthreadstubs = libpthread-stubs; 465 + libSM = libsm; 339 466 libX11 = libx11; 340 467 libXau = libxau; 468 + libXaw = libxaw; 469 + libXcursor = libxcursor; 341 470 libXdmcp = libxdmcp; 342 471 libXext = libxext; 472 + libXfixes = libxfixes; 473 + libXmu = libxmu; 474 + libXpm = libxpm; 475 + libXrandr = libxrandr; 476 + libXrender = libxrender; 477 + libXt = libxt; 478 + libXv = libxv; 479 + libXvMC = libxvmc; 480 + libXxf86dga = libxxf86dga; 481 + libXxf86misc = libxxf86misc; 482 + libXxf86vm = libxxf86vm; 343 483 utilmacros = util-macros; 344 484 xcbproto = xcb-proto; 485 + xcbutilerrors = libxcb-errors; 486 + xcbutilimage = libxcb-image; 487 + xcbutilkeysyms = libxcb-keysyms; 488 + xcbutil = libxcb-util; 489 + xcbutilrenderutil = libxcb-render-util; 490 + xcbutilwm = libxcb-wm; 345 491 xkeyboardconfig = xkeyboard-config; 492 + xcursorthemes = xcursor-themes; 346 493 xorgcffiles = xorg-cf-files; 347 494 xorgdocs = xorg-docs; 348 495 xorgsgmldoctools = xorg-sgml-doctools;
-257
pkgs/servers/x11/xorg/overrides.nix
··· 147 147 }); 148 148 149 149 iceauth = addMainProgram super.iceauth { }; 150 - ico = addMainProgram super.ico { }; 151 150 152 151 mkfontdir = xorg.mkfontscale; 153 152 154 - libAppleWM = super.libAppleWM.overrideAttrs (attrs: { 155 - nativeBuildInputs = attrs.nativeBuildInputs ++ [ 156 - autoreconfHook 157 - xorg.utilmacros 158 - ]; 159 - meta = attrs.meta // { 160 - platforms = lib.platforms.darwin; 161 - }; 162 - }); 163 - 164 153 libXtst = super.libXtst.overrideAttrs (attrs: { 165 154 meta = attrs.meta // { 166 155 pkgConfigModules = [ "xtst" ]; ··· 177 166 configureFlags = lib.optional isDarwin "CFLAGS=-O0"; 178 167 }); 179 168 180 - libXxf86vm = super.libXxf86vm.overrideAttrs (attrs: { 181 - outputs = [ 182 - "out" 183 - "dev" 184 - ]; 185 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 186 - }); 187 - libXxf86dga = super.libXxf86dga.overrideAttrs (attrs: { 188 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 189 - }); 190 - libXxf86misc = super.libXxf86misc.overrideAttrs (attrs: { 191 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 192 - }); 193 - libdmx = super.libdmx.overrideAttrs (attrs: { 194 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 195 - }); 196 - libFS = super.libFS.overrideAttrs (attrs: { 197 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 198 - }); 199 169 libWindowsWM = super.libWindowsWM.overrideAttrs (attrs: { 200 170 configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 201 171 }); ··· 234 204 }; 235 205 }); 236 206 237 - # Propagate some build inputs because of header file dependencies. 238 - # Note: most of these are in Requires.private, so maybe builder.sh 239 - # should propagate them automatically. 240 - libXt = super.libXt.overrideAttrs (attrs: { 241 - preConfigure = '' 242 - sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure 243 - ''; 244 - configureFlags = 245 - attrs.configureFlags or [ ] 246 - ++ malloc0ReturnsNullCrossFlag 247 - ++ lib.optional (stdenv.targetPlatform.useLLVM or false) "ac_cv_path_RAWCPP=cpp"; 248 - propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [ xorg.libSM ]; 249 - depsBuildBuild = [ buildPackages.stdenv.cc ]; 250 - CPP = if stdenv.hostPlatform.isDarwin then "clang -E -" else "${stdenv.cc.targetPrefix}cc -E -"; 251 - outputDoc = "devdoc"; 252 - outputs = [ 253 - "out" 254 - "dev" 255 - "devdoc" 256 - ]; 257 - }); 258 - 259 - libICE = super.libICE.overrideAttrs (attrs: { 260 - outputs = [ 261 - "out" 262 - "dev" 263 - "doc" 264 - ]; 265 - }); 266 - 267 207 libXcomposite = super.libXcomposite.overrideAttrs (attrs: { 268 208 outputs = [ 269 209 "out" ··· 272 212 propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [ xorg.libXfixes ]; 273 213 }); 274 214 275 - libXaw = super.libXaw.overrideAttrs (attrs: { 276 - outputs = [ 277 - "out" 278 - "dev" 279 - "devdoc" 280 - ]; 281 - propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [ xorg.libXmu ]; 282 - }); 283 - 284 - libXcursor = super.libXcursor.overrideAttrs (attrs: { 285 - outputs = [ 286 - "out" 287 - "dev" 288 - ]; 289 - }); 290 - 291 215 libXdamage = super.libXdamage.overrideAttrs (attrs: { 292 216 outputs = [ 293 217 "out" ··· 316 240 }; 317 241 }); 318 242 319 - libXfixes = super.libXfixes.overrideAttrs (attrs: { 320 - outputs = [ 321 - "out" 322 - "dev" 323 - ]; 324 - }); 325 - 326 243 libXi = super.libXi.overrideAttrs (attrs: { 327 244 outputs = [ 328 245 "out" ··· 349 266 configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 350 267 }); 351 268 352 - libXmu = super.libXmu.overrideAttrs (attrs: { 353 - outputs = [ 354 - "out" 355 - "dev" 356 - "doc" 357 - ]; 358 - buildFlags = [ "BITMAP_DEFINES='-DBITMAPDIR=\"/no-such-path\"'" ]; 359 - }); 360 - 361 - libXrandr = super.libXrandr.overrideAttrs (attrs: { 362 - outputs = [ 363 - "out" 364 - "dev" 365 - ]; 366 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 367 - propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [ xorg.libXrender ]; 368 - }); 369 - 370 - libSM = super.libSM.overrideAttrs (attrs: { 371 - outputs = [ 372 - "out" 373 - "dev" 374 - "doc" 375 - ]; 376 - propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [ 377 - xorg.libICE 378 - xorg.xtrans 379 - ]; 380 - }); 381 - 382 - libXrender = super.libXrender.overrideAttrs (attrs: { 383 - outputs = [ 384 - "out" 385 - "dev" 386 - "doc" 387 - ]; 388 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 389 - propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [ xorg.xorgproto ]; 390 - }); 391 - 392 269 libXres = super.libXres.overrideAttrs (attrs: { 393 270 outputs = [ 394 271 "out" ··· 404 281 configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 405 282 }); 406 283 407 - libXv = super.libXv.overrideAttrs (attrs: { 408 - outputs = [ 409 - "out" 410 - "dev" 411 - "devdoc" 412 - ]; 413 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 414 - }); 415 - 416 - libXvMC = super.libXvMC.overrideAttrs (attrs: { 417 - outputs = [ 418 - "out" 419 - "dev" 420 - "doc" 421 - ]; 422 - configureFlags = attrs.configureFlags or [ ] ++ malloc0ReturnsNullCrossFlag; 423 - buildInputs = attrs.buildInputs ++ [ xorg.xorgproto ]; 424 - }); 425 - 426 284 libXp = super.libXp.overrideAttrs (attrs: { 427 285 outputs = [ 428 286 "out" ··· 430 288 ]; 431 289 }); 432 290 433 - libXpm = super.libXpm.overrideAttrs (attrs: { 434 - outputs = [ 435 - "bin" 436 - "dev" 437 - "out" 438 - ]; # tiny man in $bin 439 - patchPhase = "sed -i '/USE_GETTEXT_TRUE/d' sxpm/Makefile.in cxpm/Makefile.in"; 440 - XPM_PATH_COMPRESS = lib.makeBinPath [ ncompress ]; 441 - XPM_PATH_GZIP = lib.makeBinPath [ gzip ]; 442 - XPM_PATH_UNCOMPRESS = lib.makeBinPath [ gzip ]; 443 - meta = attrs.meta // { 444 - mainProgram = "sxpm"; 445 - }; 446 - }); 447 - 448 291 libXpresent = super.libXpresent.overrideAttrs (attrs: { 449 292 buildInputs = attrs.buildInputs ++ [ 450 293 xorg.libXext ··· 479 322 }; 480 323 }); 481 324 482 - mkfontscale = addMainProgram super.mkfontscale { }; 483 325 oclock = addMainProgram super.oclock { }; 484 326 smproxy = addMainProgram super.smproxy { }; 485 - transset = addMainProgram super.transset { }; 486 327 487 328 viewres = addMainProgram super.viewres { }; 488 329 ··· 498 339 499 340 xcalc = addMainProgram super.xcalc { }; 500 341 501 - xcbutil = super.xcbutil.overrideAttrs (attrs: { 502 - outputs = [ 503 - "out" 504 - "dev" 505 - ]; 506 - }); 507 - 508 - xcbutilerrors = super.xcbutilerrors.overrideAttrs (attrs: { 509 - outputs = [ 510 - "out" 511 - "dev" 512 - ]; # mainly to get rid of propagating others 513 - }); 514 - 515 342 xcbutilcursor = super.xcbutilcursor.overrideAttrs (attrs: { 516 343 outputs = [ 517 344 "out" ··· 522 349 }; 523 350 }); 524 351 525 - xcbutilimage = super.xcbutilimage.overrideAttrs (attrs: { 526 - outputs = [ 527 - "out" 528 - "dev" 529 - ]; # mainly to get rid of propagating others 530 - }); 531 - 532 - xcbutilkeysyms = super.xcbutilkeysyms.overrideAttrs (attrs: { 533 - outputs = [ 534 - "out" 535 - "dev" 536 - ]; # mainly to get rid of propagating others 537 - }); 538 - 539 - xcbutilrenderutil = super.xcbutilrenderutil.overrideAttrs (attrs: { 540 - outputs = [ 541 - "out" 542 - "dev" 543 - ]; # mainly to get rid of propagating others 544 - }); 545 - 546 - xcbutilwm = super.xcbutilwm.overrideAttrs (attrs: { 547 - outputs = [ 548 - "out" 549 - "dev" 550 - ]; # mainly to get rid of propagating others 551 - }); 552 - 553 352 xf86inputevdev = super.xf86inputevdev.overrideAttrs (attrs: { 554 353 outputs = [ 555 354 "out" ··· 744 543 }; 745 544 }); 746 545 747 - xdriinfo = super.xdriinfo.overrideAttrs (attrs: { 748 - buildInputs = attrs.buildInputs ++ [ libGL ]; 749 - meta = attrs.meta // { 750 - mainProgram = "xdriinfo"; 751 - }; 752 - }); 753 - 754 - xev = addMainProgram super.xev { }; 755 546 xeyes = addMainProgram super.xeyes { }; 756 547 757 - xvinfo = super.xvinfo.overrideAttrs (attrs: { 758 - buildInputs = attrs.buildInputs ++ [ xorg.libXext ]; 759 - meta = attrs.meta // { 760 - mainProgram = "xvinfo"; 761 - }; 762 - }); 763 - 764 548 xkbcomp = super.xkbcomp.overrideAttrs (attrs: { 765 549 configureFlags = [ "--with-xkb-config-root=${xorg.xkeyboardconfig}/share/X11/xkb" ]; 766 550 meta = attrs.meta // { ··· 824 608 nativeBuildInputs = old.nativeBuildInputs ++ [ automake ]; 825 609 postPatch = lib.concatStrings (lib.mapAttrsToList patchIn layouts); 826 610 }); 827 - 828 - xlsfonts = super.xlsfonts.overrideAttrs (attrs: { 829 - meta = attrs.meta // { 830 - license = lib.licenses.mit; 831 - mainProgram = "xlsfonts"; 832 - }; 833 - }); 834 611 835 612 xorgserver = super.xorgserver.overrideAttrs ( 836 613 attrs_passed: ··· 1099 876 1100 877 xbacklight = addMainProgram super.xbacklight { }; 1101 878 xclock = addMainProgram super.xclock { }; 1102 - xcmsdb = addMainProgram super.xcmsdb { }; 1103 879 xcompmgr = addMainProgram super.xcompmgr { }; 1104 880 xconsole = addMainProgram super.xconsole { }; 1105 - xcursorgen = addMainProgram super.xcursorgen { }; 1106 - 1107 - xcursorthemes = super.xcursorthemes.overrideAttrs (attrs: { 1108 - nativeBuildInputs = attrs.nativeBuildInputs ++ [ xorg.xcursorgen ]; 1109 - buildInputs = attrs.buildInputs ++ [ xorg.xorgproto ]; 1110 - configureFlags = [ "--with-cursordir=$(out)/share/icons" ]; 1111 - }); 1112 881 1113 882 xinit = 1114 883 (super.xinit.override { ··· 1196 965 xfd = addMainProgram super.xfd { }; 1197 966 xfontsel = addMainProgram super.xfontsel { }; 1198 967 xfs = addMainProgram super.xfs { }; 1199 - xfsinfo = addMainProgram super.xfsinfo { }; 1200 - xgamma = addMainProgram super.xgamma { }; 1201 - xgc = addMainProgram super.xgc { }; 1202 - xhost = addMainProgram super.xhost { }; 1203 968 xinput = addMainProgram super.xinput { }; 1204 969 xkbevd = addMainProgram super.xkbevd { }; 1205 970 xkbprint = addMainProgram super.xkbprint { }; 1206 - xkill = addMainProgram super.xkill { }; 1207 971 xload = addMainProgram super.xload { }; 1208 - xlsatoms = addMainProgram super.xlsatoms { }; 1209 - xlsclients = addMainProgram super.xlsclients { }; 1210 972 xmag = addMainProgram super.xmag { }; 1211 973 xmessage = addMainProgram super.xmessage { }; 1212 - xmodmap = addMainProgram super.xmodmap { }; 1213 974 xmore = addMainProgram super.xmore { }; 1214 975 1215 976 xpr = addMainProgram super.xpr { }; 1216 - xprop = addMainProgram super.xprop { }; 1217 977 1218 978 xrdb = super.xrdb.overrideAttrs (attrs: { 1219 979 configureFlags = [ "--with-cpp=${mcpp}/bin/mcpp" ]; ··· 1222 982 }; 1223 983 }); 1224 984 1225 - xrandr = super.xrandr.overrideAttrs (attrs: { 1226 - postInstall = '' 1227 - rm $out/bin/xkeystone 1228 - ''; 1229 - meta = attrs.meta // { 1230 - mainProgram = "xrandr"; 1231 - }; 1232 - }); 1233 - 1234 - xrefresh = addMainProgram super.xrefresh { }; 1235 985 xset = addMainProgram super.xset { }; 1236 986 xsetroot = addMainProgram super.xsetroot { }; 1237 987 xsm = addMainProgram super.xsm { }; 1238 988 xstdcmap = addMainProgram super.xstdcmap { }; 1239 989 xwd = addMainProgram super.xwd { }; 1240 - xwininfo = addMainProgram super.xwininfo { }; 1241 - xwud = addMainProgram super.xwud { }; 1242 990 1243 991 # convert Type1 vector fonts to OpenType fonts 1244 992 fontbitstreamtype1 = super.fontbitstreamtype1.overrideAttrs (attrs: { ··· 1267 1015 let 1268 1016 # unfree but redistributable 1269 1017 redist = [ 1270 - "fontadobeutopiatype1" 1271 - "fontadobeutopia100dpi" 1272 - "fontadobeutopia75dpi" 1273 - "fontbhtype1" 1274 1018 "fontibmtype1" 1275 - "fontbhttf" 1276 1019 "fontbh100dpi" 1277 1020 "fontbh75dpi" 1278 1021
-58
pkgs/servers/x11/xorg/tarballs.list
··· 1 - mirror://xorg/individual/xcb/xcb-util-0.4.1.tar.xz 2 - mirror://xorg/individual/xcb/xcb-util-errors-1.0.1.tar.xz 3 - mirror://xorg/individual/xcb/xcb-util-image-0.4.1.tar.xz 4 - mirror://xorg/individual/xcb/xcb-util-keysyms-0.4.1.tar.xz 5 - mirror://xorg/individual/xcb/xcb-util-renderutil-0.3.10.tar.xz 6 - mirror://xorg/individual/xcb/xcb-util-wm-0.4.2.tar.xz 7 1 mirror://xorg/individual/app/appres-1.0.7.tar.xz 8 2 mirror://xorg/individual/app/bitmap-1.1.1.tar.xz 9 3 mirror://xorg/individual/app/editres-1.0.9.tar.xz 10 4 mirror://xorg/individual/app/fonttosfnt-1.2.4.tar.xz 11 5 mirror://xorg/individual/app/iceauth-1.0.10.tar.xz 12 - mirror://xorg/individual/app/ico-1.0.6.tar.xz 13 6 mirror://xorg/individual/app/listres-1.0.6.tar.xz 14 - mirror://xorg/individual/app/mkfontscale-1.2.3.tar.xz 15 7 mirror://xorg/individual/app/oclock-1.0.6.tar.xz 16 8 mirror://xorg/individual/app/setxkbmap-1.3.4.tar.xz 17 9 mirror://xorg/individual/app/smproxy-1.0.8.tar.xz 18 - mirror://xorg/individual/app/transset-1.0.4.tar.xz 19 10 mirror://xorg/individual/app/twm-1.0.13.1.tar.xz 20 11 mirror://xorg/individual/app/viewres-1.0.8.tar.xz 21 12 mirror://xorg/individual/app/x11perf-1.6.1.tar.bz2 ··· 23 14 mirror://xorg/individual/app/xbacklight-1.2.4.tar.xz 24 15 mirror://xorg/individual/app/xcalc-1.1.2.tar.xz 25 16 mirror://xorg/individual/app/xclock-1.1.1.tar.xz 26 - mirror://xorg/individual/app/xcmsdb-1.0.7.tar.xz 27 17 mirror://xorg/individual/app/xcompmgr-1.1.10.tar.xz 28 18 mirror://xorg/individual/app/xconsole-1.1.0.tar.xz 29 - mirror://xorg/individual/app/xcursorgen-1.0.9.tar.xz 30 19 mirror://xorg/individual/app/xdm-1.1.17.tar.xz 31 20 mirror://xorg/individual/app/xdpyinfo-1.3.4.tar.xz 32 - mirror://xorg/individual/app/xdriinfo-1.0.7.tar.xz 33 - mirror://xorg/individual/app/xev-1.2.6.tar.xz 34 21 mirror://xorg/individual/app/xeyes-1.3.0.tar.xz 35 22 mirror://xorg/individual/app/xfd-1.1.4.tar.xz 36 23 mirror://xorg/individual/app/xfontsel-1.1.1.tar.xz 37 24 mirror://xorg/individual/app/xfs-1.2.2.tar.xz 38 - mirror://xorg/individual/app/xfsinfo-1.0.7.tar.xz 39 - mirror://xorg/individual/app/xgamma-1.0.7.tar.xz 40 - mirror://xorg/individual/app/xgc-1.0.6.tar.xz 41 - mirror://xorg/individual/app/xhost-1.0.10.tar.xz 42 25 mirror://xorg/individual/app/xinit-1.4.4.tar.xz 43 26 mirror://xorg/individual/app/xinput-1.6.4.tar.xz 44 27 mirror://xorg/individual/app/xkbcomp-1.4.7.tar.xz 45 28 mirror://xorg/individual/app/xkbevd-1.1.6.tar.xz 46 29 mirror://xorg/individual/app/xkbprint-1.0.7.tar.xz 47 - mirror://xorg/individual/app/xkbutils-1.0.6.tar.xz 48 - mirror://xorg/individual/app/xkill-1.0.6.tar.xz 49 30 mirror://xorg/individual/app/xload-1.2.0.tar.xz 50 - mirror://xorg/individual/app/xlsatoms-1.1.4.tar.xz 51 - mirror://xorg/individual/app/xlsclients-1.1.5.tar.xz 52 - mirror://xorg/individual/app/xlsfonts-1.0.8.tar.xz 53 31 mirror://xorg/individual/app/xmag-1.0.8.tar.xz 54 32 mirror://xorg/individual/app/xmessage-1.0.7.tar.xz 55 - mirror://xorg/individual/app/xmodmap-1.0.11.tar.xz 56 33 mirror://xorg/individual/app/xmore-1.0.4.tar.xz 57 34 mirror://xorg/individual/app/xpr-1.2.0.tar.xz 58 - mirror://xorg/individual/app/xprop-1.2.8.tar.xz 59 - mirror://xorg/individual/app/xrandr-1.5.3.tar.xz 60 35 mirror://xorg/individual/app/xrdb-1.2.2.tar.xz 61 - mirror://xorg/individual/app/xrefresh-1.1.0.tar.xz 62 36 mirror://xorg/individual/app/xset-1.2.5.tar.xz 63 37 mirror://xorg/individual/app/xsetroot-1.1.3.tar.xz 64 38 mirror://xorg/individual/app/xsm-1.0.6.tar.xz 65 39 mirror://xorg/individual/app/xstdcmap-1.0.5.tar.xz 66 40 mirror://xorg/individual/app/xtrap-1.0.3.tar.bz2 67 - mirror://xorg/individual/app/xvinfo-1.1.5.tar.xz 68 41 mirror://xorg/individual/app/xwd-1.0.9.tar.xz 69 - mirror://xorg/individual/app/xwininfo-1.1.6.tar.xz 70 - mirror://xorg/individual/app/xwud-1.0.7.tar.xz 71 - mirror://xorg/individual/data/xcursor-themes-1.0.7.tar.xz 72 42 mirror://xorg/individual/driver/xf86-input-evdev-2.11.0.tar.xz 73 43 mirror://xorg/individual/driver/xf86-input-joystick-1.6.4.tar.xz 74 44 mirror://xorg/individual/driver/xf86-input-keyboard-2.1.0.tar.xz ··· 118 88 mirror://xorg/individual/driver/xf86-video-vmware-13.4.0.tar.xz 119 89 mirror://xorg/individual/driver/xf86-video-voodoo-1.2.6.tar.xz 120 90 mirror://xorg/individual/driver/xf86-video-wsfb-0.4.0.tar.bz2 121 - mirror://xorg/individual/font/encodings-1.1.0.tar.xz 122 - mirror://xorg/individual/font/font-adobe-75dpi-1.0.4.tar.xz 123 - mirror://xorg/individual/font/font-adobe-100dpi-1.0.4.tar.xz 124 - mirror://xorg/individual/font/font-adobe-utopia-75dpi-1.0.5.tar.xz 125 - mirror://xorg/individual/font/font-adobe-utopia-100dpi-1.0.5.tar.xz 126 - mirror://xorg/individual/font/font-adobe-utopia-type1-1.0.5.tar.xz 127 91 mirror://xorg/individual/font/font-arabic-misc-1.0.4.tar.xz 128 92 mirror://xorg/individual/font/font-bh-75dpi-1.0.4.tar.xz 129 93 mirror://xorg/individual/font/font-bh-100dpi-1.0.4.tar.xz 130 94 mirror://xorg/individual/font/font-bh-lucidatypewriter-75dpi-1.0.4.tar.xz 131 95 mirror://xorg/individual/font/font-bh-lucidatypewriter-100dpi-1.0.4.tar.xz 132 - mirror://xorg/individual/font/font-bh-ttf-1.0.4.tar.xz 133 - mirror://xorg/individual/font/font-bh-type1-1.0.4.tar.xz 134 96 mirror://xorg/individual/font/font-bitstream-75dpi-1.0.4.tar.xz 135 97 mirror://xorg/individual/font/font-bitstream-100dpi-1.0.4.tar.xz 136 98 mirror://xorg/individual/font/font-bitstream-speedo-1.0.2.tar.gz ··· 147 109 mirror://xorg/individual/font/font-misc-ethiopic-1.0.5.tar.xz 148 110 mirror://xorg/individual/font/font-misc-meltho-1.0.4.tar.xz 149 111 mirror://xorg/individual/font/font-misc-misc-1.1.3.tar.xz 150 - mirror://xorg/individual/font/font-mutt-misc-1.0.4.tar.xz 151 112 mirror://xorg/individual/font/font-schumacher-misc-1.1.3.tar.xz 152 113 mirror://xorg/individual/font/font-screen-cyrillic-1.0.5.tar.xz 153 114 mirror://xorg/individual/font/font-sony-misc-1.0.4.tar.xz 154 115 mirror://xorg/individual/font/font-sun-misc-1.0.4.tar.xz 155 116 mirror://xorg/individual/font/font-winitzki-cyrillic-1.0.4.tar.xz 156 117 mirror://xorg/individual/font/font-xfree86-type1-1.0.5.tar.xz 157 - https://gitlab.freedesktop.org/xorg/lib/libAppleWM/-/archive/be972ebc3a97292e7d2b2350eff55ae12df99a42/libAppleWM-be972ebc3a97292e7d2b2350eff55ae12df99a42.tar.bz2 158 - mirror://xorg/individual/lib/libdmx-1.1.5.tar.xz 159 - mirror://xorg/individual/lib/libfontenc-1.1.8.tar.xz 160 - mirror://xorg/individual/lib/libFS-1.0.10.tar.xz 161 - mirror://xorg/individual/lib/libICE-1.1.2.tar.xz 162 - mirror://xorg/individual/lib/libSM-1.2.6.tar.xz 163 118 mirror://xorg/individual/lib/libWindowsWM-1.0.1.tar.bz2 164 - mirror://xorg/individual/lib/libXaw-1.0.16.tar.xz 165 119 mirror://xorg/individual/lib/libXcomposite-0.4.6.tar.xz 166 - mirror://xorg/individual/lib/libXcursor-1.2.3.tar.xz 167 120 mirror://xorg/individual/lib/libXdamage-1.1.6.tar.xz 168 - mirror://xorg/individual/lib/libXfixes-6.0.1.tar.xz 169 121 mirror://xorg/individual/lib/libXfont-1.5.4.tar.bz2 170 122 mirror://xorg/individual/lib/libXfont2-2.0.7.tar.xz 171 123 mirror://xorg/individual/lib/libXft-2.3.9.tar.xz 172 124 mirror://xorg/individual/lib/libXi-1.8.2.tar.xz 173 125 mirror://xorg/individual/lib/libXinerama-1.1.5.tar.xz 174 126 mirror://xorg/individual/lib/libxkbfile-1.1.3.tar.xz 175 - mirror://xorg/individual/lib/libXmu-1.2.1.tar.xz 176 127 mirror://xorg/individual/lib/libXp-1.0.4.tar.xz 177 - mirror://xorg/individual/lib/libXpm-3.5.17.tar.xz 178 128 mirror://xorg/individual/lib/libXpresent-1.0.1.tar.xz 179 - mirror://xorg/individual/lib/libXrandr-1.5.4.tar.xz 180 - mirror://xorg/individual/lib/libXrender-0.9.12.tar.xz 181 129 mirror://xorg/individual/lib/libXres-1.2.2.tar.xz 182 130 mirror://xorg/individual/lib/libXScrnSaver-1.2.4.tar.xz 183 131 mirror://xorg/individual/lib/libxshmfence-1.3.3.tar.xz 184 132 mirror://xorg/individual/lib/libXTrap-1.0.1.tar.bz2 185 - mirror://xorg/individual/lib/libXt-1.3.1.tar.xz 186 133 mirror://xorg/individual/lib/libXtst-1.2.5.tar.xz 187 - mirror://xorg/individual/lib/libXv-1.0.13.tar.xz 188 - mirror://xorg/individual/lib/libXvMC-1.0.14.tar.xz 189 - mirror://xorg/individual/lib/libXxf86dga-1.1.6.tar.xz 190 - mirror://xorg/individual/lib/libXxf86misc-1.0.4.tar.bz2 191 - mirror://xorg/individual/lib/libXxf86vm-1.1.6.tar.xz 192 134 mirror://xorg/individual/lib/xcb-util-cursor-0.1.5.tar.xz 193 135 mirror://xorg/individual/xserver/xorg-server-21.1.18.tar.xz
+2 -1
pkgs/stdenv/generic/make-derivation.nix
··· 154 154 "pie" 155 155 "relro" 156 156 "stackprotector" 157 + "glibcxxassertions" 157 158 "stackclashprotection" 158 159 "strictoverflow" 159 160 "trivialautovarinit" ··· 889 890 "-c" 890 891 '' 891 892 out="${placeholder "out"}" 892 - if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi 893 + if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; fi 893 894 declare -p > $out 894 895 for var in $passAsFile; do 895 896 pathVar="''${var}Path"
+1 -11
pkgs/stdenv/generic/setup.sh
··· 25 25 set -x 26 26 fi 27 27 28 - if [ -f .attrs.sh ] || [[ -n "${NIX_ATTRS_JSON_FILE:-}" ]]; then 28 + if [[ -n "${NIX_ATTRS_JSON_FILE:-}" ]]; then 29 29 __structuredAttrs=1 30 30 echo "structuredAttrs is enabled" 31 31 ··· 33 33 # ex: out=/nix/store/... 34 34 export "$outputName=${outputs[$outputName]}" 35 35 done 36 - 37 - # $NIX_ATTRS_JSON_FILE pointed to the wrong location in sandbox 38 - # https://github.com/NixOS/nix/issues/6736; please keep around until the 39 - # fix reaches *every patch version* that's >= lib/minver.nix 40 - if ! [[ -e "${NIX_ATTRS_JSON_FILE:-}" ]]; then 41 - export NIX_ATTRS_JSON_FILE="$NIX_BUILD_TOP/.attrs.json" 42 - fi 43 - if ! [[ -e "${NIX_ATTRS_SH_FILE:-}" ]]; then 44 - export NIX_ATTRS_SH_FILE="$NIX_BUILD_TOP/.attrs.sh" 45 - fi 46 36 else 47 37 __structuredAttrs= 48 38 : "${outputs:=out}"
+1 -1
pkgs/stdenv/generic/source-stdenv.sh
··· 1 - if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi 1 + if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; fi 2 2 source "$stdenv/setup" 3 3 source "$1"
+30
pkgs/test/cc-wrapper/hardening.nix
··· 4 4 runCommand, 5 5 runCommandWith, 6 6 runCommandCC, 7 + writeText, 7 8 bintools, 8 9 hello, 9 10 debian-devscripts, ··· 39 40 f3exampleWithStdEnv = writeCBinWithStdenv ./fortify3-example.c; 40 41 41 42 flexArrF2ExampleWithStdEnv = writeCBinWithStdenv ./flex-arrays-fortify-example.c; 43 + 44 + checkGlibcxxassertionsWithStdEnv = 45 + expectDefined: 46 + writeCBinWithStdenv ( 47 + writeText "main.cpp" '' 48 + #if${if expectDefined then "n" else ""}def _GLIBCXX_ASSERTIONS 49 + #error "Expected _GLIBCXX_ASSERTIONS to be ${if expectDefined then "" else "un"}defined" 50 + #endif 51 + int main() {} 52 + '' 53 + ); 42 54 43 55 # for when we need a slightly more complicated program 44 56 helloWithStdEnv = ··· 502 514 hardeningEnable = [ "shadowstack" ]; 503 515 }) false; 504 516 517 + glibcxxassertionsExplicitEnabled = checkGlibcxxassertionsWithStdEnv true stdenv { 518 + hardeningEnable = [ "glibcxxassertions" ]; 519 + }; 520 + 505 521 bindNowExplicitDisabled = 506 522 checkTestBin 507 523 (f2exampleWithStdEnv stdenv { ··· 697 713 hardeningDisable = [ "shadowstack" ]; 698 714 }) true; 699 715 716 + glibcxxassertionsExplicitDisabled = checkGlibcxxassertionsWithStdEnv false stdenv { 717 + hardeningDisable = [ "glibcxxassertions" ]; 718 + }; 719 + 700 720 # most flags can't be "unsupported" by compiler alone and 701 721 # binutils doesn't have an accessible hardeningUnsupportedFlags 702 722 # mechanism, so can only test a couple of flags through altered ··· 897 917 expectFailure = true; 898 918 }; 899 919 920 + glibcxxassertionsStdenvUnsupp = 921 + checkGlibcxxassertionsWithStdEnv false (stdenvUnsupport [ "glibcxxassertions" ]) 922 + { 923 + hardeningEnable = [ "glibcxxassertions" ]; 924 + }; 925 + 900 926 fortify3EnabledEnvEnablesFortify1 = 901 927 checkTestBin 902 928 (f1exampleWithStdEnv stdenv { ··· 1107 1133 allExplicitDisabledShadowStack = shadowStackTest (f1exampleWithStdEnv stdenv { 1108 1134 hardeningDisable = [ "all" ]; 1109 1135 }) true; 1136 + 1137 + glibcxxassertionsExplicitDisabled = checkGlibcxxassertionsWithStdEnv false stdenv { 1138 + hardeningDisable = [ "all" ]; 1139 + }; 1110 1140 } 1111 1141 ) 1112 1142 )
+2
pkgs/test/default.nix
··· 151 151 152 152 php = recurseIntoAttrs (callPackages ./php { }); 153 153 154 + go = recurseIntoAttrs (callPackage ../build-support/go/tests.nix { }); 155 + 154 156 pkg-config = recurseIntoAttrs (callPackage ../top-level/pkg-config/tests.nix { }); 155 157 156 158 buildRustCrate = recurseIntoAttrs (callPackage ../build-support/rust/build-rust-crate/test { });
+21
pkgs/tools/security/pinentry/fix-with-xcbuild-plistbuddy.patch
··· 1 + diff --git a/macosx/copyInfoPlist.sh b/macosx/copyInfoPlist.sh 2 + index f366665153..dfd9511e79 100755 3 + --- a/macosx/copyInfoPlist.sh 4 + +++ b/macosx/copyInfoPlist.sh 5 + @@ -20,9 +20,10 @@ 6 + cp "$1" "$dest" || exit 1 7 + 8 + 9 + -/usr/libexec/PlistBuddy \ 10 + - -c "Set CommitHash '${COMMIT_HASH:--}'" \ 11 + - -c "Set BuildNumber '${BUILD_NUMBER:-0}'" \ 12 + - -c "Set CFBundleVersion '${BUILD_VERSION:-0n}'" \ 13 + - -c "Set CFBundleShortVersionString '$VERSION'" \ 14 + - "$dest" || exit 1 15 + +PlistBuddy "$dest" <<EOF || exit 1 16 + + Set CommitHash "${COMMIT_HASH:--}" 17 + + Set BuildNumber "${BUILD_NUMBER:-0}" 18 + + Set CFBundleVersion "${BUILD_VERSION:-0n}" 19 + + Set CFBundleShortVersionString "$VERSION" 20 + + Save 21 + +EOF
+7 -5
pkgs/tools/security/pinentry/mac.nix
··· 7 7 libgpg-error, 8 8 makeBinaryWrapper, 9 9 texinfo, 10 + xcbuild, 10 11 common-updater-scripts, 11 12 writers, 12 13 }: ··· 27 28 28 29 patches = [ 29 30 ./gettext-0.25.patch 31 + 32 + # Fix the build with xcbuild’s inferior `PlistBuddy(8)`. 33 + ./fix-with-xcbuild-plistbuddy.patch 30 34 ]; 31 35 32 36 # use pregenerated nib files because generating them requires XCode ··· 38 42 cp '${lib.getDev libassuan}/share/aclocal/libassuan.m4' m4/libassuan.m4 39 43 ''; 40 44 41 - # Unfortunately, PlistBuddy from xcbuild is not compatible enough pinentry-mac’s build process. 42 - sandboxProfile = '' 43 - (allow process-exec (literal "/usr/libexec/PlistBuddy")) 44 - ''; 45 - 46 45 strictDeps = true; 47 46 nativeBuildInputs = [ 48 47 autoreconfHook 49 48 makeBinaryWrapper 50 49 texinfo 50 + 51 + # for `PlistBuddy(8)` 52 + xcbuild 51 53 ]; 52 54 53 55 configureFlags = [
+10
pkgs/top-level/aliases.nix
··· 549 549 budgiePlugins = throw "The `budgiePlugins` scope has been removed and all packages moved to the top-level"; # Added 2024-07-14 550 550 buildBarebox = throw "buildBarebox has been removed due to lack of interest in maintaining it in nixpkgs"; # Added 2025-04-19 551 551 buildGo122Module = throw "Go 1.22 is end-of-life, and 'buildGo122Module' has been removed. Please use a newer builder version."; # Added 2025-03-28 552 + buildGo123Module = throw "Go 1.23 is end-of-life, and 'buildGo123Module' has been removed. Please use a newer builder version."; # Added 2025-08-13 552 553 buildGoPackage = throw "`buildGoPackage` has been deprecated and removed, see the Go section in the nixpkgs manual for details"; # Added 2024-11-18 553 554 buildXenPackage = throw "'buildXenPackage' has been removed as a custom Xen build can now be achieved by simply overriding 'xen'."; # Added 2025-05-12 554 555 ··· 1021 1022 gnupg1orig = throw "'gnupg1orig' has been removed due to lack of active upstream maintainance. Consider using 'gnupg' instead"; # Added 2025-01-11 1022 1023 gnupg22 = throw "'gnupg22' is end-of-life. Consider using 'gnupg24' instead"; # Added 2025-01-05 1023 1024 go_1_22 = throw "Go 1.22 is end-of-life and 'go_1_22' has been removed. Please use a newer Go toolchain."; # Added 2024-03-28 1025 + go_1_23 = throw "Go 1.23 is end-of-life and 'go_1_23' has been removed. Please use a newer Go toolchain."; # Added 2025-08-13 1024 1026 gogs = throw '' 1025 1027 Gogs development has stalled. Also, it has several unpatched, critical vulnerabilities that 1026 1028 weren't addressed within a year: https://github.com/gogs/gogs/issues/7777 ··· 2043 2045 python = python2; # Added 2022-01-11 2044 2046 python-swiftclient = throw "'python-swiftclient' has been renamed to/replaced by 'swiftclient'"; # Converted to throw 2024-10-17 2045 2047 pythonFull = python2Full; # Added 2022-01-11 2048 + python3Full = throw "python3Full has been removed. Bluetooth support is now enabled by default. The tkinter package is available within the package set."; 2049 + python310Full = throw "python310Full has been removed. Bluetooth support is now enabled by default. The tkinter package is available within the package set."; 2050 + python311Full = throw "python311Full has been removed. Bluetooth support is now enabled by default. The tkinter package is available within the package set."; 2051 + python312Full = throw "python312Full has been removed. Bluetooth support is now enabled by default. The tkinter package is available within the package set."; 2052 + python313Full = throw "python313Full has been removed. Bluetooth support is now enabled by default. The tkinter package is available within the package set."; 2053 + python314Full = throw "python314Full has been removed. Bluetooth support is now enabled by default. The tkinter package is available within the package set."; 2046 2054 pythonPackages = python.pkgs; # Added 2022-01-11 2047 2055 pypy39 = throw "pypy 3.9 has been removed, use pypy 3.10 instead"; # Added 2025-01-03 2048 2056 ··· 2243 2251 # spidermonkey is not ABI upwards-compatible, so only allow this for nix-shell 2244 2252 spidermonkey = throw "'spidermonkey' has been renamed to/replaced by 'spidermonkey_91'"; # Converted to throw 2024-10-17 2245 2253 spidermonkey_78 = throw "'spidermonkey_78' has been removed because it was unused."; # Added 2025-02-02 2254 + spidermonkey_91 = throw "'spidermonkey_91 is EOL since 2022/09"; # Added 2025-08-26 2246 2255 spidermonkey_102 = throw "'spidermonkey_102' is EOL since 2023/03"; # Added 2024-08-07 2247 2256 spotify-unwrapped = spotify; # added 2022-11-06 2248 2257 spring-boot = throw "'spring-boot' has been renamed to/replaced by 'spring-boot-cli'"; # Converted to throw 2024-10-17 ··· 2562 2571 xmlroff = throw "'xmlroff' has been removed as it is unmaintained and broken"; # Added 2025-05-18 2563 2572 xmr-stak = throw "xmr-stak has been removed from nixpkgs because it was broken"; # Added 2024-07-15 2564 2573 xmake-core-sv = throw "'xmake-core-sv' has been removed, use 'libsv' instead"; # Added 2024-10-10 2574 + xorg-autoconf = util-macros; # Added 2025-08-18 2565 2575 xournal = throw "'xournal' has been removed due to lack of activity upstream and depending on gnome2. Consider using 'xournalpp' instead."; # Added 2024-12-06 2566 2576 xonsh-unwrapped = python3Packages.xonsh; # Added 2024-06-18 2567 2577 xplayer = throw "xplayer has been removed as the upstream project was archived"; # Added 2024-12-27
+15 -71
pkgs/top-level/all-packages.nix
··· 345 345 346 346 cup-docker-noserver = cup-docker.override { withServer = false; }; 347 347 348 - deck = callPackage ../by-name/de/deck/package.nix { 349 - buildGoModule = buildGo123Module; 350 - }; 351 - 352 348 dhallDirectoryToNix = callPackage ../build-support/dhall/directory-to-nix.nix { }; 353 349 354 350 dhallPackageToNix = callPackage ../build-support/dhall/package-to-nix.nix { }; ··· 1202 1198 1203 1199 # The full-featured Git. 1204 1200 gitFull = git.override { 1205 - svnSupport = true; 1201 + svnSupport = stdenv.buildPlatform == stdenv.hostPlatform; 1206 1202 guiSupport = true; 1207 - sendEmailSupport = true; 1203 + sendEmailSupport = stdenv.buildPlatform == stdenv.hostPlatform; 1208 1204 withSsh = true; 1209 1205 withLibsecret = !stdenv.hostPlatform.isDarwin; 1210 1206 }; ··· 1660 1656 1661 1657 inherit (cue) writeCueValidator; 1662 1658 1663 - cyclonedx-gomod = callPackage ../tools/security/cyclonedx-gomod { 1664 - buildGoModule = buildGo123Module; 1665 - }; 1659 + cyclonedx-gomod = callPackage ../tools/security/cyclonedx-gomod { }; 1666 1660 1667 1661 dazel = python3Packages.callPackage ../development/tools/dazel { }; 1668 1662 ··· 4553 4547 }; 4554 4548 bashInteractiveFHS = bashFHS; 4555 4549 4556 - carapace = callPackage ../shells/carapace { 4557 - buildGoModule = buildGo123Module; 4558 - }; 4550 + carapace = callPackage ../shells/carapace { }; 4559 4551 4560 4552 wrapFish = callPackage ../shells/fish/wrapper.nix { }; 4561 4553 ··· 6161 6153 pythonAttr = "python27Full"; 6162 6154 x11Support = true; 6163 6155 }; 6164 - python3Full = python3.override { 6165 - self = python3Full; 6166 - pythonAttr = "python3Full"; 6167 - bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 6168 - x11Support = true; 6169 - }; 6170 - python310Full = python310.override { 6171 - self = python310Full; 6172 - pythonAttr = "python310Full"; 6173 - bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 6174 - x11Support = true; 6175 - }; 6176 - python311Full = python311.override { 6177 - self = python311Full; 6178 - pythonAttr = "python311Full"; 6179 - bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 6180 - x11Support = true; 6181 - }; 6182 - python312Full = python312.override { 6183 - self = python312Full; 6184 - pythonAttr = "python312Full"; 6185 - bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 6186 - x11Support = true; 6187 - }; 6188 - python313Full = python313.override { 6189 - self = python313Full; 6190 - pythonAttr = "python313Full"; 6191 - bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 6192 - x11Support = true; 6193 - }; 6194 - python314Full = python314.override { 6195 - self = python314Full; 6196 - pythonAttr = "python314Full"; 6197 - bluezSupport = lib.meta.availableOn stdenv.hostPlatform bluez; 6198 - x11Support = true; 6199 - }; 6200 6156 6201 6157 # https://py-free-threading.github.io 6202 6158 python313FreeThreading = python313.override { ··· 6320 6276 6321 6277 inherit 6322 6278 ({ 6323 - spidermonkey_91 = callPackage ../development/interpreters/spidermonkey/91.nix { }; 6324 6279 spidermonkey_115 = callPackage ../development/interpreters/spidermonkey/115.nix { }; 6325 6280 spidermonkey_128 = callPackage ../development/interpreters/spidermonkey/128.nix { }; 6326 6281 spidermonkey_140 = callPackage ../development/interpreters/spidermonkey/140.nix { }; 6327 6282 }) 6328 - spidermonkey_91 6329 6283 spidermonkey_115 6330 6284 spidermonkey_128 6331 6285 spidermonkey_140 ··· 8741 8695 8742 8696 prospector = callPackage ../development/tools/prospector { }; 8743 8697 8744 - protobuf = protobuf_31; 8698 + protobuf = protobuf_32; 8745 8699 8746 8700 inherit 8747 8701 ({ ··· 9322 9276 ### DEVELOPMENT / GO 9323 9277 9324 9278 # the unversioned attributes should always point to the same go version 9325 - go = go_1_24; 9326 - buildGoModule = buildGo124Module; 9279 + go = go_1_25; 9280 + buildGoModule = buildGo125Module; 9327 9281 9328 9282 go_latest = go_1_25; 9329 9283 buildGoLatestModule = buildGo125Module; 9330 - 9331 - go_1_23 = callPackage ../development/compilers/go/1.23.nix { }; 9332 - buildGo123Module = callPackage ../build-support/go/module.nix { 9333 - go = buildPackages.go_1_23; 9334 - }; 9335 9284 9336 9285 go_1_24 = callPackage ../development/compilers/go/1.24.nix { }; 9337 9286 buildGo124Module = callPackage ../build-support/go/module.nix { ··· 9454 9403 "3000" 9455 9404 ]; 9456 9405 }; 9457 - sbcl_2_5_4 = wrapLisp { 9458 - pkg = callPackage ../development/compilers/sbcl { version = "2.5.4"; }; 9406 + sbcl_2_5_5 = wrapLisp { 9407 + pkg = callPackage ../development/compilers/sbcl { version = "2.5.5"; }; 9459 9408 faslExt = "fasl"; 9460 9409 flags = [ 9461 9410 "--dynamic-space-size" 9462 9411 "3000" 9463 9412 ]; 9464 9413 }; 9465 - sbcl_2_5_5 = wrapLisp { 9466 - pkg = callPackage ../development/compilers/sbcl { version = "2.5.5"; }; 9414 + sbcl_2_5_7 = wrapLisp { 9415 + pkg = callPackage ../development/compilers/sbcl { version = "2.5.7"; }; 9467 9416 faslExt = "fasl"; 9468 9417 flags = [ 9469 9418 "--dynamic-space-size" 9470 9419 "3000" 9471 9420 ]; 9472 9421 }; 9473 - sbcl = sbcl_2_5_5; 9422 + sbcl = sbcl_2_5_7; 9474 9423 9475 9424 sbclPackages = recurseIntoAttrs sbcl.pkgs; 9476 9425 ··· 10730 10679 withHomed = false; 10731 10680 withHwdb = false; 10732 10681 withImportd = false; 10733 - withIptables = false; 10734 10682 withLibBPF = false; 10735 10683 withLibidn2 = false; 10736 10684 withLocaled = false; ··· 11709 11657 freeoffice 11710 11658 ; 11711 11659 11712 - inherit (xorg) xlsfonts; 11713 - 11714 11660 gimp3 = callPackage ../applications/graphics/gimp { 11715 11661 lcms = lcms2; 11716 11662 }; ··· 13795 13741 amoeba = callPackage ../games/amoeba { }; 13796 13742 amoeba-data = callPackage ../games/amoeba/data.nix { }; 13797 13743 13798 - anki = callPackage ../games/anki { }; 13744 + anki = callPackage ../games/anki { 13745 + protobuf = protobuf_31; 13746 + }; 13799 13747 anki-utils = callPackage ../games/anki/addons/anki-utils.nix { }; 13800 13748 ankiAddons = recurseIntoAttrs (callPackage ../games/anki/addons { }); 13801 13749 anki-bin = callPackage ../games/anki/bin.nix { }; ··· 15527 15475 15528 15476 rustdesk-flutter = callPackage ../by-name/ru/rustdesk-flutter/package.nix { 15529 15477 flutter = flutter324; 15530 - }; 15531 - 15532 - openfreebuds = callPackage ../by-name/op/openfreebuds/package.nix { 15533 - python3Packages = python3Full.pkgs; 15534 15478 }; 15535 15479 15536 15480 davis = callPackage ../by-name/da/davis/package.nix {
+14 -6
pkgs/top-level/perl-packages.nix
··· 346 346 url = "mirror://cpan/authors/id/P/PL/PLICEASE/Alien-Build-2.80.tar.gz"; 347 347 hash = "sha256-2e3JNrBnBbtcte5aLqi89hEaPogVkU8XfhXjwP7TAfM="; 348 348 }; 349 + 350 + # override default postPatch to avoid patchShebangs breaking tests 351 + postPatch = ""; 352 + 349 353 propagatedBuildInputs = [ 350 354 CaptureTiny 351 355 FFICheckLib ··· 7430 7434 7431 7435 CryptURandom = buildPerlPackage { 7432 7436 pname = "Crypt-URandom"; 7433 - version = "0.39"; 7437 + version = "0.54"; 7434 7438 src = fetchurl { 7435 - url = "mirror://cpan/authors/id/D/DD/DDICK/Crypt-URandom-0.39.tar.gz"; 7436 - hash = "sha256-Jol7PPualWAJFRLWCHMaPVv08pn20Pj3LIXzmQEkQSI="; 7439 + url = "mirror://cpan/authors/id/D/DD/DDICK/Crypt-URandom-0.54.tar.gz"; 7440 + hash = "sha256-SnPNOUkzMo2khKrrhkXXNbNUZd9gEJ5VngoosGYFOlc="; 7437 7441 }; 7438 7442 meta = { 7439 7443 description = "Provide non blocking randomness"; ··· 10740 10744 10741 10745 DigestHMAC = buildPerlPackage { 10742 10746 pname = "Digest-HMAC"; 10743 - version = "1.04"; 10747 + version = "1.05"; 10744 10748 src = fetchurl { 10745 - url = "mirror://cpan/authors/id/A/AR/ARODLAND/Digest-HMAC-1.04.tar.gz"; 10746 - hash = "sha256-1ryBVqonXETXlLfBj0TNrEpYFAJFyVnmsZssODiwjtQ="; 10749 + url = "mirror://cpan/authors/id/A/AR/ARODLAND/Digest-HMAC-1.05.tar.gz"; 10750 + hash = "sha256-IVy1nLphB0XPstSz+O91bVkOV+OteYapkuh8SWn83Ho="; 10747 10751 }; 10748 10752 meta = { 10749 10753 description = "Keyed-Hashing for Message Authentication"; ··· 28495 28499 url = "mirror://cpan/authors/id/M/MI/MITHALDU/PPI-1.277.tar.gz"; 28496 28500 hash = "sha256-h8efg7aHbiBgUZZdUBnSUHxVH4GahnUAgOx+xDsuCvg="; 28497 28501 }; 28502 + 28503 + # override default postPatch to avoid patchShebangs breaking tests 28504 + postPatch = ""; 28505 + 28498 28506 buildInputs = [ 28499 28507 ClassInspector 28500 28508 TestDeep
+10 -3
pkgs/top-level/python-packages.nix
··· 18369 18369 18370 18370 tivars = callPackage ../development/python-modules/tivars { }; 18371 18371 18372 - tkinter = callPackage ../development/python-modules/tkinter { 18373 - py = python.override (lib.optionalAttrs (!python.isPyPy) { x11Support = true; }); 18374 - }; 18372 + tkinter = 18373 + if isPyPy then 18374 + null 18375 + else 18376 + callPackage ../development/python-modules/tkinter { 18377 + tcl = pkgs.tcl-9_0; 18378 + tk = pkgs.tk-9_0; 18379 + }; 18375 18380 18376 18381 tkinter-gl = callPackage ../development/python-modules/tkinter-gl { }; 18377 18382 ··· 18834 18839 typer = callPackage ../development/python-modules/typer { }; 18835 18840 18836 18841 typer-shell = callPackage ../development/python-modules/typer-shell { }; 18842 + 18843 + typer-slim = self.typer.override { package = "typer-slim"; }; 18837 18844 18838 18845 types-aiobotocore = callPackage ../development/python-modules/types-aiobotocore { }; 18839 18846
+1
pkgs/top-level/variants.nix
··· 164 164 "shadowstack" 165 165 "nostrictaliasing" 166 166 "pacret" 167 + "glibcxxassertions" 167 168 "trivialautovarinit" 168 169 ] 169 170 ) super'.stdenv;