Compare commits

..

86 Commits

Author SHA1 Message Date
Nikolay Korotkiy
eb0b16891e hareThirdParty.hare-http: 0.26.0.0 -> 0.26.0.1 (#556580) 2026-08-26 14:49:23 +00:00
K900
7d362a0da6 lasuite-meet: 1.28.0 -> 1.29.0 (#556696) 2026-08-26 14:47:56 +00:00
K900
baeb7d29f9 opencloud: 7.4.0 -> 7.5.0 (#556698) 2026-08-26 14:47:26 +00:00
K900
fef07ba5e1 qui: 1.25.0 -> 1.26.0 (#556682) 2026-08-26 14:47:18 +00:00
Fabian Affolter
f89e965689 python3Packages.aioshelly: 13.29.0 -> 13.32.0 (#556742) 2026-08-26 14:24:42 +00:00
Weijia Wang
3e0ca71689 elan: 4.2.3 -> 4.2.4 (#556430) 2026-08-26 14:23:34 +00:00
Weijia Wang
86ecbd6057 fvm: 4.1.2 -> 4.3.0 (#556660) 2026-08-26 14:14:32 +00:00
nixpkgs-ci[bot]
a3144b0a0a talhelper: 3.1.16 -> 3.1.17 (#556634) 2026-08-26 14:12:45 +00:00
Fabian Affolter
8b12da45be python3Packages.hatch-argparse-manpage: 1.0.1 -> 1.0.2 (#556622) 2026-08-26 14:11:18 +00:00
Fabian Affolter
b667007c89 python3Packages.hatch-gettext: 1.1.1 -> 1.1.2 (#556623) 2026-08-26 14:09:00 +00:00
Fabian Affolter
0951172917 python3Packages.aioshelly: 13.29.0 -> 13.32.0
Diff: https://github.com/home-assistant-libs/aioshelly/compare/13.29.0...13.32.0

Changelog: https://github.com/home-assistant-libs/aioshelly/releases/tag/13.32.0
2026-08-26 16:06:41 +02:00
Fabian Affolter
a359606309 python3Packages.restfly: 1.5.1 -> 2.0.3, python3Packages.pydantic-xml: init at 2.21.1 (#556725) 2026-08-26 14:00:43 +00:00
Fabian Affolter
66c9d215a4 xssearch: 0.1.9 -> 0.2.0 (#556730) 2026-08-26 14:00:33 +00:00
Fabian Affolter
c58f641b2c python3Packages.asyncwhois: 1.1.13 -> 1.1.14 (#556724) 2026-08-26 14:00:07 +00:00
Fabian Affolter
947d30b5a4 python3Packages.fastapi-mail: 1.6.5 -> 1.6.8 (#556721) 2026-08-26 13:59:59 +00:00
Fabian Affolter
56ae854688 python3Packages.aiovodafone: 3.3.1 -> 3.3.2 (#556720) 2026-08-26 13:59:53 +00:00
Fabian Affolter
a923a4da56 python3Packages.cpe-search: 0.2.9 -> 0.2.11 (#556718) 2026-08-26 13:59:46 +00:00
Fabian Affolter
72fc8ff12e wpprobe: 0.12.7 -> 0.12.11 (#556657) 2026-08-26 13:59:36 +00:00
Fabian Affolter
ef668ca359 wapiti: 3.3.1 -> 3.3.2 (#556663) 2026-08-26 13:59:30 +00:00
Fabian Affolter
f90aa8a5ee python3Packages.pypck: 0.9.14 -> 0.9.15a3 (#556665) 2026-08-26 13:59:22 +00:00
Fabian Affolter
7750dc466a python3Packages.ngff-zarr: 0.42.1 -> 0.43.0 (#556712) 2026-08-26 13:59:15 +00:00
Fabian Affolter
bc6b8eba2f python3Packages.reactivex: 4.1.0 -> 5.1.0 (#556666) 2026-08-26 13:59:08 +00:00
Fabian Affolter
99750b7064 python3Packages.nettigo-air-monitor: 5.0.0 -> 5.1.0 (#556715) 2026-08-26 13:59:01 +00:00
Fabian Affolter
c1b1387622 python3Packages.alibabacloud-cs20151215: 7.1.1 -> 7.1.3 (#556716) 2026-08-26 13:58:55 +00:00
Fabian Affolter
5b231c0977 python3Packages.alibabacloud-ecs20140526: 7.9.6 -> 7.10.0 (#556717) 2026-08-26 13:58:49 +00:00
Fabian Affolter
93764d8d97 audiness: 1.0.1 -> 1.1.0
Diff: https://github.com/audius/audiness/compare/1.0.1...1.1.0

Changelog: https://github.com/audius/audiness/releases/tag/1.1.0
2026-08-26 15:37:10 +02:00
nixpkgs-ci[bot]
8e20afa98f llama-cpp: 10408 -> 0.2.0 (#555817) 2026-08-26 13:16:37 +00:00
Weijia Wang
4e9bdb4fd7 notesnook: 3.4.5 -> 3.4.6 (#556381) 2026-08-26 13:15:14 +00:00
Fabian Affolter
c6f8c197b7 python3Packages.pytenable: add arrow 2026-08-26 15:08:44 +02:00
Weijia Wang
5ebc3d6595 fvm: refactor 2026-08-26 15:07:15 +02:00
R. Ryantm
23ed1b19fb fvm: 4.1.2 -> 4.3.0 2026-08-26 15:05:49 +02:00
Weijia Wang
7f3563bc40 weasis: 4.7.2 -> 4.7.3 (#556632) 2026-08-26 13:05:26 +00:00
Peder Bergebakken Sundt
2f8e8f9808 rmw: 0.9.5 -> 0.10.0 (#554468) 2026-08-26 13:05:16 +00:00
Vincent Laporte
554b87c183 ocamlPackages.mariadb: 1.3.0 -> 2.0.0 (#546329) 2026-08-26 13:02:10 +00:00
Fabian Affolter
9beef53fe5 xssearch: 0.1.9 -> 0.2.0
Diff: https://github.com/affolter-engineering/xssearch/compare/0.1.9...0.2.0

Changelog: https://github.com/affolter-engineering/xssearch/releases/tag/0.2.0
2026-08-26 14:57:41 +02:00
Peder Bergebakken Sundt
d8cbd1b471 npb: init at 1.0.0 (#556676) 2026-08-26 12:54:33 +00:00
Weijia Wang
ada229c0ad mendeley: 2.148.0 -> 2.149.0 (#556586) 2026-08-26 12:50:12 +00:00
Weijia Wang
e850c5f536 cargo-swift: 0.11.0 -> 0.11.1 (#556614) 2026-08-26 12:47:19 +00:00
Fabian Affolter
e7fcc65c31 python3Packages.restfly: migrate to finalAttrs 2026-08-26 14:43:28 +02:00
Fabian Affolter
49deaca93f python3Packages.restfly: 1.5.1 -> 2.0.3
Diff: https://github.com/stevemcgrath/restfly/compare/1.5.1...2.0.3

Changelog: https://github.com/librestfly/restfly/blob/2.0.3/CHANGELOG.md
2026-08-26 14:43:28 +02:00
Fabian Affolter
8b71260e1f python3Packages.pydantic-xml: init at 2.21.1
Python xml for humans

https://github.com/dapper91/pydantic-xml
2026-08-26 14:36:53 +02:00
nixpkgs-ci[bot]
8b1fd75a8c entire: 0.10.0 -> 0.10.2 (#556707) 2026-08-26 12:27:33 +00:00
Fabian Affolter
7e34beb6ab python3Packages.asyncwhois: 1.1.13 -> 1.1.14
Diff: https://github.com/pogzyb/asyncwhois/compare/v1.1.13...v1.1.14

Changelog: https://github.com/pogzyb/asyncwhois/releases/tag/v1.1.14
2026-08-26 14:23:54 +02:00
Sandro
c5edb136d6 wrangler: 4.94.0 -> 4.125.0 (#556410) 2026-08-26 12:23:22 +00:00
Sandro
bc2168e1aa nixos/matter-server: fix service with enableStrictShellChecks enabled (#556461) 2026-08-26 12:22:46 +00:00
Sandro
f0e4a33083 ovito: set ffmpeg version to 8 to fix build failure (#556470) 2026-08-26 12:22:17 +00:00
Fabian Affolter
67f72a36c8 python3Packages.aiovodafone: 3.3.1 -> 3.3.2
Diff: https://github.com/chemelli74/aiovodafone/compare/v3.3.1...v3.3.2

Changelog: https://github.com/chemelli74/aiovodafone/blob/v3.3.2/CHANGELOG.md
2026-08-26 14:21:42 +02:00
Fabian Affolter
a96a668697 python3Packages.alibabacloud-cs20151215: 7.1.1 -> 7.1.3 2026-08-26 14:21:05 +02:00
Fabian Affolter
25faedc979 python3Packages.alibabacloud-ecs20140526: 7.9.6 -> 7.10.0 2026-08-26 14:20:35 +02:00
Fabian Affolter
9cb64b2a8e python3Packages.cpe-search: 0.2.9 -> 0.2.11
Diff: https://github.com/ra1nb0rn/cpe_search/compare/v0.2.9...v0.2.11

Changelog: https://github.com/ra1nb0rn/cpe_search/blob/v0.2.11/CHANGELOG.md
2026-08-26 14:19:48 +02:00
Fabian Affolter
f6b5d13b23 python3Packages.fastapi-mail: 1.6.5 -> 1.6.8
Diff: https://github.com/sabuhish/fastapi-mail/compare/v1.6.5...v1.6.8

Changelog: https://github.com/sabuhish/fastapi-mail/releases/tag/v1.6.8
2026-08-26 14:18:09 +02:00
Martin Weinelt
6ef2e87cd7 wyoming-piper: 2.3.1 -> 2.4.2 (#555806) 2026-08-26 12:17:41 +00:00
Fabian Affolter
a6874d9536 python3Packages.nettigo-air-monitor: migrate to finalAttrs 2026-08-26 14:15:38 +02:00
Fabian Affolter
5bff2f645a python3Packages.nettigo-air-monitor: migrate to pyprojectVersionPatchHook 2026-08-26 14:14:44 +02:00
Fabian Affolter
bcad759e6a python3Packages.nettigo-air-monitor: 5.0.0 -> 5.1.0
Changelog: https://github.com/bieniu/nettigo-air-monitor/releases/tag/5.1.0
2026-08-26 14:13:42 +02:00
Fabian Affolter
30ed88ec87 python3Packages.iamdata: 0.1.202608251 -> 0.1.202608261 (#556646) 2026-08-26 12:01:46 +00:00
Fabian Affolter
84b8079199 python3Packages.ngff-zarr: 0.42.1 -> 0.43.0
Changelog: https://github.com/fideus-labs/ngff-zarr/releases/tag/py-v0.43.0
2026-08-26 13:45:06 +02:00
R. Ryantm
3a7ccfd64f entire: 0.10.0 -> 0.10.2 2026-08-26 11:35:30 +00:00
K900
faa1dad9d4 opencloud: 7.4.0 -> 7.5.0
Diff: https://github.com/opencloud-eu/opencloud/compare/v7.4.0...v7.5.0

Changelog: https://github.com/opencloud-eu/opencloud/blob/v7.5.0/CHANGELOG.md
2026-08-26 13:55:18 +03:00
K900
8bbf224c87 opencloud.web: 7.3.0 -> 7.4.0
Diff: https://github.com/opencloud-eu/web/compare/v7.3.0...v7.4.0

Changelog: https://github.com/opencloud-eu/web/blob/v7.4.0/CHANGELOG.md
2026-08-26 13:53:03 +03:00
K900
3f3e686c42 lasuite-meet: 1.28.0 -> 1.29.0
Diff: https://github.com/suitenumerique/meet/compare/v1.28.0...v1.29.0

Changelog: https://github.com/suitenumerique/meet/blob/v1.29.0/CHANGELOG.md
2026-08-26 13:44:56 +03:00
Adam Dinwoodie
2f364bf630 npb: init at 1.0.0
npb is an alternative to nixpkgs-review, with a focus on comparing build
results before and after any given change.
2026-08-26 10:27:04 +01:00
K900
fa0ab2e5e7 qui: 1.25.0 -> 1.26.0 2026-08-26 12:19:26 +03:00
0k4r1m
081152f7ce maintainers: update _0k4r1m 2026-08-26 10:40:00 +02:00
Fabian Affolter
5f10a49865 python3Packages.reactivex: 4.1.0 -> 5.1.0
Diff: https://github.com/ReactiveX/RxPY/compare/v4.1.0...v5.1.0

Changelog: https://github.com/ReactiveX/RxPY/releases/tag/v5.1.0
2026-08-26 09:34:37 +02:00
Fabian Affolter
7616c71b4c python3Packages.pypck: 0.9.14 -> 0.9.15a3
Changelog: https://github.com/alengwenus/pypck/releases/tag/0.9.15a3
2026-08-26 09:30:11 +02:00
Fabian Affolter
53a8591a4e wapiti: 3.3.1 -> 3.3.2
Diff: https://github.com/wapiti-scanner/wapiti/compare/3.3.1...3.3.2

Changelog: https://github.com/wapiti-scanner/wapiti/blob/3.3.2/doc/ChangeLog_Wapiti
2026-08-26 09:13:03 +02:00
Fabian Affolter
7c56a83fc1 wpprobe: 0.12.7 -> 0.12.11
Diff: https://github.com/Chocapikk/wpprobe/compare/v0.12.7...v0.12.11

Changelog: https://github.com/Chocapikk/wpprobe/releases/tag/v0.12.11
2026-08-26 09:06:52 +02:00
Fabian Affolter
961f77ebed python3Packages.iamdata: 0.1.202608251 -> 0.1.202608261
Diff: https://github.com/cloud-copilot/iam-data-python/compare/v0.1.202608251...v0.1.202608261

Changelog: https://github.com/cloud-copilot/iam-data-python/releases/tag/v0.1.202608261
2026-08-26 08:43:31 +02:00
R. Ryantm
3cd2009cf6 talhelper: 3.1.16 -> 3.1.17 2026-08-26 06:17:53 +00:00
R. Ryantm
7bf91d8431 weasis: 4.7.2 -> 4.7.3 2026-08-26 06:08:29 +00:00
R. Ryantm
692f9fbd60 python3Packages.hatch-gettext: 1.1.1 -> 1.1.2 2026-08-26 05:30:03 +00:00
R. Ryantm
bfdf25deef python3Packages.hatch-argparse-manpage: 1.0.1 -> 1.0.2 2026-08-26 05:28:02 +00:00
R. Ryantm
4bad2c4fe0 cargo-swift: 0.11.0 -> 0.11.1 2026-08-26 04:06:05 +00:00
R. Ryantm
204e33bb40 mendeley: 2.148.0 -> 2.149.0 2026-08-26 00:42:57 +00:00
R. Ryantm
d3d418817e hareThirdParty.hare-http: 0.26.0.0 -> 0.26.0.1 2026-08-26 00:26:31 +00:00
Floris van den Bosch
25fbfc928f ovito: set ffmpeg version to 8 2026-08-25 19:46:18 +02:00
Sandro Jäckel
7c85b4a84d nixos/matter-server: fix service with enableStrictShellChecks enabled 2026-08-25 19:09:30 +02:00
R. Ryantm
c8d0360f0b elan: 4.2.3 -> 4.2.4 2026-08-25 15:00:48 +00:00
Dan Xin
f6f9a7b776 wrangler: 4.94.0 -> 4.125.0
Diff: https://github.com/cloudflare/workers-sdk/compare/wrangler@4.94.0...wrangler@4.125.0
2026-08-25 22:16:28 +08:00
R. Ryantm
66877fa730 notesnook: 3.4.5 -> 3.4.6 2026-08-25 11:28:31 +00:00
R. Ryantm
1cb79dc03e wyoming-piper: 2.3.1 -> 2.4.2 2026-08-23 21:36:28 +02:00
Ihar Hrachyshka
11c7d60e16 llama-cpp: 10408 -> 0.2.0
Switch to the new semantic version release scheme that is recommended by
upstream for downstream distributions.

We still have to embed the build number (bXXXX) that corresponds the
semantic version because llama.cpp exposes it in a few places in API
(e.g. llama_build_number) and webui. This unfortunately complicates the
update script a bit because we have to calculate the bXXXX version.

Note: The update script also has to extract git tags directly instead of
nix-update because the latter returns only a few top "releases", which
are overwhelmed by per-commit bXXXX "releases" - so it fails to find a
matching version.

Assisted-by: Codex, gpt-5.6 sol medium
2026-08-23 14:19:06 -04:00
0k4r1m
b9a2d0b783 rmw: 0.9.5 -> 0.10.0 2026-08-19 22:35:54 +02:00
0k4r1m
c1c968ce9f maintainers: add _0k4r1m 2026-08-19 22:35:16 +02:00
R. Ryantm
3c7c7c40ab ocamlPackages.mariadb: 1.3.0 -> 2.0.0 2026-07-27 14:39:09 +00:00
169 changed files with 696 additions and 982 deletions

View File

@@ -39,7 +39,7 @@ The `nix:narinfo` properties should be accompanied by a `nix:store_path` propert
| `nix:narinfo:system` | The hardware and software platform on which this component is produced. |
| `nix:narinfo:sig` | Signatures claiming that this component is what it claims to be. |
| `nix:narinfo:ca` | Content address of this store object's file system object, used to compute its store path. |
| `nix:narinfo:references` | A whitespace-separated array of store paths that this component references. |
| `nix:narinfo:references` | A whitespace separated array of store paths that this component references. |
### `nix:fod` {#sec-interop.cylonedx-fod}

View File

@@ -82,8 +82,6 @@
- `tengine` has been removed as it has seen seriously delayed responses to security vulnerabilities.
- `writeTextFile` now uses structured attributes and `passAsFile` is no longer used or supported.
- `nix-serve-ng` (and `haskellPackages.nix-serve-ng`) is now built against Lix instead of CppNix, following upstream which has switched to Lix as its supported Nix implementation.
- Linux kernel configuration has been moved out of the `linux-kernel` field of the platform structure into the kernel builders:

View File

@@ -81,6 +81,12 @@
githubId = 54892055;
name = "David mp";
};
_0k4r1m = {
matrix = "@darkdesync:matrix.org";
name = "0k4r1m";
github = "0k4r1m";
githubId = 318737393;
};
_0nyr = {
email = "onyr.maintainer@gmail.com";
github = "0nyr";

View File

@@ -84,6 +84,7 @@ let
}
}
'';
__structuredAttrs = true;
};
checkPhase = ''
printf "%s" "$expectScript" | ${lib.getExe pkgs.buildPackages.expect} -f -

View File

@@ -167,7 +167,7 @@ in
zookeeperQuorum = lib.mkOption {
description = ''
This option will set "hbase.zookeeper.quorum" in hbase-site.xml.
Comma-separated list of servers in the ZooKeeper ensemble.
Comma separated list of servers in the ZooKeeper ensemble.
'';
type = with lib.types; nullOr commas;
example = "zk1.internal,zk2.internal,zk3.internal";

View File

@@ -71,7 +71,7 @@ in
# specified. This symlinks /data at the systemd-managed
# /var/lib/matter-server, so all files get dropped into the state
# directory.
ln -s $STATE_DIRECTORY $RUNTIME_DIRECTORY/data
ln -s "$STATE_DIRECTORY" "$RUNTIME_DIRECTORY/data"
# Create directories to hold certificates and OTA updates.
CERT_DIR="$CACHE_DIRECTORY/certs"
@@ -87,8 +87,8 @@ in
vendorid = vendorId;
storage-path = storagePath;
log-level = cfg.logLevel;
paa-root-cert-dir = "$CERT_DIR";
ota-provider-dir = "$OTA_UPDATE_DIR";
paa-root-cert-dir = ''"$CERT_DIR"'';
ota-provider-dir = ''"$OTA_UPDATE_DIR"'';
}
// cfg.extraArgs
)

View File

@@ -226,7 +226,7 @@ in
The value of this option is an attribute set. Each attribute configures a
{command}`wpa_supplicant` service, where the attribute name specifies
the name of the interface that {command}`wpa_supplicant` operates on.
The attribute name can be a space-separated list of interfaces.
The attribute name can be a space separated list of interfaces.
The attribute names `WLAN`, `LAN` and `DBUS`
have a special meaning. `WLAN` and `LAN` are
configurations for universal {command}`wpa_supplicant` service that is

View File

@@ -168,7 +168,7 @@ in
default = pkgs.writeText "userlist" (concatMapStrings (x: "${x}\n") cfg.userlist);
defaultText = literalExpression ''pkgs.writeText "userlist" (concatMapStrings (x: "''${x}\n") cfg.userlist)'';
description = ''
Newline-separated list of names to be allowed/denied if {option}`userlistEnable`
Newline separated list of names to be allowed/denied if {option}`userlistEnable`
is `true`. Meaning see {option}`userlistDeny`.
The default is a file containing the users from {option}`userlist`.

View File

@@ -360,7 +360,7 @@ in
default = null;
type = lib.types.nullOr lib.types.str;
description = ''
A semicolon-separated array of 8 colors in the format RRGGBB:
A ; seperated array of 8 colors in the format RRGGBB:
black, red, green, brown, blue, magenta, cyan, and gray.
'';
};
@@ -369,7 +369,7 @@ in
default = null;
type = lib.types.nullOr lib.types.str;
description = ''
A semicolon-separated array of 8 colors in the format RRGGBB:
A ; seperated array of 8 colors in the format RRGGBB:
dark gray, bright red, bright green, yellow, bright blue, bright magenta, bright cyan, and white.
'';
};

View File

@@ -4,7 +4,7 @@
stdenv,
}:
rec {
version = "9.2.1001";
version = "9.2.0782";
outputs = [
"out"
@@ -15,7 +15,7 @@ rec {
owner = "vim";
repo = "vim";
rev = "v${version}";
hash = "sha256-dV1rqGt10gNb2jBABfaLQ5Noqt8hb0WcCBBSChDfAFA=";
hash = "sha256-D4IyDgl1JdmumDzO0uMg2LhoSnFUeqhcMJ6ImC17wzs=";
};
enableParallelBuilding = true;

View File

@@ -36,7 +36,7 @@ in
patches = [
# Upstream asks that we change the bug tracker URL to not point to the upstream bug tracker
(replaceVars ./support-url.patch {
assignees = "TomaSajt"; # should be a comma-separated list of the github usernames of the maintainers
assignees = "TomaSajt"; # should be a comma separated list of the github usernames of the maintainers
})
# Change how duplicate locales differentiate themselves (the store paths were too long)
./translations.patch

View File

@@ -17,9 +17,6 @@ lib.fetchers.withNormalizedHash { } (
builder = ./builder.sh;
nativeBuildInputs = [ breezy ];
strictDeps = true;
__structuredAttrs = true;
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";

View File

@@ -29,9 +29,6 @@ lib.makeOverridable (
openssh
];
strictDeps = true;
__structuredAttrs = true;
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";

View File

@@ -27,9 +27,6 @@ lib.makeOverridable (
darcs
];
strictDeps = true;
__structuredAttrs = true;
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";

View File

@@ -1,5 +1,5 @@
{
stdenvNoCC,
stdenv,
fetchurl,
jq,
strip-nondeterminism,
@@ -35,7 +35,7 @@ let
;
};
in
stdenvNoCC.mkDerivation {
stdenv.mkDerivation {
inherit name;
passthru = {
@@ -62,7 +62,4 @@ stdenvNoCC.mkDerivation {
unzip
zip
];
strictDeps = true;
__structuredAttrs = true;
}

View File

@@ -22,9 +22,6 @@ lib.fetchers.withNormalizedHash { } (
cacert
];
strictDeps = true;
__structuredAttrs = true;
# Envvar docs are hard to find. A link for the future:
# https://www.fossil-scm.org/index.html/doc/trunk/www/env-opts.md
impureEnvVars = [ "http_proxy" ];

View File

@@ -155,8 +155,6 @@ lib.makeOverridable (
++ lib.optionals fetchLFS [ git-lfs ]
++ nativeBuildInputs;
strictDeps = true;
hash =
if outputHashAlgo == null || outputHash == "" || lib.hasPrefix outputHashAlgo outputHash then
outputHash

View File

@@ -24,9 +24,6 @@ lib.extendMkDerivation {
builder = ./builder.sh;
nativeBuildInputs = [ mercurial ];
strictDeps = true;
__structuredAttrs = true;
impureEnvVars = lib.fetchers.proxyImpureEnvVars;
subrepoClause = lib.optionalString fetchSubrepos "S";

View File

@@ -85,8 +85,6 @@ lib.extendMkDerivation {
]
++ nativeBuildInputs;
strictDeps = true;
inherit preferLocalBuild;
# ENV

View File

@@ -84,10 +84,6 @@ in
stdenv.mkDerivation {
inherit pname version meta;
dontUnpack = true;
strictDeps = true;
__structuredAttrs = true;
# By moving the jar to $out/share/java we make it discoverable by java
# packages packages that mention this derivation in their buildInputs.
installPhase = ''

View File

@@ -33,8 +33,6 @@ lib.makeOverridable (
];
strictDeps = true;
__structuredAttrs = true;
dontUnpack = true;
dontConfigure = true;
dontBuild = true;
@@ -43,7 +41,7 @@ lib.makeOverridable (
runHook preInstall
success=
for remote in "''${remotes[@]}"; do
for remote in $remotes; do
if
pijul clone \
''${change:+--change "$change"} \

View File

@@ -66,12 +66,7 @@ else
]
++ lib.optional sshSupport openssh;
strictDeps = true;
__structuredAttrs = true;
env = lib.optionalAttrs sshSupport {
SVN_SSH = lib.getExe buildPackages.openssh;
};
SVN_SSH = if sshSupport then "${buildPackages.openssh}/bin/ssh" else null;
outputHashAlgo = if hash != "" then null else "sha256";
outputHashMode = "recursive";

View File

@@ -2,7 +2,7 @@ runCommand: subversion: repository:
import (
runCommand "head-revision"
{
nativeBuildInputs = [ subversion ];
buildInputs = [ subversion ];
dummy = builtins.currentTime;
}
''

View File

@@ -1,5 +1,9 @@
echo "exporting $url (r$rev) into $out"
if test "$sshSupport"; then
export SVN_SSH="$openssh/bin/ssh"
fi
# Pipe the "p" character into Subversion to force it to accept the
# server's certificate. This is perfectly safe: we don't care
# whether the server is being spoofed --- only the cryptographic

View File

@@ -24,13 +24,6 @@ lib.fetchers.withNormalizedHash { } (
expect
];
strictDeps = true;
__structuredAttrs = true;
env = lib.optionalAttrs sshSupport {
SVN_SSH = lib.getExe openssh;
};
inherit outputHash outputHashAlgo;
outputHashMode = "recursive";
@@ -41,6 +34,8 @@ lib.fetchers.withNormalizedHash { } (
password
url
rev
sshSupport
openssh
;
}
)

View File

@@ -322,7 +322,7 @@ lib.extendMkDerivation {
getGoDirs() {
local -r type="$1"
# Support structuredAttrs, they are not space separated
# Support strucuredAttrs, they are not space seperated
local -a subPackagesArray
concatTo subPackagesArray subPackages

View File

@@ -180,8 +180,6 @@ stdenv.mkDerivation {
;
};
__structuredAttrs = true;
meta =
let
pkg-config_ = optionalAttrs (pkg-config != null) pkg-config;

View File

@@ -108,7 +108,9 @@ rec {
extendDrvArgs =
let
defaultPassAsFile = [ "text" ];
removedDerivationNames = [
"passAsFile"
"meta"
"passthru"
];
@@ -147,9 +149,7 @@ rec {
Ensure that the path starts with a / and specifies at least the filename.
'';
destination;
__structuredAttrs = true;
strictDeps = true;
passAsFile = defaultPassAsFile ++ derivationArgs.passAsFile or [ ];
buildCommand = ''
target=$out$destination

View File

@@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication (finalAttrs: {
pname = "audiness";
version = "1.0.1";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "audius";
repo = "audiness";
tag = finalAttrs.version;
hash = "sha256-zru37eNQyY9AcbALge1qlINuxzVKq3RTNypm5Pyhkz8=";
hash = "sha256-Fy5T2WyC5MGYzNDEJpgtuvSnoTS0EzAcXR9qpHYT6aM=";
};
pythonRelaxDeps = [

View File

@@ -24,8 +24,6 @@ stdenv.mkDerivation (finalAttrs: {
dontConfigure = true;
dontBuild = true;
strictDeps = true;
installPhase = ''
mkdir -p $out/include/
cp -rv lib/* "$out/include/"
@@ -35,8 +33,6 @@ stdenv.mkDerivation (finalAttrs: {
inherit bluez; # inherits bluez-headers.src
};
__structuredAttrs = true;
meta = {
homepage = "https://bluez.github.io/";
description = "Official Linux Bluetooth protocol stack";

View File

@@ -16,8 +16,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-thjF+0TC9fBIhD25D30bJPePR7B5E8jHuoyULT6ySwA=";
};
strictDeps = true;
configureFlags = [
# change yacc to byacc
"--program-transform-name='s,^,b,'"
@@ -29,8 +27,6 @@ stdenv.mkDerivation (finalAttrs: {
ln -s $out/bin/byacc $out/bin/yacc
'';
__structuredAttrs = true;
meta = {
homepage = "https://invisible-island.net/byacc/byacc.html";
description = "Berkeley YACC";

View File

@@ -6,16 +6,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-swift";
version = "0.11.0";
version = "0.11.1";
src = fetchFromGitHub {
owner = "antoniusnaumann";
repo = "cargo-swift";
rev = "v${finalAttrs.version}";
hash = "sha256-abLXt9wIw/qhSkusRSmHJHU8feojaLVQeFP8DAkE1Gc=";
hash = "sha256-42Ssc75VKhVaIgvQxaq7zzKY41DyRrwzf3/ePVA57SY=";
};
cargoHash = "sha256-u4lzPbXyBCcZk5kzxuYHjtJQTTxjRYeDeMpIcK+Dr8Q=";
cargoHash = "sha256-jbOTbJmlQioi3+RFkJN6ig66hoDzqmtylHKbllCySd0=";
meta = {
description = "Cargo plugin to easily build Swift packages from Rust code";

View File

@@ -2,7 +2,6 @@
fetchurl,
lib,
stdenv,
bashNonInteractive,
expect,
makeWrapper,
updateAutotoolsGnuConfigScriptsHook,
@@ -14,19 +13,14 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "mirror://gnu/dejagnu/dejagnu-${finalAttrs.version}.tar.gz";
hash = "sha256-h9rvrNeVi0pp+IxoVtvRY0JhljxBQHnQw3H1ic1mouM=";
sha256 = "1qx2cv6qkxbiqg87jh217jb62hk3s7dmcs4cz1llm2wmsynfznl7";
};
nativeBuildInputs = [
updateAutotoolsGnuConfigScriptsHook
makeWrapper
];
buildInputs = [
bashNonInteractive
expect
];
strictDeps = true;
buildInputs = [ expect ];
# dejagnu-1.6.3 can't successfully run tests in source tree:
# https://wiki.linuxfromscratch.org/lfs/ticket/4871
@@ -59,8 +53,6 @@ stdenv.mkDerivation (finalAttrs: {
ln -s ${expect}/bin/expect $out/bin/expect
'';
__structuredAttrs = true;
meta = {
description = "Framework for testing other programs";

View File

@@ -14,11 +14,11 @@
stdenv.mkDerivation (finalAttrs: {
pname = "ed";
version = "1.22.6";
version = "1.22.5";
src = fetchurl {
url = "mirror://gnu/ed/ed-${finalAttrs.version}.tar.lz";
hash = "sha256-PzOyITUhnDnDxpX3txccJWfT4qF8eYwKkGBzIMuyaPI=";
hash = "sha256-VuEH3cLyna1mkDdsFb+XUVCeHuO4JBcQ5E7b5cOhWMw=";
};
nativeBuildInputs = [ lzip ];

View File

@@ -16,16 +16,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "elan";
version = "4.2.3";
version = "4.2.4";
src = fetchFromGitHub {
owner = "leanprover";
repo = "elan";
rev = "v${finalAttrs.version}";
hash = "sha256-Ael2hla+jqiaP8FfYYQ0u3V8cVt+CEFEQU7jB3LYG2E=";
hash = "sha256-HojR0Q8J1nrTk7tA3kcQ8Y3kYzrrl2nAlD0kUo2EgPw=";
};
cargoHash = "sha256-MDe/QBE1gd/4yMAuwBga8x9yv3duf3vaudMongurtQI=";
cargoHash = "sha256-dgqIu3SM134g/qLsetOLxed8/gAG8i90IKEy6xnK2rg=";
nativeBuildInputs = [
pkg-config

View File

@@ -11,16 +11,16 @@
buildGoModule (finalAttrs: {
pname = "entire";
version = "0.10.0";
version = "0.10.2";
src = fetchFromGitHub {
owner = "entireio";
repo = "cli";
tag = "v${finalAttrs.version}";
hash = "sha256-PeCzPnIoeeyNsGqY7SXKykv8qmt2rY/3bQG0xqcPDP0=";
hash = "sha256-Di9o3D7LGpIxq4XYTIDSesNsQ1Z65qdOBWsiveXdWgg=";
};
vendorHash = "sha256-7/SWL5axi1jJur0mGEO9dMnGO8NXT1RlUnSzz/IvE0g=";
vendorHash = "sha256-b+WjeqPM+NhKJZrV+2sl3Ihy6ABPR+TB82EKzqyUBYU=";
subPackages = [ "cmd/entire" ];

View File

@@ -26,8 +26,6 @@ stdenv.mkDerivation {
mv expand-response-params${stdenv.hostPlatform.extensions.executable} $prefix/bin/
'';
__structuredAttrs = true;
meta = {
description = "Internal tool used by the nixpkgs wrapper scripts for processing response files";
longDescription = ''

View File

@@ -21,8 +21,6 @@ stdenv.mkDerivation (finalAttrs: {
./restore-macros.patch
];
strictDeps = true;
dontBuild = true;
installPhase = ''
@@ -38,8 +36,6 @@ stdenv.mkDerivation (finalAttrs: {
url = "git://git.2f30.org/fortify-headers";
};
__structuredAttrs = true;
meta = {
description = "Standalone header-based fortify-source implementation";
homepage = "https://git.2f30.org/fortify-headers";

View File

@@ -8,19 +8,16 @@
nix-update-script,
}:
let
version = "4.1.2";
buildDartApplication (finalAttrs: {
pname = "fvm";
version = "4.3.0";
src = fetchFromGitHub {
owner = "conceptadev";
repo = "fvm";
tag = version;
hash = "sha256-Kyxyt2UsrQ6Bc6EuYJjpEFdYwcus2/bcVrWsd/gs3Ok=";
tag = finalAttrs.version;
hash = "sha256-SAWWKNbE/TyrP5bcIdDeAZa6/3d4D/Ru1PbcPvy9EDo=";
};
in
buildDartApplication {
pname = "fvm";
inherit version src;
pubspecLock = lib.importJSON ./pubspec.lock.json;
@@ -28,7 +25,7 @@ buildDartApplication {
pubspecSource =
runCommand "pubspec.lock.json"
{
inherit src;
inherit (finalAttrs) src;
nativeBuildInputs = [ yq-go ];
}
''
@@ -52,4 +49,4 @@ buildDartApplication {
mainProgram = "fvm";
maintainers = [ ];
};
}
})

View File

@@ -69,13 +69,13 @@ assert libraqmSupport -> freetypeSupport;
stdenv.mkDerivation (finalAttrs: {
pname = "imagemagick";
version = "7.1.2-30";
version = "7.1.2-29";
src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick";
tag = finalAttrs.version;
hash = "sha256-s2MC/14rNfbuOTI7xVNqr+YN2MobZ/EMnq0hxkJVAj8=";
hash = "sha256-gVp6eAXLl11KhtcpZ4hPeurCRHtRhhrAggJi7PatQ+M=";
};
outputs = [

View File

@@ -7,13 +7,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "imath";
version = "3.2.3";
version = "3.2.2";
src = fetchFromGitHub {
owner = "AcademySoftwareFoundation";
repo = "imath";
rev = "v${finalAttrs.version}";
hash = "sha256-kmWj9g6PnvgEOojjiWYpJ9+lXwT1svpezYDsCns4NP0=";
hash = "sha256-uLGH2kMo5S6iT2gS1091qKkCAxQ/iuQ8xx9507k6SzY=";
};
nativeBuildInputs = [ cmake ];

View File

@@ -2,7 +2,6 @@
lib,
stdenv,
fetchurl,
fetchpatch,
python3,
autoconf,
automake,
@@ -18,15 +17,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-qXBTaaZjOrpTJpNFDsgCxWI5fhuCRmLegJ7ekvZ6/yE=";
};
# Remove with the first release containing cc37d0931aa71582f7128736a068c92cd8712d9b.
patches = [
(fetchpatch {
name = "CVE-2026-38076.patch";
url = "https://github.com/ArtifexSoftware/jbig2dec/commit/cc37d0931aa71582f7128736a068c92cd8712d9b.patch";
hash = "sha256-NdmE3xT5M6Ini6FJcKqCJmJkBTFnnq66/YV3Ky5PVNM=";
})
];
postPatch = ''
patchShebangs test_jbig2dec.py
'';

View File

@@ -4,7 +4,6 @@
fetchFromGitHub,
fetchpatch,
autoreconfHook,
bashNonInteractive,
# By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which
# then stops downstream builds (mariadb in particular) from detecting it. This
# option should remove the prefix and give us a working jemalloc.
@@ -77,12 +76,6 @@ stdenv.mkDerivation (finalAttrs: {
autoreconfHook
];
buildInputs = [
bashNonInteractive
];
strictDeps = true;
configureFlags = [
"--with-version=${finalAttrs.version}-0-g0000000000000000000000000000000000000000"
"--with-lg-vaddr=${with stdenv.hostPlatform; toString (if isILP32 then 32 else parsed.cpu.bits)}"
@@ -115,8 +108,6 @@ stdenv.mkDerivation (finalAttrs: {
# Parallel builds break reproducibility.
enableParallelBuilding = false;
__structuredAttrs = true;
meta = {
homepage = "https://jemalloc.net/";
downloadPage = "https://github.com/jemalloc/jemalloc";

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "json-c";
repo = "json-c";
tag = "json-c-0.18-20240915";
rev = "json-c-0.18-20240915";
hash = "sha256-UyMXr8Vc6kDOx1/lD2YKPiHdaTotXAF9ak0yQuwrSUA=";
};
@@ -23,14 +23,10 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ];
strictDeps = true;
cmakeFlags = [
(lib.cmakeBool "BUILD_APPS" false)
];
__structuredAttrs = true;
meta = {
description = "JSON implementation in C";
longDescription = ''

View File

@@ -1,7 +1,6 @@
{
lib,
stdenv,
bashNonInteractive,
fetchurl,
}:
@@ -16,7 +15,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${finalAttrs.version}.tar.gz";
hash = "sha256-ph1XBhNq5MBb1I+GGGvP29iN2L1RB+Phlckkz8Gzm7Q=";
sha256 = "sha256-ph1XBhNq5MBb1I+GGGvP29iN2L1RB+Phlckkz8Gzm7Q=";
};
patches = [
@@ -35,12 +34,6 @@ stdenv.mkDerivation (finalAttrs: {
})
];
buildInputs = [
bashNonInteractive
];
strictDeps = true;
makeFlags = lib.optionals stdenv.hostPlatform.isStatic [ "NO_SOLIB=1" ];
outputs = [
@@ -53,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
# https://github.com/archlinux/svntogit-packages/blob/packages/keyutils/trunk/reproducible.patch
substituteInPlace Makefile \
--replace-fail \
--replace \
'VCPPFLAGS := -DPKGBUILD="\"$(shell date -u +%F)\""' \
'VCPPFLAGS := -DPKGBUILD="\"$(date -ud "@$SOURCE_DATE_EPOCH" +%F)\""'
'';
@@ -75,8 +68,6 @@ stdenv.mkDerivation (finalAttrs: {
"USRLIBDIR=$(lib)/lib"
];
__structuredAttrs = true;
meta = {
homepage = "https://people.redhat.com/dhowells/keyutils/";
description = "Tools used to control the Linux kernel key management system";

View File

@@ -17,7 +17,7 @@ buildNpmPackage (finalAttrs: {
src
sourceRoot
;
hash = "sha256-CRq4qpdUBOPBelmrbOgrBdQxD0tY84S3YSbCTQXBkvA=";
hash = "sha256-wmAyH35rNgju0GyhvQJHS6vDkFKOoIgiN4ctnu4clN0=";
};
npmBuildScript = "build";

View File

@@ -22,7 +22,7 @@ buildNpmPackage (finalAttrs: {
pname = "${finalAttrs.pname}-npm-deps";
inherit version src;
inherit (finalAttrs) sourceRoot;
hash = "sha256-EpUeQpEerHfZ5nZMCanZ+ayzqKHnCeRE4MqVa8TApKk=";
hash = "sha256-kArjyi8Jp5gfC/VW5Idzobxgt+NwGHSVP/UxQf7ds4Y=";
};
npmBuildScript = "build";

View File

@@ -6,13 +6,13 @@
python3,
}:
let
version = "1.28.0";
version = "1.29.0";
src = fetchFromGitHub {
owner = "suitenumerique";
repo = "meet";
tag = "v${version}";
hash = "sha256-BGYyAm4iX0/E1Fv9siRtOT9FXfpc3EAGhKwGRMTkoeQ=";
hash = "sha256-SqWKhb4oLKzFkcl96IX4OxzUHVAJn3zh2ZVEDnFVz4E=";
};
meta = {

View File

@@ -14,13 +14,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libcap-ng";
version = "0.9.5";
version = "0.9.3";
src = fetchFromGitHub {
owner = "stevegrubb";
repo = "libcap-ng";
tag = "v${finalAttrs.version}";
hash = "sha256-HYVbPoFSlkmNuL5EsEQVAekE4fwidgL+biTBBS1BdPM=";
hash = "sha256-anuPOBWp4Hlpo+m6kYlSd2v7H3P7LQ9brZdq1lo7Po4=";
};
# NEWS needs to exist or else the build fails
@@ -58,20 +58,6 @@ stdenv.mkDerivation (finalAttrs: {
];
configureFlags = [
# cap_audit is deliberately not enabled here.
# First, it'd create a cyclic dependency on audit, which we want to avoid.
# Second, it requires a vmlinux.h for utils/cap-audit/cap_audit.bpf.c
# The vmlinux.h header can either be generated from the running kernel of the build system
# (which does not work on cross with a non-linux build machine, and is never reproducible),
# or it can be supplied to configure by path (necessitating a dependency on a specific linux kernel).
# A compromise could be introducing a cap_audit package as part of linuxPackages set,
# but the cost on CI would not be insignificant due to that being built once per kernel.
# All current options are bad in their own way, so this stays disabled until we have a proper
# solution for vmlinux.h to not rebuild the world, or provably a user requiring this.
# "--enable-cap-audit"
# "--with-vmlinux-h=provided"
# "--with-vmlinux-h-path="
(lib.withFeature withPython "python")
"--with-capability_header='${linuxHeaders}/include/linux/capability.h'" # required to link bindings
];

View File

@@ -2,21 +2,34 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
autoreconfHook,
flex,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libconfuse";
version = "3.4";
version = "3.3";
src = fetchFromGitHub {
owner = "libconfuse";
repo = "libconfuse";
sha256 = "1npfk5jv59kk4n8pkyx89fn9s6p8x3gbffs42jaw24frgxfgp8ca";
rev = "v${finalAttrs.version}";
hash = "sha256-sC8O6vcMKvRdRCTXpKl6lgmzFUVG8/LBE7XsGX8F9e4=";
repo = "libconfuse";
owner = "libconfuse";
};
patches = [
(fetchpatch {
name = "CVE-2022-40320.patch";
urls = [
"https://sources.debian.org/data/main/libc/libconfuse/3.3-3/debian/patches/CVE-2022-40320.patch"
# files on sources.debian.org can disappear
"https://web.archive.org/web/20230107133212/https://sources.debian.org/data/main/libc/libconfuse/3.3-3/debian/patches/CVE-2022-40320.patch"
];
sha256 = "sha256-ftfE9JFz4nyRSOb2xHb9BAtgWn5Yv2WLm4RegDLtiBw=";
})
];
postPatch = ''
substituteInPlace tests/Makefile.am \
--replace 'TESTS += empty_string' "" \

View File

@@ -11,7 +11,6 @@
pkg-config,
protobuf,
protobufc,
systemdSupport ? stdenv.hostPlatform.isLinux,
systemdLibs,
buildPackages,
epoll-shim,
@@ -53,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
protobuf
protobufc
]
++ lib.optionals systemdSupport [
++ lib.optionals stdenv.hostPlatform.isLinux [
systemdLibs
]
++ lib.optionals stdenv.hostPlatform.isFreeBSD [

View File

@@ -24,106 +24,99 @@ let
};
in
stdenv.mkDerivation (
finalAttrs:
(
{
pname = "libgpg-error";
version = "1.61";
rec {
pname = "libgpg-error";
version = "1.61";
src = fetchurl {
url = "mirror://gnupg/libgpg-error/libgpg-error-${finalAttrs.version}.tar.bz2";
hash = "sha256-eoVBPyvDVPT4qoMrcYrxIuSJZeng65AS7mWcE8Y4XJM=";
};
src = fetchurl {
url = "mirror://gnupg/libgpg-error/libgpg-error-${version}.tar.bz2";
hash = "sha256-eoVBPyvDVPT4qoMrcYrxIuSJZeng65AS7mWcE8Y4XJM=";
};
patches = [
# Fixes t-printf test on platforms where LDBL_MAX == DBL_MAX (armhf, ppc64)
# Upstream's git forge doesn't seem to have a nice way to download it :/
./libgpg-error-tests-skip-a-test-when-not-HAVE_LONG_DOUBLE_WIDER.patch
];
patches = [
# Fixes t-printf test on platforms where LDBL_MAX == DBL_MAX (armhf, ppc64)
# Upstream's git forge doesn't seem to have a nice way to download it :/
./libgpg-error-tests-skip-a-test-when-not-HAVE_LONG_DOUBLE_WIDER.patch
];
postPatch = ''
sed '/BUILD_TIMESTAMP=/s/=.*/=1970-01-01T00:01+0000/' -i ./configure
postPatch = ''
sed '/BUILD_TIMESTAMP=/s/=.*/=1970-01-01T00:01+0000/' -i ./configure
''
# libgpg-error insists on having these generated files. They should be fairly ABI stable,
# so add one for FreeBSD.
+ lib.optionalString (stdenv.hostPlatform.system == "x86_64-freebsd") ''
cp ${./lock-obj-pub.x86_64-unknown-freebsd.h} src/syscfg/lock-obj-pub.freebsd.h
''
# Fails on powerpc64-linux
# https://lists.gnupg.org/pipermail/gnupg-users/2026-July/068440.html
+ lib.optionalString (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) ''
substituteInPlace tests/t-printf.c \
--replace-fail \
'# ifdef HAVE_LONG_DOUBLE_WIDER' \
'# if 0' \
--replace-fail \
'show ("LDBL_MAX == DBL_MAX - skipping LDBL_MAX test\n")' \
'show ("LDBL_MAX is weird on this platform - skipping LDBL_MAX test\n")'
'';
hardeningDisable = [ "strictflexarrays3" ];
configureFlags = [
# See https://dev.gnupg.org/T6257#164567
"--enable-install-gpg-error-config"
];
outputs = [
"out"
"dev"
"info"
];
outputBin = "dev"; # deps want just the lib, most likely
# If architecture-dependent MO files aren't available, they're generated
# during build, so we need gettext for cross-builds.
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [
autoreconfHook # HAVE_LONG_DOUBLE_WIDER patch changes configure.ac
gettext
];
postConfigure =
# For some reason, /bin/sh on OpenIndiana leads to this at the end of the
# `config.status' run:
# ./config.status[1401]: shift: (null): bad number
# (See <https://hydra.nixos.org/build/2931046/nixlog/1/raw>.)
# Thus, re-run it with Bash.
lib.optionalString stdenv.hostPlatform.isSunOS ''
${stdenv.shell} config.status
''
# libgpg-error insists on having these generated files. They should be fairly ABI stable,
# so add one for FreeBSD.
+ lib.optionalString (stdenv.hostPlatform.system == "x86_64-freebsd") ''
cp ${./lock-obj-pub.x86_64-unknown-freebsd.h} src/syscfg/lock-obj-pub.freebsd.h
''
# Fails on powerpc64-linux
# https://lists.gnupg.org/pipermail/gnupg-users/2026-July/068440.html
+ lib.optionalString (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) ''
substituteInPlace tests/t-printf.c \
--replace-fail \
'# ifdef HAVE_LONG_DOUBLE_WIDER' \
'# if 0' \
--replace-fail \
'show ("LDBL_MAX == DBL_MAX - skipping LDBL_MAX test\n")' \
'show ("LDBL_MAX is weird on this platform - skipping LDBL_MAX test\n")'
# ./configure erroneous decides to use weak symbols on pkgsStatic,
# which, together with other defines results in locking functions in
# src/posix-lock.c to be no-op, causing tests/t-lock.c to fail.
+ lib.optionalString stdenv.hostPlatform.isStatic ''
sed '/USE_POSIX_THREADS_WEAK/ d' config.h
echo '#undef USE_POSIX_THREADS_WEAK' >> config.h
'';
hardeningDisable = [ "strictflexarrays3" ];
doCheck = true; # not cross
configureFlags = [
# See https://dev.gnupg.org/T6257#164567
"--enable-install-gpg-error-config"
];
meta = {
homepage = "https://www.gnupg.org/software/libgpg-error/index.html";
changelog = "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=NEWS;hb=refs/tags/libgpg-error-${version}";
description = "Small library that defines common error values for all GnuPG components";
mainProgram = "gen-posix-lock-obj";
outputs = [
"out"
"dev"
"info"
];
outputBin = "dev"; # deps want just the lib, most likely
longDescription = ''
Libgpg-error is a small library that defines common error values
for all GnuPG components. Among these are GPG, GPGSM, GPGME,
GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, SmartCard
Daemon and possibly more in the future.
'';
# If architecture-dependent MO files aren't available, they're generated
# during build, so we need gettext for cross-builds.
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [
autoreconfHook # HAVE_LONG_DOUBLE_WIDER patch changes configure.ac
gettext
];
strictDeps = true;
postConfigure =
# For some reason, /bin/sh on OpenIndiana leads to this at the end of the
# `config.status' run:
# ./config.status[1401]: shift: (null): bad number
# (See <https://hydra.nixos.org/build/2931046/nixlog/1/raw>.)
# Thus, re-run it with Bash.
lib.optionalString stdenv.hostPlatform.isSunOS ''
${stdenv.shell} config.status
''
# ./configure erroneous decides to use weak symbols on pkgsStatic,
# which, together with other defines results in locking functions in
# src/posix-lock.c to be no-op, causing tests/t-lock.c to fail.
+ lib.optionalString stdenv.hostPlatform.isStatic ''
sed '/USE_POSIX_THREADS_WEAK/ d' config.h
echo '#undef USE_POSIX_THREADS_WEAK' >> config.h
'';
doCheck = true; # not cross
__structuredAttrs = true;
meta = {
homepage = "https://www.gnupg.org/software/libgpg-error/index.html";
changelog = "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=NEWS;hb=refs/tags/libgpg-error-${finalAttrs.version}";
description = "Small library that defines common error values for all GnuPG components";
mainProgram = "gen-posix-lock-obj";
longDescription = ''
Libgpg-error is a small library that defines common error values
for all GnuPG components. Among these are GPG, GPGSM, GPGME,
GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, SmartCard
Daemon and possibly more in the future.
'';
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.all;
maintainers = [ ];
};
}
// genPosixLockObjOnlyAttrs
)
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.all;
maintainers = [ ];
};
}
// genPosixLockObjOnlyAttrs
)

View File

@@ -24,7 +24,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libheif";
version = "1.23.2";
version = "1.23.1";
outputs = [
"bin"
@@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "strukturag";
repo = "libheif";
rev = "v${finalAttrs.version}";
hash = "sha256-fqz2BfdcnnR5tylKcxM1xESoTRh5WgqvgdsBLJcnySU=";
hash = "sha256-o+gQCv/lpRx+IaqpjHACh8ysgl/N4Mo/9zbAI/cnWas=";
};
nativeBuildInputs = [

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "mirror://gnu/libidn/libidn-${finalAttrs.version}.tar.gz";
hash = "sha256-SZYIurOmVlCg6lKIjBOo3uvj9xQI4xms2exS4C6xOVk=";
sha256 = "sha256-SZYIurOmVlCg6lKIjBOo3uvj9xQI4xms2exS4C6xOVk=";
};
outputs = [
@@ -27,12 +27,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv;
strictDeps = true;
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
__structuredAttrs = true;
meta = {
changelog = "https://codeberg.org/libidn/libidn/src/tag/v${finalAttrs.version}/NEWS";
homepage = "https://www.gnu.org/software/libidn/";

View File

@@ -56,8 +56,6 @@ stdenv.mkDerivation (finalAttrs: {
libxslt
];
strictDeps = true;
propagatedBuildInputs = [
publicsuffix-list
];
@@ -85,8 +83,6 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
__structuredAttrs = true;
meta = {
description = "C library for the Publix Suffix List";
longDescription = ''

View File

@@ -1,25 +0,0 @@
--- a/gdk-pixbuf-loader/meson_install.py
+++ b/gdk-pixbuf-loader/meson_install.py
@@ -13,6 +13,22 @@ if __name__ == '__main__':
argparse.add_argument('--cache-file', type=Path, metavar="PATH", help="module cache file to write")
argparse.add_argument('--show-cross-message', action='store_true', help="tell the user to run query-loaders manually")
args = argparse.parse_args()
+ if sys.platform in ['darwin', 'ios']:
+ modulepath = Path(args.moduledir).resolve()
+ prefix = modulepath.parent.parent.parent
+ location = modulepath
+ if 'DESTDIR' in os.environ:
+ location = Path(os.environ['DESTDIR']) / modulepath.relative_to('/')
+ oldfilepath = location / 'libpixbufloader_svg.dylib'
+ newfilename = 'libpixbufloader-svg.so'
+ newfilepath = location / newfilename
+ installfilepath = modulepath / 'libpixbufloader-svg.so'
+ librsvgpath = prefix / 'librsvg-2.2.dylib'
+ os.rename(oldfilepath.as_posix(), newfilepath.as_posix())
+ subprocess.run(
+ ['install_name_tool', '-id', installfilepath.as_posix(), newfilepath.as_posix()])
+ subprocess.run(
+ ['install_name_tool', '-change', '@rpath/librsvg-2.2.dylib', librsvgpath.as_posix(), newfilepath.as_posix()])
if not(args.show_cross_message or (args.queryloaders and args.moduledir and args.cache_file)):
argparse.print_help()

View File

@@ -65,14 +65,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-frRJsnIqdoAhNW9m3+4yAsIptU7U5qcM5AwJDpf/FvI=";
};
# FIXME: This patch should be made unconditional the next time librsvg is
# updated.
patches = lib.optionals stdenv.hostPlatform.isDarwin [
# Rebased copy of https://gitlab.gnome.org/GNOME/gtk-osx/-/blob/2c1492036ff92d1c87d7b7a4c3c5a7a3f042f825/patches/librsvg-libpixbufloader-install-names.patch.
# Fixes https://gitlab.gnome.org/GNOME/librsvg/-/work_items/1161.
./librsvg-libpixbufloader-install-names.patch
];
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) src;
name = "librsvg-deps-${finalAttrs.version}";

View File

@@ -13,20 +13,18 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "snowballstem";
repo = "snowball";
tag = "v${finalAttrs.version}";
hash = "sha256-qXrypwv/I+5npvGHGsHveijoui0ZnoGYhskCfLkewVE=";
rev = "v${finalAttrs.version}";
sha256 = "sha256-qXrypwv/I+5npvGHGsHveijoui0ZnoGYhskCfLkewVE=";
};
nativeBuildInputs = [ perl ];
strictDeps = true;
prePatch = ''
patchShebangs .
''
+ lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
substituteInPlace GNUmakefile \
--replace-fail './snowball ' '${lib.getExe' buildPackages.libstemmer "snowball"} '
--replace './snowball' '${lib.getBin buildPackages.libstemmer}/bin/snowball'
'';
makeTarget = "libstemmer.a";
@@ -39,8 +37,6 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
__structuredAttrs = true;
meta = {
description = "Snowball Stemming Algorithms";
homepage = "https://snowballstem.org/";

View File

@@ -4,7 +4,6 @@
cmake,
fetchFromGitHub,
installShellFiles,
nix-update-script,
stdenv,
config,
@@ -46,6 +45,8 @@
}:
let
buildNumber = "10566";
# It's necessary to consistently use backendStdenv when building with CUDA support,
# otherwise we get libstdc++ errors downstream.
# cuda imposes an upper bound on the gcc version
@@ -79,7 +80,7 @@ let
in
effectiveStdenv.mkDerivation (finalAttrs: {
pname = "llama-cpp";
version = "10408";
version = "0.2.0";
__structuredAttrs = true;
strictDeps = true;
@@ -92,8 +93,8 @@ effectiveStdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "ggml-org";
repo = "llama.cpp";
tag = "b${finalAttrs.version}";
hash = "sha256-b01kyCjcrAJ4zFPNRM2GU/9TR5y1mi7WIJDNYrhSJZo=";
tag = "v${finalAttrs.version}";
hash = "sha256-6cK5BMCCEUWL+590+WbrRInH3eEnsZ/S5m71IIBgDsA=";
leaveDotGit = true;
postFetch = ''
git -C "$out" rev-parse --short HEAD > $out/COMMIT
@@ -142,7 +143,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
preConfigure = ''
prependToVar cmakeFlags "-DLLAMA_BUILD_COMMIT:STRING=$(cat COMMIT)"
pushd ${finalAttrs.npmRoot}
LLAMA_BUILD_NUMBER=${finalAttrs.version} npm run build
LLAMA_BUILD_NUMBER=${buildNumber} npm run build
popd
'';
@@ -151,6 +152,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
(cmakeBool "LLAMA_BUILD_EXAMPLES" false)
(cmakeBool "LLAMA_BUILD_SERVER" true)
(cmakeBool "LLAMA_BUILD_TESTS" (finalAttrs.finalPackage.doCheck or false))
(cmakeBool "LLAMA_BUILD_IS_DEV" false)
(cmakeBool "LLAMA_OPENSSL" true)
(cmakeBool "BUILD_SHARED_LIBS" true)
(cmakeBool "GGML_BLAS" blasSupport)
@@ -160,7 +162,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
(cmakeBool "GGML_METAL" metalSupport)
(cmakeBool "GGML_RPC" rpcSupport)
(cmakeBool "GGML_VULKAN" vulkanSupport)
(cmakeFeature "LLAMA_BUILD_NUMBER" finalAttrs.version)
(cmakeFeature "LLAMA_BUILD_NUMBER" buildNumber)
]
++ optionals cpuArchDynamicDispatch [
# Build all CPU backend variants for runtime dynamic dispatch.
@@ -201,13 +203,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
doCheck = false;
passthru = {
updateScript = nix-update-script {
attrPath = "llama-cpp";
extraArgs = [
"--version-regex"
"b(.*)"
];
};
updateScript = ./update.sh;
};
meta = {

View File

@@ -0,0 +1,52 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p coreutils gitMinimal gnused nix-update
# shellcheck shell=bash
set -euo pipefail
repo_url="https://github.com/ggml-org/llama.cpp.git"
version="$({
git ls-remote --refs --tags "$repo_url" 'refs/tags/v*' \
| sed -nE 's|^[^[:space:]]+[[:space:]]+refs/tags/v([0-9]+\.[0-9]+\.[0-9]+)$|\1|p' \
| sort -V \
| tail -n1
})"
if [[ -z "$version" ]]; then
echo "Failed to find the latest semantic version tag" >&2
exit 1
fi
tag_refs="$(
git ls-remote --tags "$repo_url" \
"refs/tags/v$version" "refs/tags/v$version^{}" 'refs/tags/b*'
)"
release_commit="$(
awk -v ref="refs/tags/v$version^{}" '$2 == ref { print $1 }' <<<"$tag_refs"
)"
if [[ -z "$release_commit" ]]; then
release_commit="$(
awk -v ref="refs/tags/v$version" '$2 == ref { print $1 }' <<<"$tag_refs"
)"
fi
build_number="$({
awk -v commit="$release_commit" '
$1 == commit && $2 ~ /^refs\/tags\/b[0-9]+(\^\{\})?$/ {
sub(/^refs\/tags\/b/, "", $2)
sub(/\^\{\}$/, "", $2)
print $2
}
' <<<"$tag_refs" | sort -n | tail -n1
})"
if [[ -z "$release_commit" || -z "$build_number" ]]; then
echo "Failed to find the build number for v$version" >&2
exit 1
fi
cd "$(git rev-parse --show-toplevel)"
nix-update "${UPDATE_NIX_ATTR_PATH:-llama-cpp}" --version "$version"
sed -i -E \
's|(buildNumber = ")[0-9]+(";)|\1'"$build_number"'\2|' \
pkgs/by-name/ll/llama-cpp/package.nix

View File

@@ -40,8 +40,6 @@ stdenv.mkDerivation (finalAttrs: {
enableParallelBuilding = true;
strictDeps = true;
__structuredAttrs = true;
meta = {
homepage = "https://www.nongnu.org/lzip/lzip.html";
description = "Lossless data compressor based on the LZMA algorithm";

View File

@@ -22,12 +22,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-mkAyIC/A0rCFj0GxZzianP5SrCTsKC5kebkHZTGd4RM=";
};
strictDeps = true;
installPhase = ''
runHook preInstall
substituteInPlace mailcap --replace-fail "/usr/bin/" ""
substituteInPlace mailcap --replace "/usr/bin/" ""
sh generate-nginx-mimetypes.sh < mime.types > nginx-mime.types
install -D -m0644 nginx-mime.types $out/etc/nginx/mime.types
@@ -58,8 +56,6 @@ stdenv.mkDerivation (finalAttrs: {
passthru.tests.nginx-mime = nixosTests.nginx-mime;
__structuredAttrs = true;
meta = {
description = "Helper application and MIME type associations for file types";
homepage = "https://pagure.io/mailcap";

View File

@@ -12,16 +12,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "maturin";
version = "1.15.0";
version = "1.14.1";
src = fetchFromGitHub {
owner = "PyO3";
repo = "maturin";
tag = "v${finalAttrs.version}";
hash = "sha256-elK82eg/m33GYNWeZUSfKxFVJS6fMRatHl66NgvxcxE=";
hash = "sha256-sqcNRN8oAZ2AK5gHr3ipb035VOiB+zDA10wTtiaeUBM=";
};
cargoHash = "sha256-WRVXmhwhbOf2Isjvyqw3d4scA5Vs8Vkyy1m7WC3xb0s=";
cargoHash = "sha256-pD8/S7GsFFeAjc8U4fQ9ZTu+o3mKyPagMPKKRI40n4w=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libiconv

View File

@@ -7,6 +7,7 @@
python3,
udev,
udevCheckHook,
systemd,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -21,14 +22,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-VoMr5Lxy6u/BA/9t65/S8AW41YU0FLp6eftYUVdoMjY=";
};
buildInputs = [
udev
systemd
];
nativeBuildInputs = [
autoreconfHook
pkg-config
udevCheckHook
# used at *build* time only
python3
udev
udevCheckHook
];
doInstallCheck = true;

View File

@@ -6,11 +6,11 @@
appimageTools.wrapType2 (finalAttrs: {
pname = "mendeley";
version = "2.148.0";
version = "2.149.0";
src = fetchurl {
url = "https://static.mendeley.com/bin/desktop/mendeley-reference-manager-${finalAttrs.version}-x86_64.AppImage";
hash = "sha256-ZejpXyq5ILlvppBfj+F2zHhJ3dLJyGlCYHJlNISCSSs=";
hash = "sha256-XarirKKV7hyW+I5kfRLWX78yS2BiLJOL16/Vw0vGswg=";
};
strictDeps = true;

View File

@@ -185,9 +185,6 @@ stdenv.mkDerivation (finalAttrs: {
threadModel = "posix";
};
strictDeps = true;
__structuredAttrs = true;
meta = {
description = "Efficient, small, quality libc implementation";
homepage = "https://musl.libc.org/";

View File

@@ -112,9 +112,6 @@ stdenv.mkDerivation (finalAttrs: {
(mesonOption "systemdsystemunitdir" (
if withSystemd then "${placeholder "out"}/etc/systemd/system" else "no"
))
(mesonOption "systemdsystemgeneratordir" (
if withSystemd then "${placeholder "out"}/lib/systemd/system-generators" else "no"
))
# to enable link-local connections
(mesonOption "udev_dir" "${placeholder "out"}/lib/udev")
(mesonOption "dbus_conf_dir" "${placeholder "out"}/share/dbus-1/system.d")

View File

@@ -9,7 +9,7 @@
let
pname = "notesnook";
version = "3.4.5";
version = "3.4.6";
inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}";
@@ -26,9 +26,9 @@ let
url = "https://github.com/streetwriters/notesnook/releases/download/v${version}/notesnook_${suffix}";
hash =
{
x86_64-linux = "sha256-Zcx6TzmyInwE2+0RbBm6+1yAL85rhcFWbr2FOSmOT6Y=";
aarch64-linux = "sha256-ghxdb8TG4/uh1iuN5jaQ6aeYrXJh5+oX0ZpT/j8+5Ck=";
aarch64-darwin = "sha256-xw8oSGqTovCioRu6FVKZIrFraE72PwPvqZms5+K3S/M=";
x86_64-linux = "sha256-2XJAmJ6lqAs4BvTNZHqLkdpoZtl/kujloFfvgkSgVPs=";
aarch64-linux = "sha256-D2WkILFoeguKD7UuW/724ywvHrlbnHEr6A5vWnRvgto=";
aarch64-darwin = "sha256-GgXHOwiZV934f0HHwbgLfJVELytLnk5IpXX+KU5yN8I=";
}
.${system} or throwSystem;
};

View File

@@ -0,0 +1,85 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
installShellFiles,
git,
nix-eval-jobs,
nix-output-monitor,
versionCheckHook,
nix-update-script,
}:
let
# Use the version of nix that came with nix-eval-jobs per the upstream npb
# packaging. This (a) keeps closure sizes down, since it means this package
# doesn't pull in both Nixpkgs' nix and nix-eval-jobs' nix, (b) removes any
# risk of incompatibilities between calls to nix inside and outside
# nix-eval-jobs, and (c) means that -- at time of writing -- we automatically
# get at least version v2.35 of nix, which npb needs, even though the default
# Nixpkgs nix version is v2.34.
inherit (nix-eval-jobs) nix;
buildCanExecuteHost = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "npb";
version = "1.0.0";
__structuredAttrs = true;
strictDeps = true;
src = fetchFromGitHub {
owner = "samestep";
repo = "npb";
tag = "v${finalAttrs.version}";
hash = "sha256-pXatlxVJnrt8JFf+TPcUAL1U5mz4kWn8qfRtVHekYjA=";
};
cargoHash = "sha256-pZAaTweVR/JkTdtB4/FtXfSDPFTl1+cEdqx5finWMBk=";
nativeBuildInputs = lib.optional buildCanExecuteHost installShellFiles;
env = {
GIT_BIN = lib.getExe git;
NIX_BIN =
# nix must be at least v2.35, as npb depends on the lazy source copying
# added in that version.
assert lib.versionAtLeast nix.version "2.35";
lib.getExe nix;
NIX_STORE_BIN = lib.getExe' nix "nix-store";
NIX_INSTANTIATE_BIN = lib.getExe' nix "nix-instantiate";
NIX_EVAL_JOBS_BIN = lib.getExe nix-eval-jobs;
NOM_BIN = lib.getExe nix-output-monitor;
};
postInstall = lib.optionalString buildCanExecuteHost ''
completion_tmp_dir="$(mktemp -d --tmpdir)"
args=()
for shell in bash fish zsh; do
"$out"/bin/npb --completions "$shell" > "$completion_tmp_dir"/"$shell"
args+=("--$shell" "$completion_tmp_dir"/"$shell")
done
installShellCompletion --cmd npb "''${args[@]}"
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Nixpkgs build comparison tool";
longDescription = ''
A CLI tool to generate reports on the differences in build outcomes
between a pair of Nixpkgs commits.
'';
mainProgram = "npb";
homepage = "https://github.com/samestep/npb";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
samestep
me-and
];
};
})

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: {
# Note: do not use fetchpatch or fetchFromGitHub to keep this package available in __bootPackages
src = fetchurl {
url = "https://github.com/kkos/oniguruma/releases/download/v${finalAttrs.version}/onig-${finalAttrs.version}.tar.gz";
hash = "sha256-Klz8WuJZ5Ol/hraN//wVLNr/6U4gYLdwy4JyONdp/AU=";
sha256 = "sha256-Klz8WuJZ5Ol/hraN//wVLNr/6U4gYLdwy4JyONdp/AU=";
};
outputs = [
@@ -23,13 +23,8 @@ stdenv.mkDerivation (finalAttrs: {
outputBin = "dev"; # onig-config
nativeBuildInputs = [ autoreconfHook ];
strictDeps = true;
configureFlags = [ "--enable-posix-api=yes" ];
__structuredAttrs = true;
meta = {
homepage = "https://github.com/kkos/oniguruma";
description = "Regular expressions library";

View File

@@ -28,13 +28,13 @@ let
in
buildGoModule (finalAttrs: {
pname = "opencloud";
version = "7.4.0";
version = "7.5.0";
src = fetchFromGitHub {
owner = "opencloud-eu";
repo = "opencloud";
tag = "v${finalAttrs.version}";
hash = "sha256-/j3aXAzsIWPHNIRcHLlbi6Y53be5d5GBqrVIZCk0bEw=";
hash = "sha256-OMQuNfm9xqXaDexuoDRvvSEoEb7hXEMF7ynRU3CawbI=";
};
postPatch = ''

View File

@@ -10,20 +10,20 @@
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "opencloud-web";
version = "7.3.0";
version = "7.4.0";
src = fetchFromGitHub {
owner = "opencloud-eu";
repo = "web";
tag = "v${finalAttrs.version}";
hash = "sha256-v1VmX3q2YQUd3PvRVVEvDvpsgVcNklflXRXRvtHOuCU=";
hash = "sha256-idoR5R97k5ZfYBh7vboXzg2CdbVX5TBPrpL6s1k9qPA=";
};
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version src;
pnpm = pnpm_11;
fetcherVersion = 4;
hash = "sha256-Y/Xz62ZS7pU6WB3dxewfhNI4POW/r/DGodpEy+xw/ww=";
hash = "sha256-h2QNq51GE8qnLsvPhDobzT/8am0jzbW6Mx6tnungY/k=";
};
nativeBuildInputs = [

View File

@@ -7,7 +7,7 @@
cmake,
boost,
bzip2,
ffmpeg,
ffmpeg_8,
fftwSinglePrec,
hdf5,
muparser,
@@ -49,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
boost
bzip2
ffmpeg
ffmpeg_8
fftwSinglePrec
hdf5
muparser

View File

@@ -14,14 +14,14 @@
libintl,
}:
stdenv.mkDerivation (finalAttrs: {
stdenv.mkDerivation rec {
pname = "p11-kit";
version = "0.26.2";
src = fetchFromGitHub {
owner = "p11-glue";
repo = "p11-kit";
tag = finalAttrs.version;
tag = version;
hash = "sha256-qFanbp0KPc6+CN4s5mMQNduzcxt/SrMcYWvIMZ0XnGY=";
fetchSubmodules = true;
};
@@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
# Install sample config files to $out/etc even though they will be loaded from /etc.
substituteInPlace p11-kit/meson.build \
--replace-fail 'install_dir: prefix / p11_system_config' "install_dir: '$out/etc/pkcs11'"
--replace 'install_dir: prefix / p11_system_config' "install_dir: '$out/etc/pkcs11'"
'';
preCheck = ''
@@ -82,8 +82,6 @@ stdenv.mkDerivation (finalAttrs: {
fi
'';
__structuredAttrs = true;
meta = {
description = "Library for loading and sharing PKCS#11 modules";
longDescription = ''
@@ -93,8 +91,8 @@ stdenv.mkDerivation (finalAttrs: {
'';
homepage = "https://p11-glue.github.io/p11-glue/p11-kit.html";
changelog = [
"https://github.com/p11-glue/p11-kit/raw/${finalAttrs.version}/NEWS"
"https://github.com/p11-glue/p11-kit/releases/tag/${finalAttrs.version}"
"https://github.com/p11-glue/p11-kit/raw/${version}/NEWS"
"https://github.com/p11-glue/p11-kit/releases/tag/${version}"
];
platforms = lib.platforms.all;
badPlatforms = [
@@ -103,6 +101,6 @@ stdenv.mkDerivation (finalAttrs: {
];
license = lib.licenses.bsd3;
mainProgram = "p11-kit";
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "p11-kit_project" finalAttrs.version;
identifiers.cpeParts = lib.meta.cpeFullVersionWithVendor "p11-kit_project" version;
};
})
}

View File

@@ -77,8 +77,6 @@ stdenv.mkDerivation (finalAttrs: {
postInstall = ''rm -f "$out"/bin/*-pkg-config''; # clean the duplicate file
__structuredAttrs = true;
meta = {
description = "Tool that allows packages to find out information about other packages";
homepage = "http://pkg-config.freedesktop.org/wiki/";

View File

@@ -14,12 +14,12 @@
}:
buildGo126Module (finalAttrs: {
pname = "qui";
version = "1.25.0";
version = "1.26.0";
src = fetchFromGitHub {
owner = "autobrr";
repo = "qui";
tag = "v${finalAttrs.version}";
hash = "sha256-nTFqN3dccCP/W8GN5pW8fkyxqvftiMudALYrq/43vME=";
hash = "sha256-sBtuOlNx0/qYqXTIdszrdVhhNoH/fWmt2QCRDGExHb0=";
};
qui-web = stdenvNoCC.mkDerivation (finalAttrs': {
@@ -44,7 +44,7 @@ buildGo126Module (finalAttrs: {
;
pnpm = pnpm_11;
fetcherVersion = 4;
hash = "sha256-HpH65G6tzADVLXSa/BNbJCMTEbzJTeormf+r1fsjd/g=";
hash = "sha256-bizOVrot/FrZ+NDefXJkll9YxjxbRut5tdPqGd3u5kE=";
};
postBuild = ''
@@ -56,7 +56,7 @@ buildGo126Module (finalAttrs: {
'';
});
vendorHash = "sha256-baNthuhGi0VvNQ+sXIO/FHDX+h+Ca/96PZbX0dYwWQU=";
vendorHash = "sha256-Zam5xkJUsGbzvX5q9NKNiN0n7UxhCUk9e43GMzE4M18=";
preBuild = ''
cp -r ${finalAttrs.qui-web}/* web/dist
@@ -75,6 +75,11 @@ buildGo126Module (finalAttrs: {
export TMPDIR=/tmp
'';
checkFlags = [
# broken in sandbox for some reason
"-skip=TestRollback"
];
nativeInstallCheckInputs = [
versionCheckHook
];

View File

@@ -28,8 +28,6 @@ stdenv.mkDerivation (finalAttrs: {
python3
];
strictDeps = true;
doCheck = true;
enableParallelBuilding = true;
@@ -50,8 +48,6 @@ stdenv.mkDerivation (finalAttrs: {
};
};
__structuredAttrs = true;
meta = {
description = "Tool for writing very fast and very flexible scanners";
homepage = "https://re2c.org";

View File

@@ -8,17 +8,22 @@
canfigger,
ncurses,
gettext,
glib,
linuxHeaders,
}:
let
version = "0.10.0";
in
stdenv.mkDerivation (finalAttrs: {
inherit version;
pname = "rmw";
version = "0.9.5";
src = fetchFromGitHub {
owner = "theimpossibleastronaut";
repo = "rmw";
tag = "v${finalAttrs.version}";
hash = "sha256-JWNLSilZjmcAKfNe4ydVjYkcxKxf6Wby0GTV7lvFnW4=";
tag = "v${version}";
hash = "sha256-NT6P0/pPYyAlno+w0DZoZUepm8cbwlc3+Ety15CKV+g=";
fetchSubmodules = true;
};
@@ -26,20 +31,24 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
meson
ninja
];
]
++ lib.optional stdenv.hostPlatform.isLinux linuxHeaders;
buildInputs = [
canfigger
ncurses
glib
]
++ lib.optional stdenv.hostPlatform.isDarwin gettext;
meta = {
description = "Trashcan/ recycle bin utility for the command line";
description = "trashcan/recycle bin utility for the command line";
homepage = "https://github.com/theimpossibleastronaut/rmw";
changelog = "https://github.com/theimpossibleastronaut/rmw/blob/${finalAttrs.src.rev}/ChangeLog";
changelog = "https://github.com/theimpossibleastronaut/rmw/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = [ ];
maintainers = with lib.maintainers; [
_0k4r1m
];
mainProgram = "rmw";
};
})

View File

@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "s2n-tls";
version = "1.7.8";
version = "1.7.6";
src = fetchFromGitHub {
owner = "aws";
repo = "s2n-tls";
tag = "v${finalAttrs.version}";
hash = "sha256-Ib0f8dQiajTghfmPmeQe2Mkymc+AMDcZBWLgxgxnxv4=";
hash = "sha256-ujKVtVioQP7RNyQ3hGVCNGanOpYlzTecerTdrsVtlUo=";
};
nativeBuildInputs = [ cmake ];

View File

@@ -11,13 +11,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "simdutf";
version = "9.1.0";
version = "9.0.0";
src = fetchFromGitHub {
owner = "simdutf";
repo = "simdutf";
rev = "v${finalAttrs.version}";
hash = "sha256-PKL495sfkRKjHfN4RroW1dwudJV2JWN7ogB8hyDxj5Y=";
hash = "sha256-psMMF26+nTwdbtPfFFE3fXkatrh9Bp9qMsrdI/FmrDg=";
};
cmakeFlags = [

View File

@@ -9,16 +9,16 @@
buildGoModule (finalAttrs: {
pname = "talhelper";
version = "3.1.16";
version = "3.1.17";
src = fetchFromGitHub {
owner = "budimanjojo";
repo = "talhelper";
tag = "v${finalAttrs.version}";
hash = "sha256-E2cJFl0jZuR6dtxMWUxwpmtxN/3Qyzh9nEgLCLXxfJk=";
hash = "sha256-y3rYIzGBYq02bS/C43PSDKOrOLFbcrEe079fQpEAR0Q=";
};
vendorHash = "sha256-bBjeLyqX3t2msjiAXWnkII8yyg2x8oQ5zdWNlpV4NXc=";
vendorHash = "sha256-mczxEYnlhY0MVtuust/ymRzTpLeJHH68CpQDVvgpYPU=";
ldflags = [
"-s"

View File

@@ -7,7 +7,6 @@
expat,
flex,
libevent,
bashNonInteractive,
libsodium,
protobufc,
hiredis,
@@ -94,15 +93,12 @@ stdenv.mkDerivation (finalAttrs: {
nettle
expat
libevent
bashNonInteractive
]
++ lib.optionals withSystemd [ systemd ]
++ lib.optionals withDoH [ libnghttp2 ]
++ lib.optionals withDoQ [ ngtcp2 ]
++ lib.optionals withPythonModule [ python ];
strictDeps = true;
enableParallelBuilding = true;
configureFlags = [
@@ -236,8 +232,6 @@ stdenv.mkDerivation (finalAttrs: {
};
};
__structuredAttrs = true;
meta = {
description = "Validating, recursive, and caching DNS resolver";
license = lib.licenses.bsd3;

View File

@@ -3,18 +3,17 @@
stdenv,
fetchurl,
bzip2,
bashNonInteractive,
enableNLS ? false,
libnatspec,
}:
stdenv.mkDerivation (finalAttrs: {
stdenv.mkDerivation rec {
pname = "unzip";
version = "6.0";
src = fetchurl {
url = "mirror://sourceforge/infozip/unzip${lib.replaceString "." "" finalAttrs.version}.tar.gz";
hash = "sha256-A22WmRZG0ESe0KqVLk++IbR2zplKvCduSdMOaGcIvTc=";
url = "mirror://sourceforge/infozip/unzip${lib.replaceStrings [ "." ] [ "" ] version}.tar.gz";
sha256 = "0dxx11knh3nk95p2gg2ak777dd11pr7jx5das2g49l262scrcv83";
};
hardeningDisable = [
@@ -72,13 +71,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
nativeBuildInputs = [ bzip2 ];
buildInputs = [
bashNonInteractive # for zipgrep shebang
bzip2
]
++ lib.optional enableNLS libnatspec;
strictDeps = true;
buildInputs = [ bzip2 ] ++ lib.optional enableNLS libnatspec;
makefile = "unix/Makefile";
@@ -112,8 +105,6 @@ stdenv.mkDerivation (finalAttrs: {
setupHook = ./setup-hook.sh;
__structuredAttrs = true;
meta = {
homepage = "http://www.info-zip.org";
description = "Extraction utility for archives compressed in .zip format";
@@ -122,4 +113,4 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [ RossComputerGuy ];
mainProgram = "unzip";
};
})
}

View File

@@ -7,13 +7,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "utf8cpp";
version = "4.2.0";
version = "4.1.1";
src = fetchFromGitHub {
owner = "nemtrif";
repo = "utfcpp";
tag = "v${finalAttrs.version}";
hash = "sha256-vc7nKVVZ/h6q+dQUNiuXnkcqX7L2CkG6WUiybLNXAjU=";
hash = "sha256-0NbbQMsucrbOGEWAVZGSFp7f4dp31XrurPVVjcYsH+I=";
};
nativeBuildInputs = [ cmake ];

View File

@@ -11,14 +11,14 @@
python3Packages.buildPythonApplication (finalAttrs: {
pname = "wapiti";
version = "3.3.1";
version = "3.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "wapiti-scanner";
repo = "wapiti";
tag = finalAttrs.version;
hash = "sha256-X5foczL2YX4WTYQfTbIN8dnLRoYgwIGv0JIbDY7XpPg=";
hash = "sha256-gnZdNm6XZ2QiSppFAyCqbnpMiy06+qofVnWyUIEwDMI=";
};
pythonRelaxDeps = true;

View File

@@ -32,12 +32,12 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "weasis";
version = "4.7.2";
version = "4.7.3";
# Their build instructions indicate to use the packaging script
src = fetchzip {
url = "https://github.com/nroduit/Weasis/releases/download/v${finalAttrs.version}/weasis-native.zip";
hash = "sha256-PxU6la1zjLvk6ghLGru4hRYD/D+XsfiTjj00i5Gjzb4=";
hash = "sha256-VssbmzOEZVHfzkUS9zyKIgT8kn9JqEoelI8ns15GQD4=";
stripRoot = false;
};

View File

@@ -8,16 +8,16 @@
buildGoModule (finalAttrs: {
pname = "wpprobe";
version = "0.12.7";
version = "0.12.11";
src = fetchFromGitHub {
owner = "Chocapikk";
repo = "wpprobe";
tag = "v${finalAttrs.version}";
hash = "sha256-OPVu1Kxq/szv01VUKnkWfsxwy3Brz73pz4otkOTjwgk=";
hash = "sha256-DEDbLnQRAYex6OAHoXRHxE6SQ5C/uTznk7klTosiauk=";
};
vendorHash = "sha256-pAKFrdja+rH0kiJH6hToZwLjE8lLBHFAUCjnCLbgxVo=";
vendorHash = "sha256-0l7n6u2iODxoVR1fIMyUBaQj7cYk0Q5VnXUePaqOHXc=";
nativeCheckInputs = [
versionCheckHook

View File

@@ -20,13 +20,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wrangler";
version = "4.94.0";
version = "4.125.0";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "workers-sdk";
rev = "wrangler@${finalAttrs.version}";
hash = "sha256-GW/esuGs7EdIDAUfx4ieTyZ8I84MnnZFW04LucGmbDI=";
hash = "sha256-4waGrQngRu4YTufvGJDoxP5pqXFwtJJ2IRSru3+R82w=";
};
pnpmDeps = fetchPnpmDeps {
@@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
;
pnpm = pnpm_10;
fetcherVersion = 3;
hash = "sha256-FLbECanDqNZ05K2JHXv8lIgNM6oUtYxWrUw54IeEf5A=";
hash = "sha256-3Ma7zMlFtOKYgEKCS0eZM9+lKiVH7tnTsbjzQIJN7OI=";
};
# pnpm packageManager version in workers-sdk root package.json may not match nixpkgs
postPatch = ''
@@ -72,27 +72,12 @@ stdenv.mkDerivation (finalAttrs: {
autoPatchelfHook
];
# @cloudflare/vitest-pool-workers wanted to run a server as part of the build process
# so I simply removed it
postBuild =
let
extraDeps = [
"unenv-preset"
"workers-utils"
"local-explorer-ui"
"codemod"
"cli-shared-helpers"
"miniflare"
"wrangler"
];
in
''
mv packages/vitest-pool-workers packages/~vitest-pool-workers
# Avoid V8 heap exhaustion on aarch64-darwin.
env.NODE_OPTIONS = "--max-old-space-size=4096";
for pkg in ${toString extraDeps}; do
NODE_ENV="production" pnpm --filter "$pkg" run build
done
'';
postBuild = ''
NODE_ENV="production" pnpm --filter wrangler... run build
'';
installPhase = ''
runHook preInstall

View File

@@ -7,14 +7,14 @@
python3Packages.buildPythonApplication (finalAttrs: {
pname = "wyoming-piper";
version = "2.3.1";
version = "2.4.2";
pyproject = true;
src = fetchFromGitHub {
owner = "OHF-Voice";
repo = "wyoming-piper";
tag = "v${finalAttrs.version}";
hash = "sha256-LKt1BNa9jrZIDUZxZvniZcPrAuUkwOs85uIiA5mFWyY=";
hash = "sha256-5jYV2DZcUe6RzigRMId8DybvhRnOhHcwN32aVKgEZDo=";
};
build-system = with python3Packages; [
@@ -37,22 +37,27 @@ python3Packages.buildPythonApplication (finalAttrs: {
]
++ wyoming.optional-dependencies.zeroconf;
optional-dependencies = with python3Packages; {
http = wyoming.optional-dependencies.http;
# We do not follow the dependency dance upstream does as that would require overrideAttrs.
# omnivoice = [ omnivoice ]; # not packaged, yet
web = [ flask ];
zeroconf = wyoming.optional-dependencies.zeroconf;
zh = piper-tts.optional-dependencies.zh;
};
pythonImportsCheck = [
"wyoming_piper"
];
doCheck = false; # only test requires network
nativeCheckInputs = with python3Packages; [
numpy
pytest-asyncio
pytestCheckHook
python-speech-features
];
disabledTests = [
# network access
"test_piper"
disabledTestPaths = [
# requires network access
"tests/test_piper.py"
];
meta = {

View File

@@ -8,14 +8,14 @@
stdenv.mkDerivation {
pname = "x264";
version = "0-unstable-2025-09-10";
version = "0-unstable-2025-01-03";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = "x264";
rev = "0480cb05fa188d37ae87e8f4fd8f1aea3711f7ee";
hash = "sha256-yV/uN0Bgx+GbwGBnr/P0w9bnu9UXaa3YRPa7TICq24w=";
rev = "373697b467f7cd0af88f1e9e32d4f10540df4687";
hash = "sha256-WWtS/UfKA4i1yakHErUnyT/3/+Wy2H5F0U0CmxW4ick=";
};
patches = [

View File

@@ -176,6 +176,9 @@ stdenv.mkDerivation (finalAttrs: {
--subst-var-by XQUARTZ_APP "$out/Applications/XQuartz.app"
'';
# avoid linux rebuilds
${if stdenv.hostPlatform.isDarwin then "hardeningDisable" else null} = [ "strictflexarrays1" ];
# default X install symlinks this to Xorg, we want XQuartz
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
ln -sf $out/bin/Xquartz $out/bin/X

View File

@@ -8,7 +8,7 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "xssearch";
version = "0.1.9";
version = "0.2.0";
__structuredAttrs = true;
@@ -16,10 +16,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
owner = "affolter-engineering";
repo = "xssearch";
tag = finalAttrs.version;
hash = "sha256-09knkYBnIjZsdAlczYIeqtn0XGAvCD+RF3o9sGSUorw=";
hash = "sha256-b0pS8iu6iIO1VwmHWp7yhZiP7ngbdrUz5PCz5NjHZTo=";
};
cargoHash = "sha256-t+IcNrjHlVVKrYuLiRrlteT4jQLRiWUsj9RTTTflTiA=";
cargoHash = "sha256-uS4PJhBRUuvbRFafO7HSG7+b5cb8k0YDRWgy4Iz8JMU=";
nativeInstallCheckInputs = [ versionCheckHook ];

View File

@@ -2,7 +2,6 @@
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
writeScript,
testers,
@@ -16,14 +15,6 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-+q/qFmvyRRoXPZ1ZM1KUDsZAQUXF0dpcITQjzk01npI=";
};
patches = [
# fix darwin crashes with fortify when using launchctl socket activation
(fetchpatch {
url = "https://gitlab.freedesktop.org/xorg/lib/libxtrans/-/commit/79f6b0bfe2170496e8c37626043d009f4cd3f1e1.patch";
hash = "sha256-Y8QY1yAiOI/rSNi71/Qhsn6UEql556/pS2av7+vmGQA=";
})
];
strictDeps = true;
nativeBuildInputs = [ pkg-config ];

View File

@@ -20,24 +20,17 @@ stdenv.mkDerivation {
nativeBuildInputs = [ unzip ];
propagatedNativeBuildInputs = [ findXMLCatalogs ];
strictDeps = true;
unpackPhase = ''
runHook preUnpack
mkdir -p $out/xml/dtd/docbook
cd $out/xml/dtd/docbook
unpackFile $src
runHook postUnpack
'';
installPhase = ''
runHook preInstall
find . -type f -exec chmod -x {} \;
runHook postInstall
'';
__structuredAttrs = true;
meta = {
branch = version;
platforms = lib.platforms.unix;

View File

@@ -21,12 +21,12 @@ let
}:
let
legacySuffix = lib.optionalString (suffix != "-nons") "-ns";
self = stdenv.mkDerivation (finalAttrs: {
self = stdenv.mkDerivation rec {
inherit pname;
version = "1.79.2";
src = fetchurl {
url = "https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F${finalAttrs.version}/docbook-xsl${suffix}-${finalAttrs.version}.tar.bz2";
url = "https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F${version}/docbook-xsl${suffix}-${version}.tar.bz2";
inherit sha256;
};
@@ -50,8 +50,7 @@ let
# Add legacy sourceforge.net URIs to the catalog
(replaceVars ./catalog-legacy-uris.patch {
inherit legacySuffix suffix;
inherit (finalAttrs) version;
inherit legacySuffix suffix version;
})
]
++ lib.optionals withManOptDedupPatch [
@@ -62,12 +61,10 @@ let
propagatedBuildInputs = [ findXMLCatalogs ];
strictDeps = true;
dontBuild = true;
installPhase = ''
dst=$out/share/xml/${finalAttrs.pname}
dst=$out/share/xml/${pname}
mkdir -p $dst
rm -rf RELEASE* README* INSTALL TODO NEWS* BUGS install.sh tools Makefile tests extensions webhelp
mv * $dst/
@@ -82,11 +79,9 @@ let
passthru.dbtoepub = writeScriptBin "dbtoepub" ''
#!${bash}/bin/bash
exec -a dbtoepub ${ruby}/bin/ruby ${self}/share/xml/${finalAttrs.pname}/epub/bin/dbtoepub "$@"
exec -a dbtoepub ${ruby}/bin/ruby ${self}/share/xml/${pname}/epub/bin/dbtoepub "$@"
'';
__structuredAttrs = true;
meta = {
homepage = "https://github.com/docbook/wiki/wiki/DocBookXslStylesheets";
description = "XSL stylesheets for transforming DocBook documents into HTML and various other formats";
@@ -94,7 +89,7 @@ let
maintainers = [ ];
platforms = lib.platforms.all;
};
});
};
in
self;

View File

@@ -320,8 +320,6 @@ pipe
depsTargetTarget
;
strictDeps = true;
preConfigure = (callFile ./common/pre-configure.nix { }) + ''
ln -sf ${libxcrypt}/include/crypt.h libsanitizer/sanitizer_common/crypt.h
'';

View File

@@ -1,34 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Randy Eckenrode <randy@largeandhighquality.com>
Date: Tue, 11 Aug 2026 20:12:42 -0400
Subject: [PATCH] backport-darwin-triple-parsing
---
lib/TargetParser/Triple.cpp | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/TargetParser/Triple.cpp b/lib/TargetParser/Triple.cpp
index 0bbe8a3cedfd..4143c3eac05d 100644
--- a/lib/TargetParser/Triple.cpp
+++ b/lib/TargetParser/Triple.cpp
@@ -1253,9 +1253,15 @@ bool Triple::getMacOSXVersion(VersionTuple &Version) const {
}
if (Version.getMajor() <= 19) {
Version = VersionTuple(10, Version.getMajor() - 4);
- } else {
- // darwin20+ corresponds to macOS 11+.
+ } else if (Version.getMajor() < 25) {
+ // darwin20-24 corresponds to macOS 11-15.
Version = VersionTuple(11 + Version.getMajor() - 20);
+ } else if ((Version.getMajor() == 25) || (Version.getMajor() == 26)) {
+ // darwin25-26 corresponds to macOS 26-27.
+ Version = VersionTuple(Version.getMajor() + 1);
+ } else {
+ // Starting with darwin27, it naturally corresponds to the same macOS
+ // version.
}
break;
case MacOSX:
--
2.54.0

View File

@@ -1,31 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Randy Eckenrode <randy@largeandhighquality.com>
Date: Tue, 11 Aug 2026 20:19:29 -0400
Subject: [PATCH] backport-darwin-triple-parsing
---
lib/TargetParser/Triple.cpp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/TargetParser/Triple.cpp b/lib/TargetParser/Triple.cpp
index 0584c941d2e6..30cf78dbaabc 100644
--- a/lib/TargetParser/Triple.cpp
+++ b/lib/TargetParser/Triple.cpp
@@ -1449,9 +1449,12 @@ bool Triple::getMacOSXVersion(VersionTuple &Version) const {
} else if (Version.getMajor() < 25) {
// darwin20-24 corresponds to macOS 11-15.
Version = VersionTuple(11 + Version.getMajor() - 20);
- } else {
- // darwin25 corresponds with macOS26+.
+ } else if ((Version.getMajor() == 25) || (Version.getMajor() == 26)) {
+ // darwin25-26 corresponds to macOS 26-27.
Version = VersionTuple(Version.getMajor() + 1);
+ } else {
+ // Starting with darwin27, it naturally corresponds to the same macOS
+ // version.
}
break;
case MacOSX:
--
2.54.0

View File

@@ -58,8 +58,6 @@ stdenv.mkDerivation (finalAttrs: {
libxml2
];
strictDeps = true;
cmakeFlags = [
(lib.cmakeFeature "LLVM_TABLEGEN_EXE" "${buildLlvmPackages.tblgen}/bin/llvm-tblgen")
]
@@ -87,8 +85,6 @@ stdenv.mkDerivation (finalAttrs: {
"dev"
];
__structuredAttrs = true;
meta = llvm_meta // {
homepage = "https://github.com/llvm/llvm-project/tree/main/bolt";
description = "LLVM post-link optimizer";

View File

@@ -16,9 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
pname = "clang-tools";
version = lib.getVersion clang-unwrapped;
dontUnpack = true;
strictDeps = true;
__structuredAttrs = true;
clang = if enableLibcxx then libcxxClang else clang;
installPhase = ''
runHook preInstall
@@ -40,9 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
fi
cp $toolPath $out/bin/$toolName-unwrapped
substitute ${./wrapper} $out/bin/$toolName \
--replace-fail "@clang@" "${if enableLibcxx then libcxxClang else clang}" \
--replace-fail "@out@" "$out"
substituteAll ${./wrapper} $out/bin/$toolName
chmod +x $out/bin/$toolName
done

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