Merge master into staging-next

Changed files
+838 -209
doc
release-notes
lib
maintainers
nixos
modules
services
networking
strongswan-swanctl
tests
pkgs
applications
editors
vim
vscode
extensions
budparr.language-hugo-vscode
version-management
gitlab
build-support
trivial-builders
by-name
br
ca
cargo-lambda
cl
claude-code
es
fa
faudio
fw
fwupd
gi
gitaly
gitlab-container-registry
gitlab-pages
gr
hf
ju
jujutsu
ku
kubectl-kcl
od
op
openrsync
pd
pdftricks
pr
prisma
prisma-engines
qo
qownnotes
re
redpanda-client
su
sudo-rs
ta
tailwindcss_4
te
texturepacker
vi
we
weblate
wi
windsurf
xp
yy
yyjson
desktops
deepin
apps
deepin-system-monitor
development
libraries
botan
python-modules
dbt-common
depyf
django-otp-webauthn
google-genai
pyopengl
ray
spacy
thinc
vllm
stdenv
generic
+1 -1
doc/release-notes/rl-2505.section.md
···
add `vimPlugins.notmuch-vim` to your (Neo)vim configuration if you want the
vim plugin.
-
- `prisma` and `prisma-engines` have been updated to version 6.6.0, which
introduces several breaking changes. See the
[Prisma ORM upgrade guide](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6)
for more information.
···
add `vimPlugins.notmuch-vim` to your (Neo)vim configuration if you want the
vim plugin.
+
- `prisma` and `prisma-engines` have been updated to version 6.7.0, which
introduces several breaking changes. See the
[Prisma ORM upgrade guide](https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6)
for more information.
+2 -2
lib/attrsets.nix
···
:::
*/
-
mapAttrs' = f: set: listToAttrs (map (attr: f attr set.${attr}) (attrNames set));
/**
Call a function for each attribute in the given set and return
···
:::
*/
-
mapAttrsToList = f: attrs: map (name: f name attrs.${name}) (attrNames attrs);
/**
Deconstruct an attrset to a list of name-value pairs as expected by [`builtins.listToAttrs`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-listToAttrs).
···
:::
*/
+
mapAttrs' = f: set: listToAttrs (mapAttrsToList f set);
/**
Call a function for each attribute in the given set and return
···
:::
*/
+
mapAttrsToList = f: attrs: attrValues (mapAttrs f attrs);
/**
Deconstruct an attrset to a list of name-value pairs as expected by [`builtins.listToAttrs`](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-listToAttrs).
+18
maintainers/maintainer-list.nix
···
githubId = 628387;
name = "Arian van Putten";
};
arikgrahl = {
email = "mail@arik-grahl.de";
github = "arikgrahl";
···
github = "baduhai";
githubId = 31864305;
name = "William Hai";
};
baitinq = {
email = "manuelpalenzuelamerino@gmail.com";
···
github = "offsetcyan";
githubId = 49906709;
name = "Dakota";
};
oida = {
email = "oida@posteo.de";
···
githubId = 628387;
name = "Arian van Putten";
};
+
arichtman = {
+
email = "ariel@richtman.au";
+
github = "arichtman";
+
githubId = 10679234;
+
name = "Ariel Richtman";
+
};
arikgrahl = {
email = "mail@arik-grahl.de";
github = "arikgrahl";
···
github = "baduhai";
githubId = 31864305;
name = "William Hai";
+
};
+
baileylu = {
+
name = "Luke Bailey";
+
email = "baileylu@tcd.ie";
+
github = "baileyluTCD";
+
githubId = 156000062;
};
baitinq = {
email = "manuelpalenzuelamerino@gmail.com";
···
github = "offsetcyan";
githubId = 49906709;
name = "Dakota";
+
};
+
ohheyrj = {
+
email = "richard+nix@ohheyrj.co.uk";
+
github = "ohheyrj";
+
name = "ohheyrj";
+
githubId = 5339261;
};
oida = {
email = "oida@posteo.de";
+1 -1
nixos/modules/services/networking/strongswan-swanctl/param-lib.nix
···
in
recurse [ ] set;
-
mapAttrs'' = f: set: foldl' (a: b: a // b) { } (map (attr: f attr set.${attr}) (attrNames set));
# Extract the options from the given set of parameters.
paramsToOptions = ps: mapParamsRecursive (_path: name: param: { ${name} = param.option; }) ps;
···
in
recurse [ ] set;
+
mapAttrs'' = f: set: foldl' (a: b: a // b) { } (mapAttrsToList f set);
# Extract the options from the given set of parameters.
paramsToOptions = ps: mapParamsRecursive (_path: name: param: { ${name} = param.option; }) ps;
+3
nixos/tests/boot.nix
···
iso =
(import ../lib/eval-config.nix {
modules = [
../modules/installer/cd-dvd/installation-cd-minimal.nix
../modules/testing/test-instrumentation.nix
···
sd =
(import ../lib/eval-config.nix {
modules = [
../modules/installer/sd-card/sd-image-x86_64.nix
../modules/testing/test-instrumentation.nix
···
let
config =
(import ../lib/eval-config.nix {
modules = [
../modules/installer/netboot/netboot.nix
../modules/testing/test-instrumentation.nix
···
iso =
(import ../lib/eval-config.nix {
+
system = null;
modules = [
../modules/installer/cd-dvd/installation-cd-minimal.nix
../modules/testing/test-instrumentation.nix
···
sd =
(import ../lib/eval-config.nix {
+
system = null;
modules = [
../modules/installer/sd-card/sd-image-x86_64.nix
../modules/testing/test-instrumentation.nix
···
let
config =
(import ../lib/eval-config.nix {
+
system = null;
modules = [
../modules/installer/netboot/netboot.nix
../modules/testing/test-instrumentation.nix
+1
nixos/tests/ec2.nix
···
let
imageCfg =
(import ../lib/eval-config.nix {
modules = [
../maintainers/scripts/ec2/amazon-image.nix
../modules/testing/test-instrumentation.nix
···
let
imageCfg =
(import ../lib/eval-config.nix {
+
system = null;
modules = [
../maintainers/scripts/ec2/amazon-image.nix
../modules/testing/test-instrumentation.nix
+1
nixos/tests/image-contents.nix
···
let
config =
(import ../lib/eval-config.nix {
modules = [
../modules/testing/test-instrumentation.nix
../modules/profiles/qemu-guest.nix
···
let
config =
(import ../lib/eval-config.nix {
+
system = null;
modules = [
../modules/testing/test-instrumentation.nix
../modules/profiles/qemu-guest.nix
+1
nixos/tests/openstack-image.nix
···
let
image =
(import ../lib/eval-config.nix {
modules = [
../maintainers/scripts/openstack/openstack-image.nix
../modules/testing/test-instrumentation.nix
···
let
image =
(import ../lib/eval-config.nix {
+
system = null;
modules = [
../maintainers/scripts/openstack/openstack-image.nix
../modules/testing/test-instrumentation.nix
+1
nixos/tests/systemd-machinectl.nix
···
containerSystem =
(import ../lib/eval-config.nix {
modules = [ container ];
}).config.system.build.toplevel;
···
containerSystem =
(import ../lib/eval-config.nix {
+
system = null;
modules = [ container ];
}).config.system.build.toplevel;
+13
pkgs/applications/editors/vim/plugins/generated.nix
···
meta.hydraPlatforms = [ ];
};
nvim-whichkey-setup-lua = buildVimPlugin {
pname = "nvim-whichkey-setup.lua";
version = "2021-04-16";
···
meta.hydraPlatforms = [ ];
};
+
nvim-vtsls = buildVimPlugin {
+
pname = "nvim-vtsls";
+
version = "2025-04-27";
+
src = fetchFromGitHub {
+
owner = "yioneko";
+
repo = "nvim-vtsls";
+
rev = "60b493e641d3674c030c660cabe7a2a3f7a914be";
+
sha256 = "00qj7b70afpgxmb6ml4knjwdwcn29yk8mvsb575b6ww9zsxh34il";
+
};
+
meta.homepage = "https://github.com/yioneko/nvim-vtsls/";
+
meta.hydraPlatforms = [ ];
+
};
+
nvim-whichkey-setup-lua = buildVimPlugin {
pname = "nvim-whichkey-setup.lua";
version = "2021-04-16";
+7
pkgs/applications/editors/vim/plugins/overrides.nix
···
websocat,
# luau-lsp-nvim dependencies
luau-lsp,
}:
self: super:
let
···
nvim-unception = super.nvim-unception.overrideAttrs {
# Attempt rpc socket connection
nvimSkipModules = "client.client";
};
nvzone-menu = super.nvzone-menu.overrideAttrs {
···
websocat,
# luau-lsp-nvim dependencies
luau-lsp,
+
# nvim-vstsl dependencies
+
vtsls,
}:
self: super:
let
···
nvim-unception = super.nvim-unception.overrideAttrs {
# Attempt rpc socket connection
nvimSkipModules = "client.client";
+
};
+
+
nvim-vtsls = super.nvim-vtsls.overrideAttrs {
+
runtimeDeps = [ vtsls ];
+
dependencies = [ self.nvim-lspconfig ];
};
nvzone-menu = super.nvzone-menu.overrideAttrs {
+1
pkgs/applications/editors/vim/plugins/vim-plugin-names
···
https://github.com/kevinhwang91/nvim-ufo/,HEAD,
https://github.com/samjwill/nvim-unception/,HEAD,
https://github.com/chrisgrieser/nvim-various-textobjs/,HEAD,
https://github.com/AckslD/nvim-whichkey-setup.lua/,,
https://github.com/s1n7ax/nvim-window-picker/,HEAD,
https://github.com/roxma/nvim-yarp/,,
···
https://github.com/kevinhwang91/nvim-ufo/,HEAD,
https://github.com/samjwill/nvim-unception/,HEAD,
https://github.com/chrisgrieser/nvim-various-textobjs/,HEAD,
+
https://github.com/yioneko/nvim-vtsls/,HEAD,
https://github.com/AckslD/nvim-whichkey-setup.lua/,,
https://github.com/s1n7ax/nvim-window-picker/,HEAD,
https://github.com/roxma/nvim-yarp/,,
+20
pkgs/applications/editors/vscode/extensions/budparr.language-hugo-vscode/default.nix
···
···
+
{
+
lib,
+
vscode-utils,
+
}:
+
+
vscode-utils.buildVscodeMarketplaceExtension {
+
mktplcRef = {
+
name = "language-hugo-vscode";
+
publisher = "budparr";
+
version = "1.3.1";
+
hash = "sha256-9dp8/gLAb8OJnmsLVbOAKAYZ5whavPW2Ak+WhLqEbJk=";
+
};
+
+
meta = {
+
description = "Adds syntax highlighting and snippets to Hugo files in VS Code";
+
downloadPage = "https://marketplace.visualstudio.com/items?itemName=budparr.language-hugo-vscode";
+
license = lib.licenses.asl20;
+
maintainers = [ lib.maintainers.ohheyrj ];
+
};
+
}
+2
pkgs/applications/editors/vscode/extensions/default.nix
···
};
};
bungcip.better-toml = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "better-toml";
···
};
};
+
budparr.language-hugo-vscode = callPackage ./budparr.language-hugo-vscode { };
+
bungcip.better-toml = buildVscodeMarketplaceExtension {
mktplcRef = {
name = "better-toml";
+6 -6
pkgs/applications/version-management/gitlab/data.json
···
{
-
"version": "17.11.1",
-
"repo_hash": "1sw1qw1fsxvdyzc48f03p89njklm3zn7fd090jjryr881fpcvgcd",
"yarn_hash": "0z06jaxqbg2wnq7yhpkba0cpxp4w4iy2cxla8nhc6kgx49xk179v",
"owner": "gitlab-org",
"repo": "gitlab",
-
"rev": "v17.11.1-ee",
"passthru": {
-
"GITALY_SERVER_VERSION": "17.11.1",
-
"GITLAB_PAGES_VERSION": "17.11.1",
"GITLAB_SHELL_VERSION": "14.41.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.5.0",
-
"GITLAB_WORKHORSE_VERSION": "17.11.1"
}
}
···
{
+
"version": "17.11.2",
+
"repo_hash": "1jaxqchqag6q0c4vmrpwnmflv72b2xpskba9b0m4y6w6sy7hqx7q",
"yarn_hash": "0z06jaxqbg2wnq7yhpkba0cpxp4w4iy2cxla8nhc6kgx49xk179v",
"owner": "gitlab-org",
"repo": "gitlab",
+
"rev": "v17.11.2-ee",
"passthru": {
+
"GITALY_SERVER_VERSION": "17.11.2",
+
"GITLAB_PAGES_VERSION": "17.11.2",
"GITLAB_SHELL_VERSION": "14.41.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.5.0",
+
"GITLAB_WORKHORSE_VERSION": "17.11.2"
}
}
+1 -1
pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
···
buildGoModule rec {
pname = "gitlab-workhorse";
-
version = "17.11.1";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
···
buildGoModule rec {
pname = "gitlab-workhorse";
+
version = "17.11.2";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
+2 -2
pkgs/applications/version-management/gitlab/rubyEnv/Gemfile
···
gem 'rack-cors', '~> 2.0.1', require: 'rack/cors', feature_category: :shared
# GraphQL API
-
gem 'graphql', '2.4.11', path: 'vendor/gems/graphql', feature_category: :api
gem 'graphql-docs', '~> 5.0.0', group: [:development, :test], feature_category: :api
gem 'apollo_upload_server', '~> 2.1.6', feature_category: :api
···
gem 'arr-pm', '~> 0.0.12', feature_category: :package_registry
# Remote Development
-
gem 'devfile', '~> 0.4.0', feature_category: :workspaces
# Apple plist parsing
gem 'CFPropertyList', '~> 3.0.0', feature_category: :mobile_devops
···
gem 'rack-cors', '~> 2.0.1', require: 'rack/cors', feature_category: :shared
# GraphQL API
+
gem 'graphql', '2.4.13', feature_category: :api
gem 'graphql-docs', '~> 5.0.0', group: [:development, :test], feature_category: :api
gem 'apollo_upload_server', '~> 2.1.6', feature_category: :api
···
gem 'arr-pm', '~> 0.0.12', feature_category: :package_registry
# Remote Development
+
gem 'devfile', '~> 0.4.3', feature_category: :workspaces
# Apple plist parsing
gem 'CFPropertyList', '~> 3.0.0', feature_category: :mobile_devops
+7 -11
pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
···
grpc
PATH
-
remote: vendor/gems/graphql
-
specs:
-
graphql (2.4.11)
-
base64
-
fiber-storage
-
logger
-
-
PATH
remote: vendor/gems/mail-smtp_pool
specs:
mail-smtp_pool (0.1.0)
···
thor (>= 0.19, < 2)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
-
devfile (0.4.0)
device_detector (1.0.0)
devise (4.9.4)
bcrypt (~> 3.0)
···
grape
rack
graphlyte (1.0.0)
graphql-docs (5.0.0)
commonmarker (~> 0.23, >= 0.23.6)
escape_utils (~> 1.2)
···
declarative_policy (~> 1.1.0)
deprecation_toolkit (~> 1.5.1)
derailed_benchmarks
-
devfile (~> 0.4.0)
device_detector
devise (~> 4.9.3)
devise-pbkdf2-encryptable (~> 0.0.0)!
···
grape-swagger-entity (~> 0.5.5)
grape_logging (~> 1.8, >= 1.8.4)
graphlyte (~> 1.0.0)
-
graphql (= 2.4.11)!
graphql-docs (~> 5.0.0)
grpc (= 1.63.0)
gssapi (~> 1.3.1)
···
grpc
PATH
remote: vendor/gems/mail-smtp_pool
specs:
mail-smtp_pool (0.1.0)
···
thor (>= 0.19, < 2)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
+
devfile (0.4.3)
device_detector (1.0.0)
devise (4.9.4)
bcrypt (~> 3.0)
···
grape
rack
graphlyte (1.0.0)
+
graphql (2.4.13)
+
base64
+
fiber-storage
+
logger
graphql-docs (5.0.0)
commonmarker (~> 0.23, >= 0.23.6)
escape_utils (~> 1.2)
···
declarative_policy (~> 1.1.0)
deprecation_toolkit (~> 1.5.1)
derailed_benchmarks
+
devfile (~> 0.4.3)
device_detector
devise (~> 4.9.3)
devise-pbkdf2-encryptable (~> 0.0.0)!
···
grape-swagger-entity (~> 0.5.5)
grape_logging (~> 1.8, >= 1.8.4)
graphlyte (~> 1.0.0)
+
graphql (= 2.4.13)
graphql-docs (~> 5.0.0)
grpc (= 1.63.0)
gssapi (~> 1.3.1)
+6 -5
pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
···
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
-
sha256 = "1yca2rd1xb9h3his5kpnawjgki2rpgslchrn44imhig9v8l7fnw8";
type = "gem";
};
-
version = "0.4.0";
};
device_detector = {
groups = [ "default" ];
···
];
platforms = [ ];
source = {
-
path = "${src}/vendor/gems/graphql";
-
type = "path";
};
-
version = "2.4.11";
};
graphql-docs = {
dependencies = [
···
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
+
sha256 = "1zblvpxzb8qp17dn7sjnfqs6iw3yyzv2cwvnhzrzgxj8k0d0ddjs";
type = "gem";
};
+
version = "0.4.3";
};
device_detector = {
groups = [ "default" ];
···
];
platforms = [ ];
source = {
+
remotes = [ "https://rubygems.org" ];
+
sha256 = "17dayn5422rnbaqs33dnl8d9jw7acpn6cg88z2awk4scwblvc7gv";
+
type = "gem";
};
+
version = "2.4.13";
};
graphql-docs = {
dependencies = [
+8 -6
pkgs/build-support/trivial-builders/default.nix
···
let
keepAttrs = names: lib.filterAttrs (name: val: lib.elem name names);
# enables tools like nix-update to determine what src attributes to replace
-
extraPassthru = keepAttrs [
-
"rev"
-
"tag"
-
"url"
-
"outputHash"
-
] src;
in
stdenvNoCC.mkDerivation (
{
···
let
keepAttrs = names: lib.filterAttrs (name: val: lib.elem name names);
# enables tools like nix-update to determine what src attributes to replace
+
extraPassthru = lib.optionalAttrs (lib.isAttrs src) (
+
keepAttrs [
+
"rev"
+
"tag"
+
"url"
+
"outputHash"
+
] src
+
);
in
stdenvNoCC.mkDerivation (
{
+38
pkgs/by-name/br/brogue/fix-compilation.diff
···
···
+
diff --git a/src/brogue/Architect.c b/src/brogue/Architect.c
+
index abe5acf..b38291d 100755
+
--- a/src/brogue/Architect.c
+
+++ b/src/brogue/Architect.c
+
@@ -1676,7 +1676,7 @@ void addMachines() {
+
// Add the amulet holder if it's depth 26:
+
if (rogue.depthLevel == AMULET_LEVEL) {
+
for (failsafe = 50; failsafe; failsafe--) {
+
- if (buildAMachine(MT_AMULET_AREA, -1, -1, NULL, NULL, NULL, NULL)) {
+
+ if (buildAMachine(MT_AMULET_AREA, -1, -1, 0L, NULL, NULL, NULL)) {
+
break;
+
}
+
}
+
diff --git a/src/brogue/RogueMain.c b/src/brogue/RogueMain.c
+
index 49b08b9..3666963 100755
+
--- a/src/brogue/RogueMain.c
+
+++ b/src/brogue/RogueMain.c
+
@@ -880,7 +880,7 @@ void startLevel(short oldLevelNumber, short stairDirection) {
+
getQualifyingPathLocNear(&loc[0], &loc[1],
+
player.xLoc, player.yLoc,
+
true,
+
- T_DIVIDES_LEVEL, NULL,
+
+ T_DIVIDES_LEVEL, 0L,
+
T_PATHING_BLOCKER, (HAS_MONSTER | HAS_ITEM | HAS_STAIRS | IS_IN_MACHINE),
+
false);
+
}
+
diff --git a/src/platform/platformdependent.c b/src/platform/platformdependent.c
+
index 635a738..e725513 100644
+
--- a/src/platform/platformdependent.c
+
+++ b/src/platform/platformdependent.c
+
@@ -21,6 +21,7 @@
+
* along with Brogue. If not, see <http://www.gnu.org/licenses/>.
+
*/
+
+
+#include <ctype.h>
+
#include <stdio.h>
+
#include <string.h>
+
#include <time.h>
+6 -2
pkgs/by-name/br/brogue/package.nix
···
version = "1.7.5";
src = fetchurl {
-
url = "https://sites.google.com/site/broguegame/brogue-${finalAttrs.version}-linux-amd64.tbz2";
-
sha256 = "0i042zb3axjf0cpgpdh8hvfn66dbfizidyvw0iymjk2n760z2kx7";
};
patches = [
# Pull upstream fix for -fno-common toolchains:
# https://github.com/tmewett/BrogueCE/pull/63
···
url = "https://github.com/tmewett/BrogueCE/commit/2c7ed0c48d9efd06bf0a2589ba967c0a22a8fa87.patch";
sha256 = "19lr2fa25dh79klm4f4kqyyqq7w5xmw9z0fvylkcckqvcv7dwhp3";
})
];
prePatch = ''
···
version = "1.7.5";
src = fetchurl {
+
url = "https://drive.google.com/uc?export=download&id=1ED_2nPubP-P0e_PHKYVzZF42M1Y9pUb4";
+
hash = "sha256-p0/xgTlWTFl9BHz7Fn90qxlj3YYItvsuA052NdYXBEQ=";
+
name = "brogue.tbz2";
};
+
patches = [
# Pull upstream fix for -fno-common toolchains:
# https://github.com/tmewett/BrogueCE/pull/63
···
url = "https://github.com/tmewett/BrogueCE/commit/2c7ed0c48d9efd06bf0a2589ba967c0a22a8fa87.patch";
sha256 = "19lr2fa25dh79klm4f4kqyyqq7w5xmw9z0fvylkcckqvcv7dwhp3";
})
+
# error: passing argument 4 of 'buildAMachine' makes integer from pointer without a cast []
+
./fix-compilation.diff
];
prePatch = ''
+3 -3
pkgs/by-name/ca/cargo-lambda/package.nix
···
rustPlatform.buildRustPackage rec {
pname = "cargo-lambda";
-
version = "1.8.4";
src = fetchFromGitHub {
owner = "cargo-lambda";
repo = "cargo-lambda";
tag = "v${version}";
-
hash = "sha256-v4QWHbgxzizB1Za2jRi0YxCCqnympHGzOioNFk0DED4=";
};
useFetchCargoVendor = true;
-
cargoHash = "sha256-MTI+ESP0DLGjNoVZjMCpD2IXxkP7IXpB3AlSTpUf3rM=";
nativeCheckInputs = [ cacert ];
···
rustPlatform.buildRustPackage rec {
pname = "cargo-lambda";
+
version = "1.8.5";
src = fetchFromGitHub {
owner = "cargo-lambda";
repo = "cargo-lambda";
tag = "v${version}";
+
hash = "sha256-iYfm7/XbLThtEo+zSW8sn7T6XEhzyiVKy6/cisshc+Y=";
};
useFetchCargoVendor = true;
+
cargoHash = "sha256-mCD3Szbl5BXknTWJhm2xlcIV0aKczsEi8yRDA4erTYc=";
nativeCheckInputs = [ cacert ];
+3
pkgs/by-name/cl/claude-code/package.nix
···
lib,
buildNpmPackage,
fetchzip,
}:
buildNpmPackage rec {
pname = "claude-code";
version = "0.2.101";
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
···
lib,
buildNpmPackage,
fetchzip,
+
nodejs_20,
}:
buildNpmPackage rec {
pname = "claude-code";
version = "0.2.101";
+
+
nodejs = nodejs_20;
src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
+4 -7
pkgs/by-name/es/esdm/package.nix
···
drngChaCha20 ? false, # set the default drng callback
ais2031 ? false, # set the seeding strategy to be compliant with AIS 20/31
sp80090c ? false, # set compliance with NIST SP800-90C
-
cryptoBackend ? "botan", # set backend for hash and drbg operations
linuxDevFiles ? true, # enable linux /dev/random and /dev/urandom support
linuxGetRandom ? true, # enable linux getrandom support
hashSha512 ? false, # set the conditioning hash: SHA2-512
hashSha3_512 ? true, # set the conditioning hash: SHA3-512
-
openSSLRandProvider ? true, # build ESDM provider for OpenSSL 3.x
-
botanRng ? true, # build ESDM class for Botan 3.x
# client-related options (handle with care, consult source code and meson options)
# leave as is if in doubt
···
assert drngHashDrbg != drngChaCha20;
assert hashSha512 != hashSha3_512;
-
assert
-
cryptoBackend == "openssl"
-
|| cryptoBackend == "botan"
-
|| cryptoBackend == "builtin" "Unsupported ESDM crypto backend";
stdenv.mkDerivation rec {
pname = "esdm";
···
drngChaCha20 ? false, # set the default drng callback
ais2031 ? false, # set the seeding strategy to be compliant with AIS 20/31
sp80090c ? false, # set compliance with NIST SP800-90C
+
cryptoBackend ? "builtin", # set backend for hash and drbg operations
linuxDevFiles ? true, # enable linux /dev/random and /dev/urandom support
linuxGetRandom ? true, # enable linux getrandom support
hashSha512 ? false, # set the conditioning hash: SHA2-512
hashSha3_512 ? true, # set the conditioning hash: SHA3-512
+
openSSLRandProvider ? false, # build ESDM provider for OpenSSL 3.x
+
botanRng ? false, # build ESDM class for Botan 3.x
# client-related options (handle with care, consult source code and meson options)
# leave as is if in doubt
···
assert drngHashDrbg != drngChaCha20;
assert hashSha512 != hashSha3_512;
+
assert cryptoBackend == "openssl" || cryptoBackend == "botan" || cryptoBackend == "builtin";
stdenv.mkDerivation rec {
pname = "esdm";
+12 -12
pkgs/by-name/fa/faudio/package.nix
···
stdenv,
fetchFromGitHub,
cmake,
-
SDL2,
}:
#TODO: tests
-
stdenv.mkDerivation rec {
pname = "faudio";
-
version = "25.02";
src = fetchFromGitHub {
owner = "FNA-XNA";
repo = "FAudio";
-
rev = version;
-
sha256 = "sha256-nPU225LLQYN0D1LUsp9XGm2bCcB5WLpD3TcGDiWCe0c=";
};
nativeBuildInputs = [ cmake ];
-
buildInputs = [ SDL2 ];
-
meta = with lib; {
description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library";
homepage = "https://github.com/FNA-XNA/FAudio";
-
changelog = "https://github.com/FNA-XNA/FAudio/releases/tag/${version}";
-
license = licenses.zlib;
-
platforms = platforms.unix;
-
maintainers = [ maintainers.marius851000 ];
};
-
}
···
stdenv,
fetchFromGitHub,
cmake,
+
sdl3,
}:
#TODO: tests
+
stdenv.mkDerivation (finalAttrs: {
pname = "faudio";
+
version = "25.04";
src = fetchFromGitHub {
owner = "FNA-XNA";
repo = "FAudio";
+
tag = finalAttrs.version;
+
hash = "sha256-nYpolFizEWCSI/YENViMKDu7ExpFpPivH5RnS7PMfkA=";
};
nativeBuildInputs = [ cmake ];
+
buildInputs = [ sdl3 ];
+
meta = {
description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library";
homepage = "https://github.com/FNA-XNA/FAudio";
+
changelog = "https://github.com/FNA-XNA/FAudio/releases/tag/${finalAttrs.version}";
+
license = lib.licenses.zlib;
+
platforms = lib.platforms.unix;
+
maintainers = [ lib.maintainers.marius851000 ];
};
+
})
+4 -2
pkgs/by-name/fw/fwupd/package.nix
···
modemmanager,
pango,
polkit,
sqlite,
tpm2-tss,
valgrind,
···
in
stdenv.mkDerivation (finalAttrs: {
pname = "fwupd";
-
version = "2.0.8";
# libfwupd goes to lib
# daemon, plug-ins and libfwupdplugin go to out
···
owner = "fwupd";
repo = "fwupd";
tag = finalAttrs.version;
-
hash = "sha256-8IFopG/EY/UAB3JSyBJsGmlwGiMufn7rfkeJ9iYfCGU=";
};
patches = [
···
pango
polkit
protobufc
sqlite
tpm2-tss
valgrind
···
modemmanager,
pango,
polkit,
+
readline,
sqlite,
tpm2-tss,
valgrind,
···
in
stdenv.mkDerivation (finalAttrs: {
pname = "fwupd";
+
version = "2.0.9";
# libfwupd goes to lib
# daemon, plug-ins and libfwupdplugin go to out
···
owner = "fwupd";
repo = "fwupd";
tag = finalAttrs.version;
+
hash = "sha256-Izh6PHMgUsOeez9uWSLoA2GhvawYQlEZo480vovxn38=";
};
patches = [
···
pango
polkit
protobufc
+
readline
sqlite
tpm2-tss
valgrind
+2 -2
pkgs/by-name/gi/gitaly/package.nix
···
}:
let
-
version = "17.11.1";
package_version = "v${lib.versions.major version}";
gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}";
···
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
-
hash = "sha256-8PDCHAZrFs+4G4K0wAgE0AsOp4hlL+5uGb7qVJjuzqg=";
};
vendorHash = "sha256-ExqgxukFKXq/Z//hGSoDevfpJiNbVHhind63os1/3Fk=";
···
}:
let
+
version = "17.11.2";
package_version = "v${lib.versions.major version}";
gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}";
···
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
+
hash = "sha256-Ihw3Mezfz9H19oGM7X9B50aUbyh1JjDOmVU5ZNoiWug=";
};
vendorHash = "sha256-ExqgxukFKXq/Z//hGSoDevfpJiNbVHhind63os1/3Fk=";
+3 -3
pkgs/by-name/gi/gitlab-container-registry/package.nix
···
buildGoModule rec {
pname = "gitlab-container-registry";
-
version = "4.20.0";
rev = "v${version}-gitlab";
# nixpkgs-update: no auto update
···
owner = "gitlab-org";
repo = "container-registry";
inherit rev;
-
hash = "sha256-irMMOjORJY8yVSNBkh7HDYDJv05RDz19f0KAjnF8EWA=";
};
-
vendorHash = "sha256-3j58QVLgwjUGX0QzruAbfRNyFmcAD5EApQ3+f212IDU=";
checkFlags =
let
···
buildGoModule rec {
pname = "gitlab-container-registry";
+
version = "4.21.0";
rev = "v${version}-gitlab";
# nixpkgs-update: no auto update
···
owner = "gitlab-org";
repo = "container-registry";
inherit rev;
+
hash = "sha256-EUJRXN/xOxNG6pIvsZ/MvVU7arSphOWdpJK0Qo8JcTY=";
};
+
vendorHash = "sha256-rAY0lG1ELGO8f6SciEr7F3LL8+fTzlXvUrn4p00v0TI=";
checkFlags =
let
+2 -2
pkgs/by-name/gi/gitlab-pages/package.nix
···
buildGoModule rec {
pname = "gitlab-pages";
-
version = "17.11.1";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-pages";
rev = "v${version}";
-
hash = "sha256-rXIHRIFbgK7VLgZ7DjR+kmP6WnYCROSbxzx12KUjXLE=";
};
vendorHash = "sha256-jCuLRXr7WHGxbXVg2JB1vp9WiNaLgsIJ6GJSS4QrlwY=";
···
buildGoModule rec {
pname = "gitlab-pages";
+
version = "17.11.2";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-pages";
rev = "v${version}";
+
hash = "sha256-tnswEoocMZXBrS+5toV8IOVs8HcNrTG320ebQqB3XiQ=";
};
vendorHash = "sha256-jCuLRXr7WHGxbXVg2JB1vp9WiNaLgsIJ6GJSS4QrlwY=";
+152
pkgs/by-name/gr/graphhopper/package.nix
···
···
+
{
+
fetchFromGitHub,
+
fetchurl,
+
lib,
+
stdenv,
+
testers,
+
+
jre,
+
makeWrapper,
+
maven,
+
...
+
}:
+
let
+
version = builtins.fromTOML (builtins.readFile ./version.toml);
+
+
src = fetchFromGitHub {
+
owner = "graphhopper";
+
repo = "graphhopper";
+
tag = version.patch;
+
hash = version.hash.src;
+
};
+
+
# Patch graphhopper to remove the npm download
+
patches = [ ./remove-npm-dependency.patch ];
+
+
# Graphhopper also relies on a maps bundle downloaded from npm
+
# By default it installs nodejs and npm during the build,
+
# But we patch that out so we much fetch it ourselves
+
mapsBundle = fetchurl {
+
name = "@graphhopper/graphhopper-maps-bundle-${version.mapsBundle}";
+
url = "https://registry.npmjs.org/@graphhopper/graphhopper-maps-bundle/-/graphhopper-maps-bundle-${version.mapsBundle}.tgz";
+
hash = version.hash.mapsBundle;
+
};
+
+
# We cannot use `buildMavenPackage` as we need to load in the
+
# mapsBundle before doing anything
+
mvnDeps = stdenv.mkDerivation {
+
name = "graphhopper-dependencies";
+
+
inherit src patches;
+
+
buildInputs = [ maven ];
+
+
buildPhase = ''
+
# Fetching deps with mvn dependency:go-offline does not quite catch everything, so we use this plugin instead
+
mvn de.qaware.maven:go-offline-maven-plugin:resolve-dependencies \
+
-Dmaven.repo.local=$out/.m2 \
+
-Dmaven.wagon.rto=5000
+
'';
+
+
installPhase = ''
+
# keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside
+
find $out -type f \( \
+
-name \*.lastUpdated \
+
-o -name resolver-status.properties \
+
-o -name _remote.repositories \) \
+
-delete
+
'';
+
+
outputHashMode = "recursive";
+
outputHash = version.hash.mvnDeps;
+
};
+
in
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "graphhopper";
+
+
inherit src patches;
+
+
version = version.patch;
+
+
buildInputs = [
+
makeWrapper
+
maven
+
];
+
+
configurePhase = ''
+
runHook preConfigure
+
+
mkdir -p ./web-bundle/target/
+
ln -s ${mapsBundle} ./web-bundle/target/graphhopper-graphhopper-maps-bundle-${version.mapsBundle}.tgz
+
+
runHook postConfigure
+
'';
+
+
# Build and skip tests because downloading of
+
# test deps seems to not work with the go-offline plugin
+
buildPhase = ''
+
runHook preBuild
+
+
mvn package --offline \
+
-Dmaven.repo.local=${mvnDeps}/.m2 \
+
-DskipTests
+
+
runHook postBuild
+
'';
+
+
installPhase = ''
+
runHook preInstall
+
+
mkdir -p $out/bin
+
+
ln -s ${mvnDeps}/.m2 $out/lib
+
+
# Grapphopper versions are seemingly compiled under the major release name,
+
# not the patch name, which is the version we want for our package
+
cp ./web/target/graphhopper-web-${version.major}-SNAPSHOT.jar $out/bin/graphhopper-web-${version.major}-SNAPSHOT.jar
+
+
makeWrapper ${jre}/bin/java $out/bin/graphhopper \
+
--add-flags "-jar $out/bin/graphhopper-web-${version.major}-SNAPSHOT.jar" \
+
--chdir $out
+
+
runHook postInstall
+
'';
+
+
fixupPhase = ''
+
runHook preFixup
+
+
# keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside
+
find $out -type f \( \
+
-name \*.lastUpdated \
+
-o -name resolver-status.properties \
+
-o -name _remote.repositories \) \
+
-delete
+
+
runHook postFixup
+
'';
+
+
meta = {
+
description = "Fast and memory-efficient routing engine for OpenStreetMap";
+
homepage = "https://www.graphhopper.com/";
+
changelog = "https://github.com/graphhopper/graphhopper/releases/tag/${version.patch}";
+
license = lib.licenses.asl20;
+
maintainers = with lib.maintainers; [ baileylu ];
+
teams = [ lib.teams.geospatial ];
+
platforms = lib.platforms.all;
+
mainProgram = "graphhopper";
+
sourceProvenance = with lib.sourceTypes; [
+
fromSource
+
binaryBytecode
+
];
+
};
+
+
passthru = {
+
updateScript = ./update.nu;
+
tests.version = testers.testVersion {
+
package = finalAttrs.finalPackage;
+
# `graphhopper --version` does not work as the source does not specify `Implementation-Version`
+
command = "graphhopper --help";
+
version = "graphhopper-web-${version.major}-SNAPSHOT.jar";
+
};
+
};
+
})
+55
pkgs/by-name/gr/graphhopper/remove-npm-dependency.patch
···
···
+
From ad687709cfca51603264ff565f296cfb5dceb15a Mon Sep 17 00:00:00 2001
+
From: Luke Bailey <baileylu@tcd.ie>
+
Date: Wed, 19 Mar 2025 22:25:44 +0000
+
Subject: [PATCH] Swap out frontend maven plugin which downloads npm
+
for fetching it through nix instead
+
+
---
+
web-bundle/pom.xml | 31 -------------------------------
+
1 file changed, 31 deletions(-)
+
+
diff --git a/web-bundle/pom.xml b/web-bundle/pom.xml
+
index 9a4d83b62..1d995cbaf 100644
+
--- a/web-bundle/pom.xml
+
+++ b/web-bundle/pom.xml
+
@@ -129,37 +129,6 @@
+
+
<build>
+
<plugins>
+
- <plugin>
+
- <groupId>com.github.eirslett</groupId>
+
- <artifactId>frontend-maven-plugin</artifactId>
+
- <version>1.12.1</version>
+
- <executions>
+
- <execution>
+
- <id>install node and npm</id>
+
- <goals>
+
- <goal>install-node-and-npm</goal>
+
- </goals>
+
- <configuration>
+
- <nodeVersion>v20.14.0</nodeVersion>
+
- <npmVersion>10.7.0</npmVersion>
+
- </configuration>
+
- </execution>
+
- <execution>
+
- <id>download graphhopper maps</id>
+
- <phase>generate-resources</phase>
+
- <goals>
+
- <goal>npm</goal>
+
- </goals>
+
- <configuration>
+
- <!--suppress UnresolvedMavenProperty (IntelliJ shows an error otherwise...)-->
+
- <arguments>
+
- pack --pack-destination=${basedir}/target
+
- @graphhopper/graphhopper-maps-bundle@${graphhopper-maps.version}
+
- </arguments>
+
- </configuration>
+
- </execution>
+
- </executions>
+
- </plugin>
+
<plugin>
+
<artifactId>maven-antrun-plugin</artifactId>
+
<executions>
+
--
+
2.48.1
+
+102
pkgs/by-name/gr/graphhopper/update.nu
···
···
+
#!/usr/bin/env nix-shell
+
#! nix-shell -i nu -p nushell nix-prefetch-github common-updater-scripts
+
+
use std/log
+
+
let version_info = "./pkgs/by-name/gr/graphhopper/version.toml"
+
+
let current_version = open $version_info
+
+
let latest_tag = list-git-tags --url=https://github.com/graphhopper/graphhopper
+
| lines
+
| sort --natural
+
| where ($it =~ '^[\d.]+$')
+
| last
+
+
if $current_version.patch == $latest_tag {
+
log debug "Current graphhopper version matched latest version of graphhopper, no update is needed, exiting..."
+
exit 0
+
}
+
+
let major = $latest_tag
+
| str replace -ar '(\d+)\.\d+' '$1.0'
+
+
log debug $"Fetching source for graphhopper patch ($latest_tag) on version ($major)"
+
let source = nix-prefetch-github graphhopper graphhopper --rev $latest_tag
+
| from json
+
+
log debug $"Reading maps bundle version for ($latest_tag)"
+
let web_bundle_pom = http get $"https://api.github.com/repos/graphhopper/graphhopper/contents/web-bundle/pom.xml?ref=($latest_tag)"
+
| $in.content
+
| base64 --decode
+
| into string
+
| from xml
+
+
let maps_bundle_properties = $web_bundle_pom.content
+
| where ($it.tag =~ "properties")
+
| first
+
+
let maps_bundle_version = $maps_bundle_properties.content
+
| where ($it.tag =~ "graphhopper-maps.version")
+
| first
+
| $in.content
+
| first
+
| $in.content
+
+
log debug $"Fetching maps bundle ($maps_bundle_version)"
+
let maps_bundle_hash = nix-prefetch-url $"https://registry.npmjs.org/@graphhopper/graphhopper-maps-bundle/-/graphhopper-maps-bundle-($maps_bundle_version).tgz"
+
| nix-hash --type sha256 --to-base64 $in
+
| ["sha256-", $in]
+
| str join
+
+
log debug $"Writing to ($version_info) without mvnDeps hash..."
+
+
{
+
major: $major,
+
patch: $latest_tag,
+
mapsBundle: $maps_bundle_version,
+
+
hash: {
+
src: $source.hash
+
mapsBundle: $maps_bundle_hash
+
mvnDeps: "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
+
}
+
}
+
| to toml
+
| save $version_info -f
+
+
log debug "Calculating mvnDeps hash..."
+
let graphhopper_build_logs = nix-build -A graphhopper o+e>| cat
+
+
let mvn_hash_lines = $graphhopper_build_logs
+
| lines
+
| find "got:"
+
+
if ($mvn_hash_lines | length) == 0 {
+
log error $"Could not find any maven hash in the graphhopper build logs - maybe a different error occurred: \n$($graphhopper_build_logs)"
+
exit 1
+
}
+
+
log debug $"Found relevant hash lines: ($mvn_hash_lines)"
+
let mvn_hash = $mvn_hash_lines
+
| first
+
| ansi strip
+
| str replace 'got:' ''
+
| str trim
+
+
log debug $"Writing to ($version_info) with mvnDeps hash ($mvn_hash).."
+
{
+
major: $major,
+
patch: $latest_tag,
+
mapsBundle: $maps_bundle_version,
+
+
hash: {
+
src: $source.hash
+
mapsBundle: $maps_bundle_hash
+
mvnDeps: $mvn_hash
+
}
+
}
+
| to toml
+
| save $version_info -f
+
+
log debug $"Successfully updated graphhopper package!"
+8
pkgs/by-name/gr/graphhopper/version.toml
···
···
+
major = "10.0"
+
patch = "10.2"
+
mapsBundle = "0.0.0-4718098d1db1798841a4d12f1727e8e8f7eab202"
+
+
[hash]
+
src = "sha256-E6G9JR1lrXhNJ4YgMM0n0RsQcMZQM2QldGc74f5FALo="
+
mapsBundle = "sha256-jZTNJfmMWJQHpJ8um3yTBx/KtIfdr0EwKJ9kSFalWJQ="
+
mvnDeps = "sha256-KidbIBnW//IiKPFy3plFWOED8gP/ZCg4buwMgzttaY8="
+4 -2
pkgs/by-name/hf/hfst/package.nix
···
swig,
pkg-config,
zlib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hfst";
-
version = "3.16.0";
src = fetchFromGitHub {
owner = "hfst";
repo = "hfst";
tag = "v${finalAttrs.version}";
-
hash = "sha256-2ST0s08Pcp+hTn7rUTgPE1QkH6PPWtiuFezXV3QW0kU=";
};
nativeBuildInputs = [
···
gettext
icu
zlib
];
configureFlags = [
···
swig,
pkg-config,
zlib,
+
openfst,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hfst";
+
version = "3.16.2";
src = fetchFromGitHub {
owner = "hfst";
repo = "hfst";
tag = "v${finalAttrs.version}";
+
hash = "sha256-Vp9rSQYNK991fCoEcW7tpVxCOemW2RFt0LujLGHFGVQ=";
};
nativeBuildInputs = [
···
gettext
icu
zlib
+
openfst
];
configureFlags = [
+3 -3
pkgs/by-name/ju/jujutsu/package.nix
···
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jujutsu";
-
version = "0.28.2";
src = fetchFromGitHub {
owner = "jj-vcs";
repo = "jj";
tag = "v${finalAttrs.version}";
-
hash = "sha256-EAD40ZZr6VK4w9OuYzx2YcVgOODopF7IWN7GVjTlblE=";
};
useFetchCargoVendor = true;
-
cargoHash = "sha256-WOzzBhZLV4kfsmTGreg1m+sPcDjznB4Kh8ONVNZkp5A=";
nativeBuildInputs = [
installShellFiles
···
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jujutsu";
+
version = "0.29.0";
src = fetchFromGitHub {
owner = "jj-vcs";
repo = "jj";
tag = "v${finalAttrs.version}";
+
hash = "sha256-jyhjKppwK+emwLEXtOJKU0f4mPdLzDrQabnHhpyUzmw=";
};
useFetchCargoVendor = true;
+
cargoHash = "sha256-1bb7YWXExS62s83rprHa0byUBJUCdw6JDYkQ3VZcje8=";
nativeBuildInputs = [
installShellFiles
+40
pkgs/by-name/ku/kubectl-kcl/package.nix
···
···
+
{
+
lib,
+
buildGoModule,
+
fetchFromGitHub,
+
versionCheckHook,
+
}:
+
+
buildGoModule (finalAttrs: {
+
pname = "kubectl-kcl";
+
version = "0.9.0";
+
+
src = fetchFromGitHub {
+
owner = "kcl-lang";
+
repo = "kubectl-kcl";
+
tag = "v${finalAttrs.version}";
+
hash = "sha256-yuNQSO1xQCb5H55mOUTVrojeWWkDOmAGJIzUs6qCWO4=";
+
};
+
+
vendorHash = "sha256-GD4C4jlxVMpJ/bhpQ3VDkBMBBQkXyhMMga+WhVdvI/I=";
+
+
ldflags = [
+
"-X kcl-lang.io/kubectl-kcl/cmd.Version=${finalAttrs.version}"
+
];
+
+
versionCheckProgramArg = [ "version" ];
+
nativeInstallCheckInputs = [
+
versionCheckHook
+
];
+
doInstallCheck = true;
+
+
meta = {
+
description = "Work with Kubernetes manifests using the KCL programming language";
+
mainProgram = "kubectl-kcl";
+
homepage = "https://github.com/kcl-lang/kubectl-kcl";
+
changelog = "https://github.com/kcl-lang/kubectl-kcl/releases/tag/v${finalAttrs.version}";
+
license = lib.licenses.asl20;
+
maintainers = [ lib.maintainers.arichtman ];
+
platforms = lib.platforms.unix;
+
};
+
})
+1 -2
pkgs/by-name/od/odin/package.nix
···
patches = [
./darwin-remove-impure-links.patch
];
-
postPatch = ''
-
patchShebangs ./build_odin.sh
'';
LLVM_CONFIG = lib.getExe' llvmPackages.llvm.dev "llvm-config";
···
patches = [
./darwin-remove-impure-links.patch
];
postPatch = ''
+
patchShebangs --build build_odin.sh
'';
LLVM_CONFIG = lib.getExe' llvmPackages.llvm.dev "llvm-config";
+3 -3
pkgs/by-name/op/openrsync/package.nix
···
stdenv.mkDerivation {
pname = "openrsync";
-
version = "unstable-2022-05-08";
src = fetchFromGitHub {
owner = "kristapsdz";
repo = "openrsync";
-
rev = "f50d0f8204ea18306a0c29c6ae850292ea826995";
-
hash = "sha256-4tygoCQGIM0wqLfdWp55/oOPhD3lPUuTd9/LXQAASXU=";
};
# Uses oconfigure
···
stdenv.mkDerivation {
pname = "openrsync";
+
version = "unstable-2025-01-27";
src = fetchFromGitHub {
owner = "kristapsdz";
repo = "openrsync";
+
rev = "a257c0f495af2b5ee6b41efc6724850a445f87ed";
+
hash = "sha256-pc1lo8d5FY8/1K2qUWzSlrSnA7jnRg4FQRyHqC8I38k=";
};
# Uses oconfigure
+68
pkgs/by-name/pd/pdftricks/package.nix
···
···
+
{
+
lib,
+
stdenv,
+
fetchFromGitHub,
+
meson,
+
pkg-config,
+
vala,
+
gtk3,
+
wrapGAppsHook3,
+
pantheon,
+
ninja,
+
ghostscript,
+
makeWrapper,
+
nix-update-script,
+
}:
+
stdenv.mkDerivation (finalAttrs: {
+
pname = "pdftricks";
+
version = "0.4.1";
+
+
src = fetchFromGitHub {
+
owner = "muriloventuroso";
+
repo = "pdftricks";
+
tag = finalAttrs.version;
+
hash = "sha256-l4Xg4Uk520qoaEo8UxdLE8MfpVkRj/bpGBzL5HwdDUo=";
+
};
+
+
nativeBuildInputs = [
+
meson
+
pkg-config
+
vala
+
wrapGAppsHook3
+
ninja
+
makeWrapper
+
];
+
+
buildInputs = [
+
gtk3
+
pantheon.granite
+
ghostscript
+
];
+
+
preFixup = ''
+
wrapProgram $out/bin/com.github.muriloventuroso.pdftricks \
+
--prefix PATH : ${lib.makeBinPath [ ghostscript ]} \
+
''${gappsWrapperArgs[@]}
+
'';
+
+
dontWrapGApps = true;
+
+
postPatch = ''
+
# Remove positional arguments that cause errors
+
substituteInPlace data/meson.build \
+
--replace-fail "'desktop'," "" \
+
--replace-fail "'appdata'," ""
+
'';
+
+
passthru.updateScript = nix-update-script { };
+
+
meta = {
+
description = "Simple, efficient application for small manipulations in PDF files using Ghostscript";
+
homepage = "https://github.com/muriloventuroso/pdftricks";
+
changelog = "https://github.com/muriloventuroso/pdftricks/releases";
+
license = lib.licenses.gpl3Plus;
+
maintainers = with lib.maintainers; [ theobori ];
+
platforms = lib.platforms.linux;
+
mainProgram = "com.github.muriloventuroso.pdftricks";
+
};
+
})
+3 -3
pkgs/by-name/pr/prisma-engines/package.nix
···
# function correctly.
rustPlatform.buildRustPackage rec {
pname = "prisma-engines";
-
version = "6.6.0";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma-engines";
rev = version;
-
hash = "sha256-moonBNNGWECGPvhyyeHKKAQRXj5lNP0k99JB+1POMUE=";
};
useFetchCargoVendor = true;
-
cargoHash = "sha256-BiSo3BgVxiPAfSIPUv0SqH+XgU1Vh4wws0set4cLzDU=";
# Use system openssl.
OPENSSL_NO_VENDOR = 1;
···
# function correctly.
rustPlatform.buildRustPackage rec {
pname = "prisma-engines";
+
version = "6.7.0";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma-engines";
rev = version;
+
hash = "sha256-Ty8BqWjZluU6a5xhSAVb2VoTVY91UUj6zoVXMKeLO4o=";
};
useFetchCargoVendor = true;
+
cargoHash = "sha256-HjDoWa/JE6izUd+hmWVI1Yy3cTBlMcvD9ANsvqAoHBI=";
# Use system openssl.
OPENSSL_NO_VENDOR = 1;
+3 -3
pkgs/by-name/pr/prisma/package.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "prisma";
-
version = "6.6.0";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma";
rev = finalAttrs.version;
-
hash = "sha256-AywqYcXzTWaedfHEH2LIaJUv80KFvd7sdADkivLRf5Y=";
};
nativeBuildInputs = [
···
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
-
hash = "sha256-Uc4/iePIaHHXBrl66oRwXS9YDbQ5kTpKXa6q9EztbsA=";
};
patchPhase = ''
···
stdenv.mkDerivation (finalAttrs: {
pname = "prisma";
+
version = "6.7.0";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma";
rev = finalAttrs.version;
+
hash = "sha256-ts7HvQbbBFzLRr7uamo95rDnJuDHsAu2CE/pKkJwcX4=";
};
nativeBuildInputs = [
···
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
+
hash = "sha256-dhEpn0oaqZqeiRMfcSiaqhud/RsKd6Wm5RR5iyQp1I8=";
};
patchPhase = ''
+2 -2
pkgs/by-name/qo/qownnotes/package.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "qownnotes";
appname = "QOwnNotes";
-
version = "25.4.4";
src = fetchurl {
url = "https://github.com/pbek/QOwnNotes/releases/download/v${finalAttrs.version}/qownnotes-${finalAttrs.version}.tar.xz";
-
hash = "sha256-9xRituPXmGQ1fFHp4JvXkQ9Rvoj535UP53G6vDMl1L4=";
};
nativeBuildInputs =
···
stdenv.mkDerivation (finalAttrs: {
pname = "qownnotes";
appname = "QOwnNotes";
+
version = "25.5.3";
src = fetchurl {
url = "https://github.com/pbek/QOwnNotes/releases/download/v${finalAttrs.version}/qownnotes-${finalAttrs.version}.tar.xz";
+
hash = "sha256-853xxUgRMtnL+frLCmzzGL44xstDwnrEMhYBFpL5hmQ=";
};
nativeBuildInputs =
+2 -2
pkgs/by-name/re/redpanda-client/package.nix
···
stdenv,
}:
let
-
version = "25.1.2";
src = fetchFromGitHub {
owner = "redpanda-data";
repo = "redpanda";
rev = "v${version}";
-
sha256 = "sha256-eivXJrfMf7+EAJr+wpOs9dtC8oiyOGy6AY1DNiNVWWA=";
};
in
buildGoModule rec {
···
stdenv,
}:
let
+
version = "25.1.3";
src = fetchFromGitHub {
owner = "redpanda-data";
repo = "redpanda";
rev = "v${version}";
+
sha256 = "sha256-fdEbZISejvk+3VVLxQd3zpeaXEUg6eR+MUtI+jcgg5g=";
};
in
buildGoModule rec {
+20 -13
pkgs/by-name/su/sudo-rs/package.nix
···
pam,
pandoc,
rustPlatform,
}:
-
rustPlatform.buildRustPackage rec {
pname = "sudo-rs";
-
version = "0.2.5";
src = fetchFromGitHub {
owner = "trifectatechfoundation";
repo = "sudo-rs";
-
rev = "v${version}";
-
hash = "sha256-apvMcn/1dV9uujyoHikiOxregwWtAFPvrZvYjd3XQwM=";
};
useFetchCargoVendor = true;
-
cargoHash = "sha256-EAfNg7hUsynFZ+EcUqeD9o44BakBYIMgxRXc4vcl8HY=";
nativeBuildInputs = [
installShellFiles
···
# Don't attempt to generate the docs in a (pan)Docker container
postPatch = ''
substituteInPlace util/generate-docs.sh \
-
--replace "/usr/bin/env bash" ${lib.getExe bash} \
-
--replace util/pandoc.sh pandoc
'';
postInstall = ''
···
tests = nixosTests.sudo-rs;
};
-
meta = with lib; {
description = "Memory safe implementation of sudo and su";
homepage = "https://github.com/trifectatechfoundation/sudo-rs";
-
changelog = "${meta.homepage}/blob/v${version}/CHANGELOG.md";
-
license = with licenses; [
asl20
mit
];
-
maintainers = with maintainers; [ nicoo ];
mainProgram = "sudo";
-
platforms = platforms.linux;
};
-
}
···
pam,
pandoc,
rustPlatform,
+
tzdata,
}:
+
rustPlatform.buildRustPackage (finalAttrs: {
pname = "sudo-rs";
+
version = "0.2.6";
src = fetchFromGitHub {
owner = "trifectatechfoundation";
repo = "sudo-rs";
+
tag = "v${finalAttrs.version}";
+
hash = "sha256-vZv3IVSW6N0puoWJBYQPmNntgHPt9SPV07TEuWN/bHw=";
};
useFetchCargoVendor = true;
+
cargoHash = "sha256-/CbU2ds2VQ2IXx7GKxRO3vePzLXJXabA1FcyIGPsngw=";
nativeBuildInputs = [
installShellFiles
···
# Don't attempt to generate the docs in a (pan)Docker container
postPatch = ''
substituteInPlace util/generate-docs.sh \
+
--replace-fail "/usr/bin/env bash" ${lib.getExe bash} \
+
--replace-fail util/pandoc.sh pandoc
+
+
substituteInPlace build.rs \
+
--replace-fail "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
'';
postInstall = ''
···
tests = nixosTests.sudo-rs;
};
+
meta = {
description = "Memory safe implementation of sudo and su";
homepage = "https://github.com/trifectatechfoundation/sudo-rs";
+
changelog = "${finalAttrs.meta.homepage}/blob/v${finalAttrs.version}/CHANGELOG.md";
+
license = with lib.licenses; [
asl20
mit
];
+
maintainers = with lib.maintainers; [
+
nicoo
+
rvdp
+
];
mainProgram = "sudo";
+
platforms = lib.platforms.linux;
};
+
})
+5 -5
pkgs/by-name/ta/tailwindcss_4/package.nix
···
makeWrapper,
}:
let
-
version = "4.1.4";
inherit (stdenv.hostPlatform) system;
throwSystem = throw "tailwindcss has not been packaged for ${system} yet.";
···
hash =
{
-
aarch64-darwin = "sha256-x7piRWxtlEF3XJDKbwo9+AD4LO3k6SOJ+TRTbejPUuk=";
-
aarch64-linux = "sha256-oUU371GpnBpVw3ZLc7gWgdhP91GXrXZvmmYo1hDPJ08=";
-
x86_64-darwin = "sha256-zQ4adIfAuRip9LLSLTGHUhgeiRi4Z1cLQJCC9pR1zYg=";
-
x86_64-linux = "sha256-D6i7uL7KckL2RVvwG7410wg4ePYwjsSkzsMK7Ra8pG0=";
}
.${system} or throwSystem;
in
···
makeWrapper,
}:
let
+
version = "4.1.5";
inherit (stdenv.hostPlatform) system;
throwSystem = throw "tailwindcss has not been packaged for ${system} yet.";
···
hash =
{
+
aarch64-darwin = "sha256-j9ogIXTCFNcg6v5J7bra+u18udASidJEYtktLCYDeH4=";
+
aarch64-linux = "sha256-lVXGQUYXwVzIIGeexlQEr5JQfnt3GP0DXSbfBVVh3sk=";
+
x86_64-darwin = "sha256-W7BvnlCSuLx9r0mcdrDOx1GgP+xS4BEdI1wTHNnFyQU=";
+
x86_64-linux = "sha256-nSWKd4bCL4VyrqIO01hI+MvvHQYnfk5rl62FYf/CHgc=";
}
.${system} or throwSystem;
in
+2 -2
pkgs/by-name/te/texturepacker/package.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "texturepacker";
-
version = "7.6.2";
src = fetchurl {
url = "https://www.codeandweb.com/download/texturepacker/${finalAttrs.version}/TexturePacker-${finalAttrs.version}.deb";
-
hash = "sha256-CJtUWxjleojjK+LljDbdhSH2FNQfVGMkif/XDRW1Y/k=";
};
nativeBuildInputs = [
···
stdenv.mkDerivation (finalAttrs: {
pname = "texturepacker";
+
version = "7.6.3";
src = fetchurl {
url = "https://www.codeandweb.com/download/texturepacker/${finalAttrs.version}/TexturePacker-${finalAttrs.version}.deb";
+
hash = "sha256-A1YNy6Y5EdOnV0dY0VN/k7nX26L/uaHqDHmdC5N1Otk=";
};
nativeBuildInputs = [
+2 -2
pkgs/by-name/vi/vifm/package.nix
···
in
stdenv.mkDerivation rec {
pname = if isFullPackage then "vifm-full" else "vifm";
-
version = "0.14.1";
src = fetchurl {
url = "https://github.com/vifm/vifm/releases/download/v${version}/vifm-${version}.tar.bz2";
-
hash = "sha256-AfGeEU4p9IHSD6prNaQriDo/SHMk3bL3EHzhwQLEpJY=";
};
nativeBuildInputs = [
···
in
stdenv.mkDerivation rec {
pname = if isFullPackage then "vifm-full" else "vifm";
+
version = "0.14.2";
src = fetchurl {
url = "https://github.com/vifm/vifm/releases/download/v${version}/vifm-${version}.tar.bz2";
+
hash = "sha256-zRsF0lQ832gp1gsjvCJcb94T0+98EAj4IbkgmDfx4rA=";
};
nativeBuildInputs = [
+2
pkgs/by-name/we/weblate/package.nix
···
++ drf-spectacular.optional-dependencies.sidecar
++ drf-standardized-errors.optional-dependencies.openapi;
optional-dependencies = {
postgres = with python.pkgs; [ psycopg ];
};
···
++ drf-spectacular.optional-dependencies.sidecar
++ drf-standardized-errors.optional-dependencies.openapi;
+
pythonRelaxDeps = [ "django-otp-webauthn" ];
+
optional-dependencies = {
postgres = with python.pkgs; [ psycopg ];
};
+12 -12
pkgs/by-name/wi/windsurf/info.json
···
{
"aarch64-darwin": {
-
"version": "1.7.2",
-
"vscodeVersion": "1.98.0",
-
"url": "https://windsurf-stable.codeiumdata.com/darwin-arm64/stable/619323b3cdd4a88a75f3b5fa39dba02c3b9e14a9/Windsurf-darwin-arm64-1.7.2.zip",
-
"sha256": "827998228b949d79bd98d79b9d801b194814df50ded3be01f12bd412a8528edb"
},
"x86_64-darwin": {
-
"version": "1.7.2",
-
"vscodeVersion": "1.98.0",
-
"url": "https://windsurf-stable.codeiumdata.com/darwin-x64/stable/619323b3cdd4a88a75f3b5fa39dba02c3b9e14a9/Windsurf-darwin-x64-1.7.2.zip",
-
"sha256": "1e85088af6888dd0c708e055b6dcc6eb702caf7f5690462462e5eca4304ad665"
},
"x86_64-linux": {
-
"version": "1.7.2",
-
"vscodeVersion": "1.98.0",
-
"url": "https://windsurf-stable.codeiumdata.com/linux-x64/stable/619323b3cdd4a88a75f3b5fa39dba02c3b9e14a9/Windsurf-linux-x64-1.7.2.tar.gz",
-
"sha256": "8d08dbaa44e841f13ff2d76ed125a39547efba93d62e174db8f8bc3d50ef72d6"
}
}
···
{
"aarch64-darwin": {
+
"version": "1.8.2",
+
"vscodeVersion": "1.99.1",
+
"url": "https://windsurf-stable.codeiumdata.com/darwin-arm64/stable/eccc45da0d0c40e57275e0cce7db644c7b1278d8/Windsurf-darwin-arm64-1.8.2.zip",
+
"sha256": "d1d353f6f78b570500546a1a1ee140d195df7497ce3eb946fb159afd0cc34a67"
},
"x86_64-darwin": {
+
"version": "1.8.2",
+
"vscodeVersion": "1.99.1",
+
"url": "https://windsurf-stable.codeiumdata.com/darwin-x64/stable/eccc45da0d0c40e57275e0cce7db644c7b1278d8/Windsurf-darwin-x64-1.8.2.zip",
+
"sha256": "920ea85cdb98755eeadabf69fa2ed56baf24df7273aa28a1ad7b33f2d4acb862"
},
"x86_64-linux": {
+
"version": "1.8.2",
+
"vscodeVersion": "1.99.1",
+
"url": "https://windsurf-stable.codeiumdata.com/linux-x64/stable/eccc45da0d0c40e57275e0cce7db644c7b1278d8/Windsurf-linux-x64-1.8.2.tar.gz",
+
"sha256": "677793a06575428d95e1ad73a0063580f116c9467c100ca0b218b6a89262ba2b"
}
}
+2 -2
pkgs/by-name/xp/xpra/package.nix
···
in
buildPythonApplication rec {
pname = "xpra";
-
version = "6.2.5";
stdenv = if withNvenc then cudaPackages.backendStdenv else args.stdenv;
···
owner = "Xpra-org";
repo = "xpra";
tag = "v${version}";
-
hash = "sha256-XY8NZhWCRLjpgq0dOClzftvMR7g/X64b+OYyjOGC/lM=";
};
patches = [
···
in
buildPythonApplication rec {
pname = "xpra";
+
version = "6.3";
stdenv = if withNvenc then cudaPackages.backendStdenv else args.stdenv;
···
owner = "Xpra-org";
repo = "xpra";
tag = "v${version}";
+
hash = "sha256-m0GafyzblXwLBBn/eoSmcsLz1r4nzFIQzCOXVXvQB8Q=";
};
patches = [
+2 -2
pkgs/by-name/yy/yyjson/package.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "yyjson";
-
version = "0.10.0";
src = fetchFromGitHub {
owner = "ibireme";
repo = "yyjson";
rev = finalAttrs.version;
-
hash = "sha256-mp9Oz08qTyhj3P6F1d81SX96vamUY/JWpD2DTYR+v04=";
};
nativeBuildInputs = [
···
stdenv.mkDerivation (finalAttrs: {
pname = "yyjson";
+
version = "0.11.0";
src = fetchFromGitHub {
owner = "ibireme";
repo = "yyjson";
rev = finalAttrs.version;
+
hash = "sha256-4vdoWoVW+NbC46tFxjdTtjVW77aYGRWENgWZHzUoUQ4=";
};
nativeBuildInputs = [
+2 -2
pkgs/desktops/deepin/apps/deepin-system-monitor/default.nix
···
stdenv.mkDerivation rec {
pname = "deepin-system-monitor";
-
version = "6.5.0";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
-
hash = "sha256-UOF0/RBceuRX6AtI1p5qqHhbRDAhA7i0+seOrkAFFgI=";
};
postPatch = ''
···
stdenv.mkDerivation rec {
pname = "deepin-system-monitor";
+
version = "6.5.4";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
+
hash = "sha256-xLlWQaoKC+/jgDD9sBikh5Z1QqDuCFcMulo0vqxJM7k=";
};
postPatch = ''
+36 -3
pkgs/development/libraries/botan/default.nix
···
bzip2,
zlib,
jitterentropy,
static ? stdenv.hostPlatform.isStatic, # generates static libraries *only*
}:
let
common =
···
bzip2
zlib
]
-
++ lib.optionals (lib.versionAtLeast version "3.6.0") [
jitterentropy
];
buildTargets =
···
++ lib.optionals stdenv.cc.isClang [
"--cc=clang"
]
++ lib.optionals (lib.versionAtLeast version "3.6.0") [
"--enable-modules=jitter_rng"
];
configurePhase = ''
···
in
{
botan3 = common {
-
version = "3.6.1";
-
hash = "sha256-fLhXXYjSMsdxdHadf54ku0REQWBYWYbuvWbnScuakIk=";
};
botan2 = common {
···
bzip2,
zlib,
jitterentropy,
+
darwin,
+
esdm,
+
tpm2-tss,
static ? stdenv.hostPlatform.isStatic, # generates static libraries *only*
+
+
# build ESDM RNG plugin
+
with_esdm ? false,
+
# useful, but have to disable tests for now, as /dev/tpmrm0 is not accessible
+
with_tpm2 ? false,
+
# only allow BSI approved algorithms, FFI and SHAKE for XMSS
+
with_bsi_policy ? false,
+
# only allow NIST approved algorithms
+
with_fips140_policy ? false,
}:
+
+
assert (!with_bsi_policy && !with_fips140_policy) || (with_bsi_policy != with_fips140_policy);
let
common =
···
bzip2
zlib
]
+
++ lib.optionals (stdenv.hostPlatform.isLinux && with_tpm2) [
+
tpm2-tss
+
]
++ lib.optionals (lib.versionAtLeast version "3.6.0") [
jitterentropy
+
]
+
++ lib.optionals (lib.versionAtLeast version "3.7.0" && with_esdm) [
+
esdm
];
buildTargets =
···
++ lib.optionals stdenv.cc.isClang [
"--cc=clang"
]
+
++ lib.optionals (stdenv.hostPlatform.isLinux && with_tpm2) [
+
"--with-tpm2"
+
]
++ lib.optionals (lib.versionAtLeast version "3.6.0") [
"--enable-modules=jitter_rng"
+
]
+
++ lib.optionals (lib.versionAtLeast version "3.7.0" && with_esdm) [
+
"--enable-modules=esdm_rng"
+
]
+
++ lib.optionals (lib.versionAtLeast version "3.8.0" && with_bsi_policy) [
+
"--module-policy=bsi"
+
"--enable-module=ffi"
+
"--enable-module=shake"
+
]
+
++ lib.optionals (lib.versionAtLeast version "3.8.0" && with_fips140_policy) [
+
"--module-policy=fips140"
];
configurePhase = ''
···
in
{
botan3 = common {
+
version = "3.8.1";
+
hash = "sha256-sDloHUuGGi9YU3Rti6gG9VPiOGntctie2/o8Pb+hfmg=";
};
botan2 = common {
+10 -14
pkgs/development/python-modules/dbt-common/default.nix
···
{
lib,
buildPythonPackage,
-
fetchPypi,
# build-system
hatchling,
···
buildPythonPackage rec {
pname = "dbt-common";
-
version = "1.22.0";
pyproject = true;
-
# No tags on GitHub
-
src = fetchPypi {
-
pname = "dbt_common";
-
inherit version;
-
hash = "sha256-6cdTMVCCB6SNEUsQtzKUBnKuJgwfttl7o2+zBp8Fu5g=";
};
build-system = [ hatchling ];
···
# 0.6.x -> 0.7.2 doesn't seem too risky at a glance
# https://pypi.org/project/isodate/0.7.2/
"isodate"
];
dependencies = [
···
];
disabledTests = [
-
# Assertion errors (TODO: Notify upstream)
-
"test_create_print_json"
-
"test_events"
-
"test_extra_dict_on_event"
];
-
-
# No tests in the pypi archive
-
doCheck = false;
pythonImportsCheck = [ "dbt_common" ];
···
{
lib,
buildPythonPackage,
+
fetchFromGitHub,
# build-system
hatchling,
···
buildPythonPackage rec {
pname = "dbt-common";
+
version = "1.23.0-unstable-2025-04-21";
pyproject = true;
+
src = fetchFromGitHub {
+
owner = "dbt-labs";
+
repo = pname;
+
rev = "03e09c01f20573975e8e17776a4b7c9088b3f212"; # They don't tag releases
+
hash = "sha256-KqnwlFZZRYuWRflMzjrqCPBnzY9q/pPhceM2DGqz5bw=";
};
build-system = [ hatchling ];
···
# 0.6.x -> 0.7.2 doesn't seem too risky at a glance
# https://pypi.org/project/isodate/0.7.2/
"isodate"
+
"protobuf"
];
dependencies = [
···
];
disabledTests = [
+
# flaky test: https://github.com/dbt-labs/dbt-common/issues/280
+
"TestFindMatching"
];
pythonImportsCheck = [ "dbt_common" ];
+54 -9
pkgs/development/python-modules/depyf/default.nix
···
{
lib,
buildPythonPackage,
-
fetchPypi,
astor,
dill,
filelock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "depyf";
-
version = "0.18.0";
-
src = fetchPypi {
-
inherit pname version;
-
hash = "sha256-uZ8MODvpSa5F1dYG/kRMcfN1tVpXuNayDnhWZw1SEw0=";
};
# don't try to read git commit
···
--replace-fail 'commit_id = get_git_commit_id()' 'commit_id = None'
'';
-
propagatedBuildInputs = [
astor
dill
filelock
];
-
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "depyf" ];
-
meta = with lib; {
description = "Decompile python functions, from bytecode to source code";
homepage = "https://github.com/thuml/depyf";
-
license = licenses.mit;
};
}
···
{
lib,
+
stdenv,
buildPythonPackage,
+
fetchFromGitHub,
+
+
# build-system
+
setuptools,
+
+
# dependencies
astor,
dill,
filelock,
+
+
# tests
pytestCheckHook,
+
torch,
+
pythonAtLeast,
}:
buildPythonPackage rec {
pname = "depyf";
+
version = "0.19.0";
+
pyproject = true;
+
src = fetchFromGitHub {
+
owner = "thuml";
+
repo = "depyf";
+
tag = "v${version}";
+
hash = "sha256-AGM5Pm0hhqOX9CY7dFijZLqhWmY7xnmKWakh4MUtOMs=";
};
# don't try to read git commit
···
--replace-fail 'commit_id = get_git_commit_id()' 'commit_id = None'
'';
+
build-system = [
+
setuptools
+
];
+
+
dependencies = [
astor
dill
filelock
];
+
nativeCheckInputs = [
+
pytestCheckHook
+
torch
+
];
+
+
disabledTestPaths =
+
[
+
# if self.quitting: raise BdbQuit
+
# E bdb.BdbQuit
+
"tests/test_pytorch/test_pytorch.py"
+
]
+
++ lib.optionals (pythonAtLeast "3.13") [
+
+
# depyf.decompiler.DecompilationError: DecompilationError: Failed to decompile instruction ...
+
# NotImplementedError: Unsupported instruction: LOAD_FAST_LOAD_FAST
+
"tests/test_code_owner.py"
+
]
+
++ lib.optionals stdenv.hostPlatform.isDarwin [
+
# E torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
+
# E CppCompileError: C++ compile error
+
"tests/test_pytorch/test_export.py"
+
"tests/test_pytorch/test_logging.py"
+
"tests/test_pytorch/test_simple_graph.py"
+
];
+
+
# All remaining tests fail with:
+
# ValueError: invalid literal for int() with base 10: 'L1'
+
doCheck = !(pythonAtLeast "3.13");
pythonImportsCheck = [ "depyf" ];
+
meta = {
description = "Decompile python functions, from bytecode to source code";
homepage = "https://github.com/thuml/depyf";
+
changelog = "https://github.com/thuml/depyf/releases/tag/v${version}";
+
license = lib.licenses.mit;
};
}
+2 -2
pkgs/development/python-modules/django-otp-webauthn/default.nix
···
buildPythonPackage rec {
pname = "django-otp-webauthn";
-
version = "0.5.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "django_otp_webauthn";
-
hash = "sha256-dtyP+0z7J9so2+ESjKv4VlaMD5DFGVn3ZHYRzpy33yQ=";
};
build-system = [ hatchling ];
···
buildPythonPackage rec {
pname = "django-otp-webauthn";
+
version = "0.6.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "django_otp_webauthn";
+
hash = "sha256-Exyao6i63S7czGAcZMULrNcnxjRNw21ufNFaxj9kkFs=";
};
build-system = [ hatchling ];
+2 -2
pkgs/development/python-modules/google-genai/default.nix
···
buildPythonPackage rec {
pname = "google-genai";
-
version = "1.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "googleapis";
repo = "python-genai";
tag = "v${version}";
-
hash = "sha256-+m5VwGErIAlXlbATTUMYU5oGSvqFSyRE6UqIByIv87U=";
};
build-system = [
···
buildPythonPackage rec {
pname = "google-genai";
+
version = "1.14.0";
pyproject = true;
src = fetchFromGitHub {
owner = "googleapis";
repo = "python-genai";
tag = "v${version}";
+
hash = "sha256-KuQj6kVJGvks17kR3+opo2vslSvneFt/EfxREt/7hqQ=";
};
build-system = [
+28 -20
pkgs/development/python-modules/pyopengl/default.nix
···
# Theses lines are patching the name of dynamic libraries
# so pyopengl can find them at runtime.
substituteInPlace OpenGL/platform/glx.py \
-
--replace '"OpenGL",' '"${pkgs.libGL}/lib/libOpenGL${ext}",' \
-
--replace '"GL",' '"${pkgs.libGL}/lib/libGL${ext}",' \
-
--replace '"GLU",' '"${pkgs.libGLU}/lib/libGLU${ext}",' \
-
--replace '"GLX",' '"${pkgs.libglvnd}/lib/libGLX${ext}",' \
-
--replace '"glut",' '"${pkgs.libglut}/lib/libglut${ext}",' \
-
--replace '"GLESv1_CM",' '"${pkgs.libGL}/lib/libGLESv1_CM${ext}",' \
-
--replace '"GLESv2",' '"${pkgs.libGL}/lib/libGLESv2${ext}",' \
-
--replace '"gle",' '"${pkgs.gle}/lib/libgle${ext}",' \
-
--replace "'EGL'" "'${pkgs.libGL}/lib/libEGL${ext}'"
substituteInPlace OpenGL/platform/egl.py \
-
--replace "('OpenGL','GL')" "('${pkgs.libGL}/lib/libOpenGL${ext}', '${pkgs.libGL}/lib/libGL${ext}')" \
-
--replace "'GLU'," "'${pkgs.libGLU}/lib/libGLU${ext}'," \
-
--replace "'glut'," "'${pkgs.libglut}/lib/libglut${ext}'," \
-
--replace "'GLESv1_CM'," "'${pkgs.libGL}/lib/libGLESv1_CM${ext}'," \
-
--replace "'GLESv2'," "'${pkgs.libGL}/lib/libGLESv2${ext}'," \
-
--replace "'gle'," '"${pkgs.gle}/lib/libgle${ext}",' \
-
--replace "'EGL'," "'${pkgs.libGL}/lib/libEGL${ext}',"
substituteInPlace OpenGL/platform/darwin.py \
-
--replace "'OpenGL'," "'${pkgs.libGL}/lib/libGL${ext}'," \
-
--replace "'GLUT'," "'${pkgs.libglut}/lib/libglut${ext}',"
''
+ ''
# https://github.com/NixOS/nixpkgs/issues/76822
···
# The following patch put back the "name" (i.e. the path) in the
# list of possible files.
substituteInPlace OpenGL/platform/ctypesloader.py \
-
--replace "filenames_to_try = [base_name]" "filenames_to_try = [name]"
'';
# Need to fix test runner
···
doCheck = false; # does not affect pythonImportsCheck
# OpenGL looks for libraries during import, making this a somewhat decent test of the flaky patching above.
-
pythonImportsCheck = "OpenGL";
meta = with lib; {
homepage = "https://mcfletch.github.io/pyopengl/";
···
# Theses lines are patching the name of dynamic libraries
# so pyopengl can find them at runtime.
substituteInPlace OpenGL/platform/glx.py \
+
--replace-fail "'OpenGL'" '"${pkgs.libGL}/lib/libOpenGL${ext}"' \
+
--replace-fail '"GL",' '"${pkgs.libGL}/lib/libGL${ext}",' \
+
--replace-fail "'GL'" '"${pkgs.libGL}/lib/libGL${ext}"' \
+
--replace-fail '"GLU",' '"${pkgs.libGLU}/lib/libGLU${ext}",' \
+
--replace-fail "'GLX'" '"${pkgs.libglvnd}/lib/libGLX${ext}"' \
+
--replace-fail '"glut",' '"${pkgs.libglut}/lib/libglut${ext}",' \
+
--replace-fail '"GLESv1_CM",' '"${pkgs.libGL}/lib/libGLESv1_CM${ext}",' \
+
--replace-fail '"GLESv2",' '"${pkgs.libGL}/lib/libGLESv2${ext}",' \
+
--replace-fail '"gle",' '"${pkgs.gle}/lib/libgle${ext}",' \
+
--replace-fail "'EGL'" "'${pkgs.libGL}/lib/libEGL${ext}'"
substituteInPlace OpenGL/platform/egl.py \
+
--replace-fail "('OpenGL','GL')" "('${pkgs.libGL}/lib/libOpenGL${ext}', '${pkgs.libGL}/lib/libGL${ext}')" \
+
--replace-fail "'GLU'," "'${pkgs.libGLU}/lib/libGLU${ext}'," \
+
--replace-fail "'glut'," "'${pkgs.libglut}/lib/libglut${ext}'," \
+
--replace-fail "'GLESv1_CM'," "'${pkgs.libGL}/lib/libGLESv1_CM${ext}'," \
+
--replace-fail "'GLESv2'," "'${pkgs.libGL}/lib/libGLESv2${ext}'," \
+
--replace-fail "'gle'," '"${pkgs.gle}/lib/libgle${ext}",' \
+
--replace-fail "'EGL'," "'${pkgs.libGL}/lib/libEGL${ext}',"
substituteInPlace OpenGL/platform/darwin.py \
+
--replace-fail "'OpenGL'," "'${pkgs.libGL}/lib/libGL${ext}'," \
+
--replace-fail "'GLUT'," "'${pkgs.libglut}/lib/libglut${ext}',"
''
+ ''
# https://github.com/NixOS/nixpkgs/issues/76822
···
# The following patch put back the "name" (i.e. the path) in the
# list of possible files.
substituteInPlace OpenGL/platform/ctypesloader.py \
+
--replace-fail "filenames_to_try = [base_name]" "filenames_to_try = [name]"
'';
# Need to fix test runner
···
doCheck = false; # does not affect pythonImportsCheck
# OpenGL looks for libraries during import, making this a somewhat decent test of the flaky patching above.
+
pythonImportsCheck =
+
[
+
"OpenGL"
+
"OpenGL.GL"
+
]
+
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
+
"OpenGL.GLX"
+
];
meta = with lib; {
homepage = "https://mcfletch.github.io/pyopengl/";
+17 -17
pkgs/development/python-modules/ray/default.nix
···
let
pname = "ray";
-
version = "2.45.0";
in
buildPythonPackage rec {
inherit pname version;
···
# Results are in ./ray-hashes.nix
hashes = {
x86_64-linux = {
-
cp310 = "sha256-lI4RoSR/ewtFopEIuhz+36vYDx89t6Xe2laYITWI2Os=";
-
cp311 = "sha256-0/jYyAf4mUZePOSPrU5R+EZxiG1zHj86SU87pQ7QlFg=";
-
cp312 = "sha256-SC1F8vhn++yBRZXOmf5Vjp/xJDJ6YaSGpJdeanwiSn4=";
-
cp313 = "sha256-UXR2/63UrxNcpd2K8BVBfABizLtEqGZ0Cilj3X/Q0vA=";
};
aarch64-linux = {
-
cp310 = "sha256-yJ9P/Y5GI7bGkBQuVYE8EoaklBF1xi4QVoAbwTmtfqc=";
-
cp311 = "sha256-r7uFydBa87JQlgLhO1rbCyCXmqerF3pxC0HwYENbt8I=";
-
cp312 = "sha256-EVghAqF1dZGnU3bElH25gZ1fq3ZePtMHyITtZ2HbhkY=";
-
cp313 = "sha256-a6WMvcCvLPRM5JGEu9qpiGtVnK1LpIIaAuhAIO2Ij9c=";
};
x86_64-darwin = {
-
cp310 = "sha256-Ov5ZRYkGFkG2uH1abRgfcD2I647ewp9rMVRJ+zK1jTo=";
-
cp311 = "sha256-QMjBRr7DcQxRHdA4DqfJMLQ0h8D5yMeLWDsOiQN0Uo8=";
-
cp312 = "sha256-08MxE/QZa5I9eJX9y/a2gKFkLdEhRE6XRAHDUNp6yAk=";
-
cp313 = "sha256-+g36O5YGeZ0lEmKudK+oYVLamDUcpCnUAmusV1mUNWk=";
};
aarch64-darwin = {
-
cp310 = "sha256-ZebFvzyesazpuQ4+oEzHP388pP1Tq9IEjAp++kV9Lpg=";
-
cp311 = "sha256-XcO17Yq29peNqnvX+CaMPkBC+seBHotmH3T4INeyYg8=";
-
cp312 = "sha256-7u/x2kgDpdIyGivLX8FuINjxBFQ+jd9PMNGs9voi+sI=";
-
cp313 = "sha256-08fzQLCNSCbERfaAJLtx5Chh9AVrBvUN9JoJV2E81yk=";
};
};
in
···
let
pname = "ray";
+
version = "2.46.0";
in
buildPythonPackage rec {
inherit pname version;
···
# Results are in ./ray-hashes.nix
hashes = {
x86_64-linux = {
+
cp310 = "sha256-wShQYIxXyK/ZYTqfdX13ZjxQ1L1Od7ovGBQlBSUgwBo=";
+
cp311 = "sha256-1N3tw/TUjfVkvO57ExyYyfiY/vCldIP0ujNfR/lRpi8=";
+
cp312 = "sha256-XOwe3ak/YY/9IwH4HVOYA38D+psWgl5+TYoArnqaQ4E=";
+
cp313 = "sha256-paKMCjEdLDIh3PcpxAiYpt+CRmu1ryHoG+BFPgmFat8=";
};
aarch64-linux = {
+
cp310 = "sha256-OWuRKk2/ZJZuL9/Kn6y8r+V7eSykhCrFrhdQf9vf6J8=";
+
cp311 = "sha256-gcjOi3ujPLYH7Hj16yVVRw4wRrsxdzLYKC6BibtYzL0=";
+
cp312 = "sha256-AGy+Go/cN2ZBFKohh3MQDuiROZeF4lbCAuSJWNLawWc=";
+
cp313 = "sha256-gI2uzh8SvYkkucY4Kg+Y2m9caIbPsnHtjYlAeolBPNU=";
};
x86_64-darwin = {
+
cp310 = "sha256-cZJEuE33lQLl8JSX8lZhjZTXjWb7ryKUIgCKBWjToP8=";
+
cp311 = "sha256-lCulHeb5zX+y7RdhgYGvSM5rlRd0PTI12EbsMileynY=";
+
cp312 = "sha256-0fN+rSkpljcURyb4CcLg/5WN2cDnWTDvYUFW1qCjpX8=";
+
cp313 = "sha256-svwsQ+oKN1IRk8Ye+aJ7b8qNurEWpYpS/UQ0TNc+Hs4=";
};
aarch64-darwin = {
+
cp310 = "sha256-Q3ioaRnmZDI4oQlPcRuH+o3BoYuZjUGQ9pqzPGSiKow=";
+
cp311 = "sha256-r4Tz7QhUu23igZLKngo7+h6zTWnxGK5jSFIhmIlkgMg=";
+
cp312 = "sha256-t6BkrP7ufwZ32ePyXa75xZWTVZ+up2S0Sj4sUzHV2DI=";
+
cp313 = "sha256-QpbdjAF0JWoE7ktUq+ATtoAqRfuF+3z9sTdSMZZdbU0=";
};
};
in
-2
pkgs/development/python-modules/spacy/default.nix
···
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "spacy";
-
# Cython.Compiler.Errors.CompileError: spacy/ml/parser_model.pyx
-
broken = true;
};
}
···
license = lib.licenses.mit;
maintainers = [ ];
mainProgram = "spacy";
};
}
+4 -9
pkgs/development/python-modules/thinc/default.nix
···
catalogue,
confection,
cymem,
-
cython_0,
fetchPypi,
hypothesis,
mock,
···
buildPythonPackage rec {
pname = "thinc";
-
version = "9.1.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
-
hash = "sha256-IfrimG13d6bwULkEbcnqsRhS8cmpl9zJAy8+zCJ4Sko=";
};
-
postPatch = ''
-
substituteInPlace pyproject.toml setup.cfg \
-
--replace-fail "blis>=1.0.0,<1.1.0" blis
-
'';
-
build-system = [
blis
cymem
-
cython_0
murmurhash
numpy
preshed
···
catalogue,
confection,
cymem,
+
cython,
fetchPypi,
hypothesis,
mock,
···
buildPythonPackage rec {
pname = "thinc";
+
version = "8.3.6";
pyproject = true;
src = fetchPypi {
inherit pname version;
+
hash = "sha256-SZg/m33cQ0OpUyaUqRGN0hbXpgBSCiGEmkO2wmjsbK0=";
};
build-system = [
blis
cymem
+
cython
murmurhash
numpy
preshed
+6
pkgs/development/python-modules/vllm/default.nix
···
happysalada
lach
];
};
}
···
happysalada
lach
];
+
badPlatforms = [
+
# CMake Error at cmake/cpu_extension.cmake:78 (find_isa):
+
# find_isa Function invoked with incorrect arguments for function named:
+
# find_isa
+
"x86_64-darwin"
+
];
};
}
+5 -3
pkgs/stdenv/generic/check-meta.nix
···
isAttrs
isString
mapAttrs
;
inherit (lib.lists)
···
)
] ++ optional (hasOutput "man") "man";
}
-
// {
-
# CI scripts look at these to determine pings.
maintainersPosition = builtins.unsafeGetAttrPos "maintainers" (attrs.meta or { });
teamsPosition = builtins.unsafeGetAttrPos "teams" (attrs.meta or { });
-
}
// attrs.meta or { }
# Fill `meta.position` to identify the source location of the package.
// optionalAttrs (pos != null) {
···
isAttrs
isString
mapAttrs
+
filterAttrs
;
inherit (lib.lists)
···
)
] ++ optional (hasOutput "man") "man";
}
+
// (filterAttrs (_: v: v != null) {
+
# CI scripts look at these to determine pings. Note that we should filter nulls out of this,
+
# or nix-env complains: https://github.com/NixOS/nix/blob/2.18.8/src/nix-env/nix-env.cc#L963
maintainersPosition = builtins.unsafeGetAttrPos "maintainers" (attrs.meta or { });
teamsPosition = builtins.unsafeGetAttrPos "teams" (attrs.meta or { });
+
})
// attrs.meta or { }
# Fill `meta.position` to identify the source location of the package.
// optionalAttrs (pos != null) {