Compare commits

...

396 commits

Author SHA1 Message Date
Vladimír Čunát
ab98f3a362
Merge branch 'staging' into staging-next 2025-06-08 16:14:35 +02:00
Vladimír Čunát
ed49431a68
libxml2: bump to tip of 2.14 branch (#414734) 2025-06-08 16:13:22 +02:00
Sefa Eyeoglu
d2751b3bb0
curlMinimal: 8.14.0 -> 8.14.1 (#413896) 2025-06-08 14:25:58 +02:00
nixpkgs-ci[bot]
0e9e97efa3
Merge staging-next into staging 2025-06-08 12:06:54 +00:00
nixpkgs-ci[bot]
47f1c81ec7
Merge master into staging-next 2025-06-08 12:05:57 +00:00
nixpkgs-merge-bot[bot]
510570a40a
mitra: 4.3.1 -> 4.4.0 (#414644)
Co-authored-by: haruki7049 <tontonkirikiri@gmail.com>
2025-06-08 11:57:56 +00:00
Pol Dellaiera
0935c20bc1
vscode-extensions.saoudrizwan.claude-dev: 3.17.7 -> 3.17.11 (#414996) 2025-06-08 13:50:29 +02:00
Nikolay Korotkiy
10ca396b6c
podman-tui: 1.6.0 -> 1.6.1 (#414986) 2025-06-08 15:49:54 +04:00
Sizhe Zhao
79bd3e9c48 dqlite: fix build 2025-06-08 17:19:02 +05:30
Sefa Eyeoglu
97d8e6bde3
curlMinimal: 8.14.0 -> 8.14.1
Fixes CVE-2025-5399

https://github.com/curl/curl/releases/tag/curl-8_14_1
https://curl.se/ch/8.14.1.html
https://daniel.haxx.se/blog/2025/06/04/curl-8-14-1/

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-06-08 13:48:35 +02:00
Yureka
2c5c02846e libxml2: bump to tip of 2.14 branch 2025-06-08 13:45:33 +02:00
R. Ryantm
f4af6a85a0 vscode-extensions.saoudrizwan.claude-dev: 3.17.7 -> 3.17.11 2025-06-08 11:38:26 +00:00
Peder Bergebakken Sundt
b7f30c4880
iptables: add meta.mainProgram (#414980) 2025-06-08 13:35:54 +02:00
Nikolay Korotkiy
ee76f43023
python3Packages.django-crispy-bootstrap5: 2025.4 -> 2025.6 (#414954) 2025-06-08 15:20:18 +04:00
zlepper
de09e1f75b jetbrains.*: Don't remove shell scripts, they are invoked by JetBrains Gateway 2025-06-08 16:41:25 +05:30
Nikolay Korotkiy
767dce3542
rutorrent: 5.2.6 -> 5.2.8 (#414952) 2025-06-08 15:09:17 +04:00
R. Ryantm
06ea360c1d podman-tui: 1.6.0 -> 1.6.1 2025-06-08 11:08:42 +00:00
taku0
416b3a8208
firefox-beta-bin-unwrapped: 140.0b4 -> 140.0b6 (#414855) 2025-06-08 20:05:28 +09:00
taku0
b63acb1330
thunderbird-latest-bin-unwrapped: 139.0 -> 139.0.1 (#414974) 2025-06-08 20:02:57 +09:00
K900
92c99b7513 uefi-firmware-parser: drop future dependency
Not actually used, broken on 3.13
2025-06-08 14:02:31 +03:00
K900
dbcc20e331
linuxPackages.opensnitch-ebpf: remove linux.dev references (#391352) 2025-06-08 14:02:05 +03:00
Nikolay Korotkiy
cc6472e720
rqlite: 8.37.1 -> 8.37.4 (#414864) 2025-06-08 14:59:12 +04:00
Aleksana
4e72579e64
gridtracker2: init at 2.250507.0 (#412830) 2025-06-08 18:49:11 +08:00
jack
f2b4d9b9b0 iptables: add meta.mainProgram 2025-06-08 12:43:50 +02:00
John Titor
4a842aed37 nixos/lib/testing: fix network module
This fixes acme tests.

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-06-08 16:12:54 +05:30
nixpkgs-merge-bot[bot]
c5bc76dc44
rust-analyzer-unwrapped: 2025-05-12 -> 2025-06-02 (#414947)
Co-authored-by: oxalica <oxalica@users.noreply.github.com>
2025-06-08 10:39:31 +00:00
rewine
dbe4980a89
rofi-calc: 2.3.0 -> 2.3.1 (#414883) 2025-06-08 18:32:11 +08:00
Gaétan Lepage
37c570edf0
python3Packages.pyopencl: 2025.1 -> 2025.2 (#414955) 2025-06-08 12:29:53 +02:00
sternenseemann
5df226638d haskell.compiler.ghc94: also apply i386 adjustor patch 2025-06-08 12:22:22 +02:00
Michele Guerini Rocco
b16827a225
nixos/dhcpcd: specify withUdev when overriding the package for no udev (#414724) 2025-06-08 12:21:11 +02:00
Nikolay Korotkiy
4ed39bce58
rqlite: modernize 2025-06-08 14:12:58 +04:00
Doron Behar
59c2537d60
python312Packages.tree-sitter-sql: init at 0.3.8 (#413616) 2025-06-08 13:12:03 +03:00
Alex Tunstall
dcdc862ff0 haskell.compiler.ghc94: fix installPhase race
When building a compiler with some of the features disabled (e.g. when
cross-compiling GHC), the installPhase occasionally fails due to what
seems to be a race condition where $out/lib/ghc-$version doesn't yet
exist.

We work around the problem by creating the directory in preInstall.
2025-06-08 12:11:22 +02:00
R. Ryantm
4c954e0049 thunderbird-latest-bin-unwrapped: 139.0 -> 139.0.1 2025-06-08 10:10:19 +00:00
Aleksana
90fccd02c5
clapper-enhancers: 0.8.2 -> 0.8.3 (#414892) 2025-06-08 18:07:34 +08:00
Aleksana
78f9b8acbe
clapper: fix opening files (#414535) 2025-06-08 18:06:19 +08:00
Infinidoge
5416aaae9d ocamlPackages.decoders: init at 1.0.0
Since all decoders-* packages are part of the base decoders package
source, and the versions are all tied together, they are added as a
single commit
2025-06-08 12:01:33 +02:00
Infinidoge
e016599ff5 ocamlPackages.bencode: init at 2.0 2025-06-08 12:01:33 +02:00
Infinidoge
7baddbc4fd ocamlPackages.cbor: init at 0.5 2025-06-08 12:01:33 +02:00
Robert Helgesson
a099e06261 svtplay-dl: add updateScript 2025-06-08 11:42:26 +02:00
Bruno BELANYI
c7c9cae886
woodpecker: 3.6.0 -> 3.7.0 (#414888) 2025-06-08 10:33:21 +01:00
Bruno BELANYI
0d03ad435f
python3Packages.recipe-scrapers: 15.7.1 -> 15.8.0 (#414851) 2025-06-08 10:31:19 +01:00
nixpkgs-merge-bot[bot]
1984225a14
showmethekey: 1.18.2 -> 1.18.3 (#414959)
Co-authored-by: ocfox <i@ocfox.me>
2025-06-08 09:25:18 +00:00
R. Ryantm
02d930e524 showmethekey: 1.18.2 -> 1.18.3 2025-06-08 09:02:14 +00:00
Gaetan Lepage
5edfe0968f python3Packages.pyopencl: 2025.1 -> 2025.2
Diff: https://github.com/inducer/pyopencl/compare/refs/tags/v2025.1...refs/tags/v2025.2

Changelog: https://github.com/inducer/pyopencl/releases/tag/v2025.2
2025-06-08 11:00:31 +02:00
kirillrdy
ecbbc46b76
python3Packages.tomlkit: 0.13.2 -> 0.13.3 (#414471) 2025-06-08 18:58:38 +10:00
Gaétan Lepage
80b9b2bc72
python3Packages.chromadb: fixes (#412528) 2025-06-08 10:54:07 +02:00
Wolfgang Walther
b067dbf08a
postgresqlPackages.timescaledb-apache: 2.20.1 -> 2.20.2 (#414867) 2025-06-08 08:52:22 +00:00
R. Ryantm
a202427a8e python3Packages.django-crispy-bootstrap5: 2025.4 -> 2025.6 2025-06-08 08:46:56 +00:00
Gaétan Lepage
4aaa94e14a
avalanchego: fix build & 1.12.1 -> 1.13.0 (#411802) 2025-06-08 10:41:25 +02:00
R. Ryantm
3b069058d2 rutorrent: 5.2.6 -> 5.2.8 2025-06-08 08:37:33 +00:00
nixpkgs-merge-bot[bot]
88e35d90e9
fabric-ai: 1.4.195 -> 1.4.196 (#414841)
Co-authored-by: jaredmontoya <jaredmontoya@users.noreply.github.com>
2025-06-08 08:30:34 +00:00
R. Ryantm
35c2f4d87b rust-analyzer-unwrapped: 2025-05-12 -> 2025-06-02 2025-06-08 08:14:51 +00:00
Pol Dellaiera
8207ad0d50
python312Packages.rbtools: fix (#414886) 2025-06-08 09:56:50 +02:00
Pol Dellaiera
d7ed3c0dce
pihole-ftl: 6.1 -> 6.2.2 (#414788) 2025-06-08 09:51:06 +02:00
Pol Dellaiera
bf0501a930
vscode-extensions.cweijan.vscode-database-client2: 8.3.4 -> 8.3.5 (#414817) 2025-06-08 09:50:08 +02:00
nixpkgs-merge-bot[bot]
b54a4fa25b
wastebin: 3.1.0 -> 3.2.0 (#414875)
Co-authored-by: matthiasbeyer <mail@beyermatthias.de>
2025-06-08 07:49:58 +00:00
Pol Dellaiera
c51c90296d
vscode-extensions.prisma.prisma: 6.8.2 -> 6.9.0 (#414856) 2025-06-08 09:47:30 +02:00
nixpkgs-merge-bot[bot]
7ece5480e5
easytier: 2.3.0 -> 2.3.1 (#414752)
Co-authored-by: L-Trump <L-Trump@users.noreply.github.com>
2025-06-08 07:24:47 +00:00
nixpkgs-merge-bot[bot]
5d9e5d1f27
siyuan: 3.1.31 -> 3.1.32 (#414668)
Co-authored-by: L-Trump <L-Trump@users.noreply.github.com>
2025-06-08 07:24:15 +00:00
Lennart Kolmodin
32919c5e8f svtplay-dl: 4.109 -> 4.113 2025-06-08 09:14:25 +02:00
nixpkgs-ci[bot]
e0938856bd
Merge staging-next into staging 2025-06-08 06:06:45 +00:00
emaryn
ecfff36802 python312Packages.rbtools: fix 2025-06-08 14:02:20 +08:00
emaryn
47362b472a python312Packages.pydiffx: init at 1.1 2025-06-08 14:02:19 +08:00
Sergei Trofimovich
035c4c42ec hwdata: 0.395 -> 0.396
Changes: https://github.com/vcrhonek/hwdata/compare/v0.395...v0.396
2025-06-08 10:59:18 +05:30
emaryn
7fc19e7921 python312Packages.kgb: init at 7.2 2025-06-08 10:44:16 +08:00
emaryn
7fd2a6fdf3 python312Packages.housekeeping: init at 1.1 2025-06-08 10:44:16 +08:00
R. Ryantm
1c63b6f538 clapper-enhancers: 0.8.2 -> 0.8.3 2025-06-08 01:29:46 +00:00
Sandro Jäckel
bf361c304a
woodpecker: make update script less noisy 2025-06-08 02:57:09 +02:00
Sandro Jäckel
3d5dfe7558
woodpecker: 3.6.0 -> 3.7.0 2025-06-08 02:57:02 +02:00
R. Ryantm
ddb60ac332 rofi-calc: 2.3.0 -> 2.3.1 2025-06-08 00:30:27 +00:00
nixpkgs-ci[bot]
e05766a7c7
Merge staging-next into staging 2025-06-08 00:19:58 +00:00
R. Ryantm
68d5e4fe13 wastebin: 3.1.0 -> 3.2.0 2025-06-07 23:54:42 +00:00
Sarah Clark
c112d7613f python3Packages.langchain-chroma: 0.2.3 -> 0.2.4
changelog: https://github.com/langchain-ai/langchain/releases/tag/langchain-chroma%3D%3D0.2.4

diff: https://github.com/langchain-ai/langchain/compare/langchain-chroma%3D%3D0.2.3...langchain-chroma%3D%3D0.2.4
2025-06-07 16:09:18 -07:00
Sarah Clark
2e6caf7dcf python3Packages.vectorcode: use pre-1.0.0 version of chromadb 2025-06-07 16:09:18 -07:00
Sarah Clark
61265017a3 python3Packages.chromadb: 0.6.3 -> 1.0.12
release notes: https://github.com/chroma-core/chroma/releases/tag/1.0.12
2025-06-07 16:09:18 -07:00
Sarah Clark
23d0f1537a python3Packages.chromadb_0: init at 0.6.3
Pins old version to support legacy AI packages.
2025-06-07 16:09:18 -07:00
Sarah Clark
249fd9d0d7 python3Packages.chromadb: 0.5.20 -> 0.6.3
Last of the pre-1.0.0 releases. Required by some legacy AI packages.

changelog: https://github.com/chroma-core/chroma/releases/tag/0.6.3
2025-06-07 16:09:18 -07:00
Sarah Clark
e54888cf51 python3Packages.chromadb: refactor 2025-06-07 16:09:18 -07:00
Martin Weinelt
82e8b9e77a
cpython: 3.13.3 -> 3.13.4; 3.12.10 -> 3.12.11; 3.11.12 -> 3.11.13; 3.10.17 -> 3.10.18 (#413987) 2025-06-08 01:06:12 +02:00
R. Ryantm
b6286021a2 postgresqlPackages.timescaledb-apache: 2.20.1 -> 2.20.2 2025-06-07 22:58:08 +00:00
R. Ryantm
2cf33d67ff rqlite: 8.37.1 -> 8.37.4 2025-06-07 22:47:23 +00:00
R. Ryantm
8c5b1d26f0 vscode-extensions.prisma.prisma: 6.8.2 -> 6.9.0 2025-06-07 22:04:32 +00:00
R. Ryantm
b288556394 firefox-beta-bin-unwrapped: 140.0b4 -> 140.0b6 2025-06-07 21:47:21 +00:00
R. Ryantm
8e578a4feb python3Packages.recipe-scrapers: 15.7.1 -> 15.8.0 2025-06-07 21:17:10 +00:00
R. Ryantm
ff9a67c179 fabric-ai: 1.4.195 -> 1.4.196 2025-06-07 20:37:58 +00:00
David Hagege
baec4b1cbf python312Packages.tree-sitter-sql: init at 0.3.8 2025-06-07 21:43:54 +03:00
R. Ryantm
71f2c3cf02 vscode-extensions.cweijan.vscode-database-client2: 8.3.4 -> 8.3.5 2025-06-07 18:40:54 +00:00
Doron Behar
1d5b5e77d1
xsimd: 13.0.0 -> 13.2.0 (#414349) 2025-06-07 21:29:33 +03:00
nixpkgs-ci[bot]
968cda0a00
Merge staging-next into staging 2025-06-07 18:05:50 +00:00
williamvds
e8b98ec709
pihole-ftl: update 6.1 -> 6.2.2
Apply some review suggestions by @dotlambda
2025-06-07 17:46:46 +01:00
Jan Tojnar
5f4cf3d8e0
Merge fontconfig: 2.16.0 -> 2.16.2 (#401037) 2025-06-07 18:23:28 +02:00
Emily
2a923be0ef
gn: 2168 -> 2233 (2024-05-03 -> 2025-04-28) (#403859) 2025-06-07 18:21:55 +02:00
7c6f434c
63eb46dcd5 nixos/dhcpcd: specify withUdev when overriding the package for no udev 2025-06-07 16:24:30 +02:00
R. Ryantm
5f794848e3 easytier: 2.3.0 -> 2.3.1 2025-06-07 13:55:47 +00:00
nixpkgs-ci[bot]
ba2d364b11
Merge staging-next into staging 2025-06-07 12:06:51 +00:00
Alyssa Ross
5ca7d9a48b vpnc-scripts: only reference systemd when available
This fixes e.g. static builds, where systemd is unsupported.
2025-06-07 13:02:32 +02:00
R. Ryantm
7ccb42abf0 siyuan: 3.1.31 -> 3.1.32 2025-06-07 07:00:43 +00:00
nixpkgs-ci[bot]
06892faa1a
Merge staging-next into staging 2025-06-07 06:06:09 +00:00
Aleksana
8ef10fb92b
softhsm: fix and enable strictDeps (#413602) 2025-06-07 13:53:57 +08:00
R. Ryantm
4a8b05267a mitra: 4.3.1 -> 4.4.0 2025-06-07 04:48:02 +00:00
Peder Bergebakken Sundt
ce6542e768
sdl{2-compat,3}: clean up dependencies (#414472) 2025-06-07 04:15:15 +02:00
nixpkgs-ci[bot]
d24fd2935b
Merge staging-next into staging 2025-06-07 00:17:50 +00:00
Grimmauld
9149a3a6ed
sdl3: fix zenity support
zenity is used not only for error reporting, but also for file
dialogs if dbus is disabled/unavailable. This needs a patched path too.
2025-06-06 23:20:56 +02:00
Zitrone
5a40acda79 sessreg: refactor and move to pkgs/by-name from xorg namespace 2025-06-06 21:56:40 +02:00
Zitrone
ae5f858668 imake: refactor and move to pkgs/by-name from xorg namespace 2025-06-06 21:56:40 +02:00
Zitrone
f7fe817995 bdftopcf: refactor and move to pkgs/by-name from xorg namespace 2025-06-06 21:56:40 +02:00
Zitrone
cce1cc10f5 lndir: refactor and move to pkgs/by-name from xorg namespace 2025-06-06 21:56:40 +02:00
Zitrone
2298cf9994 xorgproto: refactor and move to pkgs/by-name from xorg namespace 2025-06-06 21:56:40 +02:00
nixpkgs-ci[bot]
da9b2c9f7e
Merge staging-next into staging 2025-06-06 19:43:20 +00:00
nixpkgs-ci[bot]
13b51cfb12
Merge staging-next into staging 2025-06-06 19:33:08 +00:00
nixpkgs-ci[bot]
8452db29d8
Merge staging-next into staging 2025-06-06 18:06:12 +00:00
Peter Waller
1aff0e4c2e gn: 2168 -> 2233 (2024-05-03 -> 2025-04-28)
* Matches commit to chromium info.json a5df9ceb5f/pkgs/applications/networking/browsers/chromium/info.json (L807)
* Drops now unneeded patch.
* Use -Wno-format-security.
* Update chromium gn rev path comment to info.json.

Tested x86_64-linux, aarch64-linux, pkgsStatic.gn,
pkgsCross.aarch64-multiplatform.gn.

Signed-off-by: Peter Waller <p@pwaller.net>
2025-06-06 16:57:47 +01:00
Philip Taron
6ff1644446
treewide: disable benchmarking in Python packages' tests (#414378) 2025-06-06 08:56:42 -07:00
emaryn
5326d831ee xsimd: 13.0.0 -> 13.2.0 2025-06-06 23:51:18 +08:00
emaryn
fc4e894af2 xsimd: no with lib; in meta 2025-06-06 23:50:31 +08:00
emaryn
6c3e2e9963 xsimd: add a few new lines for readability 2025-06-06 23:50:30 +08:00
emaryn
56859e83c6 xsimd: use tag and not rev in src 2025-06-06 23:47:17 +08:00
aleksana
83e1d008b8 clapper: fix opening files 2025-06-06 22:42:46 +08:00
nixpkgs-ci[bot]
1f3609df68
Merge staging-next into staging 2025-06-06 12:07:42 +00:00
Grimmauld
9539fbd235
sdl3: assert ibusSupport -> dbusSupport 2025-06-06 11:30:45 +02:00
Grimmauld
3f9410ebf9
sdl2-compat: don't request tray support from sdl3 2025-06-06 11:30:38 +02:00
Grimmauld
d83ebe17f2
sdl3: make tray support optional 2025-06-06 11:30:34 +02:00
Grimmauld
73f255a43c
sdl3: expose installed-tests in outputs
The `installedTests` contains various test binaries,
some of which only useful on a running system.
Motivation for providing this output is to eventually test
tray support in a VM test, which needs a running dbus session.
2025-06-06 11:30:29 +02:00
misilelab
f80b06e6d8
python3Packages.tomlkit: 0.13.2 -> 0.13.3
https://github.com/python-poetry/tomlkit/blob/0.13.3/CHANGELOG.md

Signed-off-by: misilelab <misileminecord@gmail.com>
2025-06-06 18:25:51 +09:00
Jörg Thalheim
e84c0ce02c
setup-hooks: init parallelRun and parallelMap (#414284) 2025-06-06 10:19:18 +02:00
FliegendeWurst
916d98f71f softhsm: fix and enable strictDeps 2025-06-06 09:02:33 +02:00
nixpkgs-ci[bot]
73a4cfc54d
Merge staging-next into staging 2025-06-06 06:06:50 +00:00
Paul Meyer
a28b4004c9
go_1_24: 1.24.3 -> 1.24.4 (#414366) 2025-06-06 07:49:25 +02:00
DavHau
e230668356 audit-tmpdir.sh: optimize - make use of parallelMap 2025-06-06 11:52:51 +07:00
Philip Taron
7947ffa65a
treewide: migrate to pytest-cov-stub (#413119) 2025-06-05 20:41:31 -07:00
Peder Bergebakken Sundt
75466b214f
bc: 1.08.1 -> 1.08.2 (#412253) 2025-06-06 03:19:38 +02:00
Peder Bergebakken Sundt
236071663b
avahi: add patch fixing libevent name in the .pc file (#396426) 2025-06-06 02:13:36 +02:00
Peder Bergebakken Sundt
271fc29fdd python3Packages.simple-parsing: disable benchmarking 2025-06-06 01:55:15 +02:00
Peder Bergebakken Sundt
3f1a04b06a python3Packages.python-olm: disable benchmarking 2025-06-06 01:55:15 +02:00
Peder Bergebakken Sundt
c4ed86cbf7 python3Packages.pytensor: disable benchmarking 2025-06-06 01:55:15 +02:00
Peder Bergebakken Sundt
ce6da43147 python3Packages.pystac-client: disable benchmarking 2025-06-06 01:55:15 +02:00
Peder Bergebakken Sundt
9838b552d8 python3Packages.pyppmd: disable benchmarking 2025-06-06 01:55:14 +02:00
Peder Bergebakken Sundt
d604f4730e python3Packages.polars: disable benchmarking 2025-06-06 01:55:14 +02:00
Peder Bergebakken Sundt
d70639406d python3Packages.opentelemetry-propagator-aws-xray: disable benchmarking 2025-06-06 01:55:14 +02:00
Peder Bergebakken Sundt
b8b737daab python3Packages.numbagg: disable benchmarking 2025-06-06 01:55:13 +02:00
Peder Bergebakken Sundt
ee3054b591 python3Packages.limits: disable benchmarking 2025-06-06 01:55:13 +02:00
Peder Bergebakken Sundt
dc7c5e0b37 python3Packages.libipld: disable benchmarking 2025-06-06 01:55:13 +02:00
Peder Bergebakken Sundt
7776028b0b python3Packages.ical: disable benchmarking 2025-06-06 01:55:13 +02:00
Peder Bergebakken Sundt
6d0c67dde2 python3Packages.ibis-framework: disable benchmarking 2025-06-06 01:55:12 +02:00
Peder Bergebakken Sundt
340b2fed01 python3Packages.graphql-core: disable benchmarking 2025-06-06 01:55:12 +02:00
Peder Bergebakken Sundt
3af376012e python3Packages.gilknocker: disable benchmarking 2025-06-06 01:55:12 +02:00
Peder Bergebakken Sundt
ec028b161b python3Packages.fastcrc: disable benchmarking 2025-06-06 01:55:12 +02:00
Peder Bergebakken Sundt
2e30f7b0c7 python3Packages.deltalake: disable benchmarking 2025-06-06 01:55:11 +02:00
Peder Bergebakken Sundt
f931f64ed7 python3Packages.boost-histogram: disable benchmarking 2025-06-06 01:55:11 +02:00
Peder Bergebakken Sundt
950492c28e python3Packages.automat: disable benchmarking 2025-06-06 01:55:11 +02:00
Peder Bergebakken Sundt
f0cc511edc python3Packages.ahocorasick-rs: disable benchmarking 2025-06-06 01:55:10 +02:00
Peder Bergebakken Sundt
36961dc47b py7zr: disable benchmarking 2025-06-06 01:55:10 +02:00
zowoq
bef47710e4 go_1_24: 1.24.3 -> 1.24.4
Changelog: https://go.dev/doc/devel/release#go1.24
2025-06-06 08:46:31 +10:00
Peder Bergebakken Sundt
7846763b39
sdl3: 3.2.14 -> 3.2.16 (#414169) 2025-06-06 00:10:04 +02:00
nixpkgs-ci[bot]
9f4e767a3c
Merge staging-next into staging 2025-06-05 19:19:46 +00:00
DavHau
4d12b83ae0 parallelRun, parallelMap: init
These bash helpers make it trivial to write shell based setup hooks that utilize all cores.

This also makes it simpler to optimize existing hooks which are not yet utilizing all cores.

Existing hooks which already use `xargs -P` to parallelize their work, can be optimized further by replacing the xargs call with one of the functions added here , eg. `parallelRun` or `parallelMap`.

The new shell based functions `parallelRun` and `parallelMap` are superior to `xargs -P`, because:

- They perform better as they launch $NIX_BUILD_CORE workers, each handling many jobs, vs `xargss -P` usually launches a new process for each job (anything else is difficult to implement nicely with xargs).

- workers can be defined as shell functions, which allows using all declared shell variables and functions inside the worker (e.g isElf or isScript, etc.), vs. `xargs -P` forces the user to create a new shell process, which cannot re-use declared variables and functions.
2025-06-06 00:25:51 +07:00
nixpkgs-ci[bot]
509fd7b025
Merge staging-next into staging 2025-06-05 16:36:27 +00:00
Philip Taron
716ad130e0
jq: use testers.testVersion instead of versionCheckHook (#414140) 2025-06-05 06:25:18 -07:00
Alyssa Ross
437ad124ac binutils-unwrapped-all-targets: per-target gas
pwntools wants to be able to disassemble arbitrary programs, so it
wants to be able to find gas for an arbitrary architecture in the same
prefix.
2025-06-05 15:12:05 +02:00
Alyssa Ross
14b94d4455 binutils: build outside source tree
This will allow us to configure and build binutils multiple times, to
make gas available for multiple targets in
binutils-unwrapped-all-targets.
2025-06-05 15:12:05 +02:00
Alyssa Ross
ea648ee3d7 binutils: use a no-op for makeinfo
This way, we don't have to touch every file generated from one we
patch.  It also makes it possible to do an out-of-tree build —
otherwise, the source files would be copied into the build directory
during Make, so there'd be no opportunity to touch some of them.

This same hack is already used by the minimal-bootstrap binutils.
2025-06-05 15:12:05 +02:00
Martin Weinelt
d4f11e2f72
python3Packages.django_4: 4.2.21 -> 4.2.22 (#414120) 2025-06-05 14:30:30 +02:00
nixpkgs-ci[bot]
8b9466796c
Merge staging-next into staging 2025-06-05 12:08:14 +00:00
Grimmauld
7219e88cad
sdl3: 3.2.14 -> 3.2.16
Release notes: https://github.com/libsdl-org/SDL/releases/tag/release-3.2.16
Diff: https://github.com/libsdl-org/SDL/compare/release-3.2.14...release-3.2.16

Mostly bugfixes, most of which only relevant for windows, xbox or android.

Some details about (linux) audio changed, specifically how device leases work.
`ffplay` still plays audio just fine, so nothing seems broken.
2025-06-05 10:27:56 +02:00
nixpkgs-ci[bot]
e91377d532
Merge staging-next into staging 2025-06-05 06:07:17 +00:00
Philip Taron
db098f03e2
stdenv: remove --preserve=mode from cp in defaultUnpack (#413959) 2025-06-04 22:02:47 -07:00
Philip Taron
c3ffb48991
jq: use testers.testVersion instead of versionCheckHook
The version of `env` that's in the bootstrap -- and used here -- doesn't support `--argv0=`.
2025-06-04 21:57:12 -07:00
Martin Weinelt
16b903fe2f
python3Packages.django_4: 4.2.21 -> 4.2.22
https://docs.djangoproject.com/en/4.2/releases/4.2.22/
2025-06-05 05:05:07 +02:00
Randy Eckenrode
02821c6a4d
haskell.compiler.ghc*Binary: work around com.apple.provenance xattr (#413450) 2025-06-04 21:24:27 -04:00
dotlambda
a94d9d119f
python3Packages.mocket: fix darwin sandbox (#414011) 2025-06-04 17:39:17 -07:00
nixpkgs-ci[bot]
fd514f43e3
Merge staging-next into staging 2025-06-05 00:17:52 +00:00
nixpkgs-ci[bot]
b9c158242b
Merge staging-next into staging 2025-06-04 21:38:46 +00:00
Olivér Falvai
fd3203f5da python3Packages.mocket: fix darwin sandbox 2025-06-04 21:50:04 +02:00
nixpkgs-ci[bot]
577ffd1b8f
Merge staging-next into staging 2025-06-04 18:06:27 +00:00
nixpkgs-ci[bot]
ba716a8049
Merge staging-next into staging 2025-06-04 17:44:02 +00:00
Martin Weinelt
ec29d1e9a6 python3Packages.exceptiongroup: adjust dependencies for Python<=3.12 2025-06-04 19:43:50 +02:00
Martin Weinelt
05ed4c6594
python310: 3.10.17 -> 3.10.18
https://docs.python.org/release/3.10.18/whatsnew/changelog.html

Fixes: CVE=2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517
2025-06-04 19:27:10 +02:00
Martin Weinelt
3fffba538e
python311: 3.11.12 -> 3.11.13
https://docs.python.org/release/3.11.13/whatsnew/changelog.html

Fixes: CVE=2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517
2025-06-04 19:27:10 +02:00
Martin Weinelt
8cbadfa068
python312: 3.12.10 -> 3.12.11
https://docs.python.org/release/3.12.11/whatsnew/changelog.html

Fixes: CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517
2025-06-04 19:27:09 +02:00
Martin Weinelt
c83cbd4c6f
python313: 3.13.3 -> 3.13.4
https://docs.python.org/release/3.13.4/whatsnew/changelog.html

Fixes: CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517
2025-06-04 19:27:05 +02:00
John Soo
e23b1eba99
pkgs/stdenv: remove --preserve=mode from cp in defaultUnpack
`mode` includes acls and xattrs. Those xattrs can include unsupported
attrs on the destination file system. I.E. If copying from nfs4 to ext
`fsetxattr` can be called with `system.nfs4_acl` which is an
unsupported operation on ext4. This will result in
`cp: preserving permissions for ...: Operation not supported`.

See, for instance:

https://lists.gnu.org/archive/html/coreutils/2024-09/msg00009.html

In our case we saw the following when adding a strace to the cp:

`lgetxattr("/nix/store/ihas6mzn9h54ldgp90pics0yrlmi6ln7-source", "system.nfs4_acl", NULL, 0) = -1 EOPNOTSUPP (Operation not supported)`

Removing this flag should not effect the resulting umask/permission
bits, which I think is all we care about. From the docs:

> In the absence of this option, the permissions of existing
> destination files are unchanged. Each new file is created with the
> mode of the corresponding source file minus the set-user-ID,
> set-group-ID, and sticky bits as the create mode; the operating system
> then applies either the umask or a default ACL, possibly resulting in
> a more restrictive file mode.

https://www.gnu.org/software/coreutils/manual/html_node/cp-invocation.html

So the only real problem I can foresee is if the setuid/setgid or
other sticky bits matter to a build. In which case I think an effected
build might have bigger issues.
2025-06-04 10:35:11 -06:00
Martin Weinelt
b701089080
python3Packages.requests: fix netrc credential leak vulnerability (#413942) 2025-06-04 17:39:50 +02:00
Martin Weinelt
46edfcfff0
Merge remote-tracking branch 'origin/staging-next' into staging 2025-06-04 17:10:57 +02:00
Martin Weinelt
1d22f98be8
python3Packages.requests: fix netrc credential leak vulnerability
Patches a disclosed unfixed vulnerability in the popular requests package
where improper URL parsing could be fooled to disclose any credentials
from a netrc configuration.

https://seclists.org/fulldisclosure/2025/Jun/2

Fixes: CVE-2024-47081
2025-06-04 17:08:45 +02:00
Arne Keller
4f2be01993
libtheora: fix ARM build (#413319) 2025-06-04 16:29:18 +02:00
nixpkgs-ci[bot]
e1514c30fa
Merge staging-next into staging 2025-06-04 12:07:59 +00:00
Vladimír Čunát
01162f6639
libraw: drop freeimage from passthru.tests
It's marked as insecure, which is presumably why
the bot thinks that tests wouldn't pass.
2025-06-04 12:48:52 +02:00
Vladimír Čunát
009f70d5b3
libraw: 0.21.3 -> 0.21.4 (#398358) 2025-06-04 12:39:37 +02:00
Florian Klink
295567616e
systemd: check udev rules outputs in installCheckPhase (#412703) 2025-06-04 11:46:32 +02:00
nixpkgs-ci[bot]
6b42fb97b2
Merge staging-next into staging 2025-06-04 06:06:53 +00:00
nixpkgs-ci[bot]
7e5390675b
Merge staging-next into staging 2025-06-04 00:17:54 +00:00
Peder Bergebakken Sundt
5d7ef15580
sdl3: avoid transitive gtk dependency (#413222) 2025-06-04 00:46:13 +02:00
nixpkgs-ci[bot]
bfd1b2cc1f
Merge staging-next into staging 2025-06-03 18:07:25 +00:00
nixpkgs-ci[bot]
69fcea3f04
Merge staging-next into staging 2025-06-03 12:08:01 +00:00
Arne Keller
5463d09ef3
sqlite: enable Geopoly, Math functions and RBU extensions (#403958) 2025-06-03 10:35:27 +02:00
nixpkgs-ci[bot]
f03ee5f4ab
Merge staging-next into staging 2025-06-03 06:24:47 +00:00
K900
2be9252667 Merge remote-tracking branch 'origin/staging-next' into staging 2025-06-03 09:22:48 +03:00
Philip Taron
70e8bf7d38
libzip: 1.11.3 -> 1.11.4 (#410462) 2025-06-02 15:35:58 -07:00
Philip Taron
aca1f2e70b
libavif: 1.2.1 -> 1.3.0 (#408606) 2025-06-02 15:31:30 -07:00
Philip Taron
9fd646811b
s2n-tls: 1.5.17 -> 1.5.20 (#408254) 2025-06-02 15:21:24 -07:00
Grimmauld
2533354092
sdl3: build against 'ibusMinimal'
`sdl3` only relies on constant definitions in the ibus headers,
which does not require ibus to be compiled with gtk support.
This means we can shrink the unnecessarily large closure.
2025-06-02 23:55:37 +02:00
Grimmauld
8b825b220a
ibus: split into 'ibus' and 'ibusMinimal'
Motivation: `ibus` carries lots of dependencies on various versions of gtk.
These dependencies become transitive dependencies for sdl3, which causes
quite expensive compiles in the sdl3 closure. Particularly, this means gtk
(and, in turn, gstreamer and everything else) become part of e.g. ffmpeg.

`sdl3` itself uses ibus almost exclusively via dbus, and reimplements some
of the most important features. It does depend on ibus only to use some
of the constants defined in headers. It does not actually load ibus libraries.

This means, as long as the headers are identical, all the gtk dependencies
can be removed in the ibus for sdl3. This requires this split.
2025-06-02 23:55:32 +02:00
Philip Taron
d09ec38ecb
libdeflate: 1.23 -> 1.24 (#406356) 2025-06-02 14:42:38 -07:00
Philip Taron
8b63e9d7a1
libunwind: 1.8.1 -> 1.8.2 (#410467) 2025-06-02 14:36:33 -07:00
Philip Taron
029fbe9b9d
valgrind: 3.24.0 -> 3.25.1 (#403251) 2025-06-02 14:16:57 -07:00
Philip Taron
51c88e9972
fuse3: 3.16.2 -> 3.17.2 (#398500) 2025-06-02 14:16:02 -07:00
Philip Taron
cf897f5a86
swig: 4.3.0 -> 4.3.1 (#399070) 2025-06-02 14:08:10 -07:00
Philip Taron
47d324bd79
re2c: 4.1 -> 4.2 (#401241) 2025-06-02 14:06:38 -07:00
Philip Taron
45e9fedef0
pixman: 0.44.2 -> 0.46.0 (#403823) 2025-06-02 14:04:16 -07:00
Philip Taron
003e42348c
mpdecimal: 4.0.0 -> 4.0.1 (#405126) 2025-06-02 13:57:40 -07:00
Pol Dellaiera
21177afd2c
python3Packages.cairosvg: 2.7.1 -> 2.8.2 (#410268) 2025-06-02 22:40:04 +02:00
Philip Taron
3b4ece6e6f
jq: 1.7.1 -> 1.8.0, modernize (#412888) 2025-06-02 13:16:45 -07:00
R. Ryantm
06f6ebf644 minio: 2025-03-12T18-04-18Z -> 2025-05-24T17-08-30Z 2025-06-02 21:56:31 +02:00
Stefan Frijters
8ae7fe9fd3
libtheora: fix ARM build
We need to change to the GitHub source because the release tarball is missing relevant files,
c.f. b167cb4a3e

Without this fix, building ffmpeg for e.g. armv7l-hf-multiplatform fails, because the configure script
hits a linker error while trying to find libtheora .
2025-06-02 21:44:28 +02:00
nixpkgs-ci[bot]
4d8b4225b5
Merge staging-next into staging 2025-06-02 18:06:31 +00:00
nixpkgs-ci[bot]
9883ef53d2
Merge staging-next into staging 2025-06-02 12:07:44 +00:00
Pavol Rusnak
2eb8a378b4
libfido2: 1.15.0 -> 1.16.0 (#404802) 2025-06-02 12:10:56 +02:00
Pavol Rusnak
2757fd9291
hidapi: 0.14.0 -> 0.15.0 (#408482) 2025-06-02 12:10:22 +02:00
Pavol Rusnak
a9f702f3b4
libusb1: 1.0.28 -> 1.0.29 (#413084) 2025-06-02 12:09:28 +02:00
Grimmauld
1771f3a821
ibus: modernize 2025-06-02 11:20:04 +02:00
nixpkgs-ci[bot]
f5fd6fc20f
Merge staging-next into staging 2025-06-02 06:06:57 +00:00
Pol Dellaiera
53da0c8c65
versionCheckHook: add versionCheckKeepEnvironment parameter (#411609) 2025-06-02 07:48:52 +02:00
Peder Bergebakken Sundt
22c3246369 python313Packages.wordcloud: migrate to pytest-cov-stub 2025-06-02 05:56:46 +02:00
Peder Bergebakken Sundt
74478726cd python313Packages.watchdog: migrate to pytest-cov-stub 2025-06-02 05:56:45 +02:00
Peder Bergebakken Sundt
5e3906a892 python313Packages.warlock: migrate to pytest-cov-stub 2025-06-02 05:56:45 +02:00
Peder Bergebakken Sundt
7c68bf3169 python313Packages.vdirsyncer: migrate to pytest-cov-stub 2025-06-02 05:56:45 +02:00
Peder Bergebakken Sundt
169a5a76ad python313Packages.usb-devices: migrate to pytest-cov-stub 2025-06-02 05:56:45 +02:00
Peder Bergebakken Sundt
93d73fb772 python313Packages.unifi-discovery: migrate to pytest-cov-stub 2025-06-02 05:56:44 +02:00
Peder Bergebakken Sundt
7d829e7047 python313Packages.tld: migrate to pytest-cov-stub 2025-06-02 05:56:44 +02:00
Peder Bergebakken Sundt
39ac960568 python313Packages.texsoup: migrate to pytest-cov-stub 2025-06-02 05:56:44 +02:00
Peder Bergebakken Sundt
999f2d3135 python313Packages.tailscale: migrate to pytest-cov-stub 2025-06-02 05:56:43 +02:00
Peder Bergebakken Sundt
3f39860b47 python313Packages.tablib: migrate to pytest-cov-stub 2025-06-02 05:56:43 +02:00
Peder Bergebakken Sundt
6d7a904a13 python313Packages.sure: migrate to pytest-cov-stub 2025-06-02 05:56:43 +02:00
Peder Bergebakken Sundt
d294fbfd67 python313Packages.sockio: migrate to pytest-cov-stub 2025-06-02 05:56:43 +02:00
Peder Bergebakken Sundt
d23b3f2b76 python313Packages.simple-rest-client: migrate to pytest-cov-stub 2025-06-02 05:56:42 +02:00
Peder Bergebakken Sundt
650a9a4ae7 python313Packages.shtab: migrate to pytest-cov-stub 2025-06-02 05:56:42 +02:00
Peder Bergebakken Sundt
a471ff9891 python313Packages.sensor-state-data: migrate to pytest-cov-stub 2025-06-02 05:56:42 +02:00
Peder Bergebakken Sundt
72fcb4c6c9 python313Packages.semver: migrate to pytest-cov-stub 2025-06-02 05:56:41 +02:00
Peder Bergebakken Sundt
1b7dab5de2 python313Packages.segments: migrate to pytest-cov-stub 2025-06-02 05:56:41 +02:00
Peder Bergebakken Sundt
36b82d3b51 python313Packages.scikit-rf: migrate to pytest-cov-stub 2025-06-02 05:56:41 +02:00
Peder Bergebakken Sundt
9f4125c30d python313Packages.rokuecp: migrate to pytest-cov-stub 2025-06-02 05:56:41 +02:00
Peder Bergebakken Sundt
a699788cd8 python313Packages.respx: migrate to pytest-cov-stub 2025-06-02 05:56:40 +02:00
Peder Bergebakken Sundt
80d76c1c15 python313Packages.ratelimit: migrate to pytest-cov-stub 2025-06-02 05:56:40 +02:00
Peder Bergebakken Sundt
2ce1a601bf python313Packages.pyzerproc: migrate to pytest-cov-stub 2025-06-02 05:56:40 +02:00
Peder Bergebakken Sundt
2b44d93529 python313Packages.pyxnat: migrate to pytest-cov-stub 2025-06-02 05:56:40 +02:00
Peder Bergebakken Sundt
c0480c5905 python313Packages.python-stdnum: migrate to pytest-cov-stub 2025-06-02 05:56:39 +02:00
Peder Bergebakken Sundt
0e24678cc9 python313Packages.python-opensky: migrate to pytest-cov-stub 2025-06-02 05:56:39 +02:00
Peder Bergebakken Sundt
0e39480144 python313Packages.python-matter-server: migrate to pytest-cov-stub 2025-06-02 05:56:39 +02:00
Peder Bergebakken Sundt
2d3bdb2f48 python313Packages.python-lsp-jsonrpc: migrate to pytest-cov-stub 2025-06-02 05:56:38 +02:00
Peder Bergebakken Sundt
2bac8c3790 python313Packages.pythonfinder: migrate to pytest-cov-stub 2025-06-02 05:56:38 +02:00
Peder Bergebakken Sundt
125d941a86 python313Packages.python-escpos: migrate to pytest-cov-stub 2025-06-02 05:56:38 +02:00
Peder Bergebakken Sundt
633bffe00d python313Packages.python-barcode: migrate to pytest-cov-stub 2025-06-02 05:56:38 +02:00
Peder Bergebakken Sundt
54e4cd642e python313Packages.pysnooz: migrate to pytest-cov-stub 2025-06-02 05:56:37 +02:00
Peder Bergebakken Sundt
726208fdca python313Packages.pyramid-jinja2: migrate to pytest-cov-stub 2025-06-02 05:56:37 +02:00
Peder Bergebakken Sundt
9e833a5b53 python313Packages.pypinyin: migrate to pytest-cov-stub 2025-06-02 05:56:37 +02:00
Peder Bergebakken Sundt
45a93cc02f python313Packages.pymemcache: migrate to pytest-cov-stub 2025-06-02 05:56:37 +02:00
Peder Bergebakken Sundt
fdfe5dd288 python313Packages.pyloadapi: migrate to pytest-cov-stub 2025-06-02 05:56:36 +02:00
Peder Bergebakken Sundt
3c956640c8 python313Packages.pyipp: migrate to pytest-cov-stub 2025-06-02 05:56:36 +02:00
Peder Bergebakken Sundt
5aad99ca17 python313Packages.pyecoforest: migrate to pytest-cov-stub 2025-06-02 05:56:36 +02:00
Peder Bergebakken Sundt
8e9fe51ab2 python313Packages.pydash: migrate to pytest-cov-stub 2025-06-02 05:56:35 +02:00
Peder Bergebakken Sundt
caa83eb303 python313Packages.pot: migrate to pytest-cov-stub 2025-06-02 05:56:35 +02:00
Peder Bergebakken Sundt
8309c6798e python313Packages.portalocker: migrate to pytest-cov-stub 2025-06-02 05:56:35 +02:00
Peder Bergebakken Sundt
57c5b7121f python313Packages.polyline: migrate to pytest-cov-stub 2025-06-02 05:56:35 +02:00
Peder Bergebakken Sundt
70e3398d5f python313Packages.plotnine: migrate to pytest-cov-stub 2025-06-02 05:56:34 +02:00
Peder Bergebakken Sundt
41044b8035 python313Packages.pilkit: migrate to pytest-cov-stub 2025-06-02 05:56:34 +02:00
Peder Bergebakken Sundt
1ee28d04e2 python313Packages.pathable: migrate to pytest-cov-stub 2025-06-02 05:56:34 +02:00
Peder Bergebakken Sundt
05df847901 python313Packages.pastedeploy: migrate to pytest-cov-stub 2025-06-02 05:56:33 +02:00
Peder Bergebakken Sundt
d5f85cd960 python313Packages.p1monitor: migrate to pytest-cov-stub 2025-06-02 05:56:33 +02:00
Peder Bergebakken Sundt
a4417b4959 python313Packages.openapi-spec-validator: migrate to pytest-cov-stub 2025-06-02 05:56:33 +02:00
Peder Bergebakken Sundt
bff7bcf264 python313Packages.openapi-schema-validator: migrate to pytest-cov-stub 2025-06-02 05:56:33 +02:00
Peder Bergebakken Sundt
df66724805 python313Packages.omnikinverter: migrate to pytest-cov-stub 2025-06-02 05:56:32 +02:00
Peder Bergebakken Sundt
97105f1485 python313Packages.nplusone: migrate to pytest-cov-stub 2025-06-02 05:56:32 +02:00
Peder Bergebakken Sundt
c66c250f37 python313Packages.nikola: migrate to pytest-cov-stub 2025-06-02 05:56:32 +02:00
Peder Bergebakken Sundt
aecaf2b177 python313Packages.newick: migrate to pytest-cov-stub 2025-06-02 05:56:32 +02:00
Peder Bergebakken Sundt
40342649f0 python313Packages.mt-940: migrate to pytest-cov-stub 2025-06-02 05:56:31 +02:00
Peder Bergebakken Sundt
ea8f13d007 python313Packages.motioneye-client: migrate to pytest-cov-stub 2025-06-02 05:56:31 +02:00
Peder Bergebakken Sundt
56cad870ec python313Packages.measurement: migrate to pytest-cov-stub 2025-06-02 05:56:31 +02:00
Peder Bergebakken Sundt
843d82b2d8 python313Packages.lmfit: migrate to pytest-cov-stub 2025-06-02 05:56:30 +02:00
Peder Bergebakken Sundt
8727d7c475 python313Packages.lcgit: migrate to pytest-cov-stub 2025-06-02 05:56:30 +02:00
Peder Bergebakken Sundt
6b460e9e9b python313Packages.langchain-openai: migrate to pytest-cov-stub 2025-06-02 05:56:30 +02:00
Peder Bergebakken Sundt
78b6096c0c python313Packages.langchain-aws: migrate to pytest-cov-stub 2025-06-02 05:56:29 +02:00
Peder Bergebakken Sundt
a3ddfe027e python313Packages.labelbox: migrate to pytest-cov-stub 2025-06-02 05:56:29 +02:00
Peder Bergebakken Sundt
fa2b1069a9 python313Packages.knocki: migrate to pytest-cov-stub 2025-06-02 05:56:29 +02:00
Peder Bergebakken Sundt
58edc81b80 python313Packages.kiss-headers: migrate to pytest-cov-stub 2025-06-02 05:56:29 +02:00
Peder Bergebakken Sundt
afbf5db5d5 python313Packages.kasa-crypt: migrate to pytest-cov-stub 2025-06-02 05:56:28 +02:00
Peder Bergebakken Sundt
63cd92dfd8 python313Packages.jsonschema-spec: migrate to pytest-cov-stub 2025-06-02 05:56:28 +02:00
Peder Bergebakken Sundt
a252e32154 python313Packages.jproperties: migrate to pytest-cov-stub 2025-06-02 05:56:28 +02:00
Peder Bergebakken Sundt
b1bd276ea7 python313Packages.ipfshttpclient: migrate to pytest-cov-stub 2025-06-02 05:56:28 +02:00
Peder Bergebakken Sundt
ec2d7b1e3c python313Packages.httpx-ws: migrate to pytest-cov-stub 2025-06-02 05:56:27 +02:00
Peder Bergebakken Sundt
4d6b739c7b python313Packages.httplib2: migrate to pytest-cov-stub 2025-06-02 05:56:27 +02:00
Peder Bergebakken Sundt
d0964d5ded python313Packages.h5io: migrate to pytest-cov-stub 2025-06-02 05:56:27 +02:00
Peder Bergebakken Sundt
809be96978 python313Packages.gridnet: migrate to pytest-cov-stub 2025-06-02 05:56:26 +02:00
Peder Bergebakken Sundt
9f20181581 python313Packages.gpiozero: migrate to pytest-cov-stub 2025-06-02 05:56:26 +02:00
Peder Bergebakken Sundt
ae0cc6393f python313Packages.git-url-parse: migrate to pytest-cov-stub 2025-06-02 05:56:26 +02:00
Peder Bergebakken Sundt
36f946cc8d python313Packages.freenub: migrate to pytest-cov-stub 2025-06-02 05:56:26 +02:00
Peder Bergebakken Sundt
90f3029e28 python313Packages.fpdf2: migrate to pytest-cov-stub 2025-06-02 05:56:25 +02:00
Peder Bergebakken Sundt
ea367faf46 python313Packages.flufl-i18n: migrate to pytest-cov-stub 2025-06-02 05:56:25 +02:00
Peder Bergebakken Sundt
998537308c python313Packages.flit-gettext: migrate to pytest-cov-stub 2025-06-02 05:56:25 +02:00
Peder Bergebakken Sundt
3a937e7c8e python313Packages.flask-dramatiq: migrate to pytest-cov-stub 2025-06-02 05:56:25 +02:00
Peder Bergebakken Sundt
6f9b5c7a9e python313Packages.energyzero: migrate to pytest-cov-stub 2025-06-02 05:56:24 +02:00
Peder Bergebakken Sundt
49930f2ee3 python313Packages.elastic-transport: migrate to pytest-cov-stub 2025-06-02 05:56:24 +02:00
Peder Bergebakken Sundt
eaa9bcf241 python313Packages.duecredit: migrate to pytest-cov-stub 2025-06-02 05:56:24 +02:00
Peder Bergebakken Sundt
341e14abbc python313Packages.dramatiq: migrate to pytest-cov-stub 2025-06-02 05:56:23 +02:00
Peder Bergebakken Sundt
e46124906d python313Packages.django-markup: migrate to pytest-cov-stub 2025-06-02 05:56:23 +02:00
Peder Bergebakken Sundt
5536941193 python313Packages.diskcache: migrate to pytest-cov-stub 2025-06-02 05:56:23 +02:00
Peder Bergebakken Sundt
c7b8915717 python313Packages.discovery30303: migrate to pytest-cov-stub 2025-06-02 05:56:23 +02:00
Peder Bergebakken Sundt
3359a78109 python313Packages.demes: migrate to pytest-cov-stub 2025-06-02 05:56:22 +02:00
Peder Bergebakken Sundt
4a05bad309 python313Packages.demesdraw: migrate to pytest-cov-stub 2025-06-02 05:56:22 +02:00
Peder Bergebakken Sundt
8b79709b6b python313Packages.dbus-next: migrate to pytest-cov-stub 2025-06-02 05:56:22 +02:00
Peder Bergebakken Sundt
bc11aee761 python313Packages.csvw: migrate to pytest-cov-stub 2025-06-02 05:56:22 +02:00
Peder Bergebakken Sundt
2f53fc2e25 python313Packages.convertertools: migrate to pytest-cov-stub 2025-06-02 05:56:21 +02:00
Peder Bergebakken Sundt
b7ec7a65cc python313Packages.configupdater: migrate to pytest-cov-stub 2025-06-02 05:56:21 +02:00
Peder Bergebakken Sundt
45c6e67355 python313Packages.colorzero: migrate to pytest-cov-stub 2025-06-02 05:56:21 +02:00
Peder Bergebakken Sundt
4972b9dab7 python313Packages.clldutils: migrate to pytest-cov-stub 2025-06-02 05:56:20 +02:00
Peder Bergebakken Sundt
2ee4cea0e3 papis: migrate to pytest-cov-stub 2025-06-02 05:56:20 +02:00
Peder Bergebakken Sundt
c3685e82ce mcstatus: migrate to pytest-cov-stub 2025-06-02 05:56:20 +02:00
Peder Bergebakken Sundt
cdd5740b0d luddite: migrate to pytest-cov-stub 2025-06-02 05:56:20 +02:00
Peder Bergebakken Sundt
cf0353ac1e latex2mathml: migrate to pytest-cov-stub 2025-06-02 05:56:19 +02:00
Peder Bergebakken Sundt
8d5e6878b3 python313Packages.kotsu: migrate to pytest-cov-stub 2025-06-02 05:55:57 +02:00
Peder Bergebakken Sundt
c09e132050 python313Packages.tsfresh: migrate to pytest-cov-stub 2025-06-02 05:55:38 +02:00
Peder Bergebakken Sundt
7efa78f7e7 python313Packages.aws-secretsmanager-caching: migrate to pytest-cov-stub 2025-06-02 05:55:13 +02:00
R. Ryantm
0ea95c75bf libusb1: 1.0.28 -> 1.0.29 2025-06-02 00:32:40 +00:00
nixpkgs-ci[bot]
bf7ba82f68
Merge staging-next into staging 2025-06-02 00:18:53 +00:00
Grimmauld
c5c96d02b1
jq: 1.7.1 -> 1.8.0, modernize
Upstream release notes: https://github.com/jqlang/jq/releases/tag/jq-1.8.0

The security fixes were backported, so this is not immediately security-relevant.

Breaking changes are included in 1.8.0, so this should not be backported to 25.05/24.11.

Modernisation done:
- update script
- removed `with lib;`
- removed patches that were merged upstream
- enabled parallel building
- enabled strict deps
- replaced `--help > /dev/null` with `versionCheckHook`
- replaced `rev` with `finalAttrs`
- added changelog url
2025-06-01 22:30:50 +02:00
panicgh
662ade6aeb
waf: make PYTHONPATH extensible (#408825)
Wrapping waf with "--set" prevents other python packages in
nativeBuildInputs to be used in a wscript. Wrapping with "--prefix"
allows us to overcome this limitation.
2025-06-01 14:41:04 -04:00
nixpkgs-ci[bot]
2b692ea7f9
Merge staging-next into staging 2025-06-01 18:05:48 +00:00
Defelo
3daa8fdf27
cargo-seek: use versionCheckKeepEnvironment 2025-06-01 19:38:37 +02:00
Defelo
90917c52b8
ec2-instance-selector: add versionCheckHook 2025-06-01 19:38:37 +02:00
Defelo
d1f617cb88
crc: use versionCheckKeepEnvironment 2025-06-01 19:38:37 +02:00
Defelo
eee9aa1d5b
andcli: add versionCheckHook 2025-06-01 19:38:37 +02:00
Defelo
23bd27a21c
versionCheckHook: add versionCheckKeepEnvironment parameter
This replaces the `versionCheckDontIgnoreEnvironment` parameter. Keeping
all environment variables is still possible by using
`versionCheckKeepEnvironment = "*";`.
2025-06-01 19:38:33 +02:00
nixpkgs-ci[bot]
0b7fd52371
Merge staging-next into staging 2025-06-01 12:07:28 +00:00
Grimmauld
19879ac4c1
systemd: check udev rules outputs in installCheckPhase
`udevCheckHook` relies on `udevadm` from systemd to
check udev rules outputs of packages at build time.
Previously, we had no tests in systemd itself which
assured `udevadm` runs correctly. Neither did we
check udev rules output of the systemd package.
We can not use `udevCheckHook` to check systemd, as
that would introduce infinite recursion. So, instead,
we simply check the installed rule output explicitly
in systemd's `installCheckPhase`. Be aware `doInstallCheck`
will be disabled if the buildPlatform can not execute
the hostPlatform, so while `udevCheckHook` can check
udev rules on Linux -> Linux cross compilation,
systemd itself will have its udev rules checked for
native builds only.
2025-06-01 10:11:10 +02:00
Cryolitia PukNgae
2359da1850 gridtracker2: init at 2.250507.0 2025-06-01 16:10:04 +08:00
nixpkgs-ci[bot]
086822e093
Merge staging-next into staging 2025-06-01 06:06:14 +00:00
Sergei Trofimovich
f9c56d9a48 s2n-tls: 1.5.17 -> 1.5.20
Changes:
- https://github.com/aws/s2n-tls/releases/tag/v1.5.18
- https://github.com/aws/s2n-tls/releases/tag/v1.5.19
- https://github.com/aws/s2n-tls/releases/tag/v1.5.10
2025-06-01 06:21:53 +01:00
nixpkgs-ci[bot]
85aef920e6
Merge staging-next into staging 2025-06-01 00:22:16 +00:00
Doron Behar
a5ebf44880
file: Add another comment regarding 5.46 issues (#412095) 2025-06-01 01:10:41 +03:00
Artemis Tosini
5ee26c5e31
Fix FreeBSD native stdenv again (#389733) 2025-05-31 20:54:51 +00:00
Audrey Dutcher
1a7421de5a gnupatch: disable a filesystem-dependent test 2025-05-31 19:18:12 +00:00
Audrey Dutcher
3e7fa4878e llvm: disable a test that fails in the FreeBSD build jail 2025-05-31 19:18:12 +00:00
Audrey Dutcher
3026fd9c90 stdenv/freebsd: copy clang lib folder out of bootstrap archive
Fixes the boot0 build of python
2025-05-31 19:18:12 +00:00
Audrey Dutcher
594993063b stdenv/freebsd: isolate bootstrap process more
Copying instead of symlinking prevents leakage of the bootstrap FHS
into the 0->1 bootstrap stage. The symptom this addresses is libssh2
failing because it can't find libssl, since it is failing to use the
ld wrapper.
2025-05-31 19:15:05 +00:00
nixpkgs-ci[bot]
3a4ebc7240
Merge staging-next into staging 2025-05-31 18:06:10 +00:00
Alyssa Ross
929e918a51 llvmPackages.clang-unwrapped: enable debug info
This increases the memory required to link by quite a bit, but it
should be fine for Hydra, and people building themselves with
insufficient RAM can either disable it, or just decrease --cores.
2025-05-31 16:18:43 +02:00
nixpkgs-ci[bot]
fea1ab34b7
Merge staging-next into staging 2025-05-31 12:06:54 +00:00
Vladimír Čunát
ce4b8f6b03
Merge branch 'staging-next' into staging 2025-05-31 13:14:07 +02:00
Jonas Heinrich
e9ee6a729e
perlPackages.IOTty: Fix RiscV cross-compilation (#411195) 2025-05-31 11:04:07 +02:00
nixpkgs-ci[bot]
d5ffbf286d
Merge staging-next into staging 2025-05-31 06:06:17 +00:00
nixpkgs-ci[bot]
f34f229df3
Merge staging-next into staging 2025-05-31 00:17:16 +00:00
Alexander Bantyev
38a678ea44
rsync: enable tests (#407315) 2025-05-30 19:13:10 +00:00
nixpkgs-ci[bot]
f70037939f
Merge staging-next into staging 2025-05-30 18:06:45 +00:00
Sarah Clark
8493b639e1 python3Packages.cairosvg: 2.7.1 -> 2.8.2
changelog: https://github.com/Kozea/CairoSVG/releases/tag/2.8.2

diff: https://github.com/Kozea/CairoSVG/compare/2.7.1...2.8.2
2025-05-30 10:43:58 -07:00
Sarah Clark
c26e829bd4 python3Packages.cairosvg: cleanup
Build from GitHub, modernize build
2025-05-30 10:42:15 -07:00
Sergei Trofimovich
fa7ce4f130 bc: 1.08.1 -> 1.08.2
Changes: https://lists.gnu.org/archive/html/info-gnu/2025-05/msg00006.html
2025-05-30 06:29:21 +01:00
Audrey Dutcher
db59d66878 libuv: add more workarounds for tests on FreeBSD 2025-05-29 22:15:43 -07:00
Audrey Dutcher
6a16223341 gdbm: fix freebsd native build
Pulls in a patch from freebsd-ports. This patch cannot be made unconditional
without a rework since it modifies the base behavior.
2025-05-29 22:15:38 -07:00
Randy Eckenrode
759f22430c haskell.compiler.ghc*Binary: work around com.apple.provenance xattr 2025-05-29 20:11:13 -04:00
Alexander Bantyev
371a59fcf1
rsync: enable tests 2025-05-29 21:21:55 +04:00
Doron Behar
86def463e2 file: Add another comment regarding 5.46 issues 2025-05-29 17:40:40 +03:00
Artemis Tosini
9f3746cb55 diffutils: disable atime-based test on FreeBSD
This atime-based test fails on some FreeBSD configurations
2025-05-28 16:43:51 -07:00
Artemis Tosini
cb9fd5faaa libarchve: disable another atime test
This test relies on atime of files and fails inconsistently on FreeBSD.
2025-05-28 16:43:51 -07:00
Audrey Dutcher
b9c1cebcfa llvmPackages.tblgen: Fix native FreeBSD build 2025-05-28 16:43:51 -07:00
Audrey Dutcher
73df73e829 auto-patchelf: force --keep-libc for BSD hosts 2025-05-28 16:43:48 -07:00
Audrey Dutcher
7a0c12bfb5 freebsd.libcMinimal: include i18n path; set relevant environment variable in stdenv 2025-05-28 16:42:47 -07:00
Audrey Dutcher
9821c28acc freebsd stdenv: switch to llvm bintools 2025-05-28 16:42:47 -07:00
Sizhe Zhao
ef559bc06c
avalanchego: 1.12.1 -> 1.13.0 2025-05-29 00:51:52 +08:00
Sizhe Zhao
47a68b5224
avalanchego: use finalAttrs 2025-05-29 00:48:45 +08:00
Sizhe Zhao
67ed0d116b
avalanchego: use go 1.23 2025-05-29 00:46:12 +08:00
Jonas Heinrich
a6c6250c61 perlPackages.IOTty: Fix RiscV cross-compilation 2025-05-28 07:55:36 +02:00
Jonas Heinrich
bd69f7fe98 perlPackages.IOTty: Put version variable into URL 2025-05-28 07:55:11 +02:00
éclairevoyant
526fe21447
linuxPackages.opensnitch-ebpf: remove linux.dev references 2025-05-26 01:31:58 -04:00
Sergei Trofimovich
a40c247627 libunwind: enable parallel building 2025-05-24 11:11:47 +01:00
Sergei Trofimovich
e2886f6472 libunwind: 1.8.1 -> 1.8.2
Changes: https://github.com/libunwind/libunwind/releases/tag/v1.8.2
2025-05-24 11:09:45 +01:00
Sergei Trofimovich
bf5f223ec9 libzip: 1.11.3 -> 1.11.4
Changes: https://libzip.org/news/release-1.11.4.html
2025-05-24 11:01:44 +01:00
Sergei Trofimovich
7df377ecf5 valgrind: 3.24.0 -> 3.25.1
Changes:
- 59177043/
- 59185954/
2025-05-22 22:26:53 +01:00
Sergei Trofimovich
7f26fd2c40 libavif: 1.2.1 -> 1.3.0
Changes: https://github.com/AOMediaCodec/libavif/releases/tag/v1.3.0
2025-05-19 06:57:59 +01:00
R. Ryantm
20d81ec4c7 hidapi: 0.14.0 -> 0.15.0 2025-05-18 19:41:29 +00:00
Sergei Trofimovich
f3c200612b fuse3: 3.16.2 -> 3.17.2
Changes:
- https://github.com/libfuse/libfuse/releases/tag/fuse-3.17.1
- https://github.com/libfuse/libfuse/releases/tag/fuse-3.17.2
2025-05-13 05:41:19 +01:00
Sergei Trofimovich
43901723c8 libdeflate: 1.23 -> 1.24
Changes: https://github.com/ebiggers/libdeflate/compare/v1.23...v1.24
2025-05-12 06:32:53 +01:00
Sergei Trofimovich
69dcb962a4 mpdecimal: 4.0.0 -> 4.0.1
Changes: https://www.bytereef.org/mpdecimal/changelog.html
2025-05-08 06:23:38 +01:00
R. Ryantm
b31d37bc11 libfido2: 1.15.0 -> 1.16.0 2025-05-07 01:18:04 +00:00
FliegendeWurst
54ff5b44d7 sqlite: enable Geopoly, Math functions and RBU extensions
nodejs >= 24 expect these extensions to be available.

Documentation:
https://sqlite.org/rbu.html
https://sqlite.org/geopoly.html
https://www.sqlite.org/lang_mathfunc.html
2025-05-03 23:19:08 +02:00
Sergei Trofimovich
81531df23d pixman: 0.44.2 -> 0.46.0
Changes: https://lists.x.org/archives/xorg-announce/2025-April/003598.html
2025-05-03 06:46:33 +01:00
Sergei Trofimovich
002c14287b re2c: 4.1 -> 4.2
Changes: https://re2c.org/releases/release_notes.html#release-4-2
2025-04-23 22:29:19 +01:00
Kenichi Kamiya
f80a788128
fontconfig: add man pages checks 2025-04-23 17:59:32 +09:00
Kenichi Kamiya
b3bb63f441
fontconfig: use tarball for src to include man pages
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2025-04-23 17:59:24 +09:00
Kenichi Kamiya
873eb8eafe
fontconfig: 2.16.0 -> 2.16.2
Diff: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/compare/2.16.0...2.16.2
2025-04-23 17:22:23 +09:00
Kenichi Kamiya
227188afb0
fontconfig: add versionCheckHook 2025-04-23 17:22:22 +09:00
Kenichi Kamiya
ad4e04502c
fontconfig: add updateScript 2025-04-23 17:22:22 +09:00
Kenichi Kamiya
4bb08abe14
fontconfig: prefer GitLab for src
https://www.freedesktop.org/software/fontconfig/release/ does not include latest releases
such as 2.16.{1,2}.

They use GitLab and the releases since 2.16.1.
It was announced in https://lists.freedesktop.org/archives/fontconfig/2025-March/007154.html.

This change requires to remove unpackaged man pages.
2025-04-23 17:22:05 +09:00
Sergei Trofimovich
099a7a9e5f swig: enable parallel building 2025-04-16 06:16:26 +01:00
Sergei Trofimovich
0d041818c3 swig: 4.3.0 -> 4.3.1
Changes: https://github.com/swig/swig/blob/v4.3.1/CHANGES.current
2025-04-16 06:12:14 +01:00
R. Ryantm
5d8770d7da libraw: 0.21.3 -> 0.21.4 2025-04-13 13:26:44 +00:00
Marcin Serwin
8076af1a5a
avahi: add patch fixing libevent name in the .pc file
`avahi` references the libevent incorrectly which causes packages trying
to use the `avahi-libevent.pc` file to fail.
2025-04-05 23:07:43 +02:00
283 changed files with 11053 additions and 3262 deletions

View file

@ -33,6 +33,7 @@ The variables that this phase control are:
- `dontVersionCheck`: Disable adding this hook to the [`preInstallCheckHooks`](#ssec-installCheck-phase). Useful if you do want to load the bash functions of the hook, but run them differently.
- `versionCheckProgram`: The full path to the program that should print the `${version}` string. Defaults roughly to `${placeholder "out"}/bin/${pname}`. Using `$out` in the value of this variable won't work, as environment variables from this variable are not expanded by the hook. Hence using `placeholder` is unavoidable.
- `versionCheckProgramArg`: The argument that needs to be passed to `versionCheckProgram`. If undefined the hook tries first `--help` and then `--version`. Examples: `version`, `-V`, `-v`.
- `versionCheckKeepEnvironment`: A list of environment variables to keep and pass to the command. Only those variables should be added to this list that are actually required for the version command to work. If it is not feasible to explicitly list all these environment variables you can set this parameter to the special value `"*"` to disable the `--ignore-environment` flag and thus keep all environment variables.
- `preVersionCheck`: A hook to run before the check is done.
- `postVersionCheck`: A hook to run after the check is done.

View file

@ -702,6 +702,18 @@ lib.mapAttrs mkLicense (
fullName = "Historic Permission Notice and Disclaimer";
};
hpndDifferentDisclaimer = {
fullName = "HPND with different disclaimer";
url = "https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/blob/1914233e662d23ffb3812b80fadd0bbd064ad91c/COPYING-x11proto#L69-88";
# TODO: if the license gets accepted to spdx then
# add spdxId
# else
# remove license
# && replace reference with whatever this license is supposed to be then
# https://tools.spdx.org/app/license_requests/456
# https://github.com/spdx/license-list-xml/issues/2753
};
hpndSellVariant = {
fullName = "Historical Permission Notice and Disclaimer - sell variant";
spdxId = "HPND-sell-variant";

View file

@ -13,6 +13,7 @@ let
nameValuePair
optionalAttrs
optionalString
optionals
range
toLower
types
@ -95,16 +96,18 @@ let
name: config:
let
hostnames =
optionalString (
config.networking.domain != null
) "${config.networking.hostName}.${config.networking.domain} "
+ "${config.networking.hostName}\n";
[
"${config.networking.hostName}"
]
++ optionals (config.networking.domain != null) [
"${config.networking.hostName}.${config.networking.domain}"
];
in
optionalAttrs (config.networking.primaryIPAddress != "") {
"${config.networking.primaryIPAddress}" = [ hostnames ];
"${config.networking.primaryIPAddress}" = hostnames;
}
// optionalAttrs (config.networking.primaryIPv6Address != "") {
"${config.networking.primaryIPv6Address}" = [ hostnames ];
"${config.networking.primaryIPv6Address}" = hostnames;
}
) nodes;

View file

@ -6,7 +6,13 @@
}:
let
dhcpcd = if !config.boot.isContainer then pkgs.dhcpcd else pkgs.dhcpcd.override { udev = null; };
dhcpcd =
if !config.boot.isContainer then
pkgs.dhcpcd
else
pkgs.dhcpcd.override {
withUdev = false;
};
cfg = config.networking.dhcpcd;

View file

@ -26,7 +26,7 @@ in
if [ ! -f '${cfg.stateDirectory}'/gravity.db ]; then
$pihole -g
# Send SIGRTMIN to FTL, which makes it reload the database, opening the newly created one
${pkgs.procps}/bin/kill -s SIGRTMIN $(systemctl show --property MainPID --value ${config.systemd.services.pihole-ftl.name})
${lib.getExe' pkgs.procps "kill"} -s SIGRTMIN $(systemctl show --property MainPID --value ${config.systemd.services.pihole-ftl.name})
fi
source ${pihole}/usr/share/pihole/advanced/Scripts/api.sh
@ -61,7 +61,7 @@ in
for i in 1 2 3; do
(TestAPIAvailability) && break
echo "Retrying API shortly..."
${pkgs.coreutils}/bin/sleep .5s
${lib.getExe' pkgs.coreutils "sleep"} .5s
done;
LoginAPI

View file

@ -119,33 +119,43 @@ lib.makeOverridable mkDerivation (
jdk=${jdk.home}
item=${desktopItem}
launcher="$out/$pname/bin/${loName}"
if [ -e "$launcher" ]; then
rm "$launcher".sh # We do not wrap the old script-style launcher anymore.
else
launcher+=.sh
needsWrapping=()
if [ -f "$out/$pname/bin/${loName}" ]; then
needsWrapping+=("$out/$pname/bin/${loName}")
fi
if [ -f "$out/$pname/bin/${loName}.sh" ]; then
needsWrapping+=("$out/$pname/bin/${loName}.sh")
fi
wrapProgram "$launcher" \
--prefix PATH : "${
lib.makeBinPath [
jdk
coreutils
gnugrep
which
git
]
}" \
--suffix PATH : "${lib.makeBinPath [ python3 ]}" \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath extraLdPath}" \
${lib.concatStringsSep " " extraWrapperArgs} \
--set-default JDK_HOME "$jdk" \
--set-default ANDROID_JAVA_HOME "$jdk" \
--set-default JAVA_HOME "$jdk" \
--set-default JETBRAINS_CLIENT_JDK "$jdk" \
--set-default ${hiName}_JDK "$jdk" \
--set-default LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" \
--set-default ${vmoptsIDE}_VM_OPTIONS ${vmoptsFile}
for launcher in "''${needsWrapping[@]}"
do
wrapProgram "$launcher" \
--prefix PATH : "${
lib.makeBinPath [
jdk
coreutils
gnugrep
which
git
]
}" \
--suffix PATH : "${lib.makeBinPath [ python3 ]}" \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath extraLdPath}" \
${lib.concatStringsSep " " extraWrapperArgs} \
--set-default JDK_HOME "$jdk" \
--set-default ANDROID_JAVA_HOME "$jdk" \
--set-default JAVA_HOME "$jdk" \
--set-default JETBRAINS_CLIENT_JDK "$jdk" \
--set-default ${hiName}_JDK "$jdk" \
--set-default LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" \
--set-default ${vmoptsIDE}_VM_OPTIONS ${vmoptsFile}
done
launcher="$out/$pname/bin/${loName}"
if [ ! -e "$launcher" ]; then
launcher+=.sh
fi
ln -s "$launcher" $out/bin/$pname
rm -rf $out/$pname/plugins/remote-dev-server/selfcontained/

View file

@ -1181,8 +1181,8 @@ let
mktplcRef = {
name = "vscode-database-client2";
publisher = "cweijan";
version = "8.3.4";
hash = "sha256-rZ/xYe5Ng532XhLCzCtVmcYTDekAaMu3vLnvTagFupE=";
version = "8.3.5";
hash = "sha256-ld8M46LGF5nJEuk0iexOVnhiuX3mcNUnqnXNZE9Bl+4=";
};
meta = {
description = "Database Client For Visual Studio Code";
@ -3936,8 +3936,8 @@ let
mktplcRef = {
name = "prisma";
publisher = "Prisma";
version = "6.8.2";
hash = "sha256-jortg6SQId1373+4p3Tbej2Q1oz2UhUf+o8xb4PmOVM=";
version = "6.9.0";
hash = "sha256-xXmGPQs/tmYLkyzRstr34X43P64BrTR+suwKTYtd/ac=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/Prisma.prisma/changelog";

View file

@ -7,8 +7,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {
name = "claude-dev";
publisher = "saoudrizwan";
version = "3.17.7";
hash = "sha256-Sn3yyt1xMYYvUQKrY0YliCKS46g5VfvFZPgeSoc1c8E=";
version = "3.17.11";
hash = "sha256-z98AhLZwAR31u4GfEzzd41sCQ3kSu5xJTKDZQZ3ZZYQ=";
};
meta = {

View file

@ -85,16 +85,6 @@ let
url = "https://gn.googlesource.com/gn";
inherit (upstream-info.deps.gn) rev hash;
};
# Relax hardening as otherwise gn unstable 2024-06-06 and later fail with:
# cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
hardeningDisable = [ "format" ];
# At the time of writing, gn is at v2024-05-13 and has a backported patch.
# This patch appears to be already present in v2024-09-09 (from M130), which
# results in the patch not applying and thus failing the build.
# As a work around until gn is updated again, we filter specifically that patch out.
patches = lib.filter (e: lib.getName e != "LFS64.patch") oldAttrs.patches;
});
});

View file

@ -18,6 +18,7 @@
enableZstd ? true,
zstd,
nixosTests,
fakeroot,
}:
stdenv.mkDerivation rec {
@ -47,6 +48,8 @@ stdenv.mkDerivation rec {
++ lib.optional enableOpenSSL openssl
++ lib.optional enableXXHash xxHash;
checkInputs = [ fakeroot ];
configureFlags =
[
(lib.enableFeature enableLZ4 "lz4")
@ -71,6 +74,8 @@ stdenv.mkDerivation rec {
passthru.tests = { inherit (nixosTests) rsyncd; };
doCheck = true;
meta = with lib; {
description = "Fast incremental file transfer utility";
homepage = "https://rsync.samba.org/";

View file

@ -15,54 +15,27 @@ auditTmpdir() {
echo "checking for references to $TMPDIR/ in $dir..."
local tmpdir elf_fifo script_fifo
tmpdir="$(mktemp -d)"
elf_fifo="$tmpdir/elf"
script_fifo="$tmpdir/script"
mkfifo "$elf_fifo" "$script_fifo"
# Classifier: identify ELF and script files
(
find "$dir" -type f -not -path '*/.build-id/*' -print0 \
| while IFS= read -r -d $'\0' file; do
if isELF "$file"; then
printf '%s\0' "$file" >&3
elif isScript "$file"; then
filename=${file##*/}
dir=${file%/*}
if [ -e "$dir/.$filename-wrapped" ]; then
printf '%s\0' "$file" >&4
_processFile() {
local file="$1"
if isELF "$file"; then
if { printf :; patchelf --print-rpath "$file"; } | grep -q -F ":$TMPDIR/"; then
echo "RPATH of binary $file contains a forbidden reference to $TMPDIR/"
exit 1
fi
elif isScript "$file"; then
filename=${i##*/}
dir=${i%/*}
if [ -e "$dir/.$filename-wrapped" ]; then
if grep -q -F "$TMPDIR/" "$file"; then
echo "wrapper script $file contains a forbidden reference to $TMPDIR/"
exit 1
fi
fi
done
exec 3>&- 4>&-
) 3> "$elf_fifo" 4> "$script_fifo" &
fi
}
# Handler: check RPATHs concurrently
(
xargs -0 -r -P "$NIX_BUILD_CORES" -n 1 sh -c '
if { printf :; patchelf --print-rpath "$1"; } | grep -q -F ":$TMPDIR/"; then
echo "RPATH of binary $1 contains a forbidden reference to $TMPDIR/"
exit 1
fi
' _ < "$elf_fifo"
) &
local pid_elf=$!
find "$dir" -type f -not -path '*/.build-id/*' -print0 \
| parallelMap _processFile
# Handler: check wrapper scripts concurrently
local pid_script
(
xargs -0 -r -P "$NIX_BUILD_CORES" -n 1 sh -c '
if grep -q -F "$TMPDIR/" "$1"; then
echo "wrapper script $1 contains a forbidden reference to $TMPDIR/"
exit 1
fi
' _ < "$script_fifo"
) &
local pid_script=$!
wait "$pid_elf" || { echo "Some binaries contain forbidden references to $TMPDIR/. Check the error above!"; exit 1; }
wait "$pid_script" || { echo "Some scripts contain forbidden references to $TMPDIR/. Check the error above!"; exit 1; }
rm -r "$tmpdir"
unset -f _processFile
}

View file

@ -0,0 +1,89 @@
# Parallel execution utilities
# These functions provide a framework for parallel processing of jobs from stdin
# parallelRun - Execute a command in parallel across multiple cores
#
# Reads null-delimited jobs from stdin and distributes them across NIX_BUILD_CORES
# worker processes. Each worker executes the provided command, receiving jobs
# via stdin in null-delimited format.
#
# Usage: some_producer | parallelRun command [args...]
#
# The command receives jobs one at a time via stdin (null-delimited).
#
# Example:
# find . -name '*.log' -print0 | parallelRun sh -c '
# while read -r -d "" file; do gzip "$file"; done
# '
parallelRun() {
local pids
local lock
pids=()
lock=$(mktemp -u)
mkfifo "$lock"
for ((i=0; i<NIX_BUILD_CORES; i++)); do
{
exec 3<"$lock" # fd-3 = read side of lock
exec 4>"$lock" # fd-4 = write side of lock (push token back)
local job
while :; do
# Acquire the lock: blocks until a token can be read
read -r -n1 >/dev/null <&3
# read one job from stdin
# This is guarded by the lock above in order to prevent
# multiple workers from reading from stdin simultaneously.
if ! IFS= read -r -d '' job; then
# If stdin is closed, release lock and exit
printf 'x' >&4
break
fi
# Release the lock: write a token back to the lock FIFO
printf 'y' >&4
# Forward job to the worker process' stdin
printf '%s\0' "$job"
done \
| "$@" # launch the worker process
} &
pids[$i]=$!
done
# launch the workers by writing a token to the lock FIFO
printf 'a' >"$lock" &
# Wait for all workers to finish
for pid in "${pids[@]}"; do
if ! wait "$pid"; then
echo "A parallel job failed with exit code $? (check for errors above)" >&2
echo -e "Failing Command:\n $@" >&2
exit 1
fi
done
rm "$lock"
}
# parallelMap - Apply a shell function to each job in parallel
#
# A higher-level wrapper around parallelRun that applies a shell function to each
# null-delimited job from stdin. The shell function receives each job as its first
# argument.
#
# Usage: some_producer | parallelMap shell_function [additional_args...]
#
# The shell function is called as: shell_function job [additional_args...]
# for each job read from stdin.
#
# Example:
# compress() { gzip "$1" }
# find . -name '*.log' -print0 | parallelMap compress
parallelMap() {
_wrapper() {
while IFS= read -r -d '' job; do
"$@" "$job"
done
}
parallelRun _wrapper "$@"
unset -f _wrapper
}

View file

@ -0,0 +1,23 @@
{
stdenv,
}:
{
# test based on bootstrap tools to prevent rebuilding stdenv on each change
parallel =
(derivation {
name = "test-parallel-hook";
system = stdenv.system;
builder = "${stdenv.bootstrapTools}/bin/bash";
PATH = "${stdenv.bootstrapTools}/bin";
args = [
"-c"
''
. ${../parallel.sh}
. ${./test-parallel.sh}
''
];
})
// {
meta = { };
};
}

View file

@ -0,0 +1,146 @@
export NIX_BUILD_CORES=4
echo "Testing worker distribution..."
# Generate 100 jobs to ensure all workers get some
for i in {1..100}; do
printf "job%d\0" $i
done | parallelRun sh -c '
while IFS= read -r -d "" job; do
sleep 0.05 # Simulate some work
echo "Worker $$ processed $job" >> /tmp/worker-output
done
'
# Check that all 4 workers were actually utilized
worker_count=$(sort /tmp/worker-output | cut -d" " -f2 | sort -u | wc -l)
if [ "$worker_count" -ne 4 ]; then
echo "ERROR: Expected exactly 4 workers, got $worker_count"
cat /tmp/worker-output
exit 1
fi
echo "SUCCESS: All 4 workers participated"
rm -f /tmp/worker-output
echo "Testing error propagation..."
# Test that errors from workers are propagated
if printf "job1\0job2\0job3\0" | parallelRun sh -c '
while IFS= read -r -d "" job; do
if [ "$job" = "job2" ]; then
echo "Worker failing on $job" >&2
exit 1
fi
echo "Worker processed $job"
done
' 2>/dev/null; then
echo "ERROR: Expected command to fail but it succeeded"
exit 1
else
echo "SUCCESS: Error was properly propagated"
fi
echo "Testing error message..."
error_output=$(printf "job1\0job2\0job3\0" | parallelRun sh -c '
while IFS= read -r -d "" job; do
if [ "$job" = "job2" ]; then
echo "Worker failing on $job" >&2
exit 1
fi
echo "Worker processed $job"
done
' 2>&1 || true)
if [[ "$error_output" != *"job failed"* ]]; then
echo "ERROR: Expected 'job failed' in error message, got: $error_output"
exit 1
fi
echo "SUCCESS: Error message was displayed"
echo "Testing Verify all jobs are processed when no errors occur..."
# Generate jobs and count processed ones
for i in {1..10}; do
printf "job%d\0" $i
done | parallelRun sh -c '
while IFS= read -r -d "" job; do
echo "$job" >> /tmp/processed-jobs
done
'
processed_count=$(wc -l < /tmp/processed-jobs)
if [ "$processed_count" -ne 10 ]; then
echo "ERROR: Expected 10 jobs processed, got $processed_count"
exit 1
fi
echo "SUCCESS: All 10 jobs were processed"
rm -f /tmp/processed-jobs
echo "All parallelRun tests passed!"
# ---------------------------------------------------------------------
echo "Testing parallelMap basic functionality..."
# Define a test function
testFunc() {
echo "Processing: $1" >> /tmp/map-output
}
# Test that parallelMap calls the function with each job
for i in {1..5}; do
printf "item%d\0" $i
done | parallelMap testFunc
# Check all jobs were processed
processed_map_count=$(wc -l < /tmp/map-output)
if [ "$processed_map_count" -ne 5 ]; then
echo "ERROR: Expected 5 items processed by parallelMap, got $processed_map_count"
exit 1
fi
echo "SUCCESS: parallelMap processed all 5 items"
rm -f /tmp/map-output
echo "Testing parallelMap error propagation..."
# Define a function that fails on specific input
failFunc() {
if [ "$1" = "item2" ]; then
echo "Function failing on $1" >&2
exit 1
fi
echo "Function processed $1"
}
# Test that errors are propagated
if printf "item1\0item2\0item3\0" | parallelMap failFunc 2>/dev/null; then
echo "ERROR: Expected parallelMap to fail but it succeeded"
exit 1
else
echo "SUCCESS: parallelMap error was properly propagated"
fi
echo "Testing parallelMap with additional arguments..."
# Define a function that uses additional arguments
argFunc() {
echo "$1: $2" >> /tmp/map-args-output
}
# Test with additional arguments
for i in {1..3}; do
printf "value%d\0" $i
done | parallelMap argFunc "PREFIX"
# Check output contains the prefix
if ! grep -q "PREFIX: value1" /tmp/map-args-output; then
echo "ERROR: parallelMap did not pass additional arguments correctly"
cat /tmp/map-args-output
exit 1
fi
echo "SUCCESS: parallelMap passed additional arguments correctly"
rm -f /tmp/map-args-output
echo "All parallelRun and parallelMap tests passed!"
touch $out

View file

@ -2,6 +2,8 @@
lib,
fetchFromGitHub,
buildGoModule,
versionCheckHook,
writableTmpDirAsHomeHook,
}:
buildGoModule (finalAttrs: {
@ -26,7 +28,13 @@ buildGoModule (finalAttrs: {
"-X github.com/tjblackheart/andcli/v2/internal/buildinfo.AppVersion=${finalAttrs.src.tag}"
];
# As stated in #404465 the versionCheckHook does not work so it is not used here
nativeInstallCheckInputs = [
writableTmpDirAsHomeHook
versionCheckHook
];
versionCheckProgramArg = "--version";
versionCheckKeepEnvironment = [ "HOME" ];
doInstallCheck = true;
meta = {
homepage = "https://github.com/tjblackheart/andcli";

View file

@ -235,6 +235,10 @@ def auto_patchelf_file(path: Path, runtime_deps: list[Path], append_rpaths: list
except ELFError:
return []
# these platforms are packaged in nixpkgs with ld.so in a separate derivation
# than libc.so and friends. keep_libc is mandatory.
keep_libc |= file_osabi in ('ELFOSABI_FREEBSD', 'ELFOSABI_OPENBSD')
rpath = []
if file_is_dynamic_executable:
print("setting interpreter of", path)

View file

@ -1,37 +1,36 @@
{
buildGoModule,
buildGo123Module,
fetchFromGitHub,
lib,
nix-update-script,
stdenv,
}:
buildGoModule rec {
buildGo123Module (finalAttrs: {
pname = "avalanchego";
version = "1.12.1";
version = "1.13.0";
src = fetchFromGitHub {
owner = "ava-labs";
repo = "avalanchego";
tag = "v${version}";
hash = "sha256-elbY0KNsOmKSTX61nps2tjIFTJH5Nnqmwq6mWwd88aE=";
tag = "v${finalAttrs.version}";
hash = "sha256-t6KruPHt51wJ4aJaCG/8tuwKYtaifHvQ3z9oVknNS4E=";
};
# https://github.com/golang/go/issues/57529
proxyVendor = true;
vendorHash = "sha256-HRhgnf6vHBrJTHspH+HwR3g5o63i+dCm7kPuBKdSV8s=";
vendorHash = "sha256-iyx9k8mPPOwpHo9lEdNPf0sQHxbKbNTVLUZrPYY8dWM=";
subPackages = [ "main" ];
ldflags = [
"-s"
"-w"
"-X github.com/ava-labs/avalanchego/version.GitCommit=${version}"
"-X github.com/ava-labs/avalanchego/version.GitCommit=${finalAttrs.version}"
];
postInstall = ''
mv $out/bin/{main,${pname}}
mv $out/bin/{main,avalanchego}
'';
passthru.updateScript = nix-update-script { };
@ -39,7 +38,7 @@ buildGoModule rec {
meta = {
description = "Go implementation of an Avalanche node";
homepage = "https://github.com/ava-labs/avalanchego";
changelog = "https://github.com/ava-labs/avalanchego/releases/tag/v${version}";
changelog = "https://github.com/ava-labs/avalanchego/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
urandom
@ -47,4 +46,4 @@ buildGoModule rec {
];
mainProgram = "avalanchego";
};
}
})

View file

@ -5,6 +5,7 @@
buildPackages,
fetchurl,
flex,
lzip,
readline,
ed,
texinfo,
@ -12,10 +13,10 @@
stdenv.mkDerivation rec {
pname = "bc";
version = "1.08.1";
version = "1.08.2";
src = fetchurl {
url = "mirror://gnu/bc/bc-${version}.tar.xz";
hash = "sha256-UVQwEVszNMY2MXUDRgoJUN/3mUCqMlnOLBqmfCiB0CM=";
url = "mirror://gnu/bc/bc-${version}.tar.lz";
hash = "sha256-eeMeAiqEsx3YCYFQY9S46lkLQJY3pSxQ7J9Cwr8zJxE=";
};
configureFlags = [ "--with-readline" ];
@ -28,6 +29,7 @@ stdenv.mkDerivation rec {
autoreconfHook
ed
flex
lzip
texinfo
# Libraries for build
buildPackages.readline

View file

@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
xorgproto,
writeScript,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bdftopcf";
version = "1.1.2";
src = fetchurl {
url = "mirror://xorg/individual/util/bdftopcf-${finalAttrs.version}.tar.xz";
hash = "sha256-vGC+WQQzD6qj3dKu14dL7i8p5Dh8JF1nh1UvBn6wUjo=";
};
strictDeps = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ xorgproto ];
passthru = {
updateScript = writeScript "update-${finalAttrs.pname}" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts
version="$(list-directory-versions --pname ${finalAttrs.pname} \
--url https://xorg.freedesktop.org/releases/individual/util/ \
| sort -V | tail -n1)"
update-source-version ${finalAttrs.pname} "$version"
'';
};
meta = {
description = "Converts X font from Bitmap Distribution Format to Portable Compiled Format";
homepage = "https://gitlab.freedesktop.org/xorg/util/bdftopcf";
license = lib.licenses.mitOpenGroup;
mainProgram = "bdftopcf";
maintainers = [ ];
platforms = lib.platforms.unix;
};
})

View file

@ -22,13 +22,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-DyXRbtvCJte7mCQKusipeikr981vMHPEVYcGSwVI5Kg=";
nativeBuildInputs = [
pkg-config
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
];
buildInputs = [ openssl ];
doInstallCheck = true;
nativeInstallCheckInputs = [
@ -36,7 +32,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
writableTmpDirAsHomeHook
];
versionCheckProgramArg = "--version";
versionCheckDontIgnoreEnvironment = true;
versionCheckKeepEnvironment = [ "HOME" ];
passthru.updateScript = nix-update-script { };

View file

@ -17,13 +17,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "clapper-enhancers";
version = "0.8.2";
version = "0.8.3";
src = fetchFromGitHub {
owner = "Rafostar";
repo = "clapper-enhancers";
tag = finalAttrs.version;
hash = "sha256-CUfTz+YvliJXiv/nsdrpDVFSblqoSW7js8vAtJ9u5vM=";
hash = "sha256-uj0ZZrS2Y896EDWeBsU3Q3S2kFdEg5FQkBOcI97FFWc=";
};
nativeBuildInputs = [

View file

@ -29,6 +29,11 @@ stdenvNoCC.mkDerivation {
mkdir -p $out
lndir $src $out
dbusfile=share/dbus-1/services/com.github.rafostar.Clapper.service
rm $out/$dbusfile
cp $src/$dbusfile $out/$dbusfile
substituteInPlace $out/$dbusfile \
--replace-fail $src/bin/clapper $out/bin/clapper
runHook postInstall
'';

View file

@ -47,12 +47,12 @@ buildGoModule (finalAttrs: {
];
doInstallCheck = true;
nativeCheckInputs = [
nativeInstallCheckInputs = [
versionCheckHook
writableTmpDirAsHomeHook
];
versionCheckProgramArg = "version";
versionCheckDontIgnoreEnvironment = true;
versionCheckKeepEnvironment = [ "HOME" ];
passthru.updateScript = ./update.sh;

View file

@ -1,209 +0,0 @@
From d16ccbd55de80c271fe822f4ba8b6271fd9166ff Mon Sep 17 00:00:00 2001
From: Stefan Eissing <stefan@eissing.org>
Date: Wed, 28 May 2025 14:04:31 +0200
Subject: [PATCH] multi: fix add_handle resizing
Due to someone being stupid, the resizing of the multi's transfer
table was actually shrinking it. Oh my.
Add test751 to reproduce, add code assertion.
Fixes #17473
Reported-by: Jeroen Ooms
Closes #17475
---
lib/multi.c | 3 +-
tests/data/Makefile.am | 2 +-
tests/data/test751 | 33 ++++++++++++++
tests/libtest/Makefile.inc | 4 ++
tests/libtest/lib751.c | 92 ++++++++++++++++++++++++++++++++++++++
5 files changed, 132 insertions(+), 2 deletions(-)
create mode 100644 tests/data/test751
create mode 100644 tests/libtest/lib751.c
diff --git a/lib/multi.c b/lib/multi.c
index 792b30515d8b..b744e03ae52f 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -347,7 +347,8 @@ static CURLMcode multi_xfers_add(struct Curl_multi *multi,
if(unused <= min_unused) {
/* make it a 64 multiple, since our bitsets frow by that and
* small (easy_multi) grows to at least 64 on first resize. */
- unsigned int newsize = ((capacity + min_unused) + 63) / 64;
+ unsigned int newsize = (((capacity + min_unused) + 63) / 64) * 64;
+ DEBUGASSERT(newsize > capacity);
/* Grow the bitsets first. Should one fail, we do not need
* to downsize the already resized ones. The sets continue
* to work properly when larger than the table, but not
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index e8f9e12be71e..16bb57db8e69 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -107,7 +107,7 @@ test709 test710 test711 test712 test713 test714 test715 test716 test717 \
test718 test719 test720 test721 test722 test723 test724 test725 test726 \
test727 test728 test729 test730 test731 test732 test733 test734 test735 \
test736 test737 test738 test739 test740 test741 test742 test743 test744 \
-test745 test746 test747 test748 test749 test750 \
+test745 test746 test747 test748 test749 test750 test751 \
\
test780 test781 test782 test783 test784 test785 test786 test787 test788 \
test789 test790 test791 \
diff --git a/tests/data/test751 b/tests/data/test751
new file mode 100644
index 000000000000..ffc6df512f83
--- /dev/null
+++ b/tests/data/test751
@@ -0,0 +1,33 @@
+<testcase>
+<info>
+<keywords>
+MULTI
+</keywords>
+</info>
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+none
+</server>
+# tool is what to use instead of 'curl'
+<tool>
+lib%TESTNUMBER
+</tool>
+
+<name>
+multi - add many easy handles
+</name>
+<command>
+</command>
+</file>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+</verify>
+</testcase>
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc
index faf7eacdf6af..002e7ab5470d 100644
--- a/tests/libtest/Makefile.inc
+++ b/tests/libtest/Makefile.inc
@@ -50,6 +50,7 @@ LIBTESTPROGS = libauthretry libntlmconnect libprereq \
lib659 lib661 lib666 lib667 lib668 \
lib670 lib671 lib672 lib673 lib674 lib676 lib677 lib678 lib694 lib695 \
lib696 \
+ lib751 \
lib1156 \
lib1301 \
lib1308 \
@@ -349,6 +350,9 @@ lib695_SOURCES = lib695.c $(SUPPORTFILES)
lib696_SOURCES = lib556.c $(SUPPORTFILES) $(WARNLESS)
lib696_CPPFLAGS = $(AM_CPPFLAGS) -DLIB696
+lib751_SOURCES = lib751.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS)
+lib751_LDADD = $(TESTUTIL_LIBS)
+
lib1301_SOURCES = lib1301.c $(SUPPORTFILES) $(TESTUTIL)
lib1301_LDADD = $(TESTUTIL_LIBS)
diff --git a/tests/libtest/lib751.c b/tests/libtest/lib751.c
new file mode 100644
index 000000000000..ab2f923b959d
--- /dev/null
+++ b/tests/libtest/lib751.c
@@ -0,0 +1,92 @@
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at https://curl.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ * SPDX-License-Identifier: curl
+ *
+ ***************************************************************************/
+#include "test.h"
+
+#include "testutil.h"
+#include "warnless.h"
+#include "memdebug.h"
+
+#define TEST_HANG_TIMEOUT 60 * 1000
+
+/*
+ * Get a single URL without select().
+ */
+
+CURLcode test(char *URL)
+{
+ CURL *easies[1000];
+ CURLM *m;
+ CURLcode res = CURLE_FAILED_INIT;
+ CURLMcode mres;
+ int i;
+
+ (void)URL;
+ memset(easies, 0, sizeof(easies));
+
+ curl_global_init(CURL_GLOBAL_DEFAULT);
+ m = curl_multi_init();
+ if(!m) {
+ res = CURLE_OUT_OF_MEMORY;
+ goto test_cleanup;
+ }
+
+ for(i = 0; i < 1000; i++) {
+ CURL *e = curl_easy_init();
+ if(!e) {
+ res = CURLE_OUT_OF_MEMORY;
+ goto test_cleanup;
+ }
+ easies[i] = e;
+
+ res = curl_easy_setopt(e, CURLOPT_URL, "https://www.example.com/");
+ if(!res)
+ res = curl_easy_setopt(e, CURLOPT_VERBOSE, 1L);
+ if(res)
+ goto test_cleanup;
+
+ mres = curl_multi_add_handle(m, e);
+ if(mres != CURLM_OK) {
+ printf("MULTI ERROR: %s\n", curl_multi_strerror(mres));
+ res = CURLE_FAILED_INIT;
+ goto test_cleanup;
+ }
+ }
+
+test_cleanup:
+
+ if(res)
+ printf("ERROR: %s\n", curl_easy_strerror(res));
+
+ for(i = 0; i < 1000; i++) {
+ if(easies[i]) {
+ curl_multi_add_handle(m, easies[i]);
+ curl_easy_cleanup(easies[i]);
+ easies[i] = NULL;
+ }
+ }
+ curl_multi_cleanup(m);
+ curl_global_cleanup();
+
+ return res;
+}

View file

@ -91,7 +91,7 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "curl";
version = "8.14.0";
version = "8.14.1";
src = fetchurl {
urls = [
@ -100,16 +100,9 @@ stdenv.mkDerivation (finalAttrs: {
builtins.replaceStrings [ "." ] [ "_" ] finalAttrs.version
}/curl-${finalAttrs.version}.tar.xz"
];
hash = "sha256-s2NM/FOMcsnGynlO9Mc9f9vRceje4tuDfYOl5FIxACo=";
hash = "sha256-9GGaHiR0xLv+3IinwhkSCcgzS0j6H05T/VhMwS6RIN0=";
};
patches = [
# Backport of https://github.com/curl/curl/commit/d16ccbd55de80c271fe822f4ba8b6271fd9166ff
# Fixes a regression introduced in 8.14.0
# Remove with 8.14.1
./fix-add_handle-resizing.patch
];
# this could be accomplished by updateAutotoolsGnuConfigScriptsHook, but that causes infinite recursion
# necessary for FreeBSD code path in configure
postPatch = ''

View file

@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
autoreconfHook,
pkg-config,
file,
@ -22,6 +23,13 @@ stdenv.mkDerivation rec {
hash = "sha256-7ou077ozbpH21PcvEEcprr4UYJ/X398Ph9dh5C3YyBQ=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/canonical/dqlite/commit/be453628ce782167f6652c055e600908e2641da7.patch?full_index=1";
hash = "sha256-5DvZ1TW6QmE/heh/RjV395gSgwKM5XnqxqznfYQPC/Y=";
})
];
nativeBuildInputs = [
autoreconfHook
file

View file

@ -10,18 +10,18 @@
rustPlatform.buildRustPackage rec {
pname = "easytier";
version = "2.3.0";
version = "2.3.1";
src = fetchFromGitHub {
owner = "EasyTier";
repo = "EasyTier";
tag = "v${version}";
hash = "sha256-F///8C7lyJZj5+u80nauDdrPFrEE40s0DeNzQeblImw=";
hash = "sha256-urcwzM5nup3+guvSngw+I2QBjmjSc/WV7BWFpISVDBg=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-f64tOU8AKC14tqX9Q3MLa7/pmIuI4FeFGOct8ZTAe+k=";
cargoHash = "sha256-rqL8tnLPeXK2BLvSFrzMRvtJAqHgOqNh4fE0w8c0ThU=";
nativeBuildInputs = [
protobuf

View file

@ -31,6 +31,9 @@ buildGoModule (finalAttrs: {
mv $out/bin/cmd $out/bin/ec2-instance-selector
'';
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
versionCheckKeepEnvironment = [ "HOME" ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View file

@ -7,13 +7,13 @@
buildGoModule rec {
pname = "fabric-ai";
version = "1.4.195";
version = "1.4.196";
src = fetchFromGitHub {
owner = "danielmiessler";
repo = "fabric";
tag = "v${version}";
hash = "sha256-83LlJ697CyW8Hmp6cB3RqeVk1OGuF6TUHcfKLqjgLPk=";
hash = "sha256-g2f8xpS+KA1USt7lArodTo7m7OXnzew2LSFKeVclQOE=";
};
vendorHash = "sha256-xfNvmhHNYpanhZKT9o8kImzw4gzigpgc8ri9O1iOqwc=";

View file

@ -0,0 +1,37 @@
https://github.com/freebsd/freebsd-ports/blob/e198aef78afa4fd78ddc62fb5d0f7caa1b076bb0/databases/gdbm/files/patch-src_lock.c
--- a/src/lock.c.orig 2025-03-06 16:24:09 UTC
+++ b/src/lock.c
@@ -73,15 +73,10 @@ try_lock_flock (GDBM_FILE dbf, int nb)
{
return TRY_LOCK_OK;
}
- else if (errno == EWOULDBLOCK)
+ else if (errno == EWOULDBLOCK || errno == EINTR)
{
return TRY_LOCK_FAIL;
}
- else if (errno == EINTR)
- {
- errno = ETIME;
- return TRY_LOCK_FAIL;
- }
#endif
return TRY_LOCK_NEXT;
}
@@ -116,7 +111,6 @@ try_lock_lockf (GDBM_FILE dbf, int nb)
switch (errno)
{
case EINTR:
- errno = ETIME;
case EACCES:
case EAGAIN:
case EDEADLK:
@@ -162,7 +156,6 @@ try_lock_fcntl (GDBM_FILE dbf, int nb)
switch (errno)
{
case EINTR:
- errno = ETIME;
case EACCES:
case EAGAIN:
case EDEADLK:

View file

@ -1,6 +1,7 @@
{
lib,
fetchurl,
fetchpatch,
stdenv,
testers,
updateAutotoolsGnuConfigScriptsHook,
@ -15,12 +16,16 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-0C2zxZJu2Hf4gXuBzR+S9T73TKjG21Q/u6AnGzTzk+w=";
};
patches = [
# Remove on next release.
./upstream-darwin-clock-nanosleep-fix.patch
./upstream-lockwait-test-fixes.patch
./upstream-musl-ssize_t-fix.patch
];
patches =
[
# Remove on next release.
./upstream-darwin-clock-nanosleep-fix.patch
./upstream-lockwait-test-fixes.patch
./upstream-musl-ssize_t-fix.patch
]
++ lib.optionals stdenv.hostPlatform.isFreeBSD [
./freebsd-patch-src-lock-c.patch
];
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];

View file

@ -40,15 +40,6 @@ stdenv.mkDerivation {
inherit rev sha256;
};
patches = [
(fetchpatch {
name = "LFS64.patch";
url = "https://gn.googlesource.com/gn/+/b5ff50936a726ff3c8d4dfe2a0ae120e6ce1350d%5E%21/?format=TEXT";
decode = "base64 -d";
hash = "sha256-/kh8t/Ip1EG2OIhydS//st/C80KJ4P31vGx7j8QpFh0=";
})
];
nativeBuildInputs = [
ninja
python3
@ -58,6 +49,9 @@ stdenv.mkDerivation {
];
env.NIX_CFLAGS_COMPILE = "-Wno-error";
# Relax hardening as otherwise gn unstable 2024-06-06 and later fail with:
# cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
hardeningDisable = [ "format" ];
buildPhase = ''
python build/gen.py --no-last-commit-position

View file

@ -1,10 +1,10 @@
{ callPackage, ... }@args:
callPackage ./generic.nix args {
# Note: Please use the recommended version for Chromium stabe, i.e. from
# <nixpkgs>/pkgs/applications/networking/browsers/chromium/upstream-info.nix
rev = "df98b86690c83b81aedc909ded18857296406159";
revNum = "2168"; # git describe $rev --match initial-commit | cut -d- -f3
version = "2024-05-13";
sha256 = "sha256-mNoQeHSSM+rhR0UHrpbyzLJC9vFqfxK1SD0X8GiRsqw=";
# Note: Please use the recommended version for Chromium stable, i.e. from
# <nixpkgs>/pkgs/applications/networking/browsers/chromium/info.json
rev = "85cc21e94af590a267c1c7a47020d9b420f8a033";
revNum = "2233"; # git describe $rev --match initial-commit | cut -d- -f3
version = "2025-04-28";
sha256 = "sha256-+nKP2hBUKIqdNfDz1vGggXSdCuttOt0GwyGUQ3Z1ZHI=";
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,149 @@
{
lib,
stdenv,
copyDesktopItems,
buildNpmPackage,
electron_35,
fetchFromGitLab,
makeBinaryWrapper,
makeDesktopItem,
at-spi2-atk,
gtk3,
libappindicator-gtk3,
libnotify,
libsecret,
libuuid,
nss,
xdg-utils,
xorg,
}:
let
version = "2.250507.0";
electron = electron_35;
in
buildNpmPackage (finalAttrs: {
pname = "gridtracker2";
inherit version;
src = fetchFromGitLab {
owner = "gridtracker.org";
repo = "gridtracker2";
tag = "v${version}";
hash = "sha256-8JFEVGy3Wz94FUK8V+JF+HHKBngT3VvwDBh+O2Bin6E=";
};
npmDepsHash = "sha256-ioocL1/k3aDmgVwxS09PFbMmteNrGncQz2yz7HUPX90=";
nativeBuildInputs = [
makeBinaryWrapper
copyDesktopItems
];
env.ELECTRON_SKIP_BINARY_DOWNLOAD = true;
makeCacheWritable = true;
desktopItems = [
(makeDesktopItem {
name = "GridTracker2";
desktopName = "GridTracker2";
exec = "gridtracker2 %U";
terminal = false;
type = "Application";
icon = "gridtracker2";
startupWMClass = "GridTracker2";
comment = "A warehouse of amateur radio information";
categories = [
"HamRadio"
"Network"
];
})
];
postPatch = ''
install -Dvm644 ${./package-lock.json} package-lock.json
'';
buildPhase =
''
runHook preBuild
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
# electronDist needs to be modifiable on Darwin
cp -r ${electron.dist} electron-dist
chmod -R u+w electron-dist
# Disable code signing during build on macOS.
# https://github.com/electron-userland/electron-builder/blob/fa6fc16/docs/code-signing.md#how-to-disable-code-signing-during-the-build-process-on-macos
export CSC_IDENTITY_AUTO_DISCOVERY=false
npm exec electron-builder -- \
--dir \
-c.electronDist=electron-dist \
-c.electronVersion=${electron.version}
''
+ lib.optionalString stdenv.hostPlatform.isLinux ''
npm exec electron-builder -- \
--dir \
-c.electronDist=${electron.dist} \
-c.electronVersion=${electron.version}
''
+ ''
runHook postBuild
'';
runtimeInputs =
[
at-spi2-atk
gtk3
libnotify
libsecret
libuuid
nss
xdg-utils
xorg.libXScrnSaver
xorg.libXtst
]
++ lib.optionals stdenv.isLinux [
libappindicator-gtk3
];
installPhase =
''
runHook preInstall
''
+ lib.optionalString stdenv.hostPlatform.isLinux ''
install -Dvm644 -t "$out/share/gridtracker2/resources" \
./dist/linux*/resources/*
install -Dvm644 -t "$out/share/gridtracker2/locales" \
./dist/linux*/locales/*
install -Dvm644 ./resources/icon.png \
"$out/share/pixmaps/gridtracker2.png"
makeWrapper ${lib.getExe electron} $out/bin/gridtracker2 \
--add-flags $out/share/gridtracker2/resources/app.asar \
--prefix PATH : "${lib.makeBinPath finalAttrs.runtimeInputs}" \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.runtimeInputs}" \
--add-flags "--no-sandbox --disable-gpu-sandbox" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
--inherit-argv0
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p $out/Applications $out/bin
cp -r dist/mac*/GridTracker2.app $out/Applications
ln -s $out/Applications/GridTracker2.app/Contents/MacOS/GridTracker2 $out/bin/gridtracker2
''
+ ''
runHook postInstall
'';
meta = {
description = "Warehouse of amateur radio information";
homepage = "https://gridtracker.org/";
license = lib.licenses.bsd3;
platforms = electron.meta.platforms;
maintainers = with lib.maintainers; [ Cryolitia ];
mainProgram = "gridtracker2";
};
})

View file

@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "hidapi";
version = "0.14.0";
version = "0.15.0";
src = fetchFromGitHub {
owner = "libusb";
repo = "hidapi";
rev = "hidapi-${finalAttrs.version}";
sha256 = "sha256-p3uzBq5VxxQbVuy1lEHEEQdxXwnhQgJDIyAAWjVWNIg=";
sha256 = "sha256-o6IZRG42kTa7EQib9eaV1HGyjaGgeCabk+8fyQTm/0s=";
};
nativeBuildInputs = [

View file

@ -6,13 +6,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "hwdata";
version = "0.395";
version = "0.396";
src = fetchFromGitHub {
owner = "vcrhonek";
repo = "hwdata";
rev = "v${finalAttrs.version}";
hash = "sha256-wLdJGaJVqClso75iRSpSVlobdx7Rv01YreiPsDzwjok=";
hash = "sha256-fn+Dcl7R3PADoTuilSQrXFBnXQM1c66jliTc0G89RIQ=";
};
doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)

View file

@ -0,0 +1 @@
{ ibus }: ibus.override { libOnly = true; }

View file

@ -0,0 +1,84 @@
{
lib,
stdenv,
fetchurl,
tradcpp,
xorg-cf-files,
pkg-config,
xorgproto,
writeScript,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "imake";
version = "1.0.10";
src = fetchurl {
url = "mirror://xorg/individual/util/imake-${finalAttrs.version}.tar.xz";
hash = "sha256-dd7LzqjXs1TPNq3JZ15TxHkO495WoUvYe0LI6KrS7PU=";
};
patches = [
# Disable imake autodetection for:
# - LinuxDistribution to avoid injection of /usr paths
# - gcc to avoid use uf /usr/bin/gcc
# https://github.com/NixOS/nixpkgs/issues/135337
./disable-autodetection.patch
# uberhack to workaround broken 'gcc -x c'
#
# Our cc-wrapper is broken whenever the '-x' flag is used:
# 'gcc -x c foo.c -o bar' doesn't work the same way as 'gcc foo.c -o bar'
# does. (Try both with NIX_DEBUG=1.)
#
# What happens is that passing '-x' causes linker-related flags (such as
# -Wl,-dynamic-linker) not to be added, just like if '-c' is passed.
# The bug happens outside the multiple-outputs branch as well, but it
# doesn't break imake there. It only breaks in multiple-outputs because
# linking without -Wl,-dynamic-linker produces a binary with an invalid
# ELF interpreter path. (Which arguably, is a bug in its own.)
# (copied from the commit message on 0100b270694ecab8aaa13fa5f3d30639b50d7777)
./cc-wrapper-uberhack.patch
];
strictDeps = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ xorgproto ];
configureFlags = [
"ac_cv_path_RAWCPP=${stdenv.cc.targetPrefix}cpp"
];
env = {
CFLAGS = "-DIMAKE_COMPILETIME_CPP='\"${
if stdenv.hostPlatform.isDarwin then "${tradcpp}/bin/cpp" else "gcc"
}\"'";
};
inherit tradcpp xorg-cf-files;
setupHook = ./setup-hook.sh;
x11BuildHook = ./x11-build-hook.sh;
passthru = {
updateScript = writeScript "update-${finalAttrs.pname}" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts
version="$(list-directory-versions --pname ${finalAttrs.pname} \
--url https://xorg.freedesktop.org/releases/individual/util/ \
| sort -V | tail -n1)"
update-source-version ${finalAttrs.pname} "$version"
'';
};
meta = {
description = "Obsolete C preprocessor interface to the make utility";
homepage = "https://gitlab.freedesktop.org/xorg/util/imake";
license = with lib.licenses; [
mitOpenGroup
x11
];
mainProgram = "imake";
maintainers = [ ];
platforms = lib.platforms.unix;
};
})

View file

@ -1,118 +0,0 @@
From c15fc903e00fdd3b460e64d5a6a540f944e1eca6 Mon Sep 17 00:00:00 2001
From: itchyny <itchyny@cybozu.co.jp>
Date: Tue, 4 Mar 2025 22:13:55 +0900
Subject: [PATCH 1/5] Improve performance of repeating strings (#3272)
This commit improves the performance of repeating strings, by copying
the result string instead of the string being repeated. Also it adds
an error message when the result string is too long.
---
src/builtin.c | 15 ++-------------
src/jv.c | 26 ++++++++++++++++++++++++++
src/jv.h | 1 +
tests/jq.test | 12 ++++++++++++
4 files changed, 41 insertions(+), 13 deletions(-)
diff --git a/src/builtin.c b/src/builtin.c
index 902490d..abb99f4 100644
--- a/src/builtin.c
+++ b/src/builtin.c
@@ -369,21 +369,10 @@ jv binop_multiply(jv a, jv b) {
str = b;
num = a;
}
- jv res;
double d = jv_number_value(num);
- if (d < 0 || isnan(d)) {
- res = jv_null();
- } else {
- int n = d;
- size_t alen = jv_string_length_bytes(jv_copy(str));
- res = jv_string_empty(alen * n);
- for (; n > 0; n--) {
- res = jv_string_append_buf(res, jv_string_value(str), alen);
- }
- }
- jv_free(str);
jv_free(num);
- return res;
+ return jv_string_repeat(str,
+ d < 0 || isnan(d) ? -1 : d > INT_MAX ? INT_MAX : (int)d);
} else if (ak == JV_KIND_OBJECT && bk == JV_KIND_OBJECT) {
return jv_object_merge_recursive(a, b);
} else {
diff --git a/src/jv.c b/src/jv.c
index e23d8ec..e0478c8 100644
--- a/src/jv.c
+++ b/src/jv.c
@@ -1291,6 +1291,32 @@ jv jv_string_indexes(jv j, jv k) {
return a;
}
+jv jv_string_repeat(jv j, int n) {
+ assert(JVP_HAS_KIND(j, JV_KIND_STRING));
+ if (n < 0) {
+ jv_free(j);
+ return jv_null();
+ }
+ int len = jv_string_length_bytes(jv_copy(j));
+ int64_t res_len = (int64_t)len * n;
+ if (res_len >= INT_MAX) {
+ jv_free(j);
+ return jv_invalid_with_msg(jv_string("Repeat string result too long"));
+ }
+ if (res_len == 0) {
+ jv_free(j);
+ return jv_string("");
+ }
+ jv res = jv_string_empty(res_len);
+ res = jvp_string_append(res, jv_string_value(j), len);
+ for (int curr = len, grow; curr < res_len; curr += grow) {
+ grow = MIN(res_len - curr, curr);
+ res = jvp_string_append(res, jv_string_value(res), grow);
+ }
+ jv_free(j);
+ return res;
+}
+
jv jv_string_split(jv j, jv sep) {
assert(JVP_HAS_KIND(j, JV_KIND_STRING));
assert(JVP_HAS_KIND(sep, JV_KIND_STRING));
diff --git a/src/jv.h b/src/jv.h
index 083509e..a9b13ae 100644
--- a/src/jv.h
+++ b/src/jv.h
@@ -131,6 +131,7 @@ jv jv_string_fmt(const char*, ...) JV_PRINTF_LIKE(1, 2);
jv jv_string_append_codepoint(jv a, uint32_t c);
jv jv_string_append_buf(jv a, const char* buf, int len);
jv jv_string_append_str(jv a, const char* str);
+jv jv_string_repeat(jv j, int n);
jv jv_string_split(jv j, jv sep);
jv jv_string_explode(jv j);
jv jv_string_implode(jv j);
diff --git a/tests/jq.test b/tests/jq.test
index 7036df2..e82cf84 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -1365,6 +1365,18 @@ indices(", ")
"abc"
[null,null]
+. * 100000 | [.[:10],.[-10:]]
+"abc"
+["abcabcabca","cabcabcabc"]
+
+. * 1000000000
+""
+""
+
+try (. * 1000000000) catch .
+"abc"
+"Repeat string result too long"
+
[.[] / ","]
["a, bc, def, ghij, jklmn, a,b, c,d, e,f", "a,b,c,d, e,f,g,h"]
[["a"," bc"," def"," ghij"," jklmn"," a","b"," c","d"," e","f"],["a","b","c","d"," e","f","g","h"]]
--
2.49.0

View file

@ -1,66 +0,0 @@
From df0ddb83feb656230157f5bc9b7f34caef1f82be Mon Sep 17 00:00:00 2001
From: itchyny <itchyny@cybozu.co.jp>
Date: Sun, 16 Feb 2025 22:08:36 +0900
Subject: [PATCH 2/5] fix: `jv_number_value` should cache the double value of
literal numbers (#3245)
The code of `jv_number_value` is intended to cache the double value of
literal numbers, but it does not work because it accepts the `jv` struct
by value. This patch fixes the behavior by checking if the double value
is `NaN`, which indicates the unconverted value. This patch improves the
performance of major use cases; e.g. `range(1000000)` runs 25% faster.
---
src/jv.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/jv.c b/src/jv.c
index e0478c8..418d57d 100644
--- a/src/jv.c
+++ b/src/jv.c
@@ -206,9 +206,6 @@ enum {
JVP_NUMBER_DECIMAL = 1
};
-#define JV_NUMBER_SIZE_INIT (0)
-#define JV_NUMBER_SIZE_CONVERTED (1)
-
#define JVP_FLAGS_NUMBER_NATIVE JVP_MAKE_FLAGS(JV_KIND_NUMBER, JVP_MAKE_PFLAGS(JVP_NUMBER_NATIVE, 0))
#define JVP_FLAGS_NUMBER_LITERAL JVP_MAKE_FLAGS(JV_KIND_NUMBER, JVP_MAKE_PFLAGS(JVP_NUMBER_DECIMAL, 1))
@@ -589,8 +586,12 @@ static jv jvp_literal_number_new(const char * literal) {
jv_mem_free(n);
return JV_INVALID;
}
+ if (decNumberIsNaN(&n->num_decimal)) {
+ jv_mem_free(n);
+ return jv_number(NAN);
+ }
- jv r = {JVP_FLAGS_NUMBER_LITERAL, 0, 0, JV_NUMBER_SIZE_INIT, {&n->refcnt}};
+ jv r = {JVP_FLAGS_NUMBER_LITERAL, 0, 0, 0, {&n->refcnt}};
return r;
}
@@ -698,9 +699,8 @@ double jv_number_value(jv j) {
if (JVP_HAS_FLAGS(j, JVP_FLAGS_NUMBER_LITERAL)) {
jvp_literal_number* n = jvp_literal_number_ptr(j);
- if (j.size != JV_NUMBER_SIZE_CONVERTED) {
+ if (isnan(n->num_double)) {
n->num_double = jvp_literal_number_to_double(j);
- j.size = JV_NUMBER_SIZE_CONVERTED;
}
return n->num_double;
@@ -731,7 +731,7 @@ int jvp_number_is_nan(jv n) {
return decNumberIsNaN(pdec);
}
#endif
- return n.u.number != n.u.number;
+ return isnan(n.u.number);
}
int jvp_number_cmp(jv a, jv b) {
--
2.49.0

View file

@ -1,75 +0,0 @@
From dfd25612454deacb6df47329787844795bf59821 Mon Sep 17 00:00:00 2001
From: itchyny <itchyny@cybozu.co.jp>
Date: Wed, 5 Mar 2025 07:43:54 +0900
Subject: [PATCH 3/5] Reject NaN with payload while parsing JSON
This commit drops support for parsing NaN with payload in JSON like
`NaN123` and fixes CVE-2024-53427. Other JSON extensions like `NaN` and
`Infinity` are still supported. Fixes #3023, fixes #3196, fixes #3246.
---
src/jv.c | 5 +++++
tests/jq.test | 14 ++++++++++----
tests/shtest | 5 -----
3 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/jv.c b/src/jv.c
index 418d57d..6147775 100644
--- a/src/jv.c
+++ b/src/jv.c
@@ -587,6 +587,11 @@ static jv jvp_literal_number_new(const char * literal) {
return JV_INVALID;
}
if (decNumberIsNaN(&n->num_decimal)) {
+ // Reject NaN with payload.
+ if (n->num_decimal.digits > 1 || *n->num_decimal.lsu != 0) {
+ jv_mem_free(n);
+ return JV_INVALID;
+ }
jv_mem_free(n);
return jv_number(NAN);
}
diff --git a/tests/jq.test b/tests/jq.test
index e82cf84..97835f2 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -1950,11 +1950,17 @@ tojson | fromjson
{"a":nan}
{"a":null}
-# also "nan with payload" #2985
-fromjson | isnan
-"nan1234"
+# NaN with payload is not parsed
+.[] | try (fromjson | isnan) catch .
+["NaN","-NaN","NaN1","NaN10","NaN100","NaN1000","NaN10000","NaN100000"]
true
-
+true
+"Invalid numeric literal at EOF at line 1, column 4 (while parsing 'NaN1')"
+"Invalid numeric literal at EOF at line 1, column 5 (while parsing 'NaN10')"
+"Invalid numeric literal at EOF at line 1, column 6 (while parsing 'NaN100')"
+"Invalid numeric literal at EOF at line 1, column 7 (while parsing 'NaN1000')"
+"Invalid numeric literal at EOF at line 1, column 8 (while parsing 'NaN10000')"
+"Invalid numeric literal at EOF at line 1, column 9 (while parsing 'NaN100000')"
# calling input/0, or debug/0 in a test doesn't crash jq
diff --git a/tests/shtest b/tests/shtest
index 14aafbf..a471889 100755
--- a/tests/shtest
+++ b/tests/shtest
@@ -594,11 +594,6 @@ if ! x=$($JQ -n "1 # foo$cr + 2") || [ "$x" != 1 ]; then
exit 1
fi
-# CVE-2023-50268: No stack overflow comparing a nan with a large payload
-$VALGRIND $Q $JQ '1 != .' <<\EOF >/dev/null
-Nan4000
-EOF
-
# Allow passing the inline jq script before -- #2919
if ! r=$($JQ --args -rn -- '$ARGS.positional[0]' bar) || [ "$r" != bar ]; then
echo "passing the inline script after -- didn't work"
--
2.49.0

View file

@ -1,215 +0,0 @@
From dc65d5af447f266d8a4037551e028785aab31e04 Mon Sep 17 00:00:00 2001
From: itchyny <itchyny@cybozu.co.jp>
Date: Wed, 21 May 2025 07:45:00 +0900
Subject: [PATCH 4/5] Fix signed integer overflow in jvp_array_write and
jvp_object_rehash
This commit fixes signed integer overflow and SEGV issues on growing
arrays and objects. The size of arrays and objects is now limited to
`536870912` (`0x20000000`). This fixes CVE-2024-23337 and fixes #3262.
---
src/jv.c | 45 ++++++++++++++++++++++++++++++++++++---------
src/jv_aux.c | 9 +++++----
tests/jq.test | 4 ++++
3 files changed, 45 insertions(+), 13 deletions(-)
diff --git a/src/jv.c b/src/jv.c
index 6147775..6e8cdd3 100644
--- a/src/jv.c
+++ b/src/jv.c
@@ -997,6 +997,11 @@ jv jv_array_set(jv j, int idx, jv val) {
jv_free(val);
return jv_invalid_with_msg(jv_string("Out of bounds negative array index"));
}
+ if (idx > (INT_MAX >> 2) - jvp_array_offset(j)) {
+ jv_free(j);
+ jv_free(val);
+ return jv_invalid_with_msg(jv_string("Array index too large"));
+ }
// copy/free of val,j coalesced
jv* slot = jvp_array_write(&j, idx);
jv_free(*slot);
@@ -1016,6 +1021,7 @@ jv jv_array_concat(jv a, jv b) {
// FIXME: could be faster
jv_array_foreach(b, i, elem) {
a = jv_array_append(a, elem);
+ if (!jv_is_valid(a)) break;
}
jv_free(b);
return a;
@@ -1288,6 +1294,7 @@ jv jv_string_indexes(jv j, jv k) {
p = jstr;
while ((p = _jq_memmem(p, (jstr + jlen) - p, idxstr, idxlen)) != NULL) {
a = jv_array_append(a, jv_number(p - jstr));
+ if (!jv_is_valid(a)) break;
p++;
}
}
@@ -1336,14 +1343,17 @@ jv jv_string_split(jv j, jv sep) {
if (seplen == 0) {
int c;
- while ((jstr = jvp_utf8_next(jstr, jend, &c)))
+ while ((jstr = jvp_utf8_next(jstr, jend, &c))) {
a = jv_array_append(a, jv_string_append_codepoint(jv_string(""), c));
+ if (!jv_is_valid(a)) break;
+ }
} else {
for (p = jstr; p < jend; p = s + seplen) {
s = _jq_memmem(p, jend - p, sepstr, seplen);
if (s == NULL)
s = jend;
a = jv_array_append(a, jv_string_sized(p, s - p));
+ if (!jv_is_valid(a)) break;
// Add an empty string to denote that j ends on a sep
if (s + seplen == jend && seplen != 0)
a = jv_array_append(a, jv_string(""));
@@ -1361,8 +1371,10 @@ jv jv_string_explode(jv j) {
const char* end = i + len;
jv a = jv_array_sized(len);
int c;
- while ((i = jvp_utf8_next(i, end, &c)))
+ while ((i = jvp_utf8_next(i, end, &c))) {
a = jv_array_append(a, jv_number(c));
+ if (!jv_is_valid(a)) break;
+ }
jv_free(j);
return a;
}
@@ -1636,10 +1648,13 @@ static void jvp_object_free(jv o) {
}
}
-static jv jvp_object_rehash(jv object) {
+static int jvp_object_rehash(jv *objectp) {
+ jv object = *objectp;
assert(JVP_HAS_KIND(object, JV_KIND_OBJECT));
assert(jvp_refcnt_unshared(object.u.ptr));
int size = jvp_object_size(object);
+ if (size > INT_MAX >> 2)
+ return 0;
jv new_object = jvp_object_new(size * 2);
for (int i=0; i<size; i++) {
struct object_slot* slot = jvp_object_get_slot(object, i);
@@ -1652,7 +1667,8 @@ static jv jvp_object_rehash(jv object) {
}
// references are transported, just drop the old table
jv_mem_free(jvp_object_ptr(object));
- return new_object;
+ *objectp = new_object;
+ return 1;
}
static jv jvp_object_unshare(jv object) {
@@ -1681,27 +1697,32 @@ static jv jvp_object_unshare(jv object) {
return new_object;
}
-static jv* jvp_object_write(jv* object, jv key) {
+static int jvp_object_write(jv* object, jv key, jv **valpp) {
*object = jvp_object_unshare(*object);
int* bucket = jvp_object_find_bucket(*object, key);
struct object_slot* slot = jvp_object_find_slot(*object, key, bucket);
if (slot) {
// already has the key
jvp_string_free(key);
- return &slot->value;
+ *valpp = &slot->value;
+ return 1;
}
slot = jvp_object_add_slot(*object, key, bucket);
if (slot) {
slot->value = jv_invalid();
} else {
- *object = jvp_object_rehash(*object);
+ if (!jvp_object_rehash(object)) {
+ *valpp = NULL;
+ return 0;
+ }
bucket = jvp_object_find_bucket(*object, key);
assert(!jvp_object_find_slot(*object, key, bucket));
slot = jvp_object_add_slot(*object, key, bucket);
assert(slot);
slot->value = jv_invalid();
}
- return &slot->value;
+ *valpp = &slot->value;
+ return 1;
}
static int jvp_object_delete(jv* object, jv key) {
@@ -1801,7 +1822,11 @@ jv jv_object_set(jv object, jv key, jv value) {
assert(JVP_HAS_KIND(object, JV_KIND_OBJECT));
assert(JVP_HAS_KIND(key, JV_KIND_STRING));
// copy/free of object, key, value coalesced
- jv* slot = jvp_object_write(&object, key);
+ jv* slot;
+ if (!jvp_object_write(&object, key, &slot)) {
+ jv_free(object);
+ return jv_invalid_with_msg(jv_string("Object too big"));
+ }
jv_free(*slot);
*slot = value;
return object;
@@ -1826,6 +1851,7 @@ jv jv_object_merge(jv a, jv b) {
assert(JVP_HAS_KIND(a, JV_KIND_OBJECT));
jv_object_foreach(b, k, v) {
a = jv_object_set(a, k, v);
+ if (!jv_is_valid(a)) break;
}
jv_free(b);
return a;
@@ -1845,6 +1871,7 @@ jv jv_object_merge_recursive(jv a, jv b) {
jv_free(elem);
a = jv_object_set(a, k, v);
}
+ if (!jv_is_valid(a)) break;
}
jv_free(b);
return a;
diff --git a/src/jv_aux.c b/src/jv_aux.c
index 6004799..bbe1c0d 100644
--- a/src/jv_aux.c
+++ b/src/jv_aux.c
@@ -193,18 +193,19 @@ jv jv_set(jv t, jv k, jv v) {
if (slice_len < insert_len) {
// array is growing
int shift = insert_len - slice_len;
- for (int i = array_len - 1; i >= end; i--) {
+ for (int i = array_len - 1; i >= end && jv_is_valid(t); i--) {
t = jv_array_set(t, i + shift, jv_array_get(jv_copy(t), i));
}
} else if (slice_len > insert_len) {
// array is shrinking
int shift = slice_len - insert_len;
- for (int i = end; i < array_len; i++) {
+ for (int i = end; i < array_len && jv_is_valid(t); i++) {
t = jv_array_set(t, i - shift, jv_array_get(jv_copy(t), i));
}
- t = jv_array_slice(t, 0, array_len - shift);
+ if (jv_is_valid(t))
+ t = jv_array_slice(t, 0, array_len - shift);
}
- for (int i=0; i < insert_len; i++) {
+ for (int i = 0; i < insert_len && jv_is_valid(t); i++) {
t = jv_array_set(t, start + i, jv_array_get(jv_copy(v), i));
}
jv_free(v);
diff --git a/tests/jq.test b/tests/jq.test
index 97835f2..10b20e3 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -198,6 +198,10 @@ null
[0,1,2]
[0,5,2]
+try (.[999999999] = 0) catch .
+null
+"Array index too large"
+
#
# Multiple outputs, iteration
#
--
2.49.0

View file

@ -1,45 +0,0 @@
From d73a79035e1d24011a3363d52bf36b4eaea67aa6 Mon Sep 17 00:00:00 2001
From: itchyny <itchyny@cybozu.co.jp>
Date: Sat, 31 May 2025 11:46:40 +0900
Subject: [PATCH 5/5] Fix heap buffer overflow when formatting an empty string
The `jv_string_empty` did not properly null-terminate the string data,
which could lead to a heap buffer overflow. The test case of
GHSA-p7rr-28xf-3m5w (`0[""*0]`) was fixed by the commit dc849e9bb74a,
but another case (`0[[]|implode]`) was still vulnerable. This commit
ensures string data is properly null-terminated, and fixes CVE-2025-48060.
---
src/jv.c | 1 +
tests/jq.test | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/src/jv.c b/src/jv.c
index 6e8cdd3..3303286 100644
--- a/src/jv.c
+++ b/src/jv.c
@@ -1121,6 +1121,7 @@ static jv jvp_string_empty_new(uint32_t length) {
jvp_string* s = jvp_string_alloc(length);
s->length_hashed = 0;
memset(s->data, 0, length);
+ s->data[length] = 0;
jv r = {JVP_FLAGS_STRING, 0, 0, 0, {&s->refcnt}};
return r;
}
diff --git a/tests/jq.test b/tests/jq.test
index 10b20e3..680706b 100644
--- a/tests/jq.test
+++ b/tests/jq.test
@@ -2042,6 +2042,10 @@ map(try implode catch .)
[123,["a"],[nan]]
["implode input must be an array","string (\"a\") can't be imploded, unicode codepoint needs to be numeric","number (null) can't be imploded, unicode codepoint needs to be numeric"]
+try 0[implode] catch .
+[]
+"Cannot index number with string \"\""
+
# walk
walk(.)
{"x":0}
--
2.49.0

View file

@ -7,16 +7,19 @@
bison,
onigurumaSupport ? true,
oniguruma,
tzdata,
nix-update-script,
testers,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "jq";
version = "1.7.1";
version = "1.8.0";
# Note: do not use fetchpatch or fetchFromGitHub to keep this package available in __bootPackages
src = fetchurl {
url = "https://github.com/jqlang/jq/releases/download/jq-${version}/jq-${version}.tar.gz";
hash = "sha256-R4ycoSn9LjRD/icxS0VeIR4NjGC8j/ffcDhz3u7lgMI=";
url = "https://github.com/jqlang/jq/releases/download/jq-${finalAttrs.version}/jq-${finalAttrs.version}.tar.gz";
hash = "sha256-kYEVd/kdmmGV/1DCv/7JtyyEKdwF7D6gIv2VwG0rMZw=";
};
outputs = [
@ -27,30 +30,6 @@ stdenv.mkDerivation rec {
"out"
];
patches = [
# can't fetchpatch because jq is in bootstrap for darwin
# CVE-2025-48060
# https://github.com/jqlang/jq/commit/dc849e9bb74a7a164a3ea52f661cc712b1ffbd43
./0001-Improve-performance-of-repeating-strings-3272.patch
# needed for the other patches to apply correctly
# https://github.com/jqlang/jq/commit/b86ff49f46a4a37e5a8e75a140cb5fd6e1331384
./0002-fix-jv_number_value-should-cache-the-double-value-of.patch
# CVE-2024-53427
# https://github.com/jqlang/jq/commit/a09a4dfd55e6c24d04b35062ccfe4509748b1dd3
./0003-Reject-NaN-with-payload-while-parsing-JSON.patch
# CVE-2024-23337
# https://github.com/jqlang/jq/commit/de21386681c0df0104a99d9d09db23a9b2a78b1e
./0004-Fix-signed-integer-overflow-in-jvp_array_write-and-j.patch
# CVE-2025-48060, part two
# Improve-performance-of-repeating-strings is only a partial fix
# https://github.com/jqlang/jq/commit/c6e041699d8cd31b97375a2596217aff2cfca85b
./0005-Fix-heap-buffer-overflow-when-formatting-an-empty-st.patch
];
# https://github.com/jqlang/jq/issues/2871
postPatch = lib.optionalString stdenv.hostPlatform.isFreeBSD ''
substituteInPlace Makefile.am --replace-fail "tests/mantest" "" --replace-fail "tests/optionaltest" ""
@ -61,16 +40,19 @@ stdenv.mkDerivation rec {
# doesn't keep.
preConfigure = ''
echo "#!/bin/sh" > scripts/version
echo "echo ${version}" >> scripts/version
echo "echo ${finalAttrs.version}" >> scripts/version
patchShebangs scripts/version
'';
# paranoid mode: make sure we never use vendored version of oniguruma
# Note: it must be run after automake, or automake will complain
preBuild = ''
rm -r ./modules/oniguruma
rm -r ./vendor/oniguruma
'';
strictDeps = true;
enableParallelBuilding = true;
buildInputs = lib.optionals onigurumaSupport [ oniguruma ];
nativeBuildInputs = [
removeReferencesTo
@ -87,9 +69,7 @@ stdenv.mkDerivation rec {
]
++ lib.optional (!onigurumaSupport) "--with-oniguruma=no"
# jq is linked to libjq:
++ lib.optional (!stdenv.hostPlatform.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}"
# https://github.com/jqlang/jq/issues/3252
++ lib.optional stdenv.hostPlatform.isOpenBSD "CFLAGS=-D_BSD_SOURCE=1";
++ lib.optional (!stdenv.hostPlatform.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}";
# jq binary includes the whole `configureFlags` in:
# https://github.com/jqlang/jq/commit/583e4a27188a2db097dd043dd203b9c106bba100
@ -106,24 +86,42 @@ stdenv.mkDerivation rec {
doInstallCheck = true;
installCheckTarget = "check";
preInstallCheck = ''
substituteInPlace tests/shtest \
--replace-fail "TZ=" "TZ=${tzdata}/share/zoneinfo/"
'';
postInstallCheck = ''
$bin/bin/jq --help >/dev/null
$bin/bin/jq -r '.values[1]' <<< '{"values":["hello","world"]}' | grep '^world$' > /dev/null
'';
passthru = { inherit onigurumaSupport; };
passthru = {
inherit onigurumaSupport;
tests.version = testers.testVersion {
package = lib.getBin finalAttrs.finalPackage;
command = "jq --version";
};
meta = with lib; {
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"jq-(.+)"
];
};
};
meta = {
changelog = "https://github.com/jqlang/jq/releases/tag/jq-${finalAttrs.version}";
description = "Lightweight and flexible command-line JSON processor";
homepage = "https://jqlang.github.io/jq/";
license = licenses.mit;
maintainers = with maintainers; [
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
raskin
artturin
ncfavier
];
platforms = platforms.unix;
platforms = lib.platforms.unix;
downloadPage = "https://jqlang.github.io/jq/download/";
mainProgram = "jq";
};
}
})

View file

@ -74,6 +74,7 @@ stdenv.mkDerivation (finalAttrs: {
# the filesystem does not necessarily have hardlink capabilities
"libarchive/test/test_write_disk_hardlink.c"
# access-time-related tests flakey on some systems
"libarchive/test/test_read_disk_directory_traversals.c"
"cpio/test/test_option_a.c"
"cpio/test/test_option_t.c"
]

View file

@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
libaom,
cmake,
pkg-config,
@ -32,29 +31,15 @@ in
stdenv.mkDerivation rec {
pname = "libavif";
version = "1.2.1";
version = "1.3.0";
src = fetchFromGitHub {
owner = "AOMediaCodec";
repo = "libavif";
rev = "v${version}";
hash = "sha256-cT8Q/VEJ+r971cbuZX92Gf6UX2kMOyZd4Cs2xMxS0Tw=";
hash = "sha256-0J56wpXa2AVh9JUp5UY2kzWijNE3i253RKhpG5oDFJE=";
};
# Adjust some tests to pass on aarch64
# FIXME: remove in next update
patches = [
(fetchpatch {
url = "https://github.com/AOMediaCodec/libavif/commit/1e9ef51f32fa23bd7a94d8c01d5205334bc9c52f.patch";
hash = "sha256-4V7NpuJ+YNm103RMO47TIZaApTm3S6c5RKsjLZFNwYw=";
})
(fetchpatch {
url = "https://github.com/AOMediaCodec/libavif/commit/0f1618a25c5eba41b6fec947207d0a32ae3cc6c5.patch";
hash = "sha256-ORNhD4QtHmBcOYSajnZn7QMfRC3MF4rgUin/Vw+2ztA=";
})
];
postPatch = ''
substituteInPlace contrib/gdk-pixbuf/avif.thumbnailer.in \
--replace-fail '@CMAKE_INSTALL_FULL_BINDIR@/gdk-pixbuf-thumbnailer' "$out/libexec/gdk-pixbuf-thumbnailer-avif"

View file

@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libdeflate";
version = "1.23";
version = "1.24";
src = fetchFromGitHub {
owner = "ebiggers";
repo = "libdeflate";
rev = "v${finalAttrs.version}";
hash = "sha256-bucVkRgZdzLe2HFzIP+Trq4+FJ5kLYdIVNUiJ2f52zg=";
hash = "sha256-IaXXm9VrZ0Pgb3yTh1fPKkifJDvCxvCfTH08Sdho0Ko=";
};
cmakeFlags = [

View file

@ -16,12 +16,12 @@
stdenv.mkDerivation rec {
pname = "libfido2";
version = "1.15.0";
version = "1.16.0";
# releases on https://developers.yubico.com/libfido2/Releases/ are signed
src = fetchurl {
url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.gz";
hash = "sha256-q6qxMY0h0mLs5Bb7inEy+pN0vaifb6UrhqmKL1cSth4=";
hash = "sha256-jCtvsnm1tC6aySrecYMuSFhSZHtTYHxDuqr7vOzqBOQ=";
};
nativeBuildInputs = [

View file

@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "libraw";
version = "0.21.3";
version = "0.21.4";
src = fetchFromGitHub {
owner = "LibRaw";
repo = "LibRaw";
rev = version;
hash = "sha256-QFyRQ0V7din/rnkRvEWf521kSzN7HwJ3kZiQ43PAmVI=";
hash = "sha256-JAGIM7A9RbK22F8KczRcb+29t4fDDXzoCA3a4s/z6Q8=";
};
outputs = [
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
'';
passthru.tests = {
inherit imagemagick hdrmerge freeimage;
inherit imagemagick hdrmerge; # freeimage
inherit (python3.pkgs) rawkit;
};

View file

@ -1,11 +1,12 @@
{
lib,
stdenv,
fetchurl,
fetchFromGitHub,
autoreconfHook,
libogg,
libvorbis,
pkg-config,
perl,
testers,
validatePkgConfig,
}:
@ -14,13 +15,19 @@ stdenv.mkDerivation (finalAttrs: {
pname = "libtheora";
version = "1.2.0";
src = fetchurl {
url = "https://downloads.xiph.org/releases/theora/libtheora-${finalAttrs.version}.tar.gz";
hash = "sha256-J5MnM5kDtUTCipKurafQ3P0Dl7WcLzaMxpisVvUVkG4=";
src = fetchFromGitHub {
owner = "xiph";
repo = "theora";
tag = "v${finalAttrs.version}";
hash = "sha256-kzZh4V6wZX9MetDutuqjRenmdpy4PHaRU9MgtIwPpiU=";
};
patches = lib.optionals stdenv.hostPlatform.isMinGW [ ./mingw-remove-export.patch ];
postPatch = lib.optionalString stdenv.hostPlatform.isArmv7 ''
patchShebangs lib/arm/arm2gnu.pl
'';
configureFlags = [ "--disable-examples" ];
outputs = [
@ -30,17 +37,24 @@ stdenv.mkDerivation (finalAttrs: {
];
outputDoc = "devdoc";
nativeBuildInputs = [
autoreconfHook
pkg-config
validatePkgConfig
];
nativeBuildInputs =
[
autoreconfHook
pkg-config
validatePkgConfig
]
++ lib.optionals stdenv.hostPlatform.isArmv7 [
# Needed to run lib/arm/arm2gnu.pl for ARM assembly optimizations
perl
];
propagatedBuildInputs = [
libogg
libvorbis
];
strictDeps = true;
passthru = {
tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;

View file

@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "libusb";
version = "1.0.28";
version = "1.0.29";
src = fetchFromGitHub {
owner = "libusb";
repo = "libusb";
rev = "v${version}";
sha256 = "sha256-ntfDh/+HYm5cthhO8FkAJHo4RcxvZUKmHf4AOrHLysM=";
sha256 = "sha256-m1w+uF8+2WCn72LvoaGUYa+R0PyXHtFFONQjdRfImYY=";
};
outputs = [

View file

@ -134,6 +134,8 @@ stdenv.mkDerivation (finalAttrs: {
# EOPNOTSUPP when performed in jailed build env
"tcp_reuseport"
"udp_reuseport"
# jailed build env does not have a hostname
"gethostname"
# Fails when built on non-nix FreeBSD
# https://github.com/libuv/libuv/issues/4606
"fs_event_watch_delete_dir"
@ -142,6 +144,8 @@ stdenv.mkDerivation (finalAttrs: {
in
lib.optionalString (finalAttrs.finalPackage.doCheck) ''
sed '/${tdRegexp}/d' -i test/test-list.h
# https://github.com/libuv/libuv/issues/4794
substituteInPlace Makefile.am --replace-fail -lutil "-lutil -lm"
'';
nativeBuildInputs = [

View file

@ -19,11 +19,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libzip";
version = "1.11.3";
version = "1.11.4";
src = fetchurl {
url = "https://libzip.org/download/libzip-${finalAttrs.version}.tar.gz";
hash = "sha256-dmU/E13eMDYDbFAOEYYWSP+/nh/FsjP/RzxgiX2dsOo=";
hash = "sha256-guny8kIfnXwkZrvDFzzQlZWojqN9sNVZqdCi3GDcci4=";
};
outputs = [

View file

@ -0,0 +1,59 @@
{
lib,
stdenv,
fetchurl,
updateAutotoolsGnuConfigScriptsHook,
writeScript,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lndir";
version = "1.0.5";
src = fetchurl {
url = "mirror://xorg/individual/util/lndir-${finalAttrs.version}.tar.xz";
hash = "sha256-O2VXelV1zOCVZk9UkhZKlpQYAP5ikKEjcx1H8+cQTds=";
};
strictDeps = true;
nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook ];
preConfigure = ''
# removes dependency on xorgproto
# from commit 466f1d85d21f79237123d74598a3d7f073513685
# also fix build due to missing import of unistd.h
export XPROTO_CFLAGS=" "
export XPROTO_LIBS=" "
substituteInPlace lndir.c \
--replace-fail '<X11/Xos.h>' "<unistd.h>" \
--replace-fail '#include <X11/Xfuncproto.h>' "" \
--replace-fail '_X_ATTRIBUTE_PRINTF(1,2)' '__attribute__((__format__(__printf__,1,2)))' \
--replace-fail '_X_ATTRIBUTE_PRINTF(2,3)' '__attribute__((__format__(__printf__,2,3)))' \
--replace-fail '_X_NORETURN' '__attribute__((noreturn))'
# supposed to make lndir it work on directories with st_nlink set to 1 (such as on btrfs).
# from commit 26164c05c5a227462e8f076db6018a4c55fa1412
substituteInPlace lndir.c \
--replace-fail 'n_dirs--;' ""
'';
passthru = {
updateScript = writeScript "update-${finalAttrs.pname}" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts
version="$(list-directory-versions --pname ${finalAttrs.pname} \
--url https://xorg.freedesktop.org/releases/individual/util/ \
| sort -V | tail -n1)"
update-source-version ${finalAttrs.pname} "$version"
'';
};
meta = {
description = "Create a shadow directory of symbolic links to another directory tree";
homepage = "https://gitlab.freedesktop.org/xorg/util/lndir";
license = lib.licenses.mitOpenGroup;
mainProgram = "lndir";
maintainers = [ ];
platforms = lib.platforms.unix;
};
})

View file

@ -6,18 +6,18 @@
rustPlatform.buildRustPackage rec {
pname = "mitra";
version = "4.3.1";
version = "4.4.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "silverpill";
repo = "mitra";
rev = "v${version}";
hash = "sha256-SUcapWfsIqohFsZY1Bpce5txLe2DtpgAGBJKTUwdzVI=";
hash = "sha256-ZonEMbafZWfURW7WKUAVmDq7bvi7oXBpKVudbrTF6eE=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-B0Ba4ZGTw+FJLcXSy+VfKrp5hqGWoW3ugfnkDXFDlok=";
cargoHash = "sha256-n96B51fVkJcBDwcbYHNP6ZWWdU8fu0a0Y72IVbNAAMQ=";
# require running database
doCheck = false;

View file

@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
pname = "mpdecimal";
version = "4.0.0";
version = "4.0.1";
outputs = [
"out"
"cxx"
@ -17,18 +17,12 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-${version}.tar.gz";
hash = "sha256-lCRFwyRbInMP1Bpnp8XCMdEcsbmTa5wPdjNPt9C0Row=";
hash = "sha256-ltM6u0uwBwx74P7UJGzThBYYgyX4IEaCFEcZOFRbGsg=";
};
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];
postPatch = ''
# Use absolute library install names on Darwin.
substituteInPlace configure.ac \
--replace-fail '-install_name @rpath/' "-install_name $out/lib/"
'';
enableParallelBuilding = true;
postInstall = ''
mkdir -p $cxx/lib

View file

@ -17,13 +17,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "pihole-ftl";
version = "6.1";
version = "6.2.2";
src = fetchFromGitHub {
owner = "pi-hole";
repo = "FTL";
tag = "v${finalAttrs.version}";
hash = "sha256-b3/kyDQa6qDK2avvDObWLvwUpAn6TFr1ZBdQC9AZWa4=";
hash = "sha256-VFoltLlzKJCeJWQ2SzbvQxcYNBhZtWqFjzO3rjuBAdE=";
};
nativeBuildInputs = [
@ -60,8 +60,8 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "execv" "execvp"
substituteInPlace src/database/network-table.c \
--replace-fail "ip neigh show" "${iproute2}/bin/ip neigh show" \
--replace-fail "ip address show" "${iproute2}/bin/ip address show"
--replace-fail "ip neigh show" "${lib.getExe' iproute2 "ip"} neigh show" \
--replace-fail "ip address show" "${lib.getExe' iproute2 "ip"} address show"
'';
installPhase = ''
@ -77,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Pi-hole FTL engine";
homepage = "https://github.com/pi-hole/FTL";
changelog = "https://github.com/pi-hole/FTL/releases/tag/v${finalAttrs.version}";
license = lib.licenses.eupl12;
maintainers = with lib.maintainers; [ averyvigolo ];
platforms = lib.platforms.linux;

View file

@ -25,14 +25,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "pixman";
version = "0.44.2";
version = "0.46.0";
src = fetchurl {
urls = with finalAttrs; [
"mirror://xorg/individual/lib/${pname}-${version}.tar.gz"
"https://cairographics.org/releases/${pname}-${version}.tar.gz"
];
hash = "sha256-Y0kGHOGjOKtpUrkhlNGwN3RyJEII1H/yW++G/HGXNGY=";
hash = "sha256-Atn/e4RY72FzHD01X4VLv0Yf0KTTVjxR8cHHsAY4BQ0=";
};
# Raise test timeout, 120s can be slightly exceeded on slower hardware

View file

@ -8,13 +8,13 @@
buildGoModule (finalAttrs: {
pname = "podman-tui";
version = "1.6.0";
version = "1.6.1";
src = fetchFromGitHub {
owner = "containers";
repo = "podman-tui";
tag = "v${finalAttrs.version}";
hash = "sha256-t9VhDl4pBW5H5RhpskU8Us9NxpPJmyishKROvbAc2V0=";
hash = "sha256-U+oQUdqOhF6p52bEvMBqoxn4Z5WexsYe97XFOEMSFpk=";
};
vendorHash = null;

View file

@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "re2c";
version = "4.1";
version = "4.2";
src = fetchFromGitHub {
owner = "skvadrik";
repo = "re2c";
rev = version;
sha256 = "sha256-xB4oH0QS0VKTK2we+wdylS8VBijpp6tv7YV7fIX1s4A=";
hash = "sha256-7Niq+Xxq/r86qOeJl6/gNdH1XKm6m0fPhbPmgazZFkU=";
};
nativeBuildInputs = [

View file

@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "rofi-calc";
version = "2.3.0";
version = "2.3.1";
src = fetchFromGitHub {
owner = "svenstaro";
repo = "rofi-calc";
rev = "v${version}";
sha256 = "sha256-YDij0j/AOl69FlsGfolzv8lI+iQfDmJrXo2duTIoMRA=";
sha256 = "sha256-1Sdi7SN5ZhBJB5qyqDZQC5QcBz0Fydb1az8yDSuTlnE=";
};
nativeBuildInputs = [

View file

@ -4,18 +4,18 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "rqlite";
version = "8.37.1";
version = "8.37.4";
src = fetchFromGitHub {
owner = "rqlite";
repo = "rqlite";
rev = "v${version}";
sha256 = "sha256-GouVEUqxqNUtc9jyqhfLiX2M+I4ykQRsmbEvWmOaINc=";
tag = "v${finalAttrs.version}";
hash = "sha256-PMoQg3QjG0hyWKWIf5JIj7X9XbjpHpy1Hwo9DMsutW0=";
};
vendorHash = "sha256-jvZ2ZRA/DkjDNnYauS9sJLE8KROS197kSeNVZ363Htk=";
vendorHash = "sha256-3ZoMpmWOf3wIK0R1mY2GRzPA+Xb6YIdk+hLfzsC84/U=";
subPackages = [
"cmd/rqlite"
@ -28,16 +28,17 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X github.com/rqlite/rqlite/cmd.Version=${src.rev}"
"-X github.com/rqlite/rqlite/cmd.Version=${finalAttrs.version}"
];
# Tests are in a different subPackage which fails trying to access the network
doCheck = false;
meta = with lib; {
meta = {
description = "Lightweight, distributed relational database built on SQLite";
homepage = "https://github.com/rqlite/rqlite";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
changelog = "https://github.com/rqlite/rqlite/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dit7ya ];
};
}
})

View file

@ -12,15 +12,15 @@
rustPlatform.buildRustPackage rec {
pname = "rust-analyzer-unwrapped";
version = "2025-05-12";
version = "2025-06-02";
useFetchCargoVendor = true;
cargoHash = "sha256-Y6/1xr08KXj+KQVJgLO7LhwsNGE2ooFdTR9GoAgAwKk=";
cargoHash = "sha256-ewV/rccDgRR/iMSRihkG/1aZyGHoobeX2LQItdzCy68=";
src = fetchFromGitHub {
owner = "rust-lang";
repo = "rust-analyzer";
rev = version;
hash = "sha256-h3LQYZgyv2l3U7r+mcsrEOGRldaK0zJFwAAva4hV/6g=";
hash = "sha256-VwSuuRF4NvAoeHZJRRlX8zAFZ+nZyuiIvmVqBAX0Bcg=";
};
cargoBuildFlags = [

View file

@ -6,13 +6,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "rutorrent";
version = "5.2.6";
version = "5.2.8";
src = fetchFromGitHub {
owner = "Novik";
repo = "ruTorrent";
tag = "v${finalAttrs.version}";
hash = "sha256-AoCS7LiCKB1lGvXaabXk8dqsqU9WL95XuEcddvl22ug=";
hash = "sha256-+HvWjValI80lUJJo5ohDMU1NUnmkD6Utif4oOnUKZyg=";
};
installPhase = ''

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "s2n-tls";
version = "1.5.17";
version = "1.5.20";
src = fetchFromGitHub {
owner = "aws";
repo = "s2n-tls";
rev = "v${version}";
hash = "sha256-ylaWeYLplAi94PQHauI1lG4PJI193TvrAPM7U446cnE=";
hash = "sha256-qmwo8GZpOtAs3OgdR9DWnOGz8sQcGqZKZn4WwfGpy6M=";
};
nativeBuildInputs = [ cmake ];

View file

@ -21,7 +21,11 @@
ffmpeg,
qemu,
}:
let
# tray support on sdl3 pulls in gtk3, which is quite an expensive dependency.
# sdl2 does not support the tray, so we can just disable that requirement.
sdl3' = sdl3.override { traySupport = false; };
in
stdenv.mkDerivation (finalAttrs: {
pname = "sdl2-compat";
version = "2.32.56";
@ -39,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
];
buildInputs = [
sdl3
sdl3'
libX11
];
@ -57,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
cmakeFlags = [
(lib.cmakeBool "SDL2COMPAT_TESTS" finalAttrs.finalPackage.doCheck)
(lib.cmakeFeature "CMAKE_INSTALL_RPATH" (lib.makeLibraryPath [ sdl3 ]))
(lib.cmakeFeature "CMAKE_INSTALL_RPATH" (lib.makeLibraryPath [ sdl3' ]))
];
# skip timing-based tests as those are flaky

View file

@ -8,7 +8,7 @@
darwinMinVersionHook,
dbus,
fetchFromGitHub,
ibus,
ibusMinimal,
installShellFiles,
libGL,
libayatana-appindicator,
@ -51,6 +51,7 @@
libudevSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
sndioSupport ? false,
testSupport ? true,
traySupport ? true,
waylandSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
x11Support ? !stdenv.hostPlatform.isAndroid && !stdenv.hostPlatform.isWindows,
}:
@ -58,33 +59,44 @@
assert lib.assertMsg (
waylandSupport -> openglSupport
) "SDL3 requires OpenGL support to enable Wayland";
assert lib.assertMsg (ibusSupport -> dbusSupport) "SDL3 requires dbus support to enable ibus";
stdenv.mkDerivation (finalAttrs: {
pname = "sdl3";
version = "3.2.14";
version = "3.2.16";
outputs = [
"lib"
"dev"
"out"
];
outputs =
[
"lib"
"dev"
"out"
]
++ lib.optionals testSupport [
"installedTests"
];
src = fetchFromGitHub {
owner = "libsdl-org";
repo = "SDL";
tag = "release-${finalAttrs.version}";
hash = "sha256-+CcbvF1nxxsVwuO5g50sBVGth0sr5WTFojSfT6B6bok=";
hash = "sha256-xFWE/i4l3sU1KritwbqvN67kJ3/WUfNP3iScMfQUbwA=";
};
postPatch =
# Tests timeout on Darwin
# `testtray` loads assets from a relative path, which we are patching to be absolute
lib.optionalString testSupport ''
substituteInPlace test/CMakeLists.txt \
--replace-fail 'set(noninteractive_timeout 10)' 'set(noninteractive_timeout 30)'
substituteInPlace test/testtray.c \
--replace-warn '../test/' '${placeholder "installedTests"}/share/assets/'
''
+ lib.optionalString waylandSupport ''
substituteInPlace src/video/wayland/SDL_waylandmessagebox.c \
--replace-fail '"zenity"' '"${lib.getExe zenity}"'
substituteInPlace src/dialog/unix/SDL_zenitydialog.c \
--replace-fail '"zenity"' '"${lib.getExe zenity}"'
'';
strictDeps = true;
@ -104,7 +116,11 @@ stdenv.mkDerivation (finalAttrs: {
apple-sdk_11
]
++ lib.optionals ibusSupport [
ibus
# sdl3 only uses some constants of the ibus headers
# it never actually loads the library
# thus, it also does not have to care about gtk integration,
# so using ibusMinimal avoids an unnecessarily large closure here.
ibusMinimal
]
++ lib.optional waylandSupport zenity;
@ -113,7 +129,7 @@ stdenv.mkDerivation (finalAttrs: {
libusb1
]
++ lib.optional (
stdenv.hostPlatform.isUnix && !stdenv.hostPlatform.isDarwin
stdenv.hostPlatform.isUnix && !stdenv.hostPlatform.isDarwin && traySupport
) libayatana-appindicator
++ lib.optional alsaSupport alsa-lib
++ lib.optional dbusSupport dbus
@ -160,11 +176,13 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "SDL_PULSEAUDIO" pulseaudioSupport)
(lib.cmakeBool "SDL_SNDIO" sndioSupport)
(lib.cmakeBool "SDL_TEST_LIBRARY" testSupport)
(lib.cmakeBool "SDL_TRAY_DUMMY" (!traySupport))
(lib.cmakeBool "SDL_WAYLAND" waylandSupport)
(lib.cmakeBool "SDL_WAYLAND_LIBDECOR" libdecorSupport)
(lib.cmakeBool "SDL_X11" x11Support)
(lib.cmakeBool "SDL_TESTS" finalAttrs.finalPackage.doCheck)
(lib.cmakeBool "SDL_INSTALL_TESTS" testSupport)
];
doCheck = testSupport && stdenv.buildPlatform.canExecute stdenv.hostPlatform;
@ -180,6 +198,12 @@ stdenv.mkDerivation (finalAttrs: {
) "-rpath ${lib.makeLibraryPath (finalAttrs.dlopenBuildInputs)}";
};
postInstall = lib.optionalString testSupport ''
moveToOutput "share/installed-tests" "$installedTests"
moveToOutput "libexec/installed-tests" "$installedTests"
install -Dm 444 -t $installedTests/share/assets test/*.bmp
'';
passthru = {
# Building this in its own derivation to make sure the rpath hack above propagate to users
debug-text-example = stdenv.mkDerivation (finalAttrs': {

View file

@ -0,0 +1,45 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
xorgproto,
writeScript,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sessreg";
version = "1.1.3";
src = fetchurl {
url = "mirror://xorg/individual/app/sessreg-${finalAttrs.version}.tar.xz";
hash = "sha256-AirNXegHfd3E+RmWH3nhAuzV8yKKMzaBr1zQ5zRPrMI=";
};
strictDeps = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ xorgproto ];
passthru = {
updateScript = writeScript "update-${finalAttrs.pname}" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts
version="$(list-directory-versions --pname ${finalAttrs.pname} \
--url https://xorg.freedesktop.org/releases/individual/app/ \
| sort -V | tail -n1)"
update-source-version ${finalAttrs.pname} "$version"
'';
};
meta = {
description = "Utility to manage utmp & wtmp entries for X sessions";
homepage = "https://gitlab.freedesktop.org/xorg/app/sessreg";
license = with lib.licenses; [
mitOpenGroup
mit
];
mainProgram = "sessreg";
maintainers = [ ];
platforms = lib.platforms.unix;
};
})

View file

@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "showmethekey";
version = "1.18.2";
version = "1.18.3";
src = fetchFromGitHub {
owner = "AlynxZhou";
repo = "showmethekey";
tag = "v${version}";
hash = "sha256-lLlNWMqVrtXVfXwObCjtmcOOQ2xfe7gK+izmxr4crlc=";
hash = "sha256-vVcP+m6rZgNti/NEk4fQpZ8bkv4z13NIZN1p/eVmBI4=";
};
nativeBuildInputs = [

View file

@ -35,20 +35,20 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "siyuan";
version = "3.1.31";
version = "3.1.32";
src = fetchFromGitHub {
owner = "siyuan-note";
repo = "siyuan";
rev = "v${finalAttrs.version}";
hash = "sha256-l9FAGZzu8z5Q4gRoaZ8Z8tYkBEw9Yq9mfmWOKO39KLI=";
hash = "sha256-xhiQe9lopKhruwUSTi2GHQ9NPlkaezl1j70z/KOnZEc=";
};
kernel = buildGoModule {
name = "${finalAttrs.pname}-${finalAttrs.version}-kernel";
inherit (finalAttrs) src;
sourceRoot = "${finalAttrs.src.name}/kernel";
vendorHash = "sha256-uREgNsDGFLzkOBkO2D2/vbJJ8A2rfy0nK2Dx/OvWf9c=";
vendorHash = "sha256-GRKBZe9cd2/sYstiCD/f/ckF0G1GYBPBc8FSFmjw3Mo=";
patches = [
(replaceVars ./set-pandoc-path.patch {
@ -96,7 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
sourceRoot
postPatch
;
hash = "sha256-U8n9FLwJqBq16CTmiIDSh0u4lguSn0rF4jUkU25iu98=";
hash = "sha256-PnuU4TWG10JP69BdGz+Uqz+WPUJU/Rb+Hicxy0+gB2Q=";
};
sourceRoot = "${finalAttrs.src.name}/app";

View file

@ -22,6 +22,9 @@ stdenv.mkDerivation rec {
"--with-objectstore-backend-db"
"--sysconfdir=$out/etc"
"--localstatedir=$out/var"
# The configure script checks for the sqlite3 command, but never uses it.
# Provide an arbitrary executable file for cross scenarios.
"ac_cv_path_SQLITE3=/"
];
buildInputs = [
@ -29,6 +32,8 @@ stdenv.mkDerivation rec {
sqlite
];
strictDeps = true;
postInstall = "rm -rf $out/var";
meta = with lib; {

View file

@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
installShellFiles,
nix-update-script,
python3Packages,
perl,
ffmpeg,
@ -21,7 +22,7 @@ let
requests-mock
;
version = "4.109";
version = "4.113";
in
@ -34,7 +35,7 @@ buildPythonApplication {
owner = "spaam";
repo = "svtplay-dl";
rev = version;
hash = "sha256-ApoAcYaqPIurgDM+ctyyx9+OyUmhJ+1fjdGj0ln6v7w=";
hash = "sha256-Yiw76PDnOpK4HAnO9VqmvmqdT4PdxAgu1MwbZ15pEyM=";
};
build-system = [ setuptools ];
@ -76,6 +77,8 @@ buildPythonApplication {
$out/bin/svtplay-dl --help > /dev/null
'';
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/spaam/svtplay-dl";
description = "Command-line tool to download videos from svtplay.se and other sites";

View file

@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "swig";
version = "4.3.0";
version = "4.3.1";
src = fetchFromGitHub {
owner = "swig";
repo = "swig";
rev = "v${finalAttrs.version}";
hash = "sha256-hFHEE9wy8Lja9G396tI4fj4LhOkpPKJkDuy1L62AXr4=";
hash = "sha256-wEqbKDgXVU8kQxdh7uC+EZ0u5leeoYh2d/61qB4guOg=";
};
strictDeps = true;
@ -41,6 +41,8 @@ stdenv.mkDerivation (finalAttrs: {
./autogen.sh
'';
enableParallelBuilding = true;
meta = {
changelog = "https://github.com/swig/swig/blob/${finalAttrs.src.rev}/CHANGES.current";
description = "Interface compiler that connects C/C++ code to higher-level languages";

View file

@ -22,7 +22,7 @@ python3.pkgs.buildPythonApplication rec {
python3.pkgs.wheel
];
dependencies = [ python3.pkgs.future ];
pythonRemoveDeps = [ "future" ];
pythonImportsCheck = [ "uefi_firmware" ];

View file

@ -11,20 +11,14 @@
stdenv.mkDerivation rec {
pname = "valgrind";
version = "3.24.0";
version = "3.25.1";
src = fetchurl {
url = "https://sourceware.org/pub/${pname}/${pname}-${version}.tar.bz2";
hash = "sha256-ca7iAr3vGuc4mMz36cMVE0+n22wkYGOvxQOu9wLsA70=";
hash = "sha256-Yd640HJ7RcJo79wbO2yeZ5zZfL9e5LKNHerXyLeica8=";
};
patches = [
# Fix build on ELFv2 powerpc64
# https://bugs.kde.org/show_bug.cgi?id=398883
(fetchurl {
url = "https://github.com/void-linux/void-packages/raw/3e16b4606235885463fc9ab45b4c120f1a51aa28/srcpkgs/valgrind/patches/elfv2-ppc64-be.patch";
sha256 = "NV/F+5aqFZz7+OF5oN5MUTpThv4H5PEY9sBgnnWohQY=";
})
# Fix checks on Musl.
# https://bugs.kde.org/show_bug.cgi?id=453929
(fetchpatch {

View file

@ -27,7 +27,7 @@ python3Packages.buildPythonApplication rec {
dependencies =
with python3Packages;
[
chromadb
chromadb_0
colorlog
httpx
json5

View file

@ -1,10 +1,19 @@
_handleCmdOutput(){
local command=("$1" "$2")
local versionOutput
local envArgs=()
if [[ "$3" != "*" ]]; then
envArgs+=("--ignore-environment")
for var in $3; do
envArgs+=("$var=${!var}")
done
fi
versionOutput="$(env \
--chdir=/ \
--argv0="$(basename "${command[0]}")" \
$( [[ -z "$3" || "$3" = "0" ]] && echo --ignore-environment ) \
"${envArgs[@]}" \
"${command[@]}" 2>&1 \
| sed -e 's|@storeDir@/[^/ ]*/|{{storeDir}}/|g' \
|| true)"
@ -25,8 +34,8 @@ versionCheckHook(){
runHook preVersionCheck
echo Executing versionCheckPhase
# Enable --ignore-environment by default unless explicitly disabled
: "${versionCheckDontIgnoreEnvironment:=0}"
# Don't keep any environment variables by default
: "${versionCheckKeepEnvironment:=}"
local cmdProgram cmdArg echoPrefix
if [[ -z "${versionCheckProgram-}" ]]; then
@ -47,14 +56,14 @@ versionCheckHook(){
fi
if [[ -z "${versionCheckProgramArg}" ]]; then
for cmdArg in "--help" "--version"; do
echoPrefix="$(_handleCmdOutput "$cmdProgram" "$cmdArg" "$versionCheckDontIgnoreEnvironment")"
echoPrefix="$(_handleCmdOutput "$cmdProgram" "$cmdArg" "$versionCheckKeepEnvironment")"
if [[ "$echoPrefix" == "Successfully managed to" ]]; then
break
fi
done
else
cmdArg="$versionCheckProgramArg"
echoPrefix="$(_handleCmdOutput "$cmdProgram" "$cmdArg" "$versionCheckDontIgnoreEnvironment")"
echoPrefix="$(_handleCmdOutput "$cmdProgram" "$cmdArg" "$versionCheckKeepEnvironment")"
fi
if [[ "$echoPrefix" == "Did not" ]]; then
exit 2

View file

@ -10,6 +10,7 @@
nettools,
openresolv,
systemd,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
}:
stdenv.mkDerivation {
@ -36,7 +37,10 @@ stdenv.mkDerivation {
''
+ lib.optionalString stdenv.hostPlatform.isLinux ''
substituteInPlace $out/bin/vpnc-script \
--replace "/sbin/resolvconf" "${openresolv}/bin/resolvconf" \
--replace "/sbin/resolvconf" "${openresolv}/bin/resolvconf"
''
+ lib.optionalString withSystemd ''
substituteInPlace $out/bin/vpnc-script \
--replace "/usr/bin/resolvectl" "${systemd}/bin/resolvectl"
''
+ ''

View file

@ -64,7 +64,7 @@ stdenv.mkDerivation (finalAttrs: {
runHook preInstall
install -D waf "$out"/bin/waf
wrapProgram "$out"/bin/waf --set PYTHONPATH "$out"/${python3.sitePackages}
wrapProgram "$out"/bin/waf --prefix PYTHONPATH : "$out"/${python3.sitePackages}
mkdir -p "$out"/${python3.sitePackages}/
cp -r waflib "$out"/${python3.sitePackages}/
runHook postInstall

View file

@ -10,17 +10,17 @@
rustPlatform.buildRustPackage rec {
pname = "wastebin";
version = "3.1.0";
version = "3.2.0";
src = fetchFromGitHub {
owner = "matze";
repo = "wastebin";
rev = version;
hash = "sha256-7+Ufin68gMQtKv8SC8Gmn0Ra2qpumsKYgpURTkVqzt8=";
hash = "sha256-emhPa4VuXOjTZ6AU/4S8acjjz68byBg4x4MW0M5hvD4=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-j9Wpo3N1kwCvjDEqmn87rGSYFVw1ZGkSps72zVpXNls=";
cargoHash = "sha256-Ub6BQhrLkIoOM9XFVIfm6mI4pP1Rloo3DnZXB8C4CjE=";
nativeBuildInputs = [
pkg-config

View file

@ -0,0 +1,136 @@
{
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
python3,
meson,
ninja,
writeScript,
testers,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xorgproto";
version = "2024.1";
src = fetchurl {
url = "mirror://xorg/individual/proto/xorgproto-${finalAttrs.version}.tar.xz";
hash = "sha256-NyIl/UCBW4QjVH9diQxd68cuiLkQiPv7ExWMIElcy1k=";
};
patches = [
# small fix for mingw
(fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/meson.patch?h=mingw-w64-xorgproto&id=7b817efc3144a50e6766817c4ca7242f8ce49307";
sha256 = "sha256-Izzz9In53W7CC++k1bLr78iSrmxpFm1cH8qcSpptoUQ=";
})
];
strictDeps = true;
nativeBuildInputs = [
pkg-config
python3
meson
ninja
];
# adds support for printproto needed for libXp
mesonFlags = [ "-Dlegacy=true" ];
passthru = {
updateScript = writeScript "update-${finalAttrs.pname}" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts
version="$(list-directory-versions --pname ${finalAttrs.pname} \
--url https://xorg.freedesktop.org/releases/individual/proto/ \
| sort -V | tail -n1)"
update-source-version ${finalAttrs.pname} "$version"
'';
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = {
description = "X Window System unified protocol definitions";
homepage = "https://gitlab.freedesktop.org/xorg/proto/xorgproto";
license = with lib.licenses; [
# The copyright notices are split between each protocol, so to be able to validate this,
# I listed all the components that have the license for each license:
# applewm, composite, dmx, evie, fixes, input, video, windowswm, x11, xext, xf86dri
mit
# bigreqs, fonts, input, lg3d, pm, x11, xmisc, xext, xinerama
mitOpenGroup
# composite, damage, dri3, fixes, fonts, present, randr, record, render, xext, xwayland
hpndSellVariant
# dri2
icu
# fontcache
bsd2
# gl
sgi-b-20
# fonts, input, kb, trap, video, x11, xext
hpnd
# print, resource, scrnsaver, video, xext, xf86{bigfont,dga,misc,rush,vidmode}, xinerama
# Note: 2 of the licenses actually omit a sentence from the x11 license that is not marked as
# omittable by spdx. But the sentence is not integral to the license's meaning, I think.
x11
# x11
hpndDifferentDisclaimer
# fontsproto and x11proto both contain a license that is almost the X11 license, but with one
# important difference: the sentence "Permission is hereby granted [...] to use, copy,
# modify, merge, publish, distribute ..." is replaced with "All rights reserved."
# Since XFree86 has the copyright and XFree86 was, at least in later releases, free software
# under the X11 license, I will give this the benefit of the doubt and not mark a package
# that idk 30% of nixpkgs depends on (estimate based on nothing other than most xorg stuff
# depends on it) as unfree.
# upstream issue: https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/issues/53
#unfree
];
maintainers = [ ];
pkgConfigModules = [
"applewmproto"
"bigreqsproto"
"compositeproto"
"damageproto"
"dmxproto"
"dpmsproto"
"dri2proto"
"dri3proto"
"evieproto"
"fixesproto"
"fontcacheproto"
"fontsproto"
"glproto"
"inputproto"
"kbproto"
"lg3dproto"
"presentproto"
"printproto"
"randrproto"
"recordproto"
"renderproto"
"resourceproto"
"scrnsaverproto"
"trapproto"
"videoproto"
"windowswmproto"
"xcalibrateproto"
"xcmiscproto"
"xextproto"
"xf86bigfontproto"
"xf86dgaproto"
"xf86driproto"
"xf86miscproto"
"xf86rushproto"
"xf86vidmodeproto"
"xineramaproto"
"xproto"
"xproxymngproto"
"xwaylandproto"
];
platforms = lib.platforms.unix ++ lib.platforms.windows;
};
})

View file

@ -2,37 +2,28 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
doctest,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xsimd";
version = "13.0.0";
version = "13.2.0";
src = fetchFromGitHub {
owner = "xtensor-stack";
repo = "xsimd";
rev = finalAttrs.version;
hash = "sha256-qElJYW5QDj3s59L3NgZj5zkhnUMzIP2mBa1sPks3/CE=";
tag = finalAttrs.version;
hash = "sha256-L4ttJxP46uNwQAEUMoJ8rsc51Le2GeIGbT1kX7ZzcPA=";
};
patches =
[
# Fix of https://github.com/xtensor-stack/xsimd/pull/1024 for
# https://github.com/xtensor-stack/xsimd/issues/456 and
# https://github.com/xtensor-stack/xsimd/issues/807,
(fetchpatch {
url = "https://github.com/xtensor-stack/xsimd/commit/c8a87ed6e04b6782f48f94713adfb0cad6c11ddf.patch";
hash = "sha256-2/FvBGdqTPcayD7rdHPSzL+F8IYKAfMW0WBJ0cW9EZ0=";
})
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# https://github.com/xtensor-stack/xsimd/issues/1030
./disable-test_error_gamma.patch
# https://github.com/xtensor-stack/xsimd/issues/1063
./relax-asin-precision.diff
];
patches = lib.optionals stdenv.hostPlatform.isDarwin [
# https://github.com/xtensor-stack/xsimd/issues/1030
./disable-test_error_gamma.patch
# https://github.com/xtensor-stack/xsimd/issues/1063
./relax-asin-precision.diff
];
# strictDeps raises the chance that xsimd will be able to be cross compiled
strictDeps = true;
@ -54,17 +45,17 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
checkTarget = "xtest";
meta = with lib; {
meta = {
changelog = "https://github.com/xtensor-stack/xsimd/blob/${finalAttrs.version}/Changelog.rst#${
builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version
}";
description = "C++ wrappers for SIMD intrinsics";
homepage = "https://github.com/xtensor-stack/xsimd";
license = licenses.bsd3;
maintainers = with maintainers; [
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
tobim
doronbehar
];
platforms = platforms.all;
platforms = lib.platforms.all;
};
})

View file

@ -388,6 +388,15 @@ stdenv.mkDerivation {
# calls install-strip ...
dontBuild = true;
# GHC tries to remove xattrs when installing to work around Gatekeeper
# (see https://gitlab.haskell.org/ghc/ghc/-/issues/17418). This step normally
# succeeds in nixpkgs because xattrs are not allowed in the store, but it
# can fail when a file has the `com.apple.provenance` xattr, and it cant be
# modified (such as target of the symlink to `libiconv.dylib`).
# The `com.apple.provenance` xattr is a new feature of macOS as of macOS 13.
# See: https://eclecticlight.co/2023/03/13/ventura-has-changed-app-quarantine-with-a-new-xattr/
makeFlags = lib.optionals stdenv.buildPlatform.isDarwin [ "XATTR=/does-not-exist" ];
# Patch scripts to include runtime dependencies in $PATH.
postInstall = ''
for i in "$out/bin/"*; do

View file

@ -178,6 +178,15 @@ stdenv.mkDerivation rec {
# calls install-strip ...
dontBuild = true;
# GHC tries to remove xattrs when installing to work around Gatekeeper
# (see https://gitlab.haskell.org/ghc/ghc/-/issues/17418). This step normally
# succeeds in nixpkgs because xattrs are not allowed in the store, but it
# can fail when a file has the `com.apple.provenance` xattr, and it cant be
# modified (such as target of the symlink to `libiconv.dylib`).
# The `com.apple.provenance` xattr is a new feature of macOS as of macOS 13.
# See: https://eclecticlight.co/2023/03/13/ventura-has-changed-app-quarantine-with-a-new-xattr/
makeFlags = lib.optionals stdenv.buildPlatform.isDarwin [ "XATTR=/does-not-exist" ];
# Patch scripts to include runtime dependencies in $PATH.
postInstall = ''
for i in "$out/bin/"*; do

View file

@ -342,6 +342,15 @@ stdenv.mkDerivation {
# calls install-strip ...
dontBuild = true;
# GHC tries to remove xattrs when installing to work around Gatekeeper
# (see https://gitlab.haskell.org/ghc/ghc/-/issues/17418). This step normally
# succeeds in nixpkgs because xattrs are not allowed in the store, but it
# can fail when a file has the `com.apple.provenance` xattr, and it cant be
# modified (such as target of the symlink to `libiconv.dylib`).
# The `com.apple.provenance` xattr is a new feature of macOS as of macOS 13.
# See: https://eclecticlight.co/2023/03/13/ventura-has-changed-app-quarantine-with-a-new-xattr/
makeFlags = lib.optionals stdenv.buildPlatform.isDarwin [ "XATTR=/does-not-exist" ];
# Patch scripts to include runtime dependencies in $PATH.
postInstall = ''
for i in "$out/bin/"*; do

View file

@ -326,6 +326,15 @@ stdenv.mkDerivation {
# calls install-strip ...
dontBuild = true;
# GHC tries to remove xattrs when installing to work around Gatekeeper
# (see https://gitlab.haskell.org/ghc/ghc/-/issues/17418). This step normally
# succeeds in nixpkgs because xattrs are not allowed in the store, but it
# can fail when a file has the `com.apple.provenance` xattr, and it cant be
# modified (such as target of the symlink to `libiconv.dylib`).
# The `com.apple.provenance` xattr is a new feature of macOS as of macOS 13.
# See: https://eclecticlight.co/2023/03/13/ventura-has-changed-app-quarantine-with-a-new-xattr/
makeFlags = lib.optionals stdenv.buildPlatform.isDarwin [ "XATTR=/does-not-exist" ];
# Patch scripts to include runtime dependencies in $PATH.
postInstall =
''

View file

@ -364,6 +364,18 @@ stdenv.mkDerivation (
else
./Cabal-3.2-3.4-paths-fix-cycle-aarch64-darwin.patch
)
]
# Fixes stack overrun in rts which crashes an process whenever
# freeHaskellFunPtr is called with nixpkgs' hardening flags.
# https://gitlab.haskell.org/ghc/ghc/-/issues/25485
# https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13599
# TODO: patch doesn't apply for < 9.4, but may still be necessary?
++ lib.optionals (lib.versionAtLeast version "9.4") [
(fetchpatch {
name = "ghc-rts-adjustor-fix-i386-stack-overrun.patch";
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/39bb6e583d64738db51441a556d499aa93a4fc4a.patch";
sha256 = "0w5fx413z924bi2irsy1l4xapxxhrq158b5gn6jzrbsmhvmpirs0";
})
];
postPatch = "patchShebangs .";
@ -593,6 +605,13 @@ stdenv.mkDerivation (
# Hydra which already warrants a significant speedup
requiredSystemFeatures = [ "big-parallel" ];
# Install occasionally fails due to a race condition in minimal builds.
# > /nix/store/wyzpysxwgs3qpvmylm9krmfzh2plicix-coreutils-9.7/bin/install -c -m 755 -d "/nix/store/xzb3390rhvhg2a0cvzmrvjspw1d8nf8h-ghc-riscv64-unknown-linux-gnu-9.4.8/bin"
# > install: cannot create regular file '/nix/store/xzb3390rhvhg2a0cvzmrvjspw1d8nf8h-ghc-riscv64-unknown-linux-gnu-9.4.8/lib/ghc-9.4.8': No such file or directory
preInstall = ''
mkdir -p "$out/lib/${passthru.haskellCompilerName}"
'';
postInstall =
''
settingsFile="$out/lib/${targetPrefix}${passthru.haskellCompilerName}/settings"

View file

@ -27,11 +27,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "go";
version = "1.24.3";
version = "1.24.4";
src = fetchurl {
url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz";
hash = "sha256-IpwItgCxRGeYEJ+uH1aSKBAshHPKuoEEtkGMtbwDKHg=";
hash = "sha256-WoaoOjH5+oFJC4xUIKw4T9PZWj5x+6Zlx7P5XR3+8rQ=";
};
strictDeps = true;

View file

@ -201,6 +201,8 @@ stdenv.mkDerivation (
"python"
];
separateDebugInfo = true;
postInstall =
''
ln -sv $out/bin/clang $out/bin/cpp

View file

@ -526,6 +526,8 @@ stdenv.mkDerivation (
optionalString stdenv.hostPlatform.isFreeBSD ''
rm test/tools/llvm-libtool-darwin/L-and-l.test
rm test/ExecutionEngine/Interpreter/intrinsics.ll
# Fails in sandbox
substituteInPlace unittests/Support/LockFileManagerTest.cpp --replace-fail "Basic" "DISABLED_Basic"
''
+ ''
patchShebangs test/BugPoint/compile-custom.ll.py

View file

@ -7,6 +7,7 @@
ninja,
patches ? [ ],
python3,
updateAutotoolsGnuConfigScriptsHook,
release_version,
runCommand,
src ? null,
@ -76,6 +77,10 @@ let
cmake
ninja
python3
# while this is not an autotools build, it still includes a config.guess
# this is needed until scripts are updated to not use /usr/bin/uname on FreeBSD native
updateAutotoolsGnuConfigScriptsHook
];
cmakeFlags = [

View file

@ -21,10 +21,10 @@
sourceVersion = {
major = "3";
minor = "13";
patch = "3";
patch = "4";
suffix = "";
};
hash = "sha256-QPhovL3rgUmjFJWAu5v9QHszIc1I8L5jGvlVrJLA4EE=";
hash = "sha256-J7FaeXViopcdzj/+MbshYELOC5lbOddozxX3hMx1c2U=";
};
};
@ -48,10 +48,10 @@
sourceVersion = {
major = "3";
minor = "10";
patch = "17";
patch = "18";
suffix = "";
};
hash = "sha256-TGgFDwSdG0rFqt0N9fJ5QcA1DSqeerCQfuXrUiXZ1rA=";
hash = "sha256-rmZbxnir2atqbhVz0kgWJaU3GbxRfppjTtK5/vrjgX8=";
inherit passthruFun;
};
@ -60,10 +60,10 @@
sourceVersion = {
major = "3";
minor = "11";
patch = "12";
patch = "13";
suffix = "";
};
hash = "sha256-hJ2oevTfE3cQwXluJ2qVX3qFyflxCBBnyPVl0Vw1Kgk=";
hash = "sha256-j7X5+8dgn6giyzFUmIRXXbf9llfL/7iVELXXl1ljqDo=";
inherit passthruFun;
};
@ -72,10 +72,10 @@
sourceVersion = {
major = "3";
minor = "12";
patch = "10";
patch = "11";
suffix = "";
};
hash = "sha256-B6tpdHRZXgbwZkdBfTx/qX3tB6/Bp+RFTFY5kZtG6uo=";
hash = "sha256-wwuyS38emhmxG1WlRkNPdOc5u0wnGj46gP9DgNSfets=";
inherit passthruFun;
};

View file

@ -134,6 +134,12 @@ stdenv.mkDerivation rec {
url = "https://github.com/avahi/avahi/commit/f8710bdc8b29ee1176fe3bfaeabebbda1b7a79f7.patch";
hash = "sha256-BUQOQ4evKLBzV5UV8xW8XL38qk1rg6MJ/vcT5NBckfA=";
})
# https://github.com/avahi/avahi/pull/265 merged Mar 3, 2020
(fetchpatch {
name = "fix-requires-in-pc-file.patch";
url = "https://github.com/avahi/avahi/commit/366e3798bdbd6b7bf24e59379f4a9a51af575ce9.patch";
hash = "sha256-9AdhtzrimmcpMmeyiFcjmDfG5nqr/S8cxWTaM1mzCWA=";
})
];
depsBuildBuild = [

Some files were not shown because too many files have changed in this diff Show more