Merge staging-next into staging

This commit is contained in:
nixpkgs-ci[bot] 2025-05-22 12:07:48 +00:00 committed by GitHub
commit 8417ab1dd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 423 additions and 543 deletions

View file

@ -272,7 +272,7 @@
- `nodePackages.meshcommander` has been removed, as the package was deprecated by Intel. - `nodePackages.meshcommander` has been removed, as the package was deprecated by Intel.
- The default version of `z3` has been updated from 4.8 to 4.14, and all old versions have been dropped. Note that `fstar` still depends on specific versions, and maintains them as overrides. - The default version of `z3` has been updated from 4.8 to 4.15, and all old versions have been dropped. Note that `fstar` still depends on specific versions, and maintains them as overrides.
- `prometheus` has been updated from 2.55.0 to 3.1.0. - `prometheus` has been updated from 2.55.0 to 3.1.0.
Read the [release blog post](https://prometheus.io/blog/2024/11/14/prometheus-3-0/) and Read the [release blog post](https://prometheus.io/blog/2024/11/14/prometheus-3-0/) and

View file

@ -1,6 +1,6 @@
# to run these tests (and the others) # to run these tests (and the others)
# nix-build nixpkgs/lib/tests/release.nix # nix-build nixpkgs/lib/tests/release.nix
# These tests should stay in sync with the comment in maintainers/maintainers-list.nix # These tests should stay in sync with the comment in maintainers/maintainer-list.nix
{ {
# The pkgs used for dependencies for the testing itself # The pkgs used for dependencies for the testing itself
pkgs ? import ../.. { }, pkgs ? import ../.. { },

View file

@ -16,7 +16,7 @@ a given nixpkgs maintainer, equivalent to `lib.maintainers.${x} // { handle = x;
This allows looking up a maintainer's attrset (including GitHub and Matrix This allows looking up a maintainer's attrset (including GitHub and Matrix
handles, email address etc.) based on any of their handles, more correctly and handles, email address etc.) based on any of their handles, more correctly and
robustly than text search through `maintainers-list.nix`. robustly than text search through `maintainer-list.nix`.
``` ```
./get-maintainer.sh nicoo ./get-maintainer.sh nicoo

View file

@ -23,6 +23,7 @@ let
PAPERLESS_THUMBNAIL_FONT_NAME = defaultFont; PAPERLESS_THUMBNAIL_FONT_NAME = defaultFont;
GRANIAN_HOST = cfg.address; GRANIAN_HOST = cfg.address;
GRANIAN_PORT = toString cfg.port; GRANIAN_PORT = toString cfg.port;
GRANIAN_WORKERS_KILL_TIMEOUT = "60";
} }
// lib.optionalAttrs (config.time.timeZone != null) { // lib.optionalAttrs (config.time.timeZone != null) {
PAPERLESS_TIME_ZONE = config.time.timeZone; PAPERLESS_TIME_ZONE = config.time.timeZone;

View file

@ -9,8 +9,8 @@ vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = { mktplcRef = {
name = "jupyter"; name = "jupyter";
publisher = "ms-toolsai"; publisher = "ms-toolsai";
version = "2025.3.0"; version = "2025.4.1";
hash = "sha256-dH74EX5PDq4t/CukjsswtKLVwbE+q0J+fpZ1MA8CDZI="; hash = "sha256-RLkelWU5chIpGS6dToQ+/jNeEbZYGi2JxeZTqqHAdVA=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -0,0 +1,13 @@
diff --git a/compressed_archive/unarr/unarr-wrapper.pri b/compressed_archive/unarr/unarr-wrapper.pri
index 0115267..5d3d6f5 100644
--- a/compressed_archive/unarr/unarr-wrapper.pri
+++ b/compressed_archive/unarr/unarr-wrapper.pri
@@ -6,7 +6,7 @@ HEADERS += $$PWD/extract_delegate.h \
SOURCES += $$PWD/compressed_archive.cpp
-if(mingw|unix):!macx:!contains(QT_CONFIG, no-pkg-config):packagesExist(libunarr) {
+if(mingw|unix):!contains(QT_CONFIG, no-pkg-config):packagesExist(libunarr) {
message(Using system provided unarr installation found by pkg-config.)
CONFIG += link_pkgconfig
PKGCONFIG += libunarr

View file

@ -2,11 +2,10 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
libsForQt5,
poppler,
pkg-config,
libunarr,
libGLU, libGLU,
libunarr,
libsForQt5,
pkg-config,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -15,28 +14,63 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "YACReader"; owner = "YACReader";
repo = pname; repo = "yacreader";
rev = version; tag = version;
sha256 = "sha256-5vCjr8WRwa7Q/84Itgg07K1CJKGnWA1z53et2IxxReE="; hash = "sha256-5vCjr8WRwa7Q/84Itgg07K1CJKGnWA1z53et2IxxReE=";
}; };
patches = [
# make the unarr backend logic use pkg-config even on Darwin
./darwin-unarr-use-pkg-config.patch
];
qmakeFlags = [
# force unarr backend on all platforms
"CONFIG+=unarr"
];
nativeBuildInputs = [ nativeBuildInputs = [
libsForQt5.qmake libsForQt5.qmake
pkg-config libsForQt5.qttools # for translations
libsForQt5.wrapQtAppsHook libsForQt5.wrapQtAppsHook
pkg-config
]; ];
buildInputs = [
libunarr buildInputs =
libGLU [
libsForQt5.poppler libGLU
libsForQt5.qtmultimedia libsForQt5.poppler
libsForQt5.qtscript libsForQt5.qtgraphicaleffects # imported, but not declared as a dependency
]; libsForQt5.qtmultimedia
propagatedBuildInputs = [ libsForQt5.qtquickcontrols2
libsForQt5.qtquickcontrols2 libunarr
libsForQt5.qtgraphicaleffects ]
libsForQt5.qtdeclarative ++ lib.optionals stdenv.hostPlatform.isDarwin [
]; libsForQt5.qtmacextras # can be removed when using qt6
];
# custom Darwin install instructions taken from the upsteam compileOSX.sh script
installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
runHook preInstall
mkdir -p "$out"/Applications
cp -r YACReader/YACReader.app "$out"/Applications/
cp -r YACReaderLibrary/YACReaderLibrary.app "$out"/Applications/
cp -r YACReaderLibraryServer/YACReaderLibraryServer.app "$out"/Applications/
cp -r release/server "$out"/Applications/YACReaderLibrary.app/Contents/MacOS/
cp -r release/server "$out"/Applications/YACReaderLibraryServer.app/Contents/MacOS/
cp -r release/languages "$out"/Applications/YACReader.app/Contents/MacOS/
cp -r release/languages "$out"/Applications/YACReaderLibrary.app/Contents/MacOS/
cp -r release/languages "$out"/Applications/YACReaderLibraryServer.app/Contents/MacOS/
makeWrapper "$out"/Applications/YACReader.app/Contents/MacOS/YACReader "$out/bin/YACReader"
makeWrapper "$out"/Applications/YACReaderLibrary.app/Contents/MacOS/YACReaderLibrary "$out/bin/YACReaderLibrary"
makeWrapper "$out"/Applications/YACReaderLibraryServer.app/Contents/MacOS/YACReaderLibraryServer "$out/bin/YACReaderLibraryServer"
runHook postInstall
'';
meta = { meta = {
description = "Comic reader for cross-platform reading and managing your digital comic collection"; description = "Comic reader for cross-platform reading and managing your digital comic collection";

View file

@ -17,20 +17,20 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "bruno"; pname = "bruno";
version = "2.2.0"; version = "2.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "usebruno"; owner = "usebruno";
repo = "bruno"; repo = "bruno";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-4SIOLVXVxRSaSmZcje//+o/dyLINDAM2CvLQGEAykq0="; hash = "sha256-ch8xqa4XZJvK6HDrDidgL+z8E9rezDkAqcpgBRy4E9E=";
postFetch = '' postFetch = ''
${lib.getExe npm-lockfile-fix} $out/package-lock.json ${lib.getExe npm-lockfile-fix} $out/package-lock.json
''; '';
}; };
npmDepsHash = "sha256-W4qF2/AAcygqykB4zcBjb8KhfVaMrj8FLgadalDNF+0="; npmDepsHash = "sha256-ZUZZWnp10Z4vQTZTTPenAXXpez6WbmB/S1VBiARuNP4=";
npmFlags = [ "--legacy-peer-deps" ]; npmFlags = [ "--legacy-peer-deps" ];
nativeBuildInputs = nativeBuildInputs =

View file

@ -1,7 +1,9 @@
{ {
lib, lib,
stdenv,
fetchCrate, fetchCrate,
rustPlatform, rustPlatform,
libz,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -13,6 +15,8 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios="; hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios=";
}; };
buildInputs = lib.optional stdenv.isDarwin libz;
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E="; cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E=";

View file

@ -1,48 +0,0 @@
{
lib,
stdenv,
fetchurl,
flex,
bison,
libpcap,
libdnet,
libnfnetlink,
libnetfilter_queue,
}:
stdenv.mkDerivation rec {
pname = "daq";
version = "2.2.2";
src = fetchurl {
name = "${pname}-${version}.tar.gz";
url = "https://snort.org/downloads/archive/snort/${pname}-${version}.tar.gz";
sha256 = "0yvzscy7vqj7s5rccza0f7p6awghfm3yaxihx1h57lqspg51in3w";
};
buildInputs = [
flex
bison
libpcap
libdnet
libnfnetlink
libnetfilter_queue
];
configureFlags = [
"--enable-nfq-module=yes"
"--with-dnet-includes=${libdnet}/includes"
"--with-dnet-libraries=${libdnet}/lib"
];
NIX_CFLAGS_COMPILE = "-Wno-incompatible-pointer-types";
meta = {
description = "Data AcQuisition library (DAQ), for packet I/O";
mainProgram = "daq-modules-config";
homepage = "https://www.snort.org";
maintainers = with lib.maintainers; [ aycanirican ];
license = lib.licenses.gpl2;
platforms = with lib.platforms; linux;
};
}

View file

@ -13,7 +13,7 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
inherit pname; inherit pname;
version = "25.1.3"; version = "25.1.4";
src = src =
let let
@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: {
in in
fetchurl { fetchurl {
url = "https://www.dbvis.com/product_download/dbvis-${finalAttrs.version}/media/dbvis_linux_${underscoreVersion}.tar.gz"; url = "https://www.dbvis.com/product_download/dbvis-${finalAttrs.version}/media/dbvis_linux_${underscoreVersion}.tar.gz";
hash = "sha256-K9RbQPCqU9t6i0zKl2P1aRhgfAs69GORtVA2KU6fqLw="; hash = "sha256-oEp0+HCfI//ukcqxVX5j6ep25TsuOHplHteWnrzlLu8=";
}; };
strictDeps = true; strictDeps = true;

View file

@ -7,7 +7,7 @@
}: }:
let let
version = "18.0.0"; version = "18.0.1";
package_version = "v${lib.versions.major version}"; package_version = "v${lib.versions.major version}";
gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}"; gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}";
@ -21,7 +21,7 @@ let
owner = "gitlab-org"; owner = "gitlab-org";
repo = "gitaly"; repo = "gitaly";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-IhFKEBYCEORLPEplPDRdV61kY5ZgFAxJmfmoG9Q58ec="; hash = "sha256-yVDe5X/WGkfWdSEWEZZqjykZNz0mJ52tPHLabGDThOk=";
}; };
vendorHash = "sha256-PXONynRY5ZLQO2yQdtljDmLhVBIgfEYmyez9pIm9vtw="; vendorHash = "sha256-PXONynRY5ZLQO2yQdtljDmLhVBIgfEYmyez9pIm9vtw=";

View file

@ -6,7 +6,7 @@
buildGoModule rec { buildGoModule rec {
pname = "gitlab-container-registry"; pname = "gitlab-container-registry";
version = "4.21.0"; version = "4.22.0";
rev = "v${version}-gitlab"; rev = "v${version}-gitlab";
# nixpkgs-update: no auto update # nixpkgs-update: no auto update
@ -14,10 +14,10 @@ buildGoModule rec {
owner = "gitlab-org"; owner = "gitlab-org";
repo = "container-registry"; repo = "container-registry";
inherit rev; inherit rev;
hash = "sha256-EUJRXN/xOxNG6pIvsZ/MvVU7arSphOWdpJK0Qo8JcTY="; hash = "sha256-r7IVX4xH/K+tfoEKfO9HITHUZT6yfBP2Zr6EPZQUxfw=";
}; };
vendorHash = "sha256-rAY0lG1ELGO8f6SciEr7F3LL8+fTzlXvUrn4p00v0TI="; vendorHash = "sha256-e7EIScdd0k5iFTDutFotNkKj1rKtBqfEexdkpjSHAoE=";
checkFlags = checkFlags =
let let

View file

@ -6,14 +6,14 @@
buildGoModule rec { buildGoModule rec {
pname = "gitlab-pages"; pname = "gitlab-pages";
version = "18.0.0"; version = "18.0.1";
# nixpkgs-update: no auto update # nixpkgs-update: no auto update
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "gitlab-org"; owner = "gitlab-org";
repo = "gitlab-pages"; repo = "gitlab-pages";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-c2y11lMeHBi62Ql63HGolF454GkFp7UCErHGk5Bvgvw="; hash = "sha256-EslNXyCzGpsJAG3SOQF56xbU2vhVVo4qdtfFtf9qqW0=";
}; };
vendorHash = "sha256-BjCwPt1duDINHP7L0qT2KNTjOZ62bWgVij88ztjjyPg="; vendorHash = "sha256-BjCwPt1duDINHP7L0qT2KNTjOZ62bWgVij88ztjjyPg=";

View file

@ -8,14 +8,14 @@
buildGoModule rec { buildGoModule rec {
pname = "gitlab-shell"; pname = "gitlab-shell";
version = "14.41.0"; version = "14.42.0";
# nixpkgs-update: no auto update # nixpkgs-update: no auto update
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "gitlab-org"; owner = "gitlab-org";
repo = "gitlab-shell"; repo = "gitlab-shell";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-6bRiw8TC7E/eUc0Zwp46kLbe5QzZ+nXL6YY2u+mjFRw="; hash = "sha256-U42xSb9kZpxBIE+tua5m3iNMBfcLRlujSI3K5eWiuME=";
}; };
buildInputs = [ buildInputs = [
@ -27,7 +27,7 @@ buildGoModule rec {
./remove-hardcoded-locations.patch ./remove-hardcoded-locations.patch
]; ];
vendorHash = "sha256-Xz6l0gvjS2nPt/mpOvZDJlnfEmIWPXc/RwBntzfLc1Y="; vendorHash = "sha256-aBANgvo9kWiHoytaB10J3hf9vOWVsz/vJApVHet93xg=";
subPackages = [ subPackages = [
"cmd/gitlab-shell" "cmd/gitlab-shell"

View file

@ -1,15 +1,15 @@
{ {
"version": "18.0.0", "version": "18.0.1",
"repo_hash": "03x2ypyn7kkald6pzvzh19cmlr6km9fdssw823565rd1kikywb87", "repo_hash": "0d4bpk0fip34cjgp7a1pcfa0q7vkn8vz1ig41zgxncgwbr5lik1h",
"yarn_hash": "0vv09y1pjcm2723jh842pgnmnrf4yqk7558v57dp08rxrqnsni5x", "yarn_hash": "0vv09y1pjcm2723jh842pgnmnrf4yqk7558v57dp08rxrqnsni5x",
"owner": "gitlab-org", "owner": "gitlab-org",
"repo": "gitlab", "repo": "gitlab",
"rev": "v18.0.0-ee", "rev": "v18.0.1-ee",
"passthru": { "passthru": {
"GITALY_SERVER_VERSION": "18.0.0", "GITALY_SERVER_VERSION": "18.0.1",
"GITLAB_PAGES_VERSION": "18.0.0", "GITLAB_PAGES_VERSION": "18.0.1",
"GITLAB_SHELL_VERSION": "14.41.0", "GITLAB_SHELL_VERSION": "14.42.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.5.1", "GITLAB_ELASTICSEARCH_INDEXER_VERSION": "5.5.1",
"GITLAB_WORKHORSE_VERSION": "18.0.0" "GITLAB_WORKHORSE_VERSION": "18.0.1"
} }
} }

View file

@ -10,7 +10,7 @@ in
buildGoModule rec { buildGoModule rec {
pname = "gitlab-workhorse"; pname = "gitlab-workhorse";
version = "18.0.0"; version = "18.0.1";
# nixpkgs-update: no auto update # nixpkgs-update: no auto update
src = fetchFromGitLab { src = fetchFromGitLab {

View file

@ -333,9 +333,6 @@ gem 'connection_pool', '~> 2.4', feature_category: :shared
# Redis session store # Redis session store
gem 'redis-actionpack', '~> 5.5.0', feature_category: :redis gem 'redis-actionpack', '~> 5.5.0', feature_category: :redis
# Discord integration
gem 'discordrb-webhooks', '~> 3.5', require: false, feature_category: :integrations
# Jira integration # Jira integration
gem 'jira-ruby', '~> 2.3.0', feature_category: :integrations gem 'jira-ruby', '~> 2.3.0', feature_category: :integrations
gem 'atlassian-jwt', '~> 0.2.1', feature_category: :integrations gem 'atlassian-jwt', '~> 0.2.1', feature_category: :integrations

View file

@ -544,8 +544,6 @@ GEM
diffy (3.4.3) diffy (3.4.3)
digest-crc (0.6.5) digest-crc (0.6.5)
rake (>= 12.0.0, < 14.0.0) rake (>= 12.0.0, < 14.0.0)
discordrb-webhooks (3.5.0)
rest-client (>= 2.0.0)
docile (1.4.0) docile (1.4.0)
domain_name (0.5.20190701) domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0) unf (>= 0.0.5, < 1.0.0)
@ -2120,7 +2118,6 @@ DEPENDENCIES
devise-two-factor (~> 4.1.1) devise-two-factor (~> 4.1.1)
diff_match_patch (~> 0.1.0)! diff_match_patch (~> 0.1.0)!
diffy (~> 3.4) diffy (~> 3.4)
discordrb-webhooks (~> 3.5)
doorkeeper (~> 5.8, >= 5.8.1) doorkeeper (~> 5.8, >= 5.8.1)
doorkeeper-device_authorization_grant (~> 1.0.0) doorkeeper-device_authorization_grant (~> 1.0.0)
doorkeeper-openid_connect (~> 1.8.10) doorkeeper-openid_connect (~> 1.8.10)

View file

@ -1732,17 +1732,6 @@ src: {
}; };
version = "0.6.5"; version = "0.6.5";
}; };
discordrb-webhooks = {
dependencies = [ "rest-client" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1c933kq48sqja1a2fc4ki9w8x5ajl6lp67hslka5k05hwfyaiysj";
type = "gem";
};
version = "3.5.0";
};
docile = { docile = {
groups = [ groups = [
"coverage" "coverage"

View file

@ -11,16 +11,16 @@
buildGoModule rec { buildGoModule rec {
pname = "kcl"; pname = "kcl";
version = "0.11.1"; version = "0.11.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kcl-lang"; owner = "kcl-lang";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Ron+8pK/1VYwL0HO97QvBpWhKeAlhM+sVi1Djc++4n4="; hash = "sha256-9QPGQ8PfXtb37RIrfqLeezobmXSpgvYzxJOWldmgnyc=";
}; };
vendorHash = "sha256-yvhRHzVIkPE7ZDaX+98K4PW3/uh/6esxc/1KwpOvGfY="; vendorHash = "sha256-zToyM20ykPAd+EHwSUsX+4BvBPT8iXk5suGK2ZYBjvc=";
subPackages = [ "cmd/kcl" ]; subPackages = [ "cmd/kcl" ];

View file

@ -10,13 +10,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "libdaq"; pname = "libdaq";
version = "3.0.18"; version = "3.0.19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "snort3"; owner = "snort3";
repo = "libdaq"; repo = "libdaq";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-PMb8q8QcfUXxEf0s2UdaZogmxzqUCw0wRdzfT1xio/E="; hash = "sha256-ma+M/rIbChqL0pjhE0a1UfJLm/r7I7IvIuSwcnQWvAQ=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -10,19 +10,19 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "lon"; pname = "lon";
version = "0.4.0"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nikstur"; owner = "nikstur";
repo = "lon"; repo = "lon";
tag = version; tag = version;
hash = "sha256-tF9nzTIX0pU/N+h6i7ftn8RhwVB1o3O9+g+sziJvGwc="; hash = "sha256-/7RelKn3pzC8n+b2OV1pcUEaWeEoH4qC2TvAWwni5AA=";
}; };
sourceRoot = "source/rust/lon"; sourceRoot = "source/rust/lon";
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-Aa8Rkny5hBfQpGcZYJrbzU00ExJPTfhQzKDbHAt8rXE="; cargoHash = "sha256-2/lHRv3bD0hX/JVSucsA3G5gM9NMgRrBf21JtEvzu64=";
nativeBuildInputs = [ makeBinaryWrapper ]; nativeBuildInputs = [ makeBinaryWrapper ];

View file

@ -19,8 +19,8 @@
# #
# Ensure you also check ../mattermostLatest/package.nix. # Ensure you also check ../mattermostLatest/package.nix.
regex = "^v(10\\.5\\.[0-9]+)$"; regex = "^v(10\\.5\\.[0-9]+)$";
version = "10.5.5"; version = "10.5.6";
srcHash = "sha256-ptyBYZvxCnqD3SX1Cy1uNFjM8wvBHDrroGsu1SnnuJs="; srcHash = "sha256-etHEJ3EBTolXZr/2Kd39Jdtf1qBMuVO5zRkuM6k4F3w=";
vendorHash = "sha256-9Jl+lxvSoxUReziTqkDRyeNrijGWcBDbqoywJRIeD2k="; vendorHash = "sha256-9Jl+lxvSoxUReziTqkDRyeNrijGWcBDbqoywJRIeD2k=";
npmDepsHash = "sha256-tIeuDUZbqgqooDm5TRfViiTT5OIyN0BPwvJdI+wf7p0="; npmDepsHash = "sha256-tIeuDUZbqgqooDm5TRfViiTT5OIyN0BPwvJdI+wf7p0=";
lockfileOverlay = '' lockfileOverlay = ''

View file

@ -11,9 +11,9 @@ mattermost.override {
# and make sure the version regex is up to date here. # and make sure the version regex is up to date here.
# Ensure you also check ../mattermost/package.nix for ESR releases. # Ensure you also check ../mattermost/package.nix for ESR releases.
regex = "^v(10\\.[0-9]+\\.[0-9]+)$"; regex = "^v(10\\.[0-9]+\\.[0-9]+)$";
version = "10.8.0"; version = "10.8.1";
srcHash = "sha256-JfMQXwRXb3KdZssi5z4KU+X6oBu4+SZRN7KeCBd2Q1E="; srcHash = "sha256-bgXdLCH/lL9LFPfFk5uwdd61+fnG/WrzftWWH+BNcTY=";
vendorHash = "sha256-K51Ps1hvi4O0sCYAiAhYHJa2Igpt1dF16VUJPA3S3XA="; vendorHash = "sha256-OJCVcD/k3AuZJzsJsayw413mTwIaodd+iHqy5akNDSw=";
npmDepsHash = "sha256-iddiDUXW9o6bCvswxCQTk9GbaZ1Kk0RN7RY9dPrClXQ="; npmDepsHash = "sha256-iddiDUXW9o6bCvswxCQTk9GbaZ1Kk0RN7RY9dPrClXQ=";
lockfileOverlay = '' lockfileOverlay = ''
unlock(.; "@floating-ui/react"; "channels/node_modules/@floating-ui/react") unlock(.; "@floating-ui/react"; "channels/node_modules/@floating-ui/react")

View file

@ -6,11 +6,11 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "nerd-font-patcher"; pname = "nerd-font-patcher";
version = "3.3.0"; version = "3.4.0";
src = fetchzip { src = fetchzip {
url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/FontPatcher.zip"; url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v${version}/FontPatcher.zip";
sha256 = "sha256-/LbO8+ZPLFIUjtZHeyh6bQuplqRfR6SZRu9qPfVZ0Mw="; sha256 = "sha256-koZj0Tn1HtvvSbQGTc3RbXQdUU4qJwgClOVq1RXW6aM=";
stripRoot = false; stripRoot = false;
}; };

View file

@ -16,16 +16,16 @@ let
in in
buildNpmPackage (finalAttrs: { buildNpmPackage (finalAttrs: {
pname = "netron"; pname = "netron";
version = "8.3.3"; version = "8.3.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lutzroeder"; owner = "lutzroeder";
repo = "netron"; repo = "netron";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-7OdHg0nLVz7xno1FTE+fr6FZkzkI+6KjX3EsDzyZbOM="; hash = "sha256-P7lv0pnhrdU9zFwCzQYwYilq6qJ1UUaYgVDMiRZP5M8=";
}; };
npmDepsHash = "sha256-oOGHo/KCc/qlJRdIyUmoRayV1i+e0mEqMr7TTCo5YKA="; npmDepsHash = "sha256-gPRxgf4XTxIZIKTZbr07zzEJW1n0Waas+zms6Ap6RAY=";
nativeBuildInputs = [ jq ]; nativeBuildInputs = [ jq ];

View file

@ -26,13 +26,13 @@
xorg, xorg,
}: }:
let let
version = "2.15.3"; version = "2.16.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "paperless-ngx"; owner = "paperless-ngx";
repo = "paperless-ngx"; repo = "paperless-ngx";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-zkOOUMyAvYYJnYn4s7D4tsYhodVX5kvPdXBBknBsusY="; hash = "sha256-wdcwSWaixNceVqrCXStf+0jnWbigd3k5FXRF0o2UbW0=";
}; };
python = python3.override { python = python3.override {
@ -69,7 +69,7 @@ let
pnpmDeps = pnpm.fetchDeps { pnpmDeps = pnpm.fetchDeps {
inherit pname version src; inherit pname version src;
hash = "sha256-yoTXlxXLcWD2DMxqjb02ZORJ+E0xE1DbZm1VL7vXM4g="; hash = "sha256-tSBpZ+1aPLUI0SKpOyKo+OLsJZiyDCxRb+5hKMPrxL8=";
}; };
nativeBuildInputs = nativeBuildInputs =
@ -149,15 +149,7 @@ python.pkgs.buildPythonApplication rec {
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [
"celery"
"django-allauth" "django-allauth"
"django-extensions"
"drf-spectacular-sidecar"
"filelock"
"python-dotenv"
"rapidfuzz"
# TODO: https://github.com/NixOS/nixpkgs/pull/373099
"zxing-cpp"
]; ];
dependencies = dependencies =
@ -320,14 +312,14 @@ python.pkgs.buildPythonApplication rec {
tests = { inherit (nixosTests) paperless; }; tests = { inherit (nixosTests) paperless; };
}; };
meta = with lib; { meta = {
description = "Tool to scan, index, and archive all of your physical documents"; description = "Tool to scan, index, and archive all of your physical documents";
homepage = "https://docs.paperless-ngx.com/"; homepage = "https://docs.paperless-ngx.com/";
changelog = "https://github.com/paperless-ngx/paperless-ngx/releases/tag/v${version}"; changelog = "https://github.com/paperless-ngx/paperless-ngx/releases/tag/${src.tag}";
license = licenses.gpl3Only; license = lib.licenses.gpl3Only;
platforms = platforms.unix; platforms = lib.platforms.unix;
mainProgram = "paperless-ngx"; mainProgram = "paperless-ngx";
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
leona leona
SuperSandro2000 SuperSandro2000
erikarvstedt erikarvstedt

View file

@ -34,11 +34,11 @@ let
in in
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "PortfolioPerformance"; pname = "PortfolioPerformance";
version = "0.76.2"; version = "0.76.3";
src = fetchurl { src = fetchurl {
url = "https://github.com/buchen/portfolio/releases/download/${finalAttrs.version}/PortfolioPerformance-${finalAttrs.version}-linux.gtk.x86_64.tar.gz"; url = "https://github.com/buchen/portfolio/releases/download/${finalAttrs.version}/PortfolioPerformance-${finalAttrs.version}-linux.gtk.x86_64.tar.gz";
hash = "sha256-Kb57COhAYOTZvRNriPw6ZGKczENz+RCnWs+P8rtJyeY="; hash = "sha256-HbmNIRKNV1vmDX6PdjBvBNfyLP/pqtRCZRBHNADyiqM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,70 +0,0 @@
{
lib,
stdenv,
pkg-config,
luajit,
openssl,
fetchurl,
libpcap,
pcre,
libdnet,
daq,
zlib,
flex,
bison,
makeWrapper,
libtirpc,
}:
stdenv.mkDerivation (finalAttrs: {
version = "2.9.20";
pname = "snort2";
# TODO: remove this package after 25.05 release
# https://github.com/NixOS/nixpkgs/pull/381363#issuecomment-2653483597
src = fetchurl rec {
name = "snort-${finalAttrs.version}.tar.gz";
url = "https://snort.org/downloads/snort/${name}";
sha256 = "sha256-KUAOE/U7GDHguLEOwSJKHLqm3BUzpTIqIN2Au4S0mBw=";
};
nativeBuildInputs = [
makeWrapper
pkg-config
];
buildInputs = [
luajit
openssl
libpcap
pcre
libdnet
daq
zlib
flex
bison
libtirpc
];
env.NIX_CFLAGS_COMPILE = toString [ "-I${libtirpc.dev}/include/tirpc" ];
enableParallelBuilding = true;
configureFlags = [
"--disable-static-daq"
"--enable-control-socket"
"--with-daq-includes=${daq}/includes"
"--with-daq-libraries=${daq}/lib"
];
postInstall = ''
wrapProgram $out/bin/snort --add-flags "--daq-dir ${daq}/lib/daq --dynamic-preprocessor-lib-dir $out/lib/snort_dynamicpreprocessor/ --dynamic-engine-lib-dir $out/lib/snort_dynamicengine"
'';
meta = {
description = "Network intrusion prevention and detection system (IDS/IPS)";
homepage = "https://www.snort.org";
maintainers = with lib.maintainers; [ aycanirican ];
license = lib.licenses.gpl2;
platforms = with lib.platforms; linux;
};
})

View file

@ -10,7 +10,7 @@
let let
pname = "trezor-suite"; pname = "trezor-suite";
version = "25.4.2"; version = "25.5.2";
suffix = suffix =
{ {
@ -24,8 +24,8 @@ let
hash = hash =
{ {
# curl -Lfs https://github.com/trezor/trezor-suite/releases/download/v${version}/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/' # curl -Lfs https://github.com/trezor/trezor-suite/releases/download/v${version}/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/'
aarch64-linux = "sha512-BqZjccLs1eHcHmmzyWa3L37KjKjHJFxEhk+BtAD52Z9Mg8wq2Qpz0+z5JrCOXdqLf+j5jfmAQae2HpQhQrqV3g=="; aarch64-linux = "sha512-WfEFKfmILqJADNvYq5C5OOuZgCJmri6i/i6/QHFukeDrvAsUmIqcIIN1zpCoPyJBS4tc+mAlOXIEx0AkYfJVVA==";
x86_64-linux = "sha512-P4+FQd5Uis1rCzCOCpNNAbGS70t/u7FYHkz2+ylF+yBHauARsyvLm1IbUKZyqCsruae0O8n2wIuIltpLImNtqA=="; x86_64-linux = "sha512-ZGdqXkwlvjLhOFIEhpwCdmLodODmi/oq92+qSLRmKO37XvSJEvCNAHriLJiaIofqy8XSJmjT2MuHRzh0W+83sw==";
} }
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
}; };

View file

@ -44,19 +44,21 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-CJVUEwYnpXDaYgXoi1Qk0uyB/CHM3UDQzQfhtDxDKdE="; hash = "sha256-CJVUEwYnpXDaYgXoi1Qk0uyB/CHM3UDQzQfhtDxDKdE=";
}; };
nativeBuildInputs = nativeBuildInputs = [
[ gradle_jdk17
gradle_jdk17 makeBinaryWrapper
makeBinaryWrapper ];
]
++ lib.optionals withVelocityNative [
# libraries for velocity-native
openssl
libdeflate
# needed for building velocity-native jni buildInputs = lib.optionals withVelocityNative [
jdk17 # libraries for velocity-native
]; openssl
libdeflate
# needed for building velocity-native jni
jdk17
];
strictDeps = true;
mitmCache = gradle_jdk17.fetchDeps { mitmCache = gradle_jdk17.fetchDeps {
inherit (finalAttrs) pname; inherit (finalAttrs) pname;
@ -99,6 +101,13 @@ stdenv.mkDerivation (finalAttrs: {
makeWrapper ${lib.getExe jre_headless} "$out/bin/velocity" \ makeWrapper ${lib.getExe jre_headless} "$out/bin/velocity" \
--append-flags "-jar $out/share/velocity/velocity.jar" --append-flags "-jar $out/share/velocity/velocity.jar"
${lib.optionalString withVelocityNative ''
# Nix doesn't pick up references in compressed JAR file
mkdir $out/nix-support
echo ${lib.getLib openssl} >> $out/nix-support/runtime-dependencies
echo ${lib.getLib libdeflate} >> $out/nix-support/runtime-dependencies
''}
runHook postInstall runHook postInstall
''; '';

View file

@ -1,14 +1,14 @@
{ {
"darwin": { "darwin": {
"hash": "sha256-c6+LEdAWgRrm3UrHRK8N0IGuxoxHpz4j5sgCz+eJOco=", "hash": "sha256-AxPUNdZbvc6T4sFFTkQnOAg26vmzf86oaGbtzapybFc=",
"version": "0.2025.05.07.08.12.stable_02" "version": "0.2025.05.14.08.11.stable_03"
}, },
"linux_x86_64": { "linux_x86_64": {
"hash": "sha256-uEaQecj5h6if5Hc7BjuXxxVO+SqOYE/xop08ujQFgGg=", "hash": "sha256-vdBTwn3ElyOIIyPXNbScvymq6P5d15b41NKAg7QSigk=",
"version": "0.2025.05.07.08.12.stable_02" "version": "0.2025.05.14.08.11.stable_03"
}, },
"linux_aarch64": { "linux_aarch64": {
"hash": "sha256-543oTSzBZLxWem3EnpqVyWgQvrbduurEhFEC7XpKHWk=", "hash": "sha256-jpTVEvZUmLlsiYTJtECT2G899PyFTXZz5qa9+RPWzaI=",
"version": "0.2025.05.07.08.12.stable_02" "version": "0.2025.05.14.08.11.stable_03"
} }
} }

View file

@ -20,15 +20,15 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "wash-cli"; pname = "wash-cli";
version = "0.29.2"; version = "0.39.0";
src = fetchCrate { src = fetchCrate {
inherit version pname; inherit version pname;
hash = "sha256-A66KSDYFbByguhnlzzU5nf8pE3lhnYQjI3h73SKB2Zo="; hash = "sha256-qOxYBhwkcn4g1cUBHuF0AoecpxN4ukgTjBnzVhWtw7A=";
}; };
useFetchCargoVendor = true; useFetchCargoVendor = true;
cargoHash = "sha256-m8NkYqfWRNJn+1Qym1C5ZwKhvXrwFd01TSpVigYwsJ8="; cargoHash = "sha256-dPHzRZh5jBxbPt+1a9wVbsBclAkfrcAXhpZgTw7e4Qo=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -18,18 +18,18 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wealthfolio"; pname = "wealthfolio";
version = "1.0.24"; version = "1.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "afadil"; owner = "afadil";
repo = "wealthfolio"; repo = "wealthfolio";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-3EuZXP4CTUcc9tlIdfAQfvwK5RZXcBe/8YkyjL/ZOVg="; hash = "sha256-lN7P8FPcMU9COTyKs1hswvmHIKFqrL3Svp77q4pI6+I=";
}; };
pnpmDeps = pnpm_9.fetchDeps { pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) src pname version; inherit (finalAttrs) src pname version;
hash = "sha256-0mjflUoqVJzshgpmyk32+Br61nkvcSjmjN7nf+7ZXJE="; hash = "sha256-wKj1jy/TDi8Cckx9et2XzX3yPnmfXMDrqv9c4+Yyhu4=";
}; };
cargoRoot = "src-tauri"; cargoRoot = "src-tauri";
@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
cargoDeps = rustPlatform.fetchCargoVendor { cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src; inherit (finalAttrs) pname version src;
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}"; sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
hash = "sha256-QFIDiuoT4J4pv1VrU5twrcb9Eqo77bgsWQl1DURpghE="; hash = "sha256-MmdvEutdkX98DgX1aVuxs4gabuMX5aM8yC4eqgvd8Q4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -11,7 +11,7 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xaos"; pname = "xaos";
version = "4.3.3"; version = "4.3.4";
outputs = [ outputs = [
"out" "out"
"man" "man"
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
owner = "xaos-project"; owner = "xaos-project";
repo = "XaoS"; repo = "XaoS";
tag = "release-${version}"; tag = "release-${version}";
hash = "sha256-EUhh1j0OVpCggpKcUJTRJOMKKy3ZF5Fdrk9yuXc2uEY="; hash = "sha256-vOFwZbdbcrcJLHUa1QzxzadPcx5GF5uNPg+MZ7NbAPc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -17,13 +17,13 @@ python3Packages.buildPythonApplication rec {
# The websites yt-dlp deals with are a very moving target. That means that # The websites yt-dlp deals with are a very moving target. That means that
# downloads break constantly. Because of that, updates should always be backported # downloads break constantly. Because of that, updates should always be backported
# to the latest stable release. # to the latest stable release.
version = "2025.4.30"; version = "2025.5.22";
pyproject = true; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "yt_dlp"; pname = "yt_dlp";
hash = "sha256-0BNn0MOulONcseLsy3p8cOGBxMpEj07iN08mSJ0mNgM="; hash = "sha256-6nOFTF2rwSTymjWo+um8XUIu8yMb6+6ivfqCrBkanCk=";
}; };
build-system = with python3Packages; [ build-system = with python3Packages; [

View file

@ -1,6 +1,129 @@
{ {
z3_4_14, lib,
... stdenv,
}@args: fetchFromGitHub,
python3,
fixDarwinDylibNames,
nix-update-script,
versionCheckHook,
z3_4_14.override args javaBindings ? false,
ocamlBindings ? false,
pythonBindings ? true,
jdk ? null,
ocaml ? null,
findlib ? null,
zarith ? null,
...
}:
assert javaBindings -> jdk != null;
assert ocamlBindings -> ocaml != null && findlib != null && zarith != null;
stdenv.mkDerivation (finalAttrs: {
pname = "z3";
version = "4.15.0";
src = fetchFromGitHub {
owner = "Z3Prover";
repo = "z3";
rev = "z3-${finalAttrs.version}";
hash = "sha256-fk3NyV6vIDXivhiNOW2Y0i5c+kzc7oBqaeBWj/JjpTM=";
};
strictDeps = true;
nativeBuildInputs =
[ python3 ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ]
++ lib.optionals javaBindings [ jdk ]
++ lib.optionals ocamlBindings [
ocaml
findlib
];
propagatedBuildInputs = [ python3.pkgs.setuptools ] ++ lib.optionals ocamlBindings [ zarith ];
enableParallelBuilding = true;
postPatch = lib.optionalString ocamlBindings ''
export OCAMLFIND_DESTDIR=$ocaml/lib/ocaml/${ocaml.version}/site-lib
mkdir -p $OCAMLFIND_DESTDIR/stublibs
'';
configurePhase = ''
runHook preConfigure
${python3.pythonOnBuildForHost.interpreter} \
scripts/mk_make.py \
--prefix=$out \
${lib.optionalString javaBindings "--java"} \
${lib.optionalString ocamlBindings "--ml"} \
${lib.optionalString pythonBindings "--python --pypkgdir=$out/${python3.sitePackages}"}
cd build
runHook postConfigure
'';
doCheck = true;
checkPhase = ''
runHook preCheck
make -j $NIX_BUILD_CORES test
./test-z3 -a
runHook postCheck
'';
postInstall =
''
mkdir -p $dev $lib
mv $out/lib $lib/lib
mv $out/include $dev/include
''
+ lib.optionalString pythonBindings ''
mkdir -p $python/lib
mv $lib/lib/python* $python/lib/
ln -sf $lib/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary} $python/${python3.sitePackages}/z3/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary}
''
+ lib.optionalString javaBindings ''
mkdir -p $java/share/java
mv com.microsoft.z3.jar $java/share/java
moveToOutput "lib/libz3java.${stdenv.hostPlatform.extensions.sharedLibrary}" "$java"
'';
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
outputs =
[
"out"
"lib"
"dev"
"python"
]
++ lib.optionals javaBindings [ "java" ]
++ lib.optionals ocamlBindings [ "ocaml" ];
passthru = {
updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^z3-([0-9]+\\.[0-9]+\\.[0-9]+)$"
];
};
};
meta = {
description = "High-performance theorem prover and SMT solver";
mainProgram = "z3";
homepage = "https://github.com/Z3Prover/z3";
changelog = "https://github.com/Z3Prover/z3/releases/tag/z3-${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [
thoughtpolice
ttuegel
numinit
];
};
})

View file

@ -1,130 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
python3,
fixDarwinDylibNames,
nix-update-script,
javaBindings ? false,
ocamlBindings ? false,
pythonBindings ? true,
jdk ? null,
ocaml ? null,
findlib ? null,
zarith ? null,
versionInfo ? {
regex = "^v(4\\.14\\.[0-9]+)$";
version = "4.14.1";
hash = "sha256-pTsDzf6Frk4mYAgF81wlR5Kb1x56joFggO5Fa3G2s70=";
},
...
}:
assert javaBindings -> jdk != null;
assert ocamlBindings -> ocaml != null && findlib != null && zarith != null;
stdenv.mkDerivation (finalAttrs: {
pname = "z3";
inherit (versionInfo) version;
src = fetchFromGitHub {
owner = "Z3Prover";
repo = "z3";
rev = "z3-${finalAttrs.version}";
inherit (versionInfo) hash;
};
strictDeps = true;
nativeBuildInputs =
[ python3 ]
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames
++ lib.optional javaBindings jdk
++ lib.optionals ocamlBindings [
ocaml
findlib
];
propagatedBuildInputs = [ python3.pkgs.setuptools ] ++ lib.optionals ocamlBindings [ zarith ];
enableParallelBuilding = true;
postPatch = lib.optionalString ocamlBindings ''
export OCAMLFIND_DESTDIR=$ocaml/lib/ocaml/${ocaml.version}/site-lib
mkdir -p $OCAMLFIND_DESTDIR/stublibs
'';
configurePhase =
lib.concatStringsSep " " (
[ "${python3.pythonOnBuildForHost.interpreter} scripts/mk_make.py --prefix=$out" ]
++ lib.optional javaBindings "--java"
++ lib.optional ocamlBindings "--ml"
++ lib.optional pythonBindings "--python --pypkgdir=$out/${python3.sitePackages}"
)
+ "\n"
+ "cd build";
doCheck = true;
checkPhase = ''
make -j $NIX_BUILD_CORES test
./test-z3 -a
'';
postInstall =
''
mkdir -p $dev $lib
mv $out/lib $lib/lib
mv $out/include $dev/include
''
+ lib.optionalString pythonBindings ''
mkdir -p $python/lib
mv $lib/lib/python* $python/lib/
ln -sf $lib/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary} $python/${python3.sitePackages}/z3/lib/libz3${stdenv.hostPlatform.extensions.sharedLibrary}
''
+ lib.optionalString javaBindings ''
mkdir -p $java/share/java
mv com.microsoft.z3.jar $java/share/java
moveToOutput "lib/libz3java.${stdenv.hostPlatform.extensions.sharedLibrary}" "$java"
'';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/z3 -version 2>&1 | grep -F "Z3 version $version"
'';
outputs =
[
"out"
"lib"
"dev"
"python"
]
++ lib.optional javaBindings "java"
++ lib.optional ocamlBindings "ocaml";
passthru = {
updateScript = nix-update-script {
extraArgs =
[
"--version-regex"
versionInfo.regex
]
++ lib.optionals (versionInfo.autoUpdate or null != null) [
"--override-filename"
versionInfo.autoUpdate
];
};
};
meta = {
description = "High-performance theorem prover and SMT solver";
mainProgram = "z3";
homepage = "https://github.com/Z3Prover/z3";
changelog = "https://github.com/Z3Prover/z3/releases/tag/z3-${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [
thoughtpolice
ttuegel
numinit
];
};
})

View file

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bc-detect-secrets"; pname = "bc-detect-secrets";
version = "1.5.42"; version = "1.5.43";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "bridgecrewio"; owner = "bridgecrewio";
repo = "detect-secrets"; repo = "detect-secrets";
tag = version; tag = version;
hash = "sha256-ADK9zopoO7rOslJx3imxiKbziVK6oInfYHytgTVbq/w="; hash = "sha256-A9qDkAi414wJ7cuAwr1r6FgIa1tOJb+EkAGsvFrw/Fo=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -359,7 +359,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "boto3-stubs"; pname = "boto3-stubs";
version = "1.38.19"; version = "1.38.20";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -367,7 +367,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "boto3_stubs"; pname = "boto3_stubs";
inherit version; inherit version;
hash = "sha256-Vm1Q7HAQXwb4YEHQP9SvaiQyL0Bj7NL2rIm5szgDjRQ="; hash = "sha256-fx17//c1XrTRfnmE+/J/RHCc2EhKu1S9a6NOxzpVJgU=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -20,7 +20,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fastapi-mail"; pname = "fastapi-mail";
version = "1.4.2"; version = "1.5.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "sabuhish"; owner = "sabuhish";
repo = "fastapi-mail"; repo = "fastapi-mail";
tag = version; tag = version;
hash = "sha256-QypW7yE5jBkS1Q4XPIOktWnCmCXGoUzZF/SdWmFsPX8="; hash = "sha256-v8cf4GlYAdl5+iD7hJHW+FuDN/I/VygWaaZLEotDNCU=";
}; };
pythonRelaxDeps = [ pythonRelaxDeps = [
@ -64,6 +64,7 @@ buildPythonPackage rec {
# Tests require access to /etc/resolv.conf # Tests require access to /etc/resolv.conf
"test_default_checker" "test_default_checker"
"test_redis_checker" "test_redis_checker"
"test_local_hostname_resolving"
]; ];
pythonImportsCheck = [ "fastapi_mail" ]; pythonImportsCheck = [ "fastapi_mail" ];
@ -72,7 +73,7 @@ buildPythonPackage rec {
description = "Module for sending emails and attachments"; description = "Module for sending emails and attachments";
homepage = "https://github.com/sabuhish/fastapi-mail"; homepage = "https://github.com/sabuhish/fastapi-mail";
changelog = "https://github.com/sabuhish/fastapi-mail/releases/tag/${version}"; changelog = "https://github.com/sabuhish/fastapi-mail/releases/tag/${version}";
license = with licenses; [ mit ]; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };
} }

View file

@ -26,7 +26,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "glueviz"; pname = "glueviz";
version = "1.21.1"; version = "1.22.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -35,7 +35,7 @@ buildPythonPackage rec {
owner = "glue-viz"; owner = "glue-viz";
repo = "glue"; repo = "glue";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-/awIgfKbDFKM2WFlfpo5f/Px/N1aMXkV9eSTXts0aGo="; hash = "sha256-5YwZxVer3icA/7YmUIXTuyIlZYKrlFn5+4OYMbfvIlU=";
}; };
buildInputs = [ pyqt-builder ]; buildInputs = [ pyqt-builder ];

View file

@ -15,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "influxdb3-python"; pname = "influxdb3-python";
version = "0.12.0"; version = "0.13.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "InfluxCommunity"; owner = "InfluxCommunity";
repo = "influxdb3-python"; repo = "influxdb3-python";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-WD4andK52w3daIqTEzBRouEqfTrrVV63Hm220RdQr8o="; hash = "sha256-QYf1XUmnP0nPo5F1nFwVCw7W2CdUCgp7vJNV+QM4pPE=";
}; };
postPatch = '' postPatch = ''

View file

@ -24,7 +24,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "jsonargparse"; pname = "jsonargparse";
version = "4.39.0"; version = "4.40.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.11"; disabled = pythonOlder "3.11";
@ -33,7 +33,7 @@ buildPythonPackage rec {
owner = "omni-us"; owner = "omni-us";
repo = "jsonargparse"; repo = "jsonargparse";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-MarJ1lTIZa7FyT/y/o/iBSwtqTXXrVXRWp7yk6lH0dM="; hash = "sha256-2FEFAFEi+IRvFbFwto0YKJ/1JdSjb4kbTm1n9t/Ix4Y=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -7,6 +7,8 @@
expat, expat,
libpng, libpng,
setuptools, setuptools,
stdenv,
fixDarwinDylibNames,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -30,6 +32,12 @@ buildPythonPackage rec {
libpng libpng
]; ];
# libpng-config is needed for the build on Darwin
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libpng.dev
fixDarwinDylibNames
];
pythonImportsCheck = [ "klayout" ]; pythonImportsCheck = [ "klayout" ];
meta = with lib; { meta = with lib; {
@ -37,6 +45,6 @@ buildPythonPackage rec {
homepage = "https://github.com/KLayout/klayout"; homepage = "https://github.com/KLayout/klayout";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ fbeffa ]; maintainers = with maintainers; [ fbeffa ];
platforms = platforms.linux; platforms = platforms.linux ++ platforms.darwin;
}; };
} }

View file

@ -17,14 +17,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-cloud-services"; pname = "llama-cloud-services";
version = "0.6.22"; version = "0.6.23";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "run-llama"; owner = "run-llama";
repo = "llama_cloud_services"; repo = "llama_cloud_services";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-o2nSiMj/vQq4xWV0lgL3LUdlQg+3EzrhASfd0NILMfA="; hash = "sha256-G1qjm7GpSZDgGWys+toXiQoRJHIQUcwG6+0JK8k3XfE=";
}; };
pythonRelaxDeps = [ "llama-cloud" ]; pythonRelaxDeps = [ "llama-cloud" ];

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-agent-openai"; pname = "llama-index-agent-openai";
version = "0.4.7"; version = "0.4.8";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "llama_index_agent_openai"; pname = "llama_index_agent_openai";
inherit version; inherit version;
hash = "sha256-+xu6sfCkIzCVA2QaLO2Nwa5sB9WomLT3Ft4NuZV0bg0="; hash = "sha256-unbyHht/D2bjJtxBnCzEA8u2FK4o95BFQLEQNpWWX2g=";
}; };
pythonRelaxDeps = [ "llama-index-llms-openai" ]; pythonRelaxDeps = [ "llama-index-llms-openai" ];

View file

@ -2,16 +2,16 @@
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
hatchling,
llama-index-core, llama-index-core,
llama-index-llms-openai, llama-index-llms-openai,
poetry-core,
pythonOlder, pythonOlder,
transformers, transformers,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-llms-openai-like"; pname = "llama-index-llms-openai-like";
version = "0.3.4"; version = "0.3.5";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -19,10 +19,10 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "llama_index_llms_openai_like"; pname = "llama_index_llms_openai_like";
inherit version; inherit version;
hash = "sha256-bLjVdNicRrC9oH5/l0e2Qo9wpzNWBpIrQxh9qZ2WdR0="; hash = "sha256-1TId/2bYHYuQCMdvROlcSZFTZDUyrMhZop5xRicvrNk=";
}; };
build-system = [ poetry-core ]; build-system = [ hatchling ];
dependencies = [ dependencies = [
llama-index-core llama-index-core

View file

@ -4,13 +4,13 @@
fetchPypi, fetchPypi,
llama-index-core, llama-index-core,
openai, openai,
poetry-core, hatchling,
pythonOlder, pythonOlder,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-index-llms-openai"; pname = "llama-index-llms-openai";
version = "0.3.38"; version = "0.3.42";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "llama_index_llms_openai"; pname = "llama_index_llms_openai";
inherit version; inherit version;
hash = "sha256-vNHVISv3yUgwGVhxmh3zYb5is3tWIHMuTJzoBLwHi3c="; hash = "sha256-O1yLSwbtod1743ATe215OI+dIcan7d2HK15jNuYYsjU=";
}; };
pythonRemoveDeps = [ pythonRemoveDeps = [
@ -26,7 +26,7 @@ buildPythonPackage rec {
"llama-index-agent-openai" "llama-index-agent-openai"
]; ];
build-system = [ poetry-core ]; build-system = [ hatchling ];
dependencies = [ dependencies = [
llama-index-core llama-index-core

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "llama-parse"; pname = "llama-parse";
version = "0.6.4.post1"; version = "0.6.23";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "llama_parse"; pname = "llama_parse";
inherit version; inherit version;
hash = "sha256-hG2ZWfTgNPjZaB3R8APUL419wCjTlKsEhntZBGtDkNY="; hash = "sha256-7lddEmYN5XJkkArkFOfGFkbbn73QMP15X7TOTSjYP4U=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "meilisearch"; pname = "meilisearch";
version = "0.34.1"; version = "0.35";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "meilisearch"; owner = "meilisearch";
repo = "meilisearch-python"; repo = "meilisearch-python";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-y4iGA0SJxjzddej5uXH2k3doaKBfXFVHlrRAjrD0CBA="; hash = "sha256-/Y02+XaImJfZj/6+mkUR31LA9HkVXelFdcJok3/Ui+g=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "msgraph-sdk"; pname = "msgraph-sdk";
version = "1.30.0"; version = "1.31.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "microsoftgraph"; owner = "microsoftgraph";
repo = "msgraph-sdk-python"; repo = "msgraph-sdk-python";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-YKeQkgEOiblG7RJUAf7qI8F9MYU8sFDxrVUbdYj/H0Y="; hash = "sha256-edDf3w7QXQd19B68S85OwV2rI5FpYwvuJ+DkF3da0HE=";
}; };
build-system = [ flit-core ]; build-system = [ flit-core ];

View file

@ -382,8 +382,8 @@ rec {
"sha256-BpMkYM5+cchfhg+xJR9/cXd75fzl44rwsXXEe5ofowU="; "sha256-BpMkYM5+cchfhg+xJR9/cXd75fzl44rwsXXEe5ofowU=";
mypy-boto3-datasync = mypy-boto3-datasync =
buildMypyBoto3Package "datasync" "1.38.0" buildMypyBoto3Package "datasync" "1.38.20"
"sha256-Sk/XtOjc04Da6tfmbGg0feQah3mnsXDjXwKwCrLZ8ms="; "sha256-/tlmBxr4MvI1YuPq5+BgHzQj2J+c1nN/C/poOxE0Xd8=";
mypy-boto3-dax = mypy-boto3-dax =
buildMypyBoto3Package "dax" "1.38.0" buildMypyBoto3Package "dax" "1.38.0"
@ -446,8 +446,8 @@ rec {
"sha256-RQh46jrXqj4bXTRJ+tPR9sql7yUn7Ek9u4p0OU0A7b0="; "sha256-RQh46jrXqj4bXTRJ+tPR9sql7yUn7Ek9u4p0OU0A7b0=";
mypy-boto3-ec2 = mypy-boto3-ec2 =
buildMypyBoto3Package "ec2" "1.38.19" buildMypyBoto3Package "ec2" "1.38.20"
"sha256-FonE4x7zpgXEgLAtwv2qJ1I//IRUHSvSvvCLmy8CF1Y="; "sha256-8OsQwmsPFIkDkFJdNiE8YF4OXtHOsrnzPtOeKQRM5+g=";
mypy-boto3-ec2-instance-connect = mypy-boto3-ec2-instance-connect =
buildMypyBoto3Package "ec2-instance-connect" "1.38.0" buildMypyBoto3Package "ec2-instance-connect" "1.38.0"
@ -574,8 +574,8 @@ rec {
"sha256-abALPaOoxM8dvwqd8j41mTT1Zmcn/sEVzlopSMc+fYM="; "sha256-abALPaOoxM8dvwqd8j41mTT1Zmcn/sEVzlopSMc+fYM=";
mypy-boto3-glue = mypy-boto3-glue =
buildMypyBoto3Package "glue" "1.38.18" buildMypyBoto3Package "glue" "1.38.20"
"sha256-iqCNIirn02Gl0oQW00xKxwp+3yOFrGXpkskIH4C5njs="; "sha256-4N+T4SvRqraR3juc+0jfbhmGrfCUALfpbrL8kmzygTw=";
mypy-boto3-grafana = mypy-boto3-grafana =
buildMypyBoto3Package "grafana" "1.38.0" buildMypyBoto3Package "grafana" "1.38.0"
@ -626,8 +626,8 @@ rec {
"sha256-MaOetVmIqI8vVaVt6HCUXxrLO7lUm4i5DDzwfxEdLIg="; "sha256-MaOetVmIqI8vVaVt6HCUXxrLO7lUm4i5DDzwfxEdLIg=";
mypy-boto3-inspector2 = mypy-boto3-inspector2 =
buildMypyBoto3Package "inspector2" "1.38.0" buildMypyBoto3Package "inspector2" "1.38.20"
"sha256-swUv9KcYm0bsj11n5hRJayUXuFsLUZCQVrOQ+UaDJcE="; "sha256-Yz+NR/OXOQeeQROMuxGKSY85Z8wrS7TCg1KeUGg7k0c=";
mypy-boto3-internetmonitor = mypy-boto3-internetmonitor =
buildMypyBoto3Package "internetmonitor" "1.38.0" buildMypyBoto3Package "internetmonitor" "1.38.0"
@ -962,8 +962,8 @@ rec {
"sha256-gs9eGyRaZN7Fsl0D5fSqtTiYZ+Exp0s8QW/X8ZR7guA="; "sha256-gs9eGyRaZN7Fsl0D5fSqtTiYZ+Exp0s8QW/X8ZR7guA=";
mypy-boto3-oam = mypy-boto3-oam =
buildMypyBoto3Package "oam" "1.38.0" buildMypyBoto3Package "oam" "1.38.20"
"sha256-FoA7KFsR9go+ijXjC1DlH893S/OVu+aR/LDbbcp8oUc="; "sha256-MM1WMowSubk22b/CG1OGxfozZ/svWVx4EpI5QHXPo1E=";
mypy-boto3-omics = mypy-boto3-omics =
buildMypyBoto3Package "omics" "1.38.0" buildMypyBoto3Package "omics" "1.38.0"
@ -1086,8 +1086,8 @@ rec {
"sha256-ZgecmO3dz66i2COSXzBjyUCtTkGGi9gnvb/HNNEq1AE="; "sha256-ZgecmO3dz66i2COSXzBjyUCtTkGGi9gnvb/HNNEq1AE=";
mypy-boto3-rds = mypy-boto3-rds =
buildMypyBoto3Package "rds" "1.38.2" buildMypyBoto3Package "rds" "1.38.20"
"sha256-vfZRgJZfcaPrd3hwb4exziyfE0DPOrE28ZA6YAdOScw="; "sha256-xqpwwMxbxZlZ/sQ0IG+/ggA4a1g/8ffjchVOqkHrUuk=";
mypy-boto3-rds-data = mypy-boto3-rds-data =
buildMypyBoto3Package "rds-data" "1.38.0" buildMypyBoto3Package "rds-data" "1.38.0"

View file

@ -6,25 +6,29 @@
fetchFromGitHub, fetchFromGitHub,
hatchling, hatchling,
hypothesis, hypothesis,
ibis-framework,
packaging,
pandas, pandas,
polars, polars,
pyarrow-hotfix,
pyarrow, pyarrow,
pyspark, pyspark,
pytest-env, pytest-env,
pytestCheckHook, pytestCheckHook,
rich,
sqlframe, sqlframe,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "narwhals"; pname = "narwhals";
version = "1.38.2"; version = "1.40.0";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "narwhals-dev"; owner = "narwhals-dev";
repo = "narwhals"; repo = "narwhals";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-zqtYTqirAXLcpFA2sXczl0HPWL/3cYWws2yUfE8I8NY="; hash = "sha256-cCgWKH4DzENTI1vwxOU+GRp/poUe55XqSPY8UHYy9PI=";
}; };
build-system = [ hatchling ]; build-system = [ hatchling ];
@ -37,6 +41,12 @@ buildPythonPackage rec {
polars = [ polars ]; polars = [ polars ];
pyarrow = [ pyarrow ]; pyarrow = [ pyarrow ];
pyspark = [ pyspark ]; pyspark = [ pyspark ];
ibis = [
ibis-framework
rich
packaging
pyarrow-hotfix
];
sqlframe = [ sqlframe ]; sqlframe = [ sqlframe ];
}; };
@ -54,6 +64,9 @@ buildPythonPackage rec {
"test_rolling_var_hypothesis" "test_rolling_var_hypothesis"
# Missing file # Missing file
"test_pyspark_connect_deps_2517" "test_pyspark_connect_deps_2517"
# Timezone issue
"test_to_datetime"
"test_unary_two_elements"
]; ];
pytestFlagsArray = [ pytestFlagsArray = [

View file

@ -18,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pubnub"; pname = "pubnub";
version = "10.3.0"; version = "10.4.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "pubnub"; owner = "pubnub";
repo = "python"; repo = "python";
tag = version; tag = version;
hash = "sha256-GkROhb8kgiHTLcXTMg9vYcuGNW8xpa5NKUzge78AqBU="; hash = "sha256-yAQK56X6DKuaijAvUgQtAmpR4V5FioZogAqzZ/yhbHE=";
}; };
pythonRelaxDeps = [ "httpx" ]; pythonRelaxDeps = [ "httpx" ];

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "py-ocsf-models"; pname = "py-ocsf-models";
version = "0.4.0"; version = "0.5.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "prowler-cloud"; owner = "prowler-cloud";
repo = "py-ocsf-models"; repo = "py-ocsf-models";
tag = version; tag = version;
hash = "sha256-OCHhqsP0RlqBPvK4e6m5v3/W6N7T/rzp0xL950dY//A="; hash = "sha256-AK/QaeJNVrVa5TRMJZAjZnemvRwHuxqIWA/mK7Cs4Xc=";
}; };
pythonRelaxDeps = true; pythonRelaxDeps = true;

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pysigma-backend-elasticsearch"; pname = "pysigma-backend-elasticsearch";
version = "1.1.5"; version = "1.1.6";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "SigmaHQ"; owner = "SigmaHQ";
repo = "pySigma-backend-elasticsearch"; repo = "pySigma-backend-elasticsearch";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-qIP+TP6lzviEAunYge/SIZQ6PI0EFnJo64FVpPmkdLY="; hash = "sha256-v+OTMcSvFXfjm4R3wCgLRCG0yKNqvY1mgRcmq2Jws0s=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View file

@ -32,7 +32,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytensor"; pname = "pytensor";
version = "2.31.0"; version = "2.31.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
@ -42,7 +42,7 @@ buildPythonPackage rec {
postFetch = '' postFetch = ''
sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pytensor/_version.py sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pytensor/_version.py
''; '';
hash = "sha256-RgJeKA0dRSY1xn+7pgzUg5Hn5KKAWUilimbZOn43xHQ="; hash = "sha256-R/qHLAqNbFqoi2MQeptlVE148cInVOpN5n/wGr1AB9M=";
}; };
build-system = [ build-system = [

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "scim2-models"; pname = "scim2-models";
version = "0.3.2"; version = "0.3.3";
pyproject = true; pyproject = true;
@ -19,7 +19,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
pname = "scim2_models"; pname = "scim2_models";
hash = "sha256-CHXvg7okGvUKJ2tND/EduUPPpUAwIc97BM/nGAeDiYE="; hash = "sha256-od+1KaAwmZ1slsACYRYRpy92xz5s8hcopz0LiwVJhfA=";
}; };
build-system = [ hatchling ]; build-system = [ hatchling ];

View file

@ -10,7 +10,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tencentcloud-sdk-python"; pname = "tencentcloud-sdk-python";
version = "3.0.1383"; version = "3.0.1384";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "TencentCloud"; owner = "TencentCloud";
repo = "tencentcloud-sdk-python"; repo = "tencentcloud-sdk-python";
tag = version; tag = version;
hash = "sha256-xC16Y4fLEvGgMnZGx2KV/a3HTIrXwPSwxlQwDzB52fo="; hash = "sha256-EzQWxfUQy/1a3TU449cClcj2WHwDqfEVG5qpGwYI+f8=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View file

@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "velbus-aio"; pname = "velbus-aio";
version = "2025.4.2"; version = "2025.5.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "Cereal2nd"; owner = "Cereal2nd";
repo = "velbus-aio"; repo = "velbus-aio";
tag = version; tag = version;
hash = "sha256-3H5lFIMLHyucX0h7JagGPsqGyO1RMVPJ1L91iDbdEww="; hash = "sha256-oRcTiFYWVOlM6jHuIUpE4OapWn/4VyWD+MYZI5pgW3s=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -22,48 +22,20 @@
icu, icu,
lua, lua,
curl, curl,
fetchpatch,
nix-update-script, nix-update-script,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "wesnoth"; pname = "wesnoth";
version = "1.18.4"; version = "1.18.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wesnoth"; owner = "wesnoth";
repo = "wesnoth"; repo = "wesnoth";
tag = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-c3BoTFnSUqtp71QeSCsC2teVuzsQwV8hOJtIcZdP+1E="; hash = "sha256-0VZJAmaCg12x4S07H1kl5s2NGMEo/NSVnzMniREmPJk=";
}; };
# LLVM 19 removed support for types not officially supported by `std::char_traits`:
# https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals
# Wesnoth <1.19 relies on this previously supported non-standard behavior for
# some types that should either have been a vector or span:
# https://github.com/wesnoth/wesnoth/issues/9546
# Wesnoth moved to a `std::span` wrapper for byte views in the 1.19 branch, which we apply as
# patches until 1.20 is released.
patches = lib.optionals (stdenv.cc.isClang && lib.versionAtLeast stdenv.cc.version "19") [
# The next two patches are cherry-picked from https://github.com/wesnoth/wesnoth/pull/10102,
# which is already included in the 1.19 branch.
# Introduces the `std::span` wrapper based on `boost::span`.
(fetchpatch {
url = "https://github.com/wesnoth/wesnoth/commit/63266cc2c88fefa7e0792ac59d14c14e3711440c.patch";
hash = "sha256-3Zi/njG7Kovmyd7yiKUoeu4u0QPQxxw+uLz+k9isOLU=";
})
# Replace all string views with spans.
(fetchpatch {
url = "https://github.com/wesnoth/wesnoth/commit/d3daa161eb2c02670b5ffbcf86cd0ec787f6b9ee.patch";
hash = "sha256-9DCeZQZKE6fN91T5DCpNJsKGXbv5ihZC8UpuNkiA9zc=";
})
# Wesnoth <1.19 uses `std::basic_string` for lightmap computations, which is not standard compliant
# and incompatible to LLVM 19.
# While this was fixed in https://github.com/wesnoth/wesnoth/pull/10128, the fix is not
# trivially backportable to 1.18 so we apply a simpler fix instead.
./llvm19-lightmap.patch
];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
@ -142,6 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
''; '';
homepage = "https://www.wesnoth.org/"; homepage = "https://www.wesnoth.org/";
changelog = "https://github.com/wesnoth/wesnoth/blob/${finalAttrs.version}/changelog.md";
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ maintainers = with lib.maintainers; [
abbradar abbradar

View file

@ -1,59 +0,0 @@
diff --git a/src/display.cpp b/src/display.cpp
index 0f6552222b7..9d50046de2f 100644
--- a/src/display.cpp
+++ b/src/display.cpp
@@ -1082,7 +1082,8 @@ void display::get_terrain_images(const map_location& loc, const std::string& tim
// add the directional transitions
tod_color acol = atod1.color + color_adjust_;
- lt += image::get_light_string(d + 1, acol.r, acol.g, acol.b);
+ auto new_lt = image::get_light_string(d + 1, acol.r, acol.g, acol.b);
+ lt.insert(lt.end(), new_lt.begin(), new_lt.end());
}
for(int d = 0; d < 6; ++d) {
@@ -1114,7 +1115,8 @@ void display::get_terrain_images(const map_location& loc, const std::string& tim
// add the directional transitions
tod_color acol = atod1.color + color_adjust_;
- lt += image::get_light_string(d + 7, acol.r, acol.g, acol.b);
+ auto new_lt = image::get_light_string(d + 7, acol.r, acol.g, acol.b);
+ lt.insert(lt.end(), new_lt.begin(), new_lt.end());
}
for(int d = 0; d < 6; ++d) {
@@ -1146,7 +1148,8 @@ void display::get_terrain_images(const map_location& loc, const std::string& tim
// add the directional transitions
tod_color acol = atod2.color + color_adjust_;
- lt += image::get_light_string(d + 13, acol.r, acol.g, acol.b);
+ auto new_lt = image::get_light_string(d + 13, acol.r, acol.g, acol.b);
+ lt.insert(lt.end(), new_lt.begin(), new_lt.end());
}
if(lt.empty()){
diff --git a/src/picture.cpp b/src/picture.cpp
index e7aeddaa821..5ad1ebcbcbc 100644
--- a/src/picture.cpp
+++ b/src/picture.cpp
@@ -526,7 +526,9 @@ static surface apply_light(surface surf, const light_string& ls)
// decompose into atomic lightmap operations (4 chars)
for(std::size_t c = 0; c + 3 < ls.size(); c += 4) {
- light_string sls = ls.substr(c, 4);
+ auto start = ls.begin() + c;
+ auto end = start + 4;
+ light_string sls(start, end);
// get the corresponding image and apply the lightmap operation to it
// This allows to also cache lightmap parts.
diff --git a/src/picture.hpp b/src/picture.hpp
index 85a3b3a15a1..a26e1e27bc7 100644
--- a/src/picture.hpp
+++ b/src/picture.hpp
@@ -120,7 +120,7 @@ std::ostream& operator<<(std::ostream&, const locator&);
* 7-12: convex half-corners 1
* 13-19: convex half-corners 2
*/
-typedef std::basic_string<signed char> light_string;
+typedef std::vector<signed char> light_string;

View file

@ -16,14 +16,17 @@ stdenv.mkDerivation {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mjanusz"; owner = "mjanusz";
repo = "v86d"; repo = "v86d";
rev = "v86d-${pversion}"; tag = "v86d-${pversion}";
hash = "sha256-95LRzVbO/DyddmPwQNNQ290tasCGoQk7FDHlst6LkbA="; hash = "sha256-95LRzVbO/DyddmPwQNNQ290tasCGoQk7FDHlst6LkbA=";
}; };
patchPhase = '' postPatch = ''
patchShebangs configure patchShebangs configure
''; '';
# GCC 14 makes this an error by default, remove when fixed upstream
env.NIX_CFLAGS_COMPILE = "-Wno-implicit-function-declaration -Wno-implicit-int";
configureFlags = [ configureFlags = [
"--with-klibc" "--with-klibc"
"--with-x86emu" "--with-x86emu"
@ -37,17 +40,21 @@ stdenv.mkDerivation {
]; ];
configurePhase = '' configurePhase = ''
runHook preConfigure
./configure $configureFlags ./configure $configureFlags
runHook postConfigure
''; '';
buildInputs = [ klibc ]; buildInputs = [ klibc ];
meta = with lib; { meta = {
description = "Daemon to run x86 code in an emulated environment"; description = "Daemon to run x86 code in an emulated environment";
mainProgram = "v86d"; mainProgram = "v86d";
homepage = "https://github.com/mjanusz/v86d"; homepage = "https://github.com/mjanusz/v86d";
license = licenses.gpl2Only; license = lib.licenses.gpl2Only;
maintainers = with maintainers; [ codyopel ]; maintainers = with lib.maintainers; [ codyopel ];
platforms = [ platforms = [
"i686-linux" "i686-linux"
"x86_64-linux" "x86_64-linux"

View file

@ -192,6 +192,11 @@ rec {
buildInputs = [ buildInputs = [
]; ];
patches = [
# missing include <sys/sysmacros.h> since Jan 2025, cause unknown
./posix-extras-add-sysmacros-include.patch
];
}; };
record-variants = eggDerivation { record-variants = eggDerivation {

View file

@ -0,0 +1,10 @@
--- a/posix-extras.scm 1970-01-01 01:00:01.000000000 +0100
+++ b/posix-extras.scm 1970-01-01 01:00:01.000000000 +0100
@@ -110,6 +110,7 @@ static void *C_not_implemented_ptr(void)
#endif
#if defined (__unix__) || defined (C_XXXBSD)
+#include <sys/sysmacros.h>
#include <sys/types.h>
#define C_mknod(fn, m, d) C_fix(mknod(C_data_pointer(fn), C_unfix(m), C_unfix(d)))
#define C_mknod64(fn, m, maj, min) C_fix(mknod(C_data_pointer(fn), C_unfix(m), makedev(C_num_to_int(maj), C_num_to_int(min))))

View file

@ -254,7 +254,10 @@ stdenv.mkDerivation (finalAttrs: {
# Enable LTO, since it improves eval performance a fair amount # Enable LTO, since it improves eval performance a fair amount
# LTO is disabled on: # LTO is disabled on:
# - static builds (strange linkage errors) # - static builds (strange linkage errors)
(lib.mesonBool "b_lto" (!stdenv.hostPlatform.isStatic && (isLLVMOnly || stdenv.cc.isGNU))) # - darwin builds (install test failures. see fj#568 & fj#832)
(lib.mesonBool "b_lto" (
!stdenv.hostPlatform.isStatic && !stdenv.hostPlatform.isDarwin && (isLLVMOnly || stdenv.cc.isGNU)
))
(lib.mesonEnable "gc" true) (lib.mesonEnable "gc" true)
(lib.mesonBool "enable-tests" true) (lib.mesonBool "enable-tests" true)
(lib.mesonBool "enable-docs" enableDocumentation) (lib.mesonBool "enable-docs" enableDocumentation)

View file

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "trufflehog"; pname = "trufflehog";
version = "3.88.30"; version = "3.88.32";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "trufflesecurity"; owner = "trufflesecurity";
repo = "trufflehog"; repo = "trufflehog";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-94mJNq0D0Fo4wH/uylp+YsYMwsHDyhE9KnBh21Ne2/0="; hash = "sha256-KU9wKqdQLiJOoeEW3NRgxB2rfmu9bSe61Z+Wo0UqVa4=";
}; };
vendorHash = "sha256-0mwItAv8w9G9CmGmmHDu5jZPYUv/wJYAAiXAYNUTisY="; vendorHash = "sha256-sF7+2IrVlGskoQjVYrnmFC7KSNSh0fl3BErSMJESrcA=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View file

@ -509,6 +509,7 @@ mapAliases {
### D ### ### D ###
dap = throw "'dap' has been removed because it doesn't compile and has been unmaintained since 2014"; # Added 2025-05-10 dap = throw "'dap' has been removed because it doesn't compile and has been unmaintained since 2014"; # Added 2025-05-10
daq = throw "'daq' has been removed as it is unmaintained and broken. Snort2 has also been removed, which depended on this"; # Added 2025-05-21
darling = throw "'darling' has been removed due to vendoring Python2"; # Added 2025-05-10 darling = throw "'darling' has been removed due to vendoring Python2"; # Added 2025-05-10
dart_stable = throw "'dart_stable' has been renamed to/replaced by 'dart'"; # Converted to throw 2024-10-17 dart_stable = throw "'dart_stable' has been renamed to/replaced by 'dart'"; # Converted to throw 2024-10-17
dart-sass-embedded = throw "dart-sass-embedded has been removed from nixpkgs, as is now included in Dart Sass itself."; dart-sass-embedded = throw "dart-sass-embedded has been removed from nixpkgs, as is now included in Dart Sass itself.";
@ -1749,6 +1750,7 @@ mapAliases {
sm64ex-coop = throw "'sm64ex-coop' was removed as it was archived upstream. Consider migrating to 'sm64coopdx'"; # added 2024-11-23 sm64ex-coop = throw "'sm64ex-coop' was removed as it was archived upstream. Consider migrating to 'sm64coopdx'"; # added 2024-11-23
smartgithg = smartgit; # renamed March 2025 smartgithg = smartgit; # renamed March 2025
snapTools = throw "snapTools was removed because makeSnap produced broken snaps and it was the only function in snapTools. See https://github.com/NixOS/nixpkgs/issues/100618 for more details."; # 2024-03-04; snapTools = throw "snapTools was removed because makeSnap produced broken snaps and it was the only function in snapTools. See https://github.com/NixOS/nixpkgs/issues/100618 for more details."; # 2024-03-04;
snort2 = throw "snort2 has been removed as it is deprecated and unmaintained by upstream. Consider using snort (snort3) package instead."; # 2025-05-21
soldat-unstable = opensoldat; # Added 2022-07-02 soldat-unstable = opensoldat; # Added 2022-07-02
soundOfSorting = sound-of-sorting; # Added 2023-07-07 soundOfSorting = sound-of-sorting; # Added 2023-07-07
SP800-90B_EntropyAssessment = sp800-90b-entropyassessment; # Added on 2024-06-12 SP800-90B_EntropyAssessment = sp800-90b-entropyassessment; # Added on 2024-06-12
@ -2090,6 +2092,12 @@ mapAliases {
### Z ### ### Z ###
z3_4_11 = throw "'z3_4_11' has been removed in favour of the latest version. Use 'z3'."; # Added 2025-05-18
z3_4_12 = throw "'z3_4_12' has been removed in favour of the latest version. Use 'z3'."; # Added 2025-05-18
z3_4_13 = throw "'z3_4_13' has been removed in favour of the latest version. Use 'z3'."; # Added 2025-05-18
z3_4_14 = throw "'z3_4_14' has been removed in favour of the latest version. Use 'z3'."; # Added 2025-05-18
z3_4_8_5 = throw "'z3_4_8_5' has been removed in favour of the latest version. Use 'z3'."; # Added 2025-05-18
z3_4_8 = throw "'z3_4_8' has been removed in favour of the latest version. Use 'z3'."; # Added 2025-05-18
zabbix50 = throw "'zabbix50' has been removed, it would have reached its End of Life a few days after the release of NixOS 25.05. Consider upgrading to 'zabbix60' or 'zabbix70'."; zabbix50 = throw "'zabbix50' has been removed, it would have reached its End of Life a few days after the release of NixOS 25.05. Consider upgrading to 'zabbix60' or 'zabbix70'.";
zabbix64 = throw "'zabbix64' has been removed because it reached its End of Life. Consider upgrading to 'zabbix70'."; zabbix64 = throw "'zabbix64' has been removed because it reached its End of Life. Consider upgrading to 'zabbix70'.";
zeroadPackages = recurseIntoAttrs { zeroadPackages = recurseIntoAttrs {