From dca0b55ea87853b96d4931e6a9c663c9c871e73f Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Thu, 29 Jan 2026 18:08:23 +0100 Subject: [PATCH 01/64] dynarmic.oaknut: move to by-name Signed-off-by: Marcin Serwin --- pkgs/by-name/dy/dynarmic/package.nix | 20 ++---------------- pkgs/by-name/oa/oaknut/package.nix | 31 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 18 deletions(-) create mode 100644 pkgs/by-name/oa/oaknut/package.nix diff --git a/pkgs/by-name/dy/dynarmic/package.nix b/pkgs/by-name/dy/dynarmic/package.nix index 800e38b15588..73829a7669cb 100644 --- a/pkgs/by-name/dy/dynarmic/package.nix +++ b/pkgs/by-name/dy/dynarmic/package.nix @@ -13,25 +13,9 @@ nix-update-script, azahar, darwin, + oaknut, }: let - oaknut = stdenv.mkDerivation { - pname = "oaknut"; - version = "1.2.2-unstable-2024-03-01"; - - src = fetchFromGitHub { - owner = "merryhime"; - repo = "oaknut"; - rev = "94c726ce0338b054eb8cb5ea91de8fe6c19f4392"; - hash = "sha256-IhP/110NGN42/FvpGIEm9MgsSiPYdtD8kNxL0cAWbqM="; - }; - - nativeBuildInputs = [ - cmake - ninja - ]; - }; - mcl = stdenv.mkDerivation { pname = "mcl"; version = "0.1.13-unstable-2025-03-16"; @@ -123,7 +107,7 @@ stdenv.mkDerivation (finalAttrs: { doCheck = true; passthru = { - inherit mcl oaknut; + inherit mcl; updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; tests = { inherit azahar; }; diff --git a/pkgs/by-name/oa/oaknut/package.nix b/pkgs/by-name/oa/oaknut/package.nix new file mode 100644 index 000000000000..06985384b415 --- /dev/null +++ b/pkgs/by-name/oa/oaknut/package.nix @@ -0,0 +1,31 @@ +{ + stdenv, + lib, + fetchFromGitHub, + cmake, + ninja, +}: +stdenv.mkDerivation { + pname = "oaknut"; + version = "1.2.2-unstable-2024-03-01"; + + src = fetchFromGitHub { + owner = "merryhime"; + repo = "oaknut"; + rev = "94c726ce0338b054eb8cb5ea91de8fe6c19f4392"; + hash = "sha256-IhP/110NGN42/FvpGIEm9MgsSiPYdtD8kNxL0cAWbqM="; + }; + + nativeBuildInputs = [ + cmake + ninja + ]; + + meta = { + description = "Header-only library that allows one to dynamically assemble code in-memory at runtime"; + homepage = "https://github.com/merryhime/oaknut"; + maintainers = with lib.maintainers; [ marcin-serwin ]; + license = lib.licenses.mit; + platforms = lib.platforms.all; + }; +} From b3403eaf4f373974907d831cefa67f3601f47e56 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Thu, 29 Jan 2026 18:08:23 +0100 Subject: [PATCH 02/64] oaknut: 1.2.2-unstable-2024-03-01 -> 2.0.3 Signed-off-by: Marcin Serwin --- pkgs/by-name/oa/oaknut/package.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/oa/oaknut/package.nix b/pkgs/by-name/oa/oaknut/package.nix index 06985384b415..cb8d5305101b 100644 --- a/pkgs/by-name/oa/oaknut/package.nix +++ b/pkgs/by-name/oa/oaknut/package.nix @@ -5,15 +5,15 @@ cmake, ninja, }: -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "oaknut"; - version = "1.2.2-unstable-2024-03-01"; + version = "2.0.3"; src = fetchFromGitHub { - owner = "merryhime"; + owner = "eden-emulator"; repo = "oaknut"; - rev = "94c726ce0338b054eb8cb5ea91de8fe6c19f4392"; - hash = "sha256-IhP/110NGN42/FvpGIEm9MgsSiPYdtD8kNxL0cAWbqM="; + tag = "v${finalAttrs.version}"; + hash = "sha256-NWJMottKMiG6Rk2/ACNtBiYfWDsCeSGznPTqVO809P0="; }; nativeBuildInputs = [ @@ -23,9 +23,9 @@ stdenv.mkDerivation { meta = { description = "Header-only library that allows one to dynamically assemble code in-memory at runtime"; - homepage = "https://github.com/merryhime/oaknut"; + homepage = "https://github.com/eden-emulator/oaknut"; maintainers = with lib.maintainers; [ marcin-serwin ]; license = lib.licenses.mit; platforms = lib.platforms.all; }; -} +}) From a0bfb61f2df990421d60607e8c6dcffb7644b557 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sat, 31 Jan 2026 09:42:33 -0500 Subject: [PATCH 03/64] python313Packages.debugpy: 1.8.19 -> 1.8.20 --- pkgs/development/python-modules/debugpy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/debugpy/default.nix b/pkgs/development/python-modules/debugpy/default.nix index fd39445427b2..27255ab899cd 100644 --- a/pkgs/development/python-modules/debugpy/default.nix +++ b/pkgs/development/python-modules/debugpy/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "debugpy"; - version = "1.8.19"; + version = "1.8.20"; pyproject = true; src = fetchFromGitHub { @@ -42,7 +42,7 @@ buildPythonPackage rec { sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' "$out/src/debugpy/_version.py" ''; - hash = "sha256-O9RHqyV7xMMnouCp4t18CNH/z2jBxZBUkybAw1c2gY0="; + hash = "sha256-0h2VQU5eYb0heXSFmKnwAFW0jcWc+bYllhwxfdzkGWc="; }; patches = [ From 347357b88ea2ee59febd6cb516b0e4edb797b7e5 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sat, 31 Jan 2026 09:42:31 -0500 Subject: [PATCH 04/64] yarg: 0.13.2 -> 0.14.0 --- pkgs/by-name/ya/yarg/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ya/yarg/package.nix b/pkgs/by-name/ya/yarg/package.nix index e626afdcac28..288d855b8185 100644 --- a/pkgs/by-name/ya/yarg/package.nix +++ b/pkgs/by-name/ya/yarg/package.nix @@ -26,12 +26,12 @@ stdenv.mkDerivation (finalAttrs: { pname = "yarg"; - version = "0.13.2"; + version = "0.14.0"; src = fetchzip { url = "https://github.com/YARC-Official/YARG/releases/download/v${finalAttrs.version}/YARG_v${finalAttrs.version}-Linux-x86_64.zip"; stripRoot = false; - hash = "sha256-TcX4O0TDesuBMbUH8Lp6wLM8A5xzXH9Pl7vCMEIhQvE="; + hash = "sha256-l83tnEO9hHFiaks7D/y9D1HJKihU7+cvsvkbIKkNeuk="; }; nativeBuildInputs = [ autoPatchelfHook ]; From eaca38d333e951285a7b4139a1fa1db5674e4371 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Thu, 29 Jan 2026 18:21:18 +0100 Subject: [PATCH 05/64] dynarmic.mcl: move to by-name Signed-off-by: Marcin Serwin --- pkgs/by-name/dy/dynarmic/package.nix | 36 +-------------- .../mc/mcl-cpp-utility-lib/package.nix | 46 +++++++++++++++++++ 2 files changed, 48 insertions(+), 34 deletions(-) create mode 100644 pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix diff --git a/pkgs/by-name/dy/dynarmic/package.nix b/pkgs/by-name/dy/dynarmic/package.nix index 73829a7669cb..29594ac450db 100644 --- a/pkgs/by-name/dy/dynarmic/package.nix +++ b/pkgs/by-name/dy/dynarmic/package.nix @@ -14,38 +14,8 @@ azahar, darwin, oaknut, + mcl-cpp-utility-lib, }: -let - mcl = stdenv.mkDerivation { - pname = "mcl"; - version = "0.1.13-unstable-2025-03-16"; - - src = fetchFromGitHub { - owner = "azahar-emu"; - repo = "mcl"; - rev = "7b08d83418f628b800dfac1c9a16c3f59036fbad"; - hash = "sha256-uTOiOlMzKbZSjKjtVSqFU+9m8v8horoCq3wL0O2E8sI="; - }; - - nativeBuildInputs = [ - cmake - ninja - ]; - - buildInputs = [ - fmt - ]; - - checkInputs = [ - catch2_3 - ]; - - doCheck = true; - checkPhase = '' - tests/mcl-tests - ''; - }; -in stdenv.mkDerivation (finalAttrs: { pname = "dynarmic"; version = "6.7.0-unstable-2025-03-16"; @@ -78,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ boost robin-map - mcl + mcl-cpp-utility-lib fmt ] ++ lib.optionals stdenv.hostPlatform.isAarch64 [ @@ -107,8 +77,6 @@ stdenv.mkDerivation (finalAttrs: { doCheck = true; passthru = { - inherit mcl; - updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; tests = { inherit azahar; }; }; diff --git a/pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix b/pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix new file mode 100644 index 000000000000..20976f2c3e2b --- /dev/null +++ b/pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix @@ -0,0 +1,46 @@ +{ + stdenv, + lib, + fetchFromGitHub, + cmake, + ninja, + fmt, + catch2_3, +}: +stdenv.mkDerivation { + pname = "mcl"; + version = "0.1.13-unstable-2025-03-16"; + + src = fetchFromGitHub { + owner = "azahar-emu"; + repo = "mcl"; + rev = "7b08d83418f628b800dfac1c9a16c3f59036fbad"; + hash = "sha256-uTOiOlMzKbZSjKjtVSqFU+9m8v8horoCq3wL0O2E8sI="; + }; + + nativeBuildInputs = [ + cmake + ninja + ]; + + buildInputs = [ + fmt + ]; + + checkInputs = [ + catch2_3 + ]; + + doCheck = true; + checkPhase = '' + tests/mcl-tests + ''; + + meta = { + description = "Collection of C++20 utilities which is common to a number of merry's projects"; + homepage = "https://github.com/azahar-emu/mcl"; + maintainers = with lib.maintainers; [ marcin-serwin ]; + license = lib.licenses.mit; + platforms = lib.platforms.all; + }; +} From 36371ef373c022e184c46b647a750a6f90fcbd99 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Thu, 29 Jan 2026 18:23:21 +0100 Subject: [PATCH 06/64] mcl-cpp-utility-lib: 0.1.13-unstable-2025-03-16 -> 0.1.14 Signed-off-by: Marcin Serwin --- pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix b/pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix index 20976f2c3e2b..eb4dc2b4c6c8 100644 --- a/pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix +++ b/pkgs/by-name/mc/mcl-cpp-utility-lib/package.nix @@ -7,15 +7,15 @@ fmt, catch2_3, }: -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "mcl"; - version = "0.1.13-unstable-2025-03-16"; + version = "0.1.14"; src = fetchFromGitHub { owner = "azahar-emu"; repo = "mcl"; - rev = "7b08d83418f628b800dfac1c9a16c3f59036fbad"; - hash = "sha256-uTOiOlMzKbZSjKjtVSqFU+9m8v8horoCq3wL0O2E8sI="; + tag = finalAttrs.version; + hash = "sha256-7lHOjlUvCQsct/pijn0M0OOG5LpExmXwB6kH+ostA2I="; }; nativeBuildInputs = [ @@ -43,4 +43,4 @@ stdenv.mkDerivation { license = lib.licenses.mit; platforms = lib.platforms.all; }; -} +}) From d17ed43c21cb49928025855ffced587ddea87e70 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Thu, 29 Jan 2026 18:26:53 +0100 Subject: [PATCH 07/64] dynarmic: 6.7.0-unstable-2025-03-16 -> 6.7.0-unstable-2026-01-04 Signed-off-by: Marcin Serwin --- ...keLists-update-mcl-version-to-0.1.13.patch | 29 ------------------- pkgs/by-name/dy/dynarmic/package.nix | 8 ++--- 2 files changed, 3 insertions(+), 34 deletions(-) delete mode 100644 pkgs/by-name/dy/dynarmic/0001-CMakeLists-update-mcl-version-to-0.1.13.patch diff --git a/pkgs/by-name/dy/dynarmic/0001-CMakeLists-update-mcl-version-to-0.1.13.patch b/pkgs/by-name/dy/dynarmic/0001-CMakeLists-update-mcl-version-to-0.1.13.patch deleted file mode 100644 index 8f28e58bff85..000000000000 --- a/pkgs/by-name/dy/dynarmic/0001-CMakeLists-update-mcl-version-to-0.1.13.patch +++ /dev/null @@ -1,29 +0,0 @@ -From cdbf3ba41ddce41d8ae375464e514f72d158ec0b Mon Sep 17 00:00:00 2001 -From: Marcin Serwin -Date: Sat, 5 Jul 2025 22:26:49 +0200 -Subject: [PATCH] CMakeLists: update mcl version to 0.1.13 - -The mcl in externals is already at this version, but it wasn't bumped -here which makes it impossible to use prebuilt mcl. - -Signed-off-by: Marcin Serwin ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index e95050da..edd153d0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -145,7 +145,7 @@ set(TSL_ROBIN_MAP_ENABLE_INSTALL ON) - - find_package(Boost 1.57 REQUIRED) - find_package(fmt 9 CONFIG) --find_package(mcl 0.1.12 EXACT CONFIG) -+find_package(mcl 0.1.13 EXACT CONFIG) - find_package(tsl-robin-map CONFIG) - - if ("arm64" IN_LIST ARCHITECTURE OR DYNARMIC_TESTS) --- -2.49.0 - diff --git a/pkgs/by-name/dy/dynarmic/package.nix b/pkgs/by-name/dy/dynarmic/package.nix index 29594ac450db..5e927b4ae056 100644 --- a/pkgs/by-name/dy/dynarmic/package.nix +++ b/pkgs/by-name/dy/dynarmic/package.nix @@ -18,18 +18,16 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "dynarmic"; - version = "6.7.0-unstable-2025-03-16"; + version = "6.7.0-unstable-2026-01-04"; src = fetchFromGitHub { owner = "azahar-emu"; repo = "dynarmic"; - rev = "278405bd71999ed3f3c77c5f78344a06fef798b9"; - hash = "sha256-D7nXn5y0h8FV0V8Tc8uBlRoeEU+gcpt44afujZvG+1A="; + rev = "526227eebe1efff3fb14dbf494b9c5b44c2e9c1f"; + hash = "sha256-WG9mUFUnhEEF0+qsQzslTAj1nox3jaz6rVKs245EtV4="; }; patches = [ - # https://github.com/azahar-emu/dynarmic/pull/2 - ./0001-CMakeLists-update-mcl-version-to-0.1.13.patch # https://github.com/azahar-emu/dynarmic/pull/3 ./0001-xbyak-Fix-tests-when-using-newer-versions.patch ]; From 483afe5aa440f6bcb4d3039b66f34257425d5611 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Thu, 29 Jan 2026 18:08:23 +0100 Subject: [PATCH 08/64] sirit: init at 1.0.4 --- pkgs/by-name/si/sirit/package.nix | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 pkgs/by-name/si/sirit/package.nix diff --git a/pkgs/by-name/si/sirit/package.nix b/pkgs/by-name/si/sirit/package.nix new file mode 100644 index 000000000000..05d19cf15f18 --- /dev/null +++ b/pkgs/by-name/si/sirit/package.nix @@ -0,0 +1,40 @@ +{ + stdenv, + lib, + fetchFromGitHub, + cmake, + ninja, + spirv-headers, +}: +stdenv.mkDerivation (finalAttrs: { + pname = "sirit"; + version = "1.0.4"; + + src = fetchFromGitHub { + owner = "eden-emulator"; + repo = "sirit"; + tag = "v${finalAttrs.version}"; + hash = "sha256-ThyUaoVmnYz9eQ1a19BbLhqfOpPxRjSovBl2wvlfRoI="; + }; + + nativeBuildInputs = [ + cmake + ninja + ]; + buildInputs = [ spirv-headers ]; + + cmakeFlags = [ + (lib.cmakeBool "SIRIT_USE_SYSTEM_SPIRV_HEADERS" true) + ]; + + meta = { + description = "Runtime SPIR-V assembler"; + homepage = "https://github.com/eden-emulator/sirit"; + license = with lib.licenses; [ + agpl3Plus + gpl3Plus + ]; + maintainers = with lib.maintainers; [ marcin-serwin ]; + platforms = lib.platforms.linux; + }; +}) From 15b0e305d142d27ed2f03104effee1c75b5ddc1f Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Fri, 21 Nov 2025 18:14:29 +0100 Subject: [PATCH 09/64] frotz: 2.54 -> 2.55 Signed-off-by: Marcin Serwin --- pkgs/by-name/fr/frotz/package.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/fr/frotz/package.nix b/pkgs/by-name/fr/frotz/package.nix index 75d60c2eaa82..cf86692cd893 100644 --- a/pkgs/by-name/fr/frotz/package.nix +++ b/pkgs/by-name/fr/frotz/package.nix @@ -15,21 +15,21 @@ stdenv.mkDerivation (finalAttrs: { pname = "frotz"; - version = "2.54"; + version = "2.55"; src = fetchFromGitLab { domain = "gitlab.com"; owner = "DavidGriffith"; repo = "frotz"; rev = finalAttrs.version; - hash = "sha256-GvGxojD8d5GVy/d8h3q6K7KJroz2lsKbfE0F0acjBl8="; + hash = "sha256-XZjimskjupTtYdgfVaOS2QnQrDIBSwkJqxrffdjgZk0="; }; patches = [ (fetchpatch { - url = "https://github.com/macports/macports-ports/raw/496e5b91e3b6c9dc6820d77ab60dbe400d1924ee/games/frotz/files/Makefile.patch"; + url = "https://raw.githubusercontent.com/macports/macports-ports/5c70d849addb2df2ea9ad2cc4fd4a15e5d4cc3a5/games/frotz/files/Makefile.patch"; extraPrefix = ""; - hash = "sha256-P83ZzSi3bhncQ52Y38Q3F/7v1SJKr5614tytt862HRg="; + hash = "sha256-ydIA1Td1ufp4y4Qfm5ijg9AY8z7cQ8BiX9hQz8gkKZY="; }) ]; From c67e16d85941294daaf71328d6c789f841ebcfc7 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Fri, 21 Nov 2025 18:19:51 +0100 Subject: [PATCH 10/64] frotz: modernize Signed-off-by: Marcin Serwin --- pkgs/by-name/fr/frotz/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/fr/frotz/package.nix b/pkgs/by-name/fr/frotz/package.nix index cf86692cd893..1a51639015aa 100644 --- a/pkgs/by-name/fr/frotz/package.nix +++ b/pkgs/by-name/fr/frotz/package.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { domain = "gitlab.com"; owner = "DavidGriffith"; repo = "frotz"; - rev = finalAttrs.version; + tag = finalAttrs.version; hash = "sha256-XZjimskjupTtYdgfVaOS2QnQrDIBSwkJqxrffdjgZk0="; }; @@ -33,6 +33,8 @@ stdenv.mkDerivation (finalAttrs: { }) ]; + strictDeps = true; + enableParallelBuilding = true; nativeBuildInputs = [ which pkg-config From 7476a3c76fea3b6244b9405b69ad900817545fdb Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Fri, 21 Nov 2025 18:31:02 +0100 Subject: [PATCH 11/64] frotz: add override for frontend Signed-off-by: Marcin Serwin --- .../0001-Fix-SDL_SOUND_CFLAGS-usage.patch | 38 ++++++++++++++++ pkgs/by-name/fr/frotz/package.nix | 44 ++++++++++++++++--- 2 files changed, 76 insertions(+), 6 deletions(-) create mode 100644 pkgs/by-name/fr/frotz/0001-Fix-SDL_SOUND_CFLAGS-usage.patch diff --git a/pkgs/by-name/fr/frotz/0001-Fix-SDL_SOUND_CFLAGS-usage.patch b/pkgs/by-name/fr/frotz/0001-Fix-SDL_SOUND_CFLAGS-usage.patch new file mode 100644 index 000000000000..6e17ee19ab13 --- /dev/null +++ b/pkgs/by-name/fr/frotz/0001-Fix-SDL_SOUND_CFLAGS-usage.patch @@ -0,0 +1,38 @@ +From 8b1db0c6724640ff995c24145a9777bd49da1ce4 Mon Sep 17 00:00:00 2001 +From: Marcin Serwin +Date: Fri, 21 Nov 2025 19:11:48 +0100 +Subject: [PATCH] Fix SDL_SOUND_CFLAGS usage + +The flags were quried but unused during compilation. Also, there was a +typo in the else branch. + +Signed-off-by: Marcin Serwin +--- + src/sdl/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/sdl/Makefile b/src/sdl/Makefile +index e21477e..84a2136 100644 +--- a/src/sdl/Makefile ++++ b/src/sdl/Makefile +@@ -22,7 +22,7 @@ SDL_CFLAGS += $(shell $(PKGCONF) $(SDL_PKGS) --cflags) + SDL_SOUND_CFLAGS += $(shell $(PKGCONF) $(SDL_SOUND_PKGS) --cflags) + else + SDL_CFLAGS += $(SDL_CFLAGS_DEF) +-SD_SOUND_CFLAGS += $(SDL_SOUND_CFLAGS_DEF) ++SDL_SOUND_CFLAGS += $(SDL_SOUND_CFLAGS_DEF) + endif + + +@@ -32,7 +32,7 @@ $(TARGET): $(DEFINES) $(OBJECTS) | $(DEFINES) + @echo "** Done with SDL interface." + + %.o: %.c +- $(CC) $(CFLAGS) $(SDL_CFLAGS) -fPIC -fpic -o $@ -c $< ++ $(CC) $(CFLAGS) $(SDL_CFLAGS) $(SDL_SOUND_CFLAGS) -fPIC -fpic -o $@ -c $< + + $(DEFINES): + @echo "** Generating $@" +-- +2.51.2 + diff --git a/pkgs/by-name/fr/frotz/package.nix b/pkgs/by-name/fr/frotz/package.nix index 1a51639015aa..2d16d7daa42b 100644 --- a/pkgs/by-name/fr/frotz/package.nix +++ b/pkgs/by-name/fr/frotz/package.nix @@ -11,10 +11,25 @@ ncurses, which, pkg-config, + SDL2, + SDL2_mixer, + zlib, + libjpeg, + libpng, + freetype, + frontend ? "ncurses", }: +assert lib.assertOneOf "frontend" frontend [ + "ncurses" + "sdl" + # NOTE: more options are present in the Makefile, e.g., x11, dumb, nosound, ... +]; +let + progName = if frontend == "ncurses" then "frotz" else "sfrotz"; +in stdenv.mkDerivation (finalAttrs: { - pname = "frotz"; + pname = progName; version = "2.55"; src = fetchFromGitLab { @@ -31,6 +46,9 @@ stdenv.mkDerivation (finalAttrs: { extraPrefix = ""; hash = "sha256-ydIA1Td1ufp4y4Qfm5ijg9AY8z7cQ8BiX9hQz8gkKZY="; }) + + # https://gitlab.com/DavidGriffith/frotz/-/merge_requests/226 + ./0001-Fix-SDL_SOUND_CFLAGS-usage.patch ]; strictDeps = true; @@ -45,16 +63,30 @@ stdenv.mkDerivation (finalAttrs: { libsamplerate libsndfile libvorbis - ncurses - ]; + ] + ++ ( + if frontend == "ncurses" then + [ ncurses ] + else + [ + freetype + libjpeg + libpng + SDL2 + SDL2_mixer + zlib + ] + ); - installFlags = [ "PREFIX=$(out)" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + buildFlags = [ frontend ]; + installTargets = if frontend == "ncurses" then "install-frotz" else "install-${frontend}"; meta = { homepage = "https://davidgriffith.gitlab.io/frotz/"; changelog = "https://gitlab.com/DavidGriffith/frotz/-/raw/${finalAttrs.version}/NEWS"; - description = "Z-machine interpreter for Infocom games and other interactive fiction"; - mainProgram = "frotz"; + description = "Z-machine interpreter for Infocom games and other interactive fiction (${frontend})"; + mainProgram = progName; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ nicknovitski From c211ce762616f30d860be2acf12d21a34908422a Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Fri, 21 Nov 2025 18:31:28 +0100 Subject: [PATCH 12/64] sfrotz: merge with frotz Signed-off-by: Marcin Serwin --- pkgs/by-name/sf/sfrotz/package.nix | 73 +----------------------------- 1 file changed, 1 insertion(+), 72 deletions(-) diff --git a/pkgs/by-name/sf/sfrotz/package.nix b/pkgs/by-name/sf/sfrotz/package.nix index 65f2359513ec..83a4b10dfc3c 100644 --- a/pkgs/by-name/sf/sfrotz/package.nix +++ b/pkgs/by-name/sf/sfrotz/package.nix @@ -1,72 +1 @@ -{ - fetchFromGitLab, - freetype, - libao, - libjpeg, - libmodplug, - libpng, - libsamplerate, - libsndfile, - libvorbis, - pkg-config, - SDL2, - SDL2_mixer, - lib, - stdenv, - zlib, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "sfrotz"; - version = "2.54"; - - src = fetchFromGitLab { - domain = "gitlab.com"; - owner = "DavidGriffith"; - repo = "frotz"; - rev = finalAttrs.version; - hash = "sha256-GvGxojD8d5GVy/d8h3q6K7KJroz2lsKbfE0F0acjBl8="; - }; - - buildInputs = [ - freetype - libao - libjpeg - libmodplug - libpng - libsamplerate - libsndfile - libvorbis - SDL2 - SDL2_mixer - zlib - ]; - nativeBuildInputs = [ pkg-config ]; - makeFlags = [ "PREFIX=${placeholder "out"}" ]; - buildPhase = "make sdl"; - installTargets = [ "install_sfrotz" ]; - - meta = { - description = "Interpreter for Infocom and other Z-Machine games (SDL interface)"; - mainProgram = "sfrotz"; - longDescription = '' - Frotz is a Z-Machine interpreter. The Z-machine is a virtual machine - designed by Infocom to run all of their text adventures. It went through - multiple revisions during the lifetime of the company, and two further - revisions (V7 and V8) were created by Graham Nelson after the company's - demise. The specification is now quite well documented; this version of - Frotz supports version 1.0. - - This version of Frotz fully supports all these versions of the Z-Machine - including the graphical version 6. Graphics and sound are created through - the use of the SDL libraries. AIFF sound effects and music in MOD and OGG - formats are supported when packaged in Blorb container files or optionally - from individual files. - ''; - homepage = "https://davidgriffith.gitlab.io/frotz/"; - changelog = "https://gitlab.com/DavidGriffith/frotz/-/raw/${finalAttrs.version}/NEWS"; - license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ ddelabru ]; - platforms = lib.platforms.linux; - }; -}) +{ frotz }: frotz.override { frontend = "sdl"; } From fb8537000fe6c9a44e70992b1594ed34e5dabe74 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Fri, 21 Nov 2025 20:22:05 +0100 Subject: [PATCH 13/64] frotz: drop macOS patch Signed-off-by: Marcin Serwin --- pkgs/by-name/fr/frotz/package.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/fr/frotz/package.nix b/pkgs/by-name/fr/frotz/package.nix index 2d16d7daa42b..20f823d9c128 100644 --- a/pkgs/by-name/fr/frotz/package.nix +++ b/pkgs/by-name/fr/frotz/package.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchFromGitLab, - fetchpatch, libao, libmodplug, libsamplerate, @@ -41,12 +40,6 @@ stdenv.mkDerivation (finalAttrs: { }; patches = [ - (fetchpatch { - url = "https://raw.githubusercontent.com/macports/macports-ports/5c70d849addb2df2ea9ad2cc4fd4a15e5d4cc3a5/games/frotz/files/Makefile.patch"; - extraPrefix = ""; - hash = "sha256-ydIA1Td1ufp4y4Qfm5ijg9AY8z7cQ8BiX9hQz8gkKZY="; - }) - # https://gitlab.com/DavidGriffith/frotz/-/merge_requests/226 ./0001-Fix-SDL_SOUND_CFLAGS-usage.patch ]; @@ -78,7 +71,14 @@ stdenv.mkDerivation (finalAttrs: { ] ); - makeFlags = [ "PREFIX=${placeholder "out"}" ]; + makeFlags = [ + "PREFIX=${placeholder "out"}" + "HOMEBREW_PREFIX=/var/empty" + ]; + preConfigure = '' + makeFlagsArray+=(CURSES_CONFIG="$PKG_CONFIG ncurses") + ''; + buildFlags = [ frontend ]; installTargets = if frontend == "ncurses" then "install-frotz" else "install-${frontend}"; From 4d93eb267478d70c37e1a74057ab7b6fa13b0741 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 6 Feb 2026 06:26:42 +0000 Subject: [PATCH 14/64] nixd: fix the build against `boost-1.89` Without the change the build in` staging` fails as: In file included from ../lib/Controller/DocumentHighlight.cpp:10: ../include/nixd/Controller/Controller.h:139:48: error: 'default_thread_pool_size' is not a member of 'boost::asio::detail' 139 | static_cast(boost::asio::detail::default_thread_pool_size())}; | ^~~~~~~~~~~~~~~~~~~~~~~~ Co-authored-by: Doron Behar --- .../tools/language-servers/nixd/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/development/tools/language-servers/nixd/default.nix b/pkgs/development/tools/language-servers/nixd/default.nix index 35a022a5d87a..acfc2f504593 100644 --- a/pkgs/development/tools/language-servers/nixd/default.nix +++ b/pkgs/development/tools/language-servers/nixd/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, cmake, boost, gtest, @@ -133,6 +134,17 @@ in // { pname = "nixd"; + patches = [ + # Pull upstream fix for boost-1.89 & boost 1.87 support: + # https://github.com/nix-community/nixd/pull/783 + (fetchpatch { + name = "boost-1.89.patch"; + url = "https://github.com/nix-community/nixd/commit/11dfdf5f2db2e0fc1fea0349fb68739a9c747a41.patch"; + hash = "sha256-aCb9wRKqZSuUXmamzjpYe0vRqEQh4tenwoScv+juYK8="; + stripLen = 1; + }) + ]; + sourceRoot = "${common.src.name}/nixd"; buildInputs = [ From cd5c44bf479c3625bd7a6432de328301581fbc37 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 9 Feb 2026 00:30:31 +0000 Subject: [PATCH 15/64] python3Packages.roma: 1.5.4 -> 1.5.5 --- pkgs/development/python-modules/roma/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/roma/default.nix b/pkgs/development/python-modules/roma/default.nix index 9dd6844aa0e2..3fba0a54bdbc 100644 --- a/pkgs/development/python-modules/roma/default.nix +++ b/pkgs/development/python-modules/roma/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "roma"; - version = "1.5.4"; + version = "1.5.5"; pyproject = true; src = fetchFromGitHub { owner = "naver"; repo = "roma"; tag = "v${version}"; - hash = "sha256-byPW58I+6mCE2fR6eVNQfNDCLbZSfoPmPbc/GuRpKGo="; + hash = "sha256-0R8p8pQxLQqK7MTbk9J5lFtA13XJth76Glemkfj9X/E="; }; build-system = [ From 3378dd818095bac4e2b4fc312d7d78731f5255ec Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Mon, 9 Feb 2026 09:34:39 +0100 Subject: [PATCH 16/64] python3Packages.roma: rec -> finalAttrs + changelog --- pkgs/development/python-modules/roma/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/roma/default.nix b/pkgs/development/python-modules/roma/default.nix index 3fba0a54bdbc..b3e65d0ace21 100644 --- a/pkgs/development/python-modules/roma/default.nix +++ b/pkgs/development/python-modules/roma/default.nix @@ -8,7 +8,7 @@ torch, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "roma"; version = "1.5.5"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "naver"; repo = "roma"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-0R8p8pQxLQqK7MTbk9J5lFtA13XJth76Glemkfj9X/E="; }; @@ -38,9 +38,10 @@ buildPythonPackage rec { ]; meta = { + changelog = "https://naver.github.io/roma/#changelog"; description = "Lightweight library to deal with 3D rotations in PyTorch"; homepage = "https://github.com/naver/roma"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ nim65s ]; }; -} +}) From 9653e2061b1e0b6c5720c82f55216efc857ec699 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 11 Feb 2026 03:56:42 +0000 Subject: [PATCH 17/64] salt: 3007.11 -> 3007.12 --- pkgs/by-name/sa/salt/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sa/salt/package.nix b/pkgs/by-name/sa/salt/package.nix index dffa0fd87f5f..d6ec61e09de1 100644 --- a/pkgs/by-name/sa/salt/package.nix +++ b/pkgs/by-name/sa/salt/package.nix @@ -12,12 +12,12 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "salt"; - version = "3007.11"; + version = "3007.12"; format = "setuptools"; src = fetchPypi { inherit (finalAttrs) pname version; - hash = "sha256-EAkO0/1kKSXRkEXNH6mJHznUkQR0AsQ2ijtzCrwUCAU="; + hash = "sha256-y7JG3aXOynH/5Uq9/mY4s6LjGWw2JPv7EgdSo9HYN5c="; }; patches = [ From 8c40c044b6b605b05619336edb4503753234c120 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Thu, 29 Jan 2026 18:08:23 +0100 Subject: [PATCH 18/64] eden: init at 0.1.1 Signed-off-by: Marcin Serwin --- .../ed/eden/aarch64-disable-fastmem.patch | 13 + pkgs/by-name/ed/eden/package.nix | 254 ++++++++++++++++++ 2 files changed, 267 insertions(+) create mode 100644 pkgs/by-name/ed/eden/aarch64-disable-fastmem.patch create mode 100644 pkgs/by-name/ed/eden/package.nix diff --git a/pkgs/by-name/ed/eden/aarch64-disable-fastmem.patch b/pkgs/by-name/ed/eden/aarch64-disable-fastmem.patch new file mode 100644 index 000000000000..de9a50a070c9 --- /dev/null +++ b/pkgs/by-name/ed/eden/aarch64-disable-fastmem.patch @@ -0,0 +1,13 @@ +diff --git a/src/common/settings.cpp b/src/common/settings.cpp +index 2c88356888..96198006b7 100644 +--- a/src/common/settings.cpp ++++ b/src/common/settings.cpp +@@ -176,7 +176,7 @@ bool IsFastmemEnabled() { + if (values.cpu_accuracy.GetValue() == CpuAccuracy::Unsafe) { + return bool(values.cpuopt_unsafe_host_mmu); + } +-#if !defined(__APPLE__) && !defined(__linux__) && !defined(__ANDROID__) && !defined(_WIN32) ++#if !defined(__APPLE__) && !defined(__linux__) && !defined(__ANDROID__) && !defined(_WIN32) || (defined(__linux__) && defined(__aarch64__)) + return false; + #else + return true; diff --git a/pkgs/by-name/ed/eden/package.nix b/pkgs/by-name/ed/eden/package.nix new file mode 100644 index 000000000000..03a9d3ed524e --- /dev/null +++ b/pkgs/by-name/ed/eden/package.nix @@ -0,0 +1,254 @@ +{ + lib, + stdenv, + cmake, + ninja, + SDL2, + boost, + catch2_3, + cpp-jwt, + cubeb, + enet, + fetchFromGitea, + fetchurl, + ffmpeg-headless, + fmt, + frozen-containers, + gamemode, + glslang, + httplib, + kdePackages, + libopus, + libusb1, + lz4, + mcl-cpp-utility-lib, + mbedtls, + nix-update-script, + nlohmann_json, + oaknut, + openssl, + pipewire, + pkg-config, + python3, + qt6, + simpleini, + sirit, + spirv-headers, + spirv-tools, + stb, + unordered_dense, + vulkan-headers, + vulkan-loader, + vulkan-memory-allocator, + vulkan-utility-libraries, + xbyak, + zlib, + zstd, + tzdata, +}: + +let + # Old yuzu compat list, the project does not publish its own at the moment + compat-list = fetchurl { + url = "https://raw.githubusercontent.com/flathub/org.yuzu_emu.yuzu/4abf1d239aba843180abfed58fa8541432fece5b/compatibility_list.json"; + hash = "sha256-OC22KdawYK9yKiffqc1rtgrBanVExYMi9jqhvkwMD6w="; + }; + + nx_tzdb = stdenv.mkDerivation (finalAttrs: { + name = "tzdb_to_nx"; + version = "120226"; + + src = fetchFromGitea { + domain = "git.crueter.xyz"; + owner = "misc"; + repo = "tzdb_to_nx"; + tag = finalAttrs.version; + hash = "sha256-egPu8UVbj73RQ0Z5JMTjd5HVdy47WTfkUMlQaS0wUTg="; + }; + + nativeBuildInputs = [ + cmake + ninja + ]; + + cmakeFlags = [ + (lib.cmakeFeature "TZDB2NX_ZONEINFO_DIR" "${tzdata}/share/zoneinfo") + (lib.cmakeFeature "TZDB2NX_VERSION" tzdata.version) + ]; + + ninjaFlags = [ "x80e" ]; + + installPhase = '' + runHook preInstall + + cp -r src/tzdb/nx $out + + runHook postInstall + ''; + }); +in + +stdenv.mkDerivation (finalAttrs: { + pname = "eden"; + version = "0.1.1"; + + src = fetchFromGitea { + domain = "git.eden-emu.dev"; + owner = "eden-emu"; + repo = "eden"; + tag = "v${finalAttrs.version}"; + hash = "sha256-tkro7ZHgn2809Utf/Li5+OiseywyQKH15eqphxlJZQQ="; + }; + + nativeBuildInputs = [ + cmake + ninja + glslang + pkg-config + python3 + qt6.qttools + qt6.wrapQtAppsHook + ]; + + buildInputs = [ + boost + cpp-jwt + cubeb + enet + ffmpeg-headless + fmt + frozen-containers + gamemode + httplib + kdePackages.quazip + libopus + libusb1 + # intentionally omitted: LLVM - heavy, only used for stack traces in the debugger + lz4 + mcl-cpp-utility-lib + nlohmann_json + openssl + qt6.qtbase + qt6.qtmultimedia + qt6.qtwayland + qt6.qtwebengine + # intentionally omitted: renderdoc - heavy, developer only + SDL2 + stb + simpleini + spirv-tools + spirv-headers + vulkan-headers + vulkan-memory-allocator + vulkan-utility-libraries + mbedtls + sirit + unordered_dense + zlib + zstd + ] + ++ lib.optionals stdenv.hostPlatform.isx86_64 [ + xbyak + ] + ++ lib.optionals stdenv.hostPlatform.isAarch64 [ + oaknut + ]; + + patches = [ + # https://git.eden-emu.dev/eden-emu/eden/issues/3484 + ./aarch64-disable-fastmem.patch + ]; + + doCheck = true; + + checkInputs = [ + catch2_3 + oaknut + ]; + + __structuredAttrs = true; + cmakeFlags = [ + (lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doCheck) + (lib.cmakeBool "YUZU_TESTS" false) # some timer tests are flaky + + # use system libraries + (lib.cmakeBool "CPMUTIL_FORCE_SYSTEM" true) + (lib.cmakeBool "YUZU_USE_EXTERNAL_SDL2" false) + (lib.cmakeBool "YUZU_USE_BUNDLED_FFMPEG" false) + (lib.cmakeFeature "YUZU_TZDB_PATH" "${nx_tzdb}") + + # enable some optional features + (lib.cmakeBool "YUZU_USE_QT_WEB_ENGINE" true) + (lib.cmakeBool "YUZU_USE_QT_MULTIMEDIA" true) + (lib.cmakeBool "ENABLE_QT_TRANSLATION" true) + + # We dont want to bother upstream with potentially outdated compat reports + (lib.cmakeBool "YUZU_ENABLE_COMPATIBILITY_REPORTING" false) + + (lib.cmakeFeature "TITLE_BAR_FORMAT_IDLE" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) {}") + (lib.cmakeFeature "TITLE_BAR_FORMAT_RUNNING" "${finalAttrs.pname} | ${finalAttrs.version} (nixpkgs) | {}") + ]; + + postConfigure = '' + ln -sf ${compat-list} ./dist/compatibility_list/compatibility_list.json + ''; + + postInstall = '' + install -Dm444 $src/dist/72-yuzu-input.rules $out/lib/udev/rules.d/72-yuzu-input.rules + ''; + + preFixup = '' + qtWrapperArgs+=(--prefix LD_LIBRARY_PATH : ${ + lib.makeLibraryPath [ + vulkan-loader + pipewire + ] + }) + ''; + + passthru = { + inherit nx_tzdb compat-list; + + updateScript = nix-update-script { }; + }; + + meta = { + description = "Switch 1 emulator derived from Yuzu and Sudachi"; + homepage = "https://eden-emu.dev/"; + mainProgram = "eden"; + maintainers = with lib.maintainers; [ marcin-serwin ]; + license = with lib.licenses; [ + # Primary + gpl3Plus + + # Build system + lgpl3Plus + + # Dynarmic and Yuzu code + gpl2Plus + bsd0 + + # Icons + cc-by-40 + cc-by-sa-30 + cc0 + + # Timezone data + publicDomain + + # Vendored/incorporated libs + apsl20 + llvm-exception + lib.licenses.boost + bsd2 + bsd3 + mit + mpl20 + wtfpl + ]; + platforms = [ + "x86_64-linux" + "aarch64-linux" + ]; + }; +}) From 0481b08c7451e793e0215b33ce5d07ecd0dc85ae Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 13 Feb 2026 13:07:33 +0000 Subject: [PATCH 19/64] sydbox: 3.48.7 -> 3.49.1 --- pkgs/by-name/sy/sydbox/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sy/sydbox/package.nix b/pkgs/by-name/sy/sydbox/package.nix index 91c1c8be8a66..9fd8a307bcac 100644 --- a/pkgs/by-name/sy/sydbox/package.nix +++ b/pkgs/by-name/sy/sydbox/package.nix @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "sydbox"; - version = "3.48.7"; + version = "3.49.1"; outputs = [ "out" @@ -24,10 +24,10 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "Sydbox"; repo = "sydbox"; tag = "v${finalAttrs.version}"; - hash = "sha256-oNA0/1X0av/pd7e6lxDWidNdc+nu7fIclNwkH85Vdag="; + hash = "sha256-TFPN0KvzO+tNlt9EWEx7MC3DNC3+CzHJn2MfMWpwOp4="; }; - cargoHash = "sha256-U8Q1OGHfM4o7QYSh7e0yuB7RdIN02z21ZnHfCMfrL74="; + cargoHash = "sha256-yrsJrZ4rDBYlapz/O+1l4h6MIAgZ0PpYm68OFfeHb8A="; nativeBuildInputs = [ mandoc From 8dadfa6fde2657da2ffee788765b7b6136ffe2a5 Mon Sep 17 00:00:00 2001 From: Henrique Oliveira Date: Sun, 15 Feb 2026 12:10:20 +0100 Subject: [PATCH 20/64] yabridge: disable bitbridge support Fixes build failure with Wine WoW64 mode which no longer supports 32-bit Winelib applications. Fixes #490049" --- .../by-name/ya/yabridge/hardcode-dependencies.patch | 13 ------------- pkgs/by-name/ya/yabridge/package.nix | 10 ++++------ 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/pkgs/by-name/ya/yabridge/hardcode-dependencies.patch b/pkgs/by-name/ya/yabridge/hardcode-dependencies.patch index beb4766c8561..581780f1cd33 100644 --- a/pkgs/by-name/ya/yabridge/hardcode-dependencies.patch +++ b/pkgs/by-name/ya/yabridge/hardcode-dependencies.patch @@ -1,16 +1,3 @@ -diff --git a/meson.build b/meson.build -index 9e69128d..8c53ac88 100644 ---- a/meson.build -+++ b/meson.build -@@ -226,7 +226,7 @@ if is_64bit_system - xcb_64bit_dep = dependency('xcb') - endif - if with_bitbridge -- xcb_32bit_dep = winegcc.find_library('xcb') -+ xcb_32bit_dep = winegcc.find_library('xcb', dirs: ['@libxcb32@/lib']) - endif - - # These are all headers-only libraries, and thus won't require separate 32-bit diff --git a/src/common/notifications.cpp b/src/common/notifications.cpp index 654b6c83..78ba2fe7 100644 --- a/src/common/notifications.cpp diff --git a/pkgs/by-name/ya/yabridge/package.nix b/pkgs/by-name/ya/yabridge/package.nix index 0735d19ddfc5..e5f0ee796df9 100644 --- a/pkgs/by-name/ya/yabridge/package.nix +++ b/pkgs/by-name/ya/yabridge/package.nix @@ -1,9 +1,8 @@ { lib, - multiStdenv, + stdenv, fetchFromGitHub, replaceVars, - pkgsi686Linux, dbus, meson, ninja, @@ -73,7 +72,7 @@ let hash = "sha256-LsPHPoAL21XOKmF1Wl/tvLJGzjaCLjaDAcUtDvXdXSU="; }; in -multiStdenv.mkDerivation (finalAttrs: { +stdenv.mkDerivation (finalAttrs: { pname = "yabridge"; version = "5.1.1"; @@ -105,7 +104,6 @@ multiStdenv.mkDerivation (finalAttrs: { # Hard code bitbridge & runtime dependencies (replaceVars ./hardcode-dependencies.patch { libdbus = dbus.lib; - libxcb32 = pkgsi686Linux.libxcb; inherit wine; }) @@ -140,7 +138,7 @@ multiStdenv.mkDerivation (finalAttrs: { mesonFlags = [ "--cross-file" "cross-wine.conf" - "-Dbitbridge=true" + "-Dbitbridge=false" # Requires CMake and is unnecessary "-Dtomlplusplus:generate_cmake_config=false" @@ -149,7 +147,7 @@ multiStdenv.mkDerivation (finalAttrs: { installPhase = '' runHook preInstall mkdir -p "$out/bin" "$out/lib" - cp yabridge-host{,-32}.exe{,.so} "$out/bin" + cp yabridge-host.exe{,.so} "$out/bin" cp libyabridge{,-chainloader}-{vst2,vst3,clap}.so "$out/lib" runHook postInstall ''; From 1a61474d3b40f34e58a0a44704ee3e91d57e83c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 15 Feb 2026 15:42:43 -0800 Subject: [PATCH 21/64] zrepl: 0.6.1 -> 0.7.0 Diff: https://github.com/zrepl/zrepl/compare/v0.6.1...v0.7.0 Changelog: https://github.com/zrepl/zrepl/releases/tag/v0.7.0 --- pkgs/by-name/zr/zrepl/package.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/zr/zrepl/package.nix b/pkgs/by-name/zr/zrepl/package.nix index 1f1a8c7999b4..319af942b54e 100644 --- a/pkgs/by-name/zr/zrepl/package.nix +++ b/pkgs/by-name/zr/zrepl/package.nix @@ -8,16 +8,16 @@ }: buildGoModule (finalAttrs: { pname = "zrepl"; - version = "0.6.1"; + version = "0.7.0"; src = fetchFromGitHub { owner = "zrepl"; repo = "zrepl"; - rev = "v${finalAttrs.version}"; - sha256 = "sha256-sFSWcJ0aBMay+ngUqnr0PKBMOfCcKHgBjff6KRpPZrg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-D2ADK1mX6Aq0I2fBeNLZeJ0GdxWxi2ApiZqT4b72yf4="; }; - vendorHash = "sha256-75fGejR7eiECsm1j3yIU1lAWaW9GrorrVnv8JEzkAtU="; + vendorHash = "sha256-yu/bKkcWhHJSQPU2F4C58RC7geVTVEcXHlV0DRn/sUs="; subPackages = [ "." ]; @@ -46,6 +46,7 @@ buildGoModule (finalAttrs: { meta = { homepage = "https://zrepl.github.io/"; + changelog = "https://github.com/zrepl/zrepl/releases/tag/${finalAttrs.src.tag}"; description = "One-stop, integrated solution for ZFS replication"; platforms = lib.platforms.linux; license = lib.licenses.mit; From b1abae774489f5929d4a6dfae737e9755236a1cf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 16 Feb 2026 00:49:21 +0000 Subject: [PATCH 22/64] pdfmixtool: 1.2.1 -> 1.2.2 --- pkgs/by-name/pd/pdfmixtool/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/pd/pdfmixtool/package.nix b/pkgs/by-name/pd/pdfmixtool/package.nix index e8efb967babb..b04dc0153d2c 100644 --- a/pkgs/by-name/pd/pdfmixtool/package.nix +++ b/pkgs/by-name/pd/pdfmixtool/package.nix @@ -12,13 +12,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "pdfmixtool"; - version = "1.2.1"; + version = "1.2.2"; src = fetchFromGitLab { owner = "scarpetta"; repo = "pdfmixtool"; rev = "v${finalAttrs.version}"; - hash = "sha256-UuRTMLlUIyo2RF+XjI229kkE67ybmllIy98p97PjWCE="; + hash = "sha256-+omL0WNU34BcWbsfK3FXfhp0DVWjm9Vb5OVjRCoT/IA="; }; nativeBuildInputs = [ From 49d0a9ff95ba43c94b1cc750791333bf73877ab1 Mon Sep 17 00:00:00 2001 From: redianthus Date: Mon, 16 Feb 2026 16:40:46 +0100 Subject: [PATCH 23/64] ocamlPackages.synchronizer: 0.2 -> 0.3 --- pkgs/development/ocaml-modules/synchronizer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/synchronizer/default.nix b/pkgs/development/ocaml-modules/synchronizer/default.nix index 519c55ba9bdf..46a59432947b 100644 --- a/pkgs/development/ocaml-modules/synchronizer/default.nix +++ b/pkgs/development/ocaml-modules/synchronizer/default.nix @@ -8,7 +8,7 @@ buildDunePackage (finalAttrs: { pname = "synchronizer"; - version = "0.2"; + version = "0.3"; minimalOCamlVersion = "5.1"; @@ -16,7 +16,7 @@ buildDunePackage (finalAttrs: { owner = "OCamlPro"; repo = "synchronizer"; tag = finalAttrs.version; - hash = "sha256-0XtPHpDlyH1h8W2ZlRvJbZjCN9WP5mzk2N01WFd8eLQ="; + hash = "sha256-zomP15CRV6pFK3yk9hMCSDHPk11hEqXiRw8vr2Dg0CI="; }; propagatedBuildInputs = [ From aece3d33fba3c56f464f25f0bfe941c303164cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 16 Feb 2026 21:49:22 +0100 Subject: [PATCH 24/64] python-aliases: add warnAlias --- pkgs/top-level/python-aliases.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index a857b821c257..8721a8753cd0 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -27,6 +27,26 @@ let lib.mapAttrs ( n: alias: removeDistribute (removeRecurseForDerivations (checkInPkgs n alias)) ) aliases; + + warnAlias = + msg: v: + if lib.isDerivation v then + lib.warnOnInstantiate msg v + else if lib.isAttrs v then + lib.mapAttrs (_: lib.warn msg) v + else if lib.isFunction v then + arg: lib.warn msg (v arg) + else if lib.isList v then + map (lib.warn msg) v + else + # Can’t do better than this, and a `throw` would be more + # disruptive for users… + # + # `nix search` flags up warnings already, so hopefully this won’t + # make things much worse until we have proper CI for aliases, + # especially since aliases of paths and numbers are presumably + # not common. + lib.warn msg v; in ### Deprecated aliases - for backward compatibility From 2f2935320318ae1f50d6a96bf33f2a163d79ace3 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Mon, 16 Feb 2026 19:58:37 +0100 Subject: [PATCH 25/64] python3Packages.mastodon-py: patch to use graphemeu --- pkgs/development/python-modules/mastodon-py/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/mastodon-py/default.nix b/pkgs/development/python-modules/mastodon-py/default.nix index 6444f9e521f3..4e12dbb633bd 100644 --- a/pkgs/development/python-modules/mastodon-py/default.nix +++ b/pkgs/development/python-modules/mastodon-py/default.nix @@ -5,6 +5,7 @@ blurhash, cryptography, decorator, + fetchpatch, graphemeu, http-ece, python-dateutil, @@ -30,6 +31,14 @@ buildPythonPackage rec { hash = "sha256-i3HMT8cabSl664UK3eopJQ9bDBpGCgbHTvBJkgeoxd8="; }; + patches = [ + # Switch dependency from unmaintained `grapheme` to `graphemeu` + (fetchpatch { + url = "https://github.com/halcy/Mastodon.py/commit/939c7508414e950922c518260a9ba5a5853aeef2.patch"; + hash = "sha256-XBiAFxYUBNyynld++UwPGIIg9j+3/EF2jGqiysVqYRM="; + }) + ]; + build-system = [ setuptools ]; dependencies = [ From 2b954232f4da794d4cd9c92e0936f6d5bc7a2dfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 16 Feb 2026 20:46:28 -0800 Subject: [PATCH 26/64] python3Packages.pyturbojpeg: 1.8.2 -> 2.0.0 Diff: https://github.com/lilohuang/PyTurboJPEG/compare/v1.8.2...v2.0.0 Changelog: https://github.com/lilohuang/PyTurboJPEG/releases/tag/v2.0.0 --- pkgs/development/python-modules/pyturbojpeg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyturbojpeg/default.nix b/pkgs/development/python-modules/pyturbojpeg/default.nix index 79a23cdeae7e..98c085edba15 100644 --- a/pkgs/development/python-modules/pyturbojpeg/default.nix +++ b/pkgs/development/python-modules/pyturbojpeg/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pyturbojpeg"; - version = "1.8.2"; + version = "2.0.0"; pyproject = true; src = fetchFromGitHub { owner = "lilohuang"; repo = "PyTurboJPEG"; tag = "v${version}"; - hash = "sha256-zyLNIo7hQuzTlEgdvri3bSnAiRRKKup57tfCIxiBq24="; + hash = "sha256-yITX+6mP8AihaTFjZG9A5U6pAUTdPy6UDbbjnznwuqI="; }; patches = [ From bfc4d67a0c70443c2760de7f535979fdede257af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 16 Feb 2026 21:56:36 -0800 Subject: [PATCH 27/64] python3Packages.aiosolaredge: 0.2.0 -> 1.0.2 Diff: https://github.com/bdraco/aiosolaredge/compare/v0.2.0...v1.0.2 Changelog: https://github.com/bdraco/aiosolaredge/blob/v1.0.2/CHANGELOG.md --- .../python-modules/aiosolaredge/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aiosolaredge/default.nix b/pkgs/development/python-modules/aiosolaredge/default.nix index 5fd9bc08a973..661a21d74495 100644 --- a/pkgs/development/python-modules/aiosolaredge/default.nix +++ b/pkgs/development/python-modules/aiosolaredge/default.nix @@ -5,26 +5,24 @@ poetry-core, aiohttp, yarl, + aioresponses, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, }: buildPythonPackage rec { pname = "aiosolaredge"; - version = "0.2.0"; + version = "1.0.2"; pyproject = true; src = fetchFromGitHub { owner = "bdraco"; repo = "aiosolaredge"; tag = "v${version}"; - hash = "sha256-1C74U5HWDTJum1XES21t1uIJwm0YW3l041mwvqY/dA4="; + hash = "sha256-1RdkYcdhhU+MaP91iJ1tSrL0OlUi6Il1XBXnmRYhC7g="; }; - postPatch = '' - sed -i "/^addopts/d" pyproject.toml - ''; - build-system = [ poetry-core ]; dependencies = [ @@ -35,12 +33,14 @@ buildPythonPackage rec { pythonImportsCheck = [ "aiosolaredge" ]; nativeCheckInputs = [ + aioresponses pytest-asyncio + pytest-cov-stub pytestCheckHook ]; meta = { - changelog = "https://github.com/bdraco/aiosolaredge/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/bdraco/aiosolaredge/blob/${src.tag}/CHANGELOG.md"; description = "Asyncio SolarEdge API client"; homepage = "https://github.com/bdraco/aiosolaredge"; license = lib.licenses.mit; From dd63c33eef7ecf9b0073cfa11e53a94770cf2df9 Mon Sep 17 00:00:00 2001 From: dramforever Date: Tue, 17 Feb 2026 15:22:54 +0800 Subject: [PATCH 28/64] nixos/clevis: Fix executable names for extraUtilsCommands --- nixos/modules/system/boot/clevis.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/system/boot/clevis.nix b/nixos/modules/system/boot/clevis.nix index 121f0d4cc27f..be6615bbc439 100644 --- a/nixos/modules/system/boot/clevis.nix +++ b/nixos/modules/system/boot/clevis.nix @@ -78,8 +78,8 @@ in copy_bin_and_libs ${pkgs.curl}/bin/curl copy_bin_and_libs ${pkgs.bashNonInteractive}/bin/bash copy_bin_and_libs ${pkgs.cryptsetup}/bin/cryptsetup - copy_bin_and_libs ${pkgs.gnused}/bin/gnused - copy_bin_and_libs ${pkgs.gnugrep}/bin/gnugrep + copy_bin_and_libs ${pkgs.gnused}/bin/sed + copy_bin_and_libs ${pkgs.gnugrep}/bin/grep copy_bin_and_libs ${pkgs.tpm2-tools}/bin/.tpm2-wrapped mv $out/bin/{.tpm2-wrapped,tpm2} From 0b76780b8a34556daf39395c0afe9a067320edc6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 17 Feb 2026 07:24:47 +0000 Subject: [PATCH 29/64] python3Packages.reportlab: 4.4.9 -> 4.4.10 --- pkgs/development/python-modules/reportlab/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/reportlab/default.nix b/pkgs/development/python-modules/reportlab/default.nix index 6cf36fd5e46f..fccc6585cbdb 100644 --- a/pkgs/development/python-modules/reportlab/default.nix +++ b/pkgs/development/python-modules/reportlab/default.nix @@ -17,7 +17,7 @@ let in buildPythonPackage rec { pname = "reportlab"; - version = "4.4.9"; + version = "4.4.10"; pyproject = true; # See https://bitbucket.org/pypy/compatibility/wiki/reportlab%20toolkit @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-fPSHdkKU7nkaR4H1oVe+vOJipmauS7uHeGdgqWdsk3g="; + hash = "sha256-XLuzSsNUYDnQCG3rKTjN7AaxLaPNuDboEyWOszzShIc="; }; postPatch = '' From d2423a46ee266f6c7a98b2c53ee20021e5b4987c Mon Sep 17 00:00:00 2001 From: dramforever Date: Tue, 17 Feb 2026 15:24:19 +0800 Subject: [PATCH 30/64] nixos/clevis: Add back curl to extraBin This partially reverts #382585, and fixes #490395. --- nixos/modules/system/boot/clevis.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/boot/clevis.nix b/nixos/modules/system/boot/clevis.nix index be6615bbc439..9ac8496297f2 100644 --- a/nixos/modules/system/boot/clevis.nix +++ b/nixos/modules/system/boot/clevis.nix @@ -106,6 +106,7 @@ in systemd = { extraBin = lib.mkIf systemd.enable { clevis = "${cfg.package}/bin/clevis"; + curl = "${pkgs.curl}/bin/curl"; }; storePaths = lib.mkIf systemd.enable [ From 84f897e53057c5ccbfcad2119212d5f3dffa7632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 17 Feb 2026 15:48:49 +0100 Subject: [PATCH 31/64] python313Packages.typer: 0.21.0 -> 0.21.2 Diff: fastapi/typer@0.21.0...0.21.2 Changelog: https://github.com/tiangolo/typer/releases/tag/0.21.2 --- pkgs/development/python-modules/typer-slim/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/typer-slim/default.nix b/pkgs/development/python-modules/typer-slim/default.nix index 71bda750278c..d39dd3b45ff1 100644 --- a/pkgs/development/python-modules/typer-slim/default.nix +++ b/pkgs/development/python-modules/typer-slim/default.nix @@ -8,8 +8,8 @@ pdm-backend, # dependencies + annotated-doc, click, - typing-extensions, # optional-dependencies rich, @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "typer-slim"; - version = "0.21.0"; + version = "0.21.2"; pyproject = true; src = fetchFromGitHub { owner = "fastapi"; repo = "typer"; tag = version; - hash = "sha256-MvrwHemciLa2m0QUTZNuCLa7x63RKWFzJ5k6Ask25ZY="; + hash = "sha256-VvCd2Csn9v15RAQSdgayl16oQfxyDSge925jJOTbVuw="; }; postPatch = '' @@ -46,8 +46,8 @@ buildPythonPackage rec { build-system = [ pdm-backend ]; dependencies = [ + annotated-doc click - typing-extensions ]; optional-dependencies = { From a0e9ccda213d13f5ca48c272233c18b2e789163c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 16 Feb 2026 15:38:22 +0100 Subject: [PATCH 32/64] python3Packages.typer: 0.21.2 -> 0.22.0, drop typer-slim As upstream writes on pypi [1]: This package, typer-slim, does nothing other than depend on typer. 1: https://pypi.org/project/typer-slim/ Diff: fastapi/typer@0.21.2...0.22.0 Changelog: https://github.com/tiangolo/typer/releases/tag/0.22.0 --- pkgs/by-name/jj/jj-pre-push/package.nix | 7 +- .../sphinx-autodoc2/default.nix | 3 +- .../python-modules/typer-injector/default.nix | 9 +- .../python-modules/typer-slim/default.nix | 90 ------------------- .../python-modules/typer/default.nix | 88 +++++++++++++++--- .../python-modules/weasel/default.nix | 9 +- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 8 files changed, 98 insertions(+), 111 deletions(-) delete mode 100644 pkgs/development/python-modules/typer-slim/default.nix diff --git a/pkgs/by-name/jj/jj-pre-push/package.nix b/pkgs/by-name/jj/jj-pre-push/package.nix index 9b5d9c11c3a7..375a201bbda3 100644 --- a/pkgs/by-name/jj/jj-pre-push/package.nix +++ b/pkgs/by-name/jj/jj-pre-push/package.nix @@ -21,6 +21,11 @@ python3Packages.buildPythonApplication rec { hash = "sha256-dZrZjzygT6Q7jIPkasYgJ2uN3eyPQXsg0opksookLYI="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "typer-slim" "typer" + ''; + build-system = [ python3Packages.uv-build ]; @@ -28,7 +33,7 @@ python3Packages.buildPythonApplication rec { dependencies = with python3Packages; [ - typer-slim + typer ] ++ lib.optionals withPrecommit [ pre-commit ]; diff --git a/pkgs/development/python-modules/sphinx-autodoc2/default.nix b/pkgs/development/python-modules/sphinx-autodoc2/default.nix index a0cf4db57cab..4607a2f13ffa 100644 --- a/pkgs/development/python-modules/sphinx-autodoc2/default.nix +++ b/pkgs/development/python-modules/sphinx-autodoc2/default.nix @@ -47,8 +47,7 @@ buildPythonPackage (finalAttrs: { # cli deps typer - ] - ++ typer.optional-dependencies.standard; + ]; preCheck = '' # make sphinx_path an alias of pathlib.Path, since sphinx_path was removed in Sphinx v7.2.0 diff --git a/pkgs/development/python-modules/typer-injector/default.nix b/pkgs/development/python-modules/typer-injector/default.nix index 109ae7c7b796..b65096ff5aa6 100644 --- a/pkgs/development/python-modules/typer-injector/default.nix +++ b/pkgs/development/python-modules/typer-injector/default.nix @@ -5,7 +5,7 @@ hatchling, lib, pytestCheckHook, - typer-slim, + typer, }: buildPythonPackage rec { @@ -20,13 +20,18 @@ buildPythonPackage rec { hash = "sha256-nwEYFw+4jeF/SoaZWR51VWRezqBFjGoLiVgJWdPNoIk="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "typer-slim" "typer" + ''; + build-system = [ hatch-vcs hatchling ]; dependencies = [ - typer-slim + typer ]; pythonImportsCheck = [ "typer_injector" ]; diff --git a/pkgs/development/python-modules/typer-slim/default.nix b/pkgs/development/python-modules/typer-slim/default.nix deleted file mode 100644 index d39dd3b45ff1..000000000000 --- a/pkgs/development/python-modules/typer-slim/default.nix +++ /dev/null @@ -1,90 +0,0 @@ -{ - lib, - stdenv, - buildPythonPackage, - fetchFromGitHub, - - # build-system - pdm-backend, - - # dependencies - annotated-doc, - click, - - # optional-dependencies - rich, - shellingham, - - # tests - pytest-xdist, - pytestCheckHook, - writableTmpDirAsHomeHook, - procps, -}: - -buildPythonPackage rec { - pname = "typer-slim"; - version = "0.21.2"; - pyproject = true; - - src = fetchFromGitHub { - owner = "fastapi"; - repo = "typer"; - tag = version; - hash = "sha256-VvCd2Csn9v15RAQSdgayl16oQfxyDSge925jJOTbVuw="; - }; - - postPatch = '' - for f in $(find tests -type f -print); do - # replace `sys.executable -m coverage run` with `sys.executable` - sed -z -i 's/"-m",\n\?\s*"coverage",\n\?\s*"run",//g' "$f" - done - ''; - - env.TIANGOLO_BUILD_PACKAGE = "typer-slim"; - - build-system = [ pdm-backend ]; - - dependencies = [ - annotated-doc - click - ]; - - optional-dependencies = { - standard = [ - rich - shellingham - ]; - }; - - nativeCheckInputs = [ - pytest-xdist - pytestCheckHook - writableTmpDirAsHomeHook - ] - ++ lib.concatAttrValues optional-dependencies - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - procps - ]; - - disabledTests = [ - "test_scripts" - # Likely related to https://github.com/sarugaku/shellingham/issues/35 - # fails also on Linux - "test_show_completion" - "test_install_completion" - ] - ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ - "test_install_completion" - ]; - - pythonImportsCheck = [ "typer" ]; - - meta = { - description = "Library for building CLI applications"; - homepage = "https://typer.tiangolo.com/"; - changelog = "https://github.com/tiangolo/typer/releases/tag/${version}"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ winpat ]; - }; -} diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index 6e1daa7b91e0..762e0eb447d8 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -1,20 +1,84 @@ { lib, - mkPythonMetaPackage, - typer-slim, + stdenv, + buildPythonPackage, + fetchFromGitHub, + + # build-system + pdm-backend, + + # dependencies + annotated-doc, + click, + + # optional-dependencies + rich, + shellingham, + + # tests + pytest-xdist, + pytestCheckHook, + writableTmpDirAsHomeHook, + procps, }: -mkPythonMetaPackage { +buildPythonPackage rec { pname = "typer"; - inherit (typer-slim) version optional-dependencies; - dependencies = [ typer-slim ] ++ typer-slim.optional-dependencies.standard; + version = "0.22.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "fastapi"; + repo = "typer"; + tag = version; + hash = "sha256-XwfvMtDyBKim3e3kmRZa3G6r1k9jmurwbuVmpyLG/Z0="; + }; + + postPatch = '' + for f in $(find tests -type f -print); do + # replace `sys.executable -m coverage run` with `sys.executable` + sed -z -i 's/"-m",\n\?\s*"coverage",\n\?\s*"run",//g' "$f" + done + ''; + + env.TIANGOLO_BUILD_PACKAGE = "typer"; + + build-system = [ pdm-backend ]; + + dependencies = [ + annotated-doc + click + rich + shellingham + ]; + + nativeCheckInputs = [ + pytest-xdist + pytestCheckHook + writableTmpDirAsHomeHook + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + procps + ]; + + disabledTests = [ + "test_scripts" + # Likely related to https://github.com/sarugaku/shellingham/issues/35 + # fails also on Linux + "test_show_completion" + "test_install_completion" + ] + ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ + "test_install_completion" + ]; + + pythonImportsCheck = [ "typer" ]; + meta = { - inherit (typer-slim.meta) - changelog - description - homepage - license - maintainers - ; + description = "Library for building CLI applications"; + homepage = "https://typer.tiangolo.com/"; + changelog = "https://github.com/tiangolo/typer/releases/tag/${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ winpat ]; }; } diff --git a/pkgs/development/python-modules/weasel/default.nix b/pkgs/development/python-modules/weasel/default.nix index aedf6e86ea44..fb4b108a66bf 100644 --- a/pkgs/development/python-modules/weasel/default.nix +++ b/pkgs/development/python-modules/weasel/default.nix @@ -14,7 +14,7 @@ requests, smart-open, srsly, - typer-slim, + typer, wasabi, # tests @@ -33,6 +33,11 @@ buildPythonPackage rec { hash = "sha256-Xd7cJlUi/a8gwtnuO9wqZiHT1xVMbp6V6Ha+Kyr4tFE="; }; + postPatch = '' + substituteInPlace setup.cfg \ + --replace-fail "typer-slim" "typer" + ''; + build-system = [ setuptools ]; dependencies = [ @@ -43,7 +48,7 @@ buildPythonPackage rec { requests smart-open srsly - typer-slim + typer wasabi ]; diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 8721a8753cd0..11f124e7d701 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -539,6 +539,7 @@ mapAliases { tvdb_api = throw "'tvdb_api' has been renamed to/replaced by 'tvdb-api'"; # Converted to throw 2025-10-29 tweedledum = throw "'tweedledum' has been removed due to lack of upstream maintenance."; # Added 2025-11-22 typed-ast = throw "typed-ast was removed because it went end of life in July 2023"; # added 2025-05-24 + typer-slim = warnAlias "typer-slim was an alias package of typer that only depended on it and has been removed." typer; # added 2026-02-16 types-typed-ast = throw "types-typed-ast was removed because so was typed-ast"; # added 2025-05-24 typesentry = throw "typesentry was removed because it was broken and unmaintained"; # added 2026-02-02 typesystem = throw "'typesystem' has been removed as it was broken, unmaintained, and archived upstream"; # Added 2025-11-27 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4914e8bfc734..bf4d7f0b354a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -19593,8 +19593,6 @@ self: super: with self; { typer-shell = callPackage ../development/python-modules/typer-shell { }; - typer-slim = callPackage ../development/python-modules/typer-slim { }; - types-aiobotocore = callPackage ../development/python-modules/types-aiobotocore { }; inherit (callPackage ../development/python-modules/types-aiobotocore-packages { }) From f8dd6bd3840f3f2a37a29da90fca8186cc5bd474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 17 Feb 2026 15:57:47 +0100 Subject: [PATCH 33/64] python3Packages.typer: 0.22.0 -> 0.24.0 Diff: https://github.com/fastapi/typer/compare/0.22.0...0.24.0 Changelog: https://github.com/tiangolo/typer/releases/tag/0.24.0 --- pkgs/development/python-modules/typer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index 762e0eb447d8..c9bc634b3549 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "typer"; - version = "0.22.0"; + version = "0.24.0"; pyproject = true; src = fetchFromGitHub { owner = "fastapi"; repo = "typer"; tag = version; - hash = "sha256-XwfvMtDyBKim3e3kmRZa3G6r1k9jmurwbuVmpyLG/Z0="; + hash = "sha256-ha/cT2+I9/WUjb7ZXSKqLSocZ3vq0N1fm4RvRpsXIDc="; }; postPatch = '' From a18b01c8f959a830d4f3deae3e6cc1af0616b330 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 17 Feb 2026 20:01:23 +0000 Subject: [PATCH 34/64] hyprviz: 0.7.1 -> 0.8.0 --- pkgs/by-name/hy/hyprviz/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/hy/hyprviz/package.nix b/pkgs/by-name/hy/hyprviz/package.nix index 34f1e8375be3..f1afb113073d 100644 --- a/pkgs/by-name/hy/hyprviz/package.nix +++ b/pkgs/by-name/hy/hyprviz/package.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "hyprviz"; - version = "0.7.1"; + version = "0.8.0"; src = fetchFromGitHub { owner = "timasoft"; repo = "hyprviz"; tag = "v${finalAttrs.version}"; - hash = "sha256-ar1O/Em9AcPPfbuT4xnyOwBX1IClJlFYfdPQbU/5vTk="; + hash = "sha256-5w7+fkf2oB0x5N6xlKjSPbgsB7Ifr1NWW8qWDmGyFwU="; }; - cargoHash = "sha256-BICF6nZcn/7t5X4Dj18fPD2RpEz7U1Zytt9sfHe7Xnw="; + cargoHash = "sha256-+8MKYruPjCTooiY7pxwz5oqIpk4ZidugPrVlMZ1yMI0="; nativeBuildInputs = [ pkg-config From 67f2e8ba71d7e8d75e958ef7c5bd094f00cacab6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 17 Feb 2026 20:16:06 +0000 Subject: [PATCH 35/64] k6: 1.6.0 -> 1.6.1 --- pkgs/by-name/k6/k6/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/k6/k6/package.nix b/pkgs/by-name/k6/k6/package.nix index ae9d0c12eace..ccf2a7f25ce8 100644 --- a/pkgs/by-name/k6/k6/package.nix +++ b/pkgs/by-name/k6/k6/package.nix @@ -8,13 +8,13 @@ buildGoModule (finalAttrs: { pname = "k6"; - version = "1.6.0"; + version = "1.6.1"; src = fetchFromGitHub { owner = "grafana"; repo = "k6"; rev = "v${finalAttrs.version}"; - hash = "sha256-rfurCWplI21vEYEArxp4wrAn6oOWenMkGetFDy5WCAY="; + hash = "sha256-pKkLrvqOz5d6iRCv3Ln31vhTBi0XWG1nSkIQ8xrK468="; }; subPackages = [ "./" ]; From 1827c0e863cf376d2f3b26ac767fdd5d5351a030 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 17 Feb 2026 23:35:17 +0100 Subject: [PATCH 36/64] ccextractor: apply patch for CVE-2026-2245 Upstream security issue: https://github.com/CCExtractor/ccextractor/issues/2053 Fixes #489009 --- pkgs/by-name/cc/ccextractor/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/cc/ccextractor/package.nix b/pkgs/by-name/cc/ccextractor/package.nix index ce4f958b0803..0db6e5fc7165 100644 --- a/pkgs/by-name/cc/ccextractor/package.nix +++ b/pkgs/by-name/cc/ccextractor/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, writeTextFile, pkg-config, @@ -43,6 +44,11 @@ stdenv.mkDerivation (finalAttrs: { ./remove-default-commit-hash.patch ./remove-vendored-libraries.patch ./fix-avcodec-close.patch + (fetchpatch { + name = "CVE-2026-2245.patch"; + url = "https://github.com/CCExtractor/ccextractor/commit/fd7271bae238ccb3ae8a71304ea64f0886324925.patch"; + hash = "sha256-wZiJob5v4SVa5YBmiHuNvgphSi4PhTTb3hg4vs1lhVg="; + }) ] ++ finalAttrs.cargoDeps.vendorStaging.patches; From d0ce61aafd3af74dfa967cb4da07535f7313595e Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 4 Feb 2026 00:36:03 +0100 Subject: [PATCH 37/64] prototypejs: set pname and version --- pkgs/by-name/pr/prototypejs/package.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/pr/prototypejs/package.nix b/pkgs/by-name/pr/prototypejs/package.nix index 9ac7a68943b3..d9db3009327a 100644 --- a/pkgs/by-name/pr/prototypejs/package.nix +++ b/pkgs/by-name/pr/prototypejs/package.nix @@ -1,10 +1,10 @@ { lib, fetchurl, ... }: -let +fetchurl (finalAttrs: { + pname = "prototype"; version = "1.7.3.0"; -in -fetchurl { - name = "prototype-${version}.js"; - url = "https://ajax.googleapis.com/ajax/libs/prototype/${version}/prototype.js"; + name = "${finalAttrs.pname}-${finalAttrs.version}.js"; + + url = "https://ajax.googleapis.com/ajax/libs/prototype/${finalAttrs.version}/prototype.js"; sha256 = "0q43vvrsb22h4jvavs1gk3v4ps61yx9k85b5n6q9mxivhmxprg26"; meta = { @@ -21,4 +21,4 @@ fetchurl { license = lib.licenses.mit; maintainers = with lib.maintainers; [ das_j ]; }; -} +}) From 8ad05497085b9ef41b27ff3b8ce5cb8c1aea48c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 17 Feb 2026 23:48:08 +0000 Subject: [PATCH 38/64] prow: 0-unstable-2026-02-06 -> 0-unstable-2026-02-17 --- pkgs/by-name/pr/prow/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/pr/prow/package.nix b/pkgs/by-name/pr/prow/package.nix index 42e80a9f06a5..2cbaa9757cd2 100644 --- a/pkgs/by-name/pr/prow/package.nix +++ b/pkgs/by-name/pr/prow/package.nix @@ -8,15 +8,15 @@ buildGoModule rec { pname = "prow"; - version = "0-unstable-2026-02-06"; - rev = "85e3dda3b79520c15cd101b85b52ccf4f7e1f1e6"; + version = "0-unstable-2026-02-17"; + rev = "999e46ca7aee8a1561241b965222140ebc29120c"; src = fetchFromGitHub { inherit rev; owner = "kubernetes-sigs"; repo = "prow"; - hash = "sha256-1x0RKRYi7HruNJJwAhPQ+sIcKKwdyyI3cysBQvY2Z8Y="; + hash = "sha256-EzP0Yd3cMstMhPGBD+3dUJE4NL0YnJTGip/tTDj/Rfw="; }; vendorHash = "sha256-Pv9LznRh7Nzm74gMKT2Q/VLIMIIc93en0qX6YA6TwK4="; From 43c68c851e06e080f762caae1d8fab2ebf12100d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 Feb 2026 00:02:32 +0000 Subject: [PATCH 39/64] python3Packages.django-allauth: 65.14.0 -> 65.14.3 --- pkgs/development/python-modules/django-allauth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/django-allauth/default.nix b/pkgs/development/python-modules/django-allauth/default.nix index 033982391633..89cd09f6543a 100644 --- a/pkgs/development/python-modules/django-allauth/default.nix +++ b/pkgs/development/python-modules/django-allauth/default.nix @@ -41,14 +41,14 @@ buildPythonPackage rec { pname = "django-allauth"; - version = "65.14.0"; + version = "65.14.3"; pyproject = true; src = fetchFromCodeberg { owner = "allauth"; repo = "django-allauth"; tag = version; - hash = "sha256-hoPNSMzn/bX98Qe+7guaLK8UhA5FfHpUCjzN6hCXVgs="; + hash = "sha256-Kr6iYN+qM1ZdtQAJ9Ks+zC70AiiUi2IY2O/G9S+tTmI="; }; nativeBuildInputs = [ gettext ]; From f02d361ca46a078b5acb2b2a4c44564277e566e9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 Feb 2026 01:01:40 +0000 Subject: [PATCH 40/64] gnmic: 0.43.0 -> 0.44.0 --- pkgs/by-name/gn/gnmic/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/gn/gnmic/package.nix b/pkgs/by-name/gn/gnmic/package.nix index 35d46ab521b5..796405687779 100644 --- a/pkgs/by-name/gn/gnmic/package.nix +++ b/pkgs/by-name/gn/gnmic/package.nix @@ -9,16 +9,16 @@ buildGoModule (finalAttrs: { pname = "gnmic"; - version = "0.43.0"; + version = "0.44.0"; src = fetchFromGitHub { owner = "openconfig"; repo = "gnmic"; tag = "v${finalAttrs.version}"; - hash = "sha256-+5f4SxAmpZrOmIr8MUR3ImmoPbzFQ0bh/4qnqkpfs1g="; + hash = "sha256-gIKhJ8BaJq/IXXOJrY+n8BoAxKxDDXvEc3JDXGcOxW0="; }; - vendorHash = "sha256-zsb+Tky2yVyEUSKjvnS8YkRFMUf/01VIX2Vl6mB5mpw="; + vendorHash = "sha256-osVsIqluU4la2oDWGbjDQq0sM9uCiWgsar5H/XNudV0="; ldflags = [ "-s" From 8e1e958a9b9ea7646c2ff54797087ca1ed98cdb6 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Tue, 17 Feb 2026 20:52:47 -0500 Subject: [PATCH 41/64] ablog: 0.11.12 -> 0.11.13 Changelog: https://github.com/sunpy/ablog/releases/tag/v0.11.13 Don't ignore RemovedInSphinx90Warning, as with sphinx 9, it doesn't exist. --- pkgs/by-name/ab/ablog/package.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ab/ablog/package.nix b/pkgs/by-name/ab/ablog/package.nix index 6fc85d7e62a2..77249f635f79 100644 --- a/pkgs/by-name/ab/ablog/package.nix +++ b/pkgs/by-name/ab/ablog/package.nix @@ -6,7 +6,7 @@ }: let - version = "0.11.12"; + version = "0.11.13"; in python3Packages.buildPythonApplication { pname = "ablog"; @@ -17,7 +17,7 @@ python3Packages.buildPythonApplication { owner = "sunpy"; repo = "ablog"; tag = "v${version}"; - hash = "sha256-bPTaxkuIKeypfnZItG9cl51flHBIx/yg0qENuiqQgY4="; + hash = "sha256-P1eSN3wqlPNYbYW3Rkz2Y6yFcC379dt/qK8aVNwZRSs="; }; build-system = with python3Packages; [ @@ -43,7 +43,6 @@ python3Packages.buildPythonApplication { pytestFlags = [ "--rootdir=src/ablog" - "-Wignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError ]; disabledTests = [ From d717366080efbac1a5d1e24e2aa57a1b1ce78e72 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 Feb 2026 02:02:26 +0000 Subject: [PATCH 42/64] python3Packages.simsimd: 6.5.12 -> 6.5.13 --- pkgs/development/python-modules/simsimd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/simsimd/default.nix b/pkgs/development/python-modules/simsimd/default.nix index 80a72332edfb..c5dd1981d72e 100644 --- a/pkgs/development/python-modules/simsimd/default.nix +++ b/pkgs/development/python-modules/simsimd/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "simsimd"; - version = "6.5.12"; + version = "6.5.13"; pyproject = true; src = fetchFromGitHub { owner = "ashvardanian"; repo = "SimSIMD"; tag = "v${version}"; - hash = "sha256-4mgWm4FcTGf9DNc39GOjK9jnyev7hIeODjpnuIz6f1k="; + hash = "sha256-jNJ44jCPcs83HbLSkup6eeCL0Hf+SyU4RzyQAyuPJ94="; }; build-system = [ From c031190d4b464d3acee1dba4874fe5f70a7fb66c Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Tue, 17 Feb 2026 22:50:32 -0500 Subject: [PATCH 43/64] jjui: 0.9.11 -> 0.9.12 Changelog: https://github.com/idursun/jjui/releases/tag/v0.9.12 --- pkgs/by-name/jj/jjui/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/jj/jjui/package.nix b/pkgs/by-name/jj/jjui/package.nix index 520a847ecf23..6a16cc41066c 100644 --- a/pkgs/by-name/jj/jjui/package.nix +++ b/pkgs/by-name/jj/jjui/package.nix @@ -8,13 +8,13 @@ }: buildGoModule (finalAttrs: { pname = "jjui"; - version = "0.9.11"; + version = "0.9.12"; src = fetchFromGitHub { owner = "idursun"; repo = "jjui"; tag = "v${finalAttrs.version}"; - hash = "sha256-WkUMDIzVW6n5Zp1r7rp1GgkcgswatmgNYdSpkmz5VWs="; + hash = "sha256-CBNMoVALCLWQ9bsrQilnx8djLufLNt8p9iK+HnpUPgc="; }; vendorHash = "sha256-nXUaqkCz3QERqevwGk94sRrrPgJoJOPWXYc7iBOMAdY="; From 311ab4c2263b4727643cfa59fb836ca127308c1c Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 01:32:10 +0100 Subject: [PATCH 44/64] lilypond{,-unstable,-with-fonts}: refactor and move to pkgs/by-name especially refactor updateScript this shouldn't create any rebuilds --- pkgs/by-name/li/lilypond-unstable/package.nix | 25 +++++++++++++++++++ .../li/lilypond-with-fonts/package.nix} | 6 ++++- .../li/lilypond/package.nix} | 17 +++++++------ pkgs/misc/lilypond/unstable.nix | 21 ---------------- pkgs/misc/lilypond/update.sh | 25 ------------------- pkgs/top-level/all-packages.nix | 11 +------- 6 files changed, 41 insertions(+), 64 deletions(-) create mode 100644 pkgs/by-name/li/lilypond-unstable/package.nix rename pkgs/{misc/lilypond/with-fonts.nix => by-name/li/lilypond-with-fonts/package.nix} (75%) rename pkgs/{misc/lilypond/default.nix => by-name/li/lilypond/package.nix} (84%) delete mode 100644 pkgs/misc/lilypond/unstable.nix delete mode 100755 pkgs/misc/lilypond/update.sh diff --git a/pkgs/by-name/li/lilypond-unstable/package.nix b/pkgs/by-name/li/lilypond-unstable/package.nix new file mode 100644 index 000000000000..1fe01def478a --- /dev/null +++ b/pkgs/by-name/li/lilypond-unstable/package.nix @@ -0,0 +1,25 @@ +{ + lib, + fetchzip, + lilypond, + writeScript, +}: + +lilypond.overrideAttrs ( + finalAttrs: prevAttrs: { + version = "2.25.32"; + + src = fetchzip { + url = "https://lilypond.org/download/sources/v${lib.versions.majorMinor finalAttrs.version}/lilypond-${finalAttrs.version}.tar.gz"; + hash = "sha256-j7Avb9WSy27yQCak3KV7OB24M+T76b/tLcLoINLSEbo="; + }; + + passthru.updateScript = writeScript "update-lilypond-unstable" '' + #!/usr/bin/env nix-shell + #!nix-shell -i bash -p common-updater-scripts curl + version="$(curl -s 'https://gitlab.com/lilypond/lilypond/-/raw/master/VERSION' | grep 'VERSION_DEVEL=' | cut -d= -f2)" + update-source-version lilypond-unstable "$version" \ + --file=pkgs/by-name/li/lilypond-unstable/package.nix + ''; + } +) diff --git a/pkgs/misc/lilypond/with-fonts.nix b/pkgs/by-name/li/lilypond-with-fonts/package.nix similarity index 75% rename from pkgs/misc/lilypond/with-fonts.nix rename to pkgs/by-name/li/lilypond-with-fonts/package.nix index 95bb75318e05..8c4f2c902a89 100644 --- a/pkgs/misc/lilypond/with-fonts.nix +++ b/pkgs/by-name/li/lilypond-with-fonts/package.nix @@ -14,7 +14,11 @@ lib.appendToName "with-fonts" (symlinkJoin { meta ; - paths = [ lilypond ] ++ openlilylib-fonts.all; + paths = [ + lilypond + ] + # relevant for lilypond-unstable-with-fonts + ++ (openlilylib-fonts.override { inherit lilypond; }).all; nativeBuildInputs = [ makeWrapper ]; diff --git a/pkgs/misc/lilypond/default.nix b/pkgs/by-name/li/lilypond/package.nix similarity index 84% rename from pkgs/misc/lilypond/default.nix rename to pkgs/by-name/li/lilypond/package.nix index 9bd6351bd2b1..c81b8a6df53d 100644 --- a/pkgs/misc/lilypond/default.nix +++ b/pkgs/by-name/li/lilypond/package.nix @@ -40,9 +40,10 @@ metafont ] ), + writeScript, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "lilypond"; version = "2.24.4"; outputs = [ @@ -51,7 +52,7 @@ stdenv.mkDerivation rec { ]; src = fetchzip { - url = "http://lilypond.org/download/sources/v${lib.versions.majorMinor version}/lilypond-${version}.tar.gz"; + url = "http://lilypond.org/download/sources/v${lib.versions.majorMinor finalAttrs.version}/lilypond-${finalAttrs.version}.tar.gz"; hash = "sha256-UYdORvodrVchxslOxpMiXrAh7DtB9sWp9yqZU/jeB9Y="; }; @@ -120,10 +121,12 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - passthru.updateScript = { - command = [ ./update.sh ]; - supportedFeatures = [ "commit" ]; - }; + passthru.updateScript = writeScript "update-lilypond" '' + #!/usr/bin/env nix-shell + #!nix-shell -i bash -p common-updater-scripts curl + version="$(curl -s 'https://gitlab.com/lilypond/lilypond/-/raw/master/VERSION' | grep 'VERSION_STABLE=' | cut -d= -f2)" + update-source-version lilypond "$version" + ''; # documentation makefile uses "out" for different purposes, hence we explicitly set it to an empty string makeFlags = [ "out=" ]; @@ -147,4 +150,4 @@ stdenv.mkDerivation rec { FONTCONFIG_FILE = lib.optional stdenv.hostPlatform.isDarwin (makeFontsConf { fontDirectories = [ freefont_ttf ]; }); -} +}) diff --git a/pkgs/misc/lilypond/unstable.nix b/pkgs/misc/lilypond/unstable.nix deleted file mode 100644 index 2e81140eb681..000000000000 --- a/pkgs/misc/lilypond/unstable.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - fetchzip, - lilypond, -}: - -lilypond.overrideAttrs (oldAttrs: rec { - version = "2.25.32"; - src = fetchzip { - url = "https://lilypond.org/download/sources/v${lib.versions.majorMinor version}/lilypond-${version}.tar.gz"; - hash = "sha256-j7Avb9WSy27yQCak3KV7OB24M+T76b/tLcLoINLSEbo="; - }; - - passthru.updateScript = { - command = [ - ./update.sh - "unstable" - ]; - supportedFeatures = [ "commit" ]; - }; -}) diff --git a/pkgs/misc/lilypond/update.sh b/pkgs/misc/lilypond/update.sh deleted file mode 100755 index 5d5f855dbd7c..000000000000 --- a/pkgs/misc/lilypond/update.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env nix-shell -#!nix-shell -I nixpkgs=./. -i bash -p curl gnused nix - -set -euo pipefail - -if [ $# -gt 0 ] && [ "$1" = "unstable" ]; then - ATTR="lilypond-unstable" - FILE="$(dirname "${BASH_SOURCE[@]}")/unstable.nix" - QUERY="VERSION_DEVEL=" -else - ATTR="lilypond" - FILE="$(dirname "${BASH_SOURCE[@]}")/default.nix" - QUERY="VERSION_STABLE=" -fi - -# update version -PREV=$(nix eval --raw -f default.nix $ATTR.version) -NEXT=$(curl -s 'https://gitlab.com/lilypond/lilypond/-/raw/master/VERSION' | grep "$QUERY" | cut -d= -f2) -sed -i "s|$PREV|$NEXT|" "$FILE" -echo "[{\"commitMessage\":\"$ATTR: $PREV -> $NEXT\"}]" - -# update hash -PREV=$(nix eval --raw -f default.nix $ATTR.src.outputHash) -NEXT=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-url --type sha256 --unpack $(nix eval --raw -f default.nix $ATTR.src.url))) -sed -i "s|$PREV|$NEXT|" "$FILE" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fbc504abb334..da5e22a493d4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12416,19 +12416,10 @@ with pkgs; ; kops = kops_1_33; - lilypond = callPackage ../misc/lilypond { }; - - lilypond-unstable = callPackage ../misc/lilypond/unstable.nix { }; - - lilypond-unstable-with-fonts = callPackage ../misc/lilypond/with-fonts.nix { + lilypond-unstable-with-fonts = lilypond-with-fonts.override { lilypond = lilypond-unstable; - openlilylib-fonts = openlilylib-fonts.override { - lilypond = lilypond-unstable; - }; }; - lilypond-with-fonts = callPackage ../misc/lilypond/with-fonts.nix { }; - openlilylib-fonts = recurseIntoAttrs (callPackage ../misc/lilypond/fonts.nix { }); nixDependencies = recurseIntoAttrs ( From 6cb35dbf04b7c05e4a2b6f2c5c1a205828d3c8c8 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 02:41:40 +0100 Subject: [PATCH 45/64] adwaita-qt: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../ad/adwaita-qt/package.nix} | 18 ++++++++++-------- pkgs/top-level/all-packages.nix | 6 +----- 2 files changed, 11 insertions(+), 13 deletions(-) rename pkgs/{data/themes/adwaita-qt/default.nix => by-name/ad/adwaita-qt/package.nix} (84%) diff --git a/pkgs/data/themes/adwaita-qt/default.nix b/pkgs/by-name/ad/adwaita-qt/package.nix similarity index 84% rename from pkgs/data/themes/adwaita-qt/default.nix rename to pkgs/by-name/ad/adwaita-qt/package.nix index aa80c27297ad..7f2ea1b256f1 100644 --- a/pkgs/data/themes/adwaita-qt/default.nix +++ b/pkgs/by-name/ad/adwaita-qt/package.nix @@ -5,14 +5,16 @@ nix-update-script, cmake, ninja, - qtbase, - qtwayland, qt5, + qt6, libxcb, useQt6 ? false, }: +let + qt = if useQt6 then qt6 else qt5; +in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "adwaita-qt"; version = "1.4.2"; @@ -24,8 +26,8 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "FedoraQt"; repo = "adwaita-qt"; - rev = version; - sha256 = "sha256-K/+SL52C+M2OC4NL+mhBnm/9BwH0KNNTGIDmPwuUwkM="; + tag = finalAttrs.version; + hash = "sha256-K/+SL52C+M2OC4NL+mhBnm/9BwH0KNNTGIDmPwuUwkM="; }; nativeBuildInputs = [ @@ -34,7 +36,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ - qtbase + qt.qtbase ] ++ lib.optionals stdenv.hostPlatform.isLinux [ libxcb @@ -43,7 +45,7 @@ stdenv.mkDerivation rec { qt5.qtx11extras ] ++ lib.optionals useQt6 [ - qtwayland + qt6.qtwayland ]; # Qt setup hook complains about missing `wrapQtAppsHook` otherwise. @@ -70,4 +72,4 @@ stdenv.mkDerivation rec { maintainers = [ ]; platforms = lib.platforms.all; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index da5e22a493d4..d4b94e82b2b9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9316,11 +9316,7 @@ with pkgs; ### DATA - adwaita-qt = libsForQt5.callPackage ../data/themes/adwaita-qt { }; - - adwaita-qt6 = qt6Packages.callPackage ../data/themes/adwaita-qt { - useQt6 = true; - }; + adwaita-qt6 = adwaita-qt.override { useQt6 = true; }; dejavu_fonts = lowPrio (callPackage ../data/fonts/dejavu-fonts { }); From dec64f6606adb2d39553c25efd1b3b9e3b555958 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 03:27:49 +0100 Subject: [PATCH 46/64] isso: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../is/isso/package.nix} | 32 +++++++++---------- pkgs/top-level/all-packages.nix | 4 --- 2 files changed, 15 insertions(+), 21 deletions(-) rename pkgs/{servers/isso/default.nix => by-name/is/isso/package.nix} (69%) diff --git a/pkgs/servers/isso/default.nix b/pkgs/by-name/is/isso/package.nix similarity index 69% rename from pkgs/servers/isso/default.nix rename to pkgs/by-name/is/isso/package.nix index e92390f8c982..2b1959ae6203 100644 --- a/pkgs/servers/isso/default.nix +++ b/pkgs/by-name/is/isso/package.nix @@ -1,16 +1,14 @@ { - nodejs, lib, python3Packages, fetchFromGitHub, nixosTests, fetchNpmDeps, + nodejs_20, npmHooks, }: -with python3Packages; - -buildPythonApplication rec { +python3Packages.buildPythonApplication (finalAttrs: { pname = "isso"; version = "0.13.0"; format = "setuptools"; @@ -18,12 +16,12 @@ buildPythonApplication rec { src = fetchFromGitHub { owner = "posativ"; repo = "isso"; - tag = version; - sha256 = "sha256-kZNf7Rlb1DZtQe4dK1B283OkzQQcCX+pbvZzfL65gsA="; + tag = finalAttrs.version; + hash = "sha256-kZNf7Rlb1DZtQe4dK1B283OkzQQcCX+pbvZzfL65gsA="; }; npmDeps = fetchNpmDeps { - inherit src; + inherit (finalAttrs) src; hash = "sha256-RBpuhFI0hdi8bB48Pks9Ac/UdcQ/DJw+WFnNj5f7IYE="; }; @@ -38,7 +36,7 @@ buildPythonApplication rec { --replace "self.client.delete_cookie('localhost.local', '1')" "self.client.delete_cookie(key='1', domain='localhost')" ''; - propagatedBuildInputs = [ + propagatedBuildInputs = with python3Packages; [ itsdangerous jinja2 misaka @@ -49,25 +47,25 @@ buildPythonApplication rec { ]; nativeBuildInputs = [ - cffi - sphinxHook - sphinx - nodejs + python3Packages.cffi + python3Packages.sphinxHook + python3Packages.sphinx + nodejs_20 npmHooks.npmConfigHook ]; NODE_PATH = "$npmDeps"; preBuild = '' - ln -s ${npmDeps}/node_modules ./node_modules - export PATH="${npmDeps}/bin:$PATH" + ln -s ${finalAttrs.npmDeps}/node_modules ./node_modules + export PATH="${finalAttrs.npmDeps}/bin:$PATH" make js ''; nativeCheckInputs = [ - pytestCheckHook - pytest-cov-stub + python3Packages.pytestCheckHook + python3Packages.pytest-cov-stub ]; passthru.tests = { inherit (nixosTests) isso; }; @@ -79,4 +77,4 @@ buildPythonApplication rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ fgaz ]; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d4b94e82b2b9..e55129ed95ed 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6734,10 +6734,6 @@ with pkgs; ''; }); - isso = callPackage ../servers/isso { - nodejs = nodejs_20; - }; - itk_5_2 = callPackage ../development/libraries/itk/5.2.x.nix { enableRtk = false; }; From be06328702c895d226ae51c9af6cbf847bdd5c18 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 03:31:21 +0100 Subject: [PATCH 47/64] dcnnt: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../default.nix => by-name/dc/dcnnt/package.nix} | 13 ++++++------- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 6 insertions(+), 9 deletions(-) rename pkgs/{servers/dcnnt/default.nix => by-name/dc/dcnnt/package.nix} (78%) diff --git a/pkgs/servers/dcnnt/default.nix b/pkgs/by-name/dc/dcnnt/package.nix similarity index 78% rename from pkgs/servers/dcnnt/default.nix rename to pkgs/by-name/dc/dcnnt/package.nix index 6f82a28ff33a..94b8eb16446f 100644 --- a/pkgs/servers/dcnnt/default.nix +++ b/pkgs/by-name/dc/dcnnt/package.nix @@ -1,21 +1,20 @@ { - buildPythonApplication, - fetchPypi, lib, - pycryptodome, + python3Packages, + fetchPypi, }: -buildPythonApplication rec { +python3Packages.buildPythonApplication (finalAttrs: { pname = "dcnnt"; version = "0.10.0"; format = "setuptools"; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-73ZLgb5YcXlAOjbKLVv8oqgS6pstBdJxa7LFUgIHpUE="; }; - propagatedBuildInputs = [ + propagatedBuildInputs = with python3Packages; [ pycryptodome ]; @@ -30,4 +29,4 @@ buildPythonApplication rec { maintainers = with lib.maintainers; [ arnoutkroeze ]; mainProgram = "dcnnt"; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e55129ed95ed..cb314c9241a7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8196,8 +8196,6 @@ with pkgs; erlang = beamMinimalPackages.erlang; }; - dcnnt = python3Packages.callPackage ../servers/dcnnt { }; - dict = callPackage ../servers/dict { flex = flex_2_5_35; libmaa = callPackage ../servers/dict/libmaa.nix { }; From 1fb604182f77a3e8860eb01ba8c06088482408d6 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 03:35:50 +0100 Subject: [PATCH 48/64] persistent-evdev: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../pe/persistent-evdev/package.nix} | 12 +++++------- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 5 insertions(+), 9 deletions(-) rename pkgs/{servers/persistent-evdev/default.nix => by-name/pe/persistent-evdev/package.nix} (83%) diff --git a/pkgs/servers/persistent-evdev/default.nix b/pkgs/by-name/pe/persistent-evdev/package.nix similarity index 83% rename from pkgs/servers/persistent-evdev/default.nix rename to pkgs/by-name/pe/persistent-evdev/package.nix index d7fd26d134b3..309a2f749980 100644 --- a/pkgs/servers/persistent-evdev/default.nix +++ b/pkgs/by-name/pe/persistent-evdev/package.nix @@ -1,25 +1,23 @@ { lib, - buildPythonPackage, + python3Packages, fetchFromGitHub, - evdev, - pyudev, udevCheckHook, }: -buildPythonPackage rec { +python3Packages.buildPythonPackage { pname = "persistent-evdev"; version = "unstable-2022-05-07"; pyproject = false; src = fetchFromGitHub { owner = "aiberia"; - repo = pname; + repo = "persistent-evdev"; rev = "52bf246464e09ef4e6f2e1877feccc7b9feba164"; - sha256 = "d0i6DL/qgDELet4ew2lyVqzd9TApivRxL3zA3dcsQXY="; + hash = "sha256-d0i6DL/qgDELet4ew2lyVqzd9TApivRxL3zA3dcsQXY="; }; - propagatedBuildInputs = [ + propagatedBuildInputs = with python3Packages; [ evdev pyudev ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cb314c9241a7..2331737d0c8e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2039,8 +2039,6 @@ with pkgs; unify = with python3Packages; toPythonApplication unify; - persistent-evdev = python3Packages.callPackage ../servers/persistent-evdev { }; - inherit (import ../development/libraries/libsbsms pkgs) libsbsms libsbsms_2_0_2 From 76b40726e4a376cfd1210e23e92ba74fa972f789 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 03:37:12 +0100 Subject: [PATCH 49/64] shairplay: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../default.nix => by-name/sh/shairplay/package.nix} | 12 ++++++------ pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 6 insertions(+), 8 deletions(-) rename pkgs/{servers/shairplay/default.nix => by-name/sh/shairplay/package.nix} (82%) diff --git a/pkgs/servers/shairplay/default.nix b/pkgs/by-name/sh/shairplay/package.nix similarity index 82% rename from pkgs/servers/shairplay/default.nix rename to pkgs/by-name/sh/shairplay/package.nix index d7eb009476ac..560bf9964fe1 100644 --- a/pkgs/servers/shairplay/default.nix +++ b/pkgs/by-name/sh/shairplay/package.nix @@ -4,11 +4,11 @@ fetchFromGitHub, autoreconfHook, pkg-config, - avahi, + avahi-compat, libao, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "shairplay-unstable"; version = "2018-08-24"; @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { ]; buildInputs = [ - avahi + avahi-compat libao ]; @@ -34,16 +34,16 @@ stdenv.mkDerivation rec { # the build will fail without complaining about a reference to /tmp preFixup = lib.optionalString stdenv.hostPlatform.isLinux '' patchelf \ - --set-rpath "${lib.makeLibraryPath buildInputs}:$out/lib" \ + --set-rpath "${lib.makeLibraryPath finalAttrs.buildInputs}:$out/lib" \ $out/bin/shairplay ''; meta = { - inherit (src.meta) homepage; + inherit (finalAttrs.src.meta) homepage; description = "Apple AirPlay and RAOP protocol server"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ peterhoeg ]; platforms = lib.platforms.unix; mainProgram = "shairplay"; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2331737d0c8e..94776452030a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8686,8 +8686,6 @@ with pkgs; scalene = with python3Packages; toPythonApplication scalene; - shairplay = callPackage ../servers/shairplay { avahi = avahi-compat; }; - shairport-sync-airplay2 = shairport-sync.override { enableAirplay2 = true; }; From 677f75b845fc932432f08d8d27876e837f6918e2 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 03:48:20 +0100 Subject: [PATCH 50/64] shishi: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../sh/shishi/package.nix} | 43 +++++++++---------- pkgs/top-level/all-packages.nix | 5 --- 2 files changed, 20 insertions(+), 28 deletions(-) rename pkgs/{servers/shishi/default.nix => by-name/sh/shishi/package.nix} (64%) diff --git a/pkgs/servers/shishi/default.nix b/pkgs/by-name/sh/shishi/package.nix similarity index 64% rename from pkgs/servers/shishi/default.nix rename to pkgs/by-name/sh/shishi/package.nix index 79551bfde1ce..71b3c96b2477 100644 --- a/pkgs/servers/shishi/default.nix +++ b/pkgs/by-name/sh/shishi/package.nix @@ -8,27 +8,23 @@ libtasn1, # Optional Dependencies - pam ? null, - libidn ? null, - gnutls ? null, + usePam ? lib.meta.availableOn stdenv.hostPlatform pam && stdenv.hostPlatform.isLinux, + pam, + useLibidn ? lib.meta.availableOn stdenv.hostPlatform libidn, + libidn, + useGnutls ? lib.meta.availableOn stdenv.hostPlatform gnutls, + gnutls, }: let - shouldUsePkg = - pkg: if pkg != null && lib.meta.availableOn stdenv.hostPlatform pkg then pkg else null; - - optPam = shouldUsePkg pam; - optLibidn = shouldUsePkg libidn; - optGnutls = shouldUsePkg gnutls; - inherit (lib) enableFeature withFeature optionalString; in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "shishi"; version = "1.0.3"; src = fetchurl { - url = "mirror://gnu/shishi/shishi-${version}.tar.gz"; + url = "mirror://gnu/shishi/shishi-${finalAttrs.version}.tar.gz"; hash = "sha256-lXmP/RLdAaT4jgMR7gPKSibly05ekFmkDk/E2fKRfpI="; }; @@ -39,19 +35,20 @@ stdenv.mkDerivation rec { libgcrypt libgpg-error libtasn1 - optPam - optLibidn - optGnutls + # TODO use lib.optional instead of setting packages to null + (if usePam then pam else null) + (if useLibidn then libidn else null) + (if useGnutls then gnutls else null) ]; configureFlags = [ "--sysconfdir=/etc" "--localstatedir=/var" (enableFeature true "libgcrypt") - (enableFeature (optPam != null) "pam") + (enableFeature usePam "pam") (enableFeature true "ipv6") - (withFeature (optLibidn != null) "stringprep") - (enableFeature (optGnutls != null) "starttls") + (withFeature useLibidn "stringprep") + (enableFeature useGnutls "starttls") (enableFeature true "des") (enableFeature true "3des") (enableFeature true "aes") @@ -70,11 +67,11 @@ stdenv.mkDerivation rec { postInstall = '' sed -i $out/lib/libshi{sa,shi}.la \ '' - + optionalString (optLibidn != null) '' - -e 's,\(-lidn\),-L${optLibidn.out}/lib \1,' \ + + optionalString useLibidn '' + -e 's,\(-lidn\),-L${libidn.out}/lib \1,' \ '' - + optionalString (optGnutls != null) '' - -e 's,\(-lgnutls\),-L${optGnutls.out}/lib \1,' \ + + optionalString useGnutls '' + -e 's,\(-lgnutls\),-L${gnutls.out}/lib \1,' \ '' + '' -e 's,\(-lgcrypt\),-L${libgcrypt.out}/lib \1,' \ @@ -89,4 +86,4 @@ stdenv.mkDerivation rec { maintainers = with lib.maintainers; [ lovek323 ]; platforms = lib.platforms.linux; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 94776452030a..a3f9bb405ebb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8703,11 +8703,6 @@ with pkgs; sensu-go-cli ; - shishi = callPackage ../servers/shishi { - pam = if stdenv.hostPlatform.isLinux then pam else null; - # see also openssl, which has/had this same trick - }; - spacecookie = haskell.lib.compose.justStaticExecutables haskellPackages.spacecookie; inherit (callPackages ../servers/http/tomcat { }) From 9625797417b1d3eeac120c3a5e26dc9b62659afb Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 03:51:08 +0100 Subject: [PATCH 51/64] tang: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../default.nix => by-name/ta/tang/package.nix} | 14 +++++++------- pkgs/top-level/all-packages.nix | 4 ---- 2 files changed, 7 insertions(+), 11 deletions(-) rename pkgs/{servers/tang/default.nix => by-name/ta/tang/package.nix} (88%) diff --git a/pkgs/servers/tang/default.nix b/pkgs/by-name/ta/tang/package.nix similarity index 88% rename from pkgs/servers/tang/default.nix rename to pkgs/by-name/ta/tang/package.nix index 76b95aa942e8..97deec22126b 100644 --- a/pkgs/servers/tang/default.nix +++ b/pkgs/by-name/ta/tang/package.nix @@ -3,7 +3,7 @@ stdenv, fetchFromGitHub, pkg-config, - asciidoc, + asciidoc-full, jansson, jose, http-parser, @@ -17,19 +17,19 @@ nixosTests, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "tang"; version = "15"; src = fetchFromGitHub { owner = "latchset"; repo = "tang"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-nlC2hdNzQZrfirjS2gX4oFp2OD1OdxmLsN03hfxD3ug="; }; nativeBuildInputs = [ - asciidoc + asciidoc-full meson ninja pkg-config @@ -60,7 +60,7 @@ stdenv.mkDerivation rec { version = testers.testVersion { package = tang; command = "${tang}/libexec/tangd --version"; - version = "tangd ${version}"; + version = "tangd ${finalAttrs.version}"; }; }; updateScript = gitUpdater { }; @@ -69,9 +69,9 @@ stdenv.mkDerivation rec { meta = { description = "Server for binding data to network presence"; homepage = "https://github.com/latchset/tang"; - changelog = "https://github.com/latchset/tang/releases/tag/v${version}"; + changelog = "https://github.com/latchset/tang/releases/tag/v${finalAttrs.version}"; maintainers = with lib.maintainers; [ fpletz ]; license = lib.licenses.gpl3Plus; mainProgram = "tangd"; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a3f9bb405ebb..e157ea943269 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8511,10 +8511,6 @@ with pkgs; msVarsTemplate = stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch64; }; - tang = callPackage ../servers/tang { - asciidoc = asciidoc-full; - }; - inherit (import ../servers/sql/postgresql pkgs) postgresqlVersions postgresqlJitVersions From d93d34d009493601f8a68078fb899ce2d7467721 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 03:53:52 +0100 Subject: [PATCH 52/64] tautulli: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../ta/tautulli/package.nix} | 16 +++++++--------- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 7 insertions(+), 11 deletions(-) rename pkgs/{servers/tautulli/default.nix => by-name/ta/tautulli/package.nix} (83%) diff --git a/pkgs/servers/tautulli/default.nix b/pkgs/by-name/ta/tautulli/package.nix similarity index 83% rename from pkgs/servers/tautulli/default.nix rename to pkgs/by-name/ta/tautulli/package.nix index 4154d066d06a..55785b012d11 100644 --- a/pkgs/servers/tautulli/default.nix +++ b/pkgs/by-name/ta/tautulli/package.nix @@ -1,27 +1,25 @@ { lib, fetchFromGitHub, - buildPythonApplication, - setuptools, - wrapPython, + python3Packages, makeWrapper, }: -buildPythonApplication rec { +python3Packages.buildPythonApplication (finalAttrs: { pname = "Tautulli"; version = "2.16.1"; pyproject = false; - pythonPath = [ setuptools ]; + pythonPath = [ python3Packages.setuptools ]; nativeBuildInputs = [ - wrapPython + python3Packages.wrapPython makeWrapper ]; src = fetchFromGitHub { owner = "Tautulli"; repo = "Tautulli"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-Zct7EhnU5LROO23Joz6OxQTtC9uGZhtceSG+aX6MI2c="; }; @@ -32,7 +30,7 @@ buildPythonApplication rec { cp -R contrib data lib plexpy Tautulli.py CHANGELOG.md $out/libexec/tautulli echo "master" > $out/libexec/tautulli/branch.txt - echo "v${version}" > $out/libexec/tautulli/version.txt + echo "v${finalAttrs.version}" > $out/libexec/tautulli/version.txt # Can't just symlink to the main script, since it uses __file__ to # import bundled packages and manage the service @@ -60,4 +58,4 @@ buildPythonApplication rec { platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ rhoriguchi ]; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e157ea943269..d02d132978f9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3289,8 +3289,6 @@ with pkgs; tabview = with python3Packages; toPythonApplication tabview; - tautulli = python3Packages.callPackage ../servers/tautulli { }; - inherit (callPackage ../development/tools/pnpm { }) pnpm_8 pnpm_9 From 668e70643cebec02252a59e4c8471e76cab1fe79 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 04:13:45 +0100 Subject: [PATCH 53/64] minio: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../default.nix => by-name/mi/minio/package.nix} | 16 ++++++++-------- pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 8 insertions(+), 10 deletions(-) rename pkgs/{servers/minio/default.nix => by-name/mi/minio/package.nix} (83%) diff --git a/pkgs/servers/minio/default.nix b/pkgs/by-name/mi/minio/package.nix similarity index 83% rename from pkgs/servers/minio/default.nix rename to pkgs/by-name/mi/minio/package.nix index 69c99f1ef9e8..199e68f5ff9e 100644 --- a/pkgs/servers/minio/default.nix +++ b/pkgs/by-name/mi/minio/package.nix @@ -28,14 +28,14 @@ let # => "2021" versionToYear = version: builtins.elemAt (lib.splitString "-" version) 0; in -buildGoModule rec { +buildGoModule (finalAttrs: { pname = "minio"; version = "2025-10-15T17-29-55Z"; src = fetchFromGitHub { owner = "minio"; repo = "minio"; - rev = "RELEASE.${version}"; + rev = "RELEASE.${finalAttrs.version}"; hash = "sha256-HbjmCJYkWyRRHKriLP6QohaXYLk3QEVfi32Krq3ujjo="; }; @@ -56,10 +56,10 @@ buildGoModule rec { [ "-s" "-w" - "-X ${t}.Version=${versionToTimestamp version}" - "-X ${t}.CopyrightYear=${versionToYear version}" - "-X ${t}.ReleaseTag=RELEASE.${version}" - "-X ${t}.CommitID=${src.rev}" + "-X ${t}.Version=${versionToTimestamp finalAttrs.version}" + "-X ${t}.CopyrightYear=${versionToYear finalAttrs.version}" + "-X ${t}.ReleaseTag=RELEASE.${finalAttrs.version}" + "-X ${t}.CommitID=${finalAttrs.src.rev}" ]; passthru.tests.minio = nixosTests.minio; @@ -67,7 +67,7 @@ buildGoModule rec { meta = { homepage = "https://www.minio.io/"; description = "S3-compatible object storage server"; - changelog = "https://github.com/minio/minio/releases/tag/RELEASE.${version}"; + changelog = "https://github.com/minio/minio/releases/tag/RELEASE.${finalAttrs.version}"; maintainers = with lib.maintainers; [ bachp ryan4yin @@ -75,4 +75,4 @@ buildGoModule rec { license = lib.licenses.agpl3Plus; mainProgram = "minio"; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d02d132978f9..6eaf5d77c5af 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8332,8 +8332,6 @@ with pkgs; ]; }; - minio = callPackage ../servers/minio { }; - mkchromecast = libsForQt5.callPackage ../applications/networking/mkchromecast { }; moodle = callPackage ../servers/web-apps/moodle { }; From 6a41df472d208befeb71250943b1d337a9657abf Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 04:31:09 +0100 Subject: [PATCH 54/64] libasn1c: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../default.nix => by-name/li/libasn1c/package.nix} | 8 ++++---- pkgs/top-level/all-packages.nix | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) rename pkgs/{servers/osmocom/libasn1c/default.nix => by-name/li/libasn1c/package.nix} (85%) diff --git a/pkgs/servers/osmocom/libasn1c/default.nix b/pkgs/by-name/li/libasn1c/package.nix similarity index 85% rename from pkgs/servers/osmocom/libasn1c/default.nix rename to pkgs/by-name/li/libasn1c/package.nix index 01eb7cf3bd45..941eacf4ea6d 100644 --- a/pkgs/servers/osmocom/libasn1c/default.nix +++ b/pkgs/by-name/li/libasn1c/package.nix @@ -7,19 +7,19 @@ talloc, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "libasn1c"; version = "0.9.38"; src = fetchFromGitHub { owner = "osmocom"; repo = "libasn1c"; - rev = version; + tag = finalAttrs.version; hash = "sha256-cnXcUvP6WwHVvpdsIVsMkizlLyg9KMwVj8XYX/nIfic="; }; postPatch = '' - echo "${version}" > .tarball-version + echo "${finalAttrs.version}" > .tarball-version ''; nativeBuildInputs = [ @@ -40,4 +40,4 @@ stdenv.mkDerivation rec { platforms = lib.platforms.linux; maintainers = [ ]; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6eaf5d77c5af..21a0fdf8a6ee 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6752,7 +6752,6 @@ with pkgs; libappindicator-gtk2 = libappindicator.override { gtkVersion = "2"; }; libappindicator-gtk3 = libappindicator.override { gtkVersion = "3"; }; - libasn1c = callPackage ../servers/osmocom/libasn1c/default.nix { }; libbass = (callPackage ../development/libraries/audio/libbass { }).bass; libbass_fx = (callPackage ../development/libraries/audio/libbass { }).bass_fx; From 6d8153dc0370f40aaf7887e274961c228c85fd09 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 05:34:16 +0100 Subject: [PATCH 55/64] polaris{,-web}: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- .../web.nix => by-name/po/polaris-web/package.nix} | 6 +++--- .../default.nix => by-name/po/polaris/package.nix} | 8 ++++---- pkgs/top-level/all-packages.nix | 4 ---- 3 files changed, 7 insertions(+), 11 deletions(-) rename pkgs/{servers/polaris/web.nix => by-name/po/polaris-web/package.nix} (90%) rename pkgs/{servers/polaris/default.nix => by-name/po/polaris/package.nix} (93%) diff --git a/pkgs/servers/polaris/web.nix b/pkgs/by-name/po/polaris-web/package.nix similarity index 90% rename from pkgs/servers/polaris/web.nix rename to pkgs/by-name/po/polaris-web/package.nix index 6e524bbe18e8..da681f9ae641 100644 --- a/pkgs/servers/polaris/web.nix +++ b/pkgs/by-name/po/polaris-web/package.nix @@ -4,14 +4,14 @@ fetchFromGitHub, }: -buildNpmPackage rec { +buildNpmPackage (finalAttrs: { pname = "polaris-web"; version = "69"; src = fetchFromGitHub { owner = "agersant"; repo = "polaris-web"; - rev = "build-${version}"; + tag = "build-${finalAttrs.version}"; hash = "sha256-/UmAOunc/79DpZByUrzqNA7q7JNugEceKRZvyTGhtVQ="; }; @@ -36,4 +36,4 @@ buildNpmPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ pbsds ]; }; -} +}) diff --git a/pkgs/servers/polaris/default.nix b/pkgs/by-name/po/polaris/package.nix similarity index 93% rename from pkgs/servers/polaris/default.nix rename to pkgs/by-name/po/polaris/package.nix index bd276dbc6dc6..a8d16f86bb9c 100644 --- a/pkgs/servers/polaris/default.nix +++ b/pkgs/by-name/po/polaris/package.nix @@ -7,14 +7,14 @@ nixosTests, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "polaris"; version = "0.14.3"; src = fetchFromGitHub { owner = "agersant"; repo = "polaris"; - rev = version; + tag = finalAttrs.version; hash = "sha256-2GHYIlEzRS7KXahdrxMjyIcPCNw8gXJw5/4ZpB/zT3Y="; # The polaris version upstream in Cargo.lock is "0.0.0". @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec { postFetch = '' # 'substituteInPlace' does not support multiline replacements? sed -i $out/Cargo.lock -z \ - -e 's/\[\[package\]\]\nname = "polaris"\nversion = "0.0.0"/[[package]]\nname = "polaris"\nversion = "'"${version}"'"/g' + -e 's/\[\[package\]\]\nname = "polaris"\nversion = "0.0.0"/[[package]]\nname = "polaris"\nversion = "'"${finalAttrs.version}"'"/g' ''; }; @@ -66,4 +66,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.unix; mainProgram = "polaris"; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 21a0fdf8a6ee..3071fcbae403 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3303,10 +3303,6 @@ with pkgs; po4a = perlPackages.Po4a; - polaris = callPackage ../servers/polaris { }; - - polaris-web = callPackage ../servers/polaris/web.nix { }; - proxmark3 = libsForQt5.callPackage ../tools/security/proxmark3/default.nix { }; pycflow2dot = with python3.pkgs; toPythonApplication pycflow2dot; From fbec39308aecc74dbc1e4bfcb43f2c6c52a21140 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 05:49:09 +0100 Subject: [PATCH 56/64] sks: refactor and move to pkgs/by-name this shouldn't create any rebuilds --- pkgs/{servers => by-name/sk}/sks/adapt-to-nixos.patch | 0 .../sks/default.nix => by-name/sk/sks/package.nix} | 10 +++++----- pkgs/top-level/all-packages.nix | 4 ---- 3 files changed, 5 insertions(+), 9 deletions(-) rename pkgs/{servers => by-name/sk}/sks/adapt-to-nixos.patch (100%) rename pkgs/{servers/sks/default.nix => by-name/sk/sks/package.nix} (92%) diff --git a/pkgs/servers/sks/adapt-to-nixos.patch b/pkgs/by-name/sk/sks/adapt-to-nixos.patch similarity index 100% rename from pkgs/servers/sks/adapt-to-nixos.patch rename to pkgs/by-name/sk/sks/adapt-to-nixos.patch diff --git a/pkgs/servers/sks/default.nix b/pkgs/by-name/sk/sks/package.nix similarity index 92% rename from pkgs/servers/sks/default.nix rename to pkgs/by-name/sk/sks/package.nix index 910e3b0fad39..75c6fcccd034 100644 --- a/pkgs/servers/sks/default.nix +++ b/pkgs/by-name/sk/sks/package.nix @@ -2,7 +2,7 @@ lib, stdenv, fetchFromGitHub, - ocamlPackages, + ocaml-ng, perl, zlib, db, @@ -10,7 +10,7 @@ }: let - inherit (ocamlPackages) + inherit (ocaml-ng.ocamlPackages_4_12) ocaml findlib cryptokit @@ -18,7 +18,7 @@ let ; in -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "sks"; version = "unstable-2021-02-04"; @@ -81,9 +81,9 @@ stdenv.mkDerivation rec { servers, and even wildly out-of-date servers, or servers that experience spotty connectivity, can fully synchronize with rest of the system. ''; - inherit (src.meta) homepage; + inherit (finalAttrs.src.meta) homepage; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; maintainers = [ ]; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3071fcbae403..ac5b20e38a95 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3428,10 +3428,6 @@ with pkgs; # aka., pgp-tools simplescreenrecorder = libsForQt5.callPackage ../applications/video/simplescreenrecorder { }; - sks = callPackage ../servers/sks { - ocamlPackages = ocaml-ng.ocamlPackages_4_12; - }; - snapcast = callPackage ../applications/audio/snapcast { pulseaudioSupport = config.pulseaudio or stdenv.hostPlatform.isLinux; }; From 01282587b716a20e0602dbef879d4d3e2fd8bcd6 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 05:51:06 +0100 Subject: [PATCH 57/64] prosody: move to pkgs/by-name this shouldn't create any rebuilds --- .../prosody/default.nix => by-name/pr/prosody/package.nix} | 0 pkgs/top-level/all-packages.nix | 5 ----- 2 files changed, 5 deletions(-) rename pkgs/{servers/xmpp/prosody/default.nix => by-name/pr/prosody/package.nix} (100%) diff --git a/pkgs/servers/xmpp/prosody/default.nix b/pkgs/by-name/pr/prosody/package.nix similarity index 100% rename from pkgs/servers/xmpp/prosody/default.nix rename to pkgs/by-name/pr/prosody/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ac5b20e38a95..14e50ae1bd29 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8194,11 +8194,6 @@ with pkgs; dodgy = with python3Packages; toPythonApplication dodgy; - prosody = callPackage ../servers/xmpp/prosody { - withExtraLibs = [ ]; - withExtraLuaPackages = _: [ ]; - }; - inherit (callPackages ../servers/firebird { }) firebird_4 firebird_3 From 85a2e4f9c6fe933791c597eeee60b235732a4713 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 2 Feb 2026 06:11:15 +0100 Subject: [PATCH 58/64] jackett: refactor and move to pkgs/by-name refactor: switch to nix-update instead of custom script this shouldn't create any rebuilds --- pkgs/{servers => by-name/ja}/jackett/deps.json | 0 .../ja/jackett/package.nix} | 17 ++++++++++------- pkgs/servers/jackett/updater.sh | 16 ---------------- pkgs/top-level/all-packages.nix | 2 -- 4 files changed, 10 insertions(+), 25 deletions(-) rename pkgs/{servers => by-name/ja}/jackett/deps.json (100%) rename pkgs/{servers/jackett/default.nix => by-name/ja/jackett/package.nix} (82%) delete mode 100755 pkgs/servers/jackett/updater.sh diff --git a/pkgs/servers/jackett/deps.json b/pkgs/by-name/ja/jackett/deps.json similarity index 100% rename from pkgs/servers/jackett/deps.json rename to pkgs/by-name/ja/jackett/deps.json diff --git a/pkgs/servers/jackett/default.nix b/pkgs/by-name/ja/jackett/package.nix similarity index 82% rename from pkgs/servers/jackett/default.nix rename to pkgs/by-name/ja/jackett/package.nix index 08e6b4f419e6..0f515a25017d 100644 --- a/pkgs/servers/jackett/default.nix +++ b/pkgs/by-name/ja/jackett/package.nix @@ -6,17 +6,18 @@ dotnetCorePackages, openssl, mono, + nix-update-script, nixosTests, }: -buildDotnetModule rec { +buildDotnetModule (finalAttrs: { pname = "jackett"; version = "0.24.1066"; src = fetchFromGitHub { owner = "jackett"; repo = "jackett"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-o0Mu5+m6+2iVRIJ8OIlUDNUY9h3qKn1hOsSA1JYd71o="; }; @@ -32,7 +33,7 @@ buildDotnetModule rec { ]; postPatch = '' - substituteInPlace ${projectFile} ${testProjectFile} \ + substituteInPlace ${finalAttrs.projectFile} ${finalAttrs.testProjectFile} \ --replace-fail 'net9.0;net471net9.0 Date: Mon, 2 Feb 2026 06:14:06 +0100 Subject: [PATCH 59/64] qremotecontrol-server: move to pkgs/by-name this shouldn't create any rebuilds --- .../0001-fix-qt5-build-include-QDataStream.patch | 0 .../qr/qremotecontrol-server/package.nix} | 10 ++++------ pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 4 insertions(+), 8 deletions(-) rename pkgs/{servers/misc => by-name/qr}/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch (100%) rename pkgs/{servers/misc/qremotecontrol-server/default.nix => by-name/qr/qremotecontrol-server/package.nix} (95%) diff --git a/pkgs/servers/misc/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch b/pkgs/by-name/qr/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch similarity index 100% rename from pkgs/servers/misc/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch rename to pkgs/by-name/qr/qremotecontrol-server/0001-fix-qt5-build-include-QDataStream.patch diff --git a/pkgs/servers/misc/qremotecontrol-server/default.nix b/pkgs/by-name/qr/qremotecontrol-server/package.nix similarity index 95% rename from pkgs/servers/misc/qremotecontrol-server/default.nix rename to pkgs/by-name/qr/qremotecontrol-server/package.nix index 0c4a5a1c60ef..9b8c48641ec7 100644 --- a/pkgs/servers/misc/qremotecontrol-server/default.nix +++ b/pkgs/by-name/qr/qremotecontrol-server/package.nix @@ -2,9 +2,7 @@ lib, stdenv, fetchgit, - qmake, - wrapQtAppsHook, - qtbase, + qt5, libxtst, }: @@ -23,12 +21,12 @@ stdenv.mkDerivation { ]; nativeBuildInputs = [ - qmake - wrapQtAppsHook + qt5.qmake + qt5.wrapQtAppsHook ]; buildInputs = [ - qtbase + qt5.qtbase libxtst ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4dbeb0552491..70ef90e6905b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8635,8 +8635,6 @@ with pkgs; pypiserver = with python3Packages; toPythonApplication pypiserver; - qremotecontrol-server = libsForQt5.callPackage ../servers/misc/qremotecontrol-server { }; - rethinkdb = callPackage ../servers/nosql/rethinkdb { stdenv = clangStdenv; libtool = cctools; From 9230e29dbc1a83ad68ed90d0425a2e71c14f4c04 Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Sat, 14 Feb 2026 06:37:48 +0100 Subject: [PATCH 60/64] sks: fix on static --- pkgs/by-name/sk/sks/package.nix | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/sk/sks/package.nix b/pkgs/by-name/sk/sks/package.nix index 75c6fcccd034..add658800aaa 100644 --- a/pkgs/by-name/sk/sks/package.nix +++ b/pkgs/by-name/sk/sks/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + pkgsHostHost, ocaml-ng, perl, zlib, @@ -39,11 +40,23 @@ stdenv.mkDerivation (finalAttrs: { "webSamples" ]; - nativeBuildInputs = [ - ocaml - findlib - perl - ]; + nativeBuildInputs = + # use static -> static ocaml because dynamic -> static ocaml doesn't compile + ( + if stdenv.hostPlatform.isStatic then + [ + pkgsHostHost.ocaml-ng.ocamlPackages_4_12.ocaml + pkgsHostHost.ocaml-ng.ocamlPackages_4_12.findlib + ] + else + [ + ocaml + findlib + ] + ) + ++ [ + perl + ]; buildInputs = [ zlib db From 456afa61dff8535c95671c9b58cb530d8ab8be2c Mon Sep 17 00:00:00 2001 From: K900 Date: Wed, 18 Feb 2026 09:57:34 +0300 Subject: [PATCH 61/64] treewide: more typer-slim fixes after merge --- .../python-modules/huggingface-hub/default.nix | 9 +++++++-- pkgs/development/python-modules/transformers/default.nix | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index 291bfd313e1c..ea110609e84d 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -15,7 +15,7 @@ pyyaml, shellingham, tqdm, - typer-slim, + typer, typing-extensions, # optional-dependencies @@ -45,6 +45,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-At3FN+dplQ3L9B4vDZrEvREdwgepUvzWC7yeU6L5XY8="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace-fail "typer-slim" "typer" + ''; + build-system = [ setuptools ]; dependencies = [ @@ -56,7 +61,7 @@ buildPythonPackage (finalAttrs: { pyyaml shellingham tqdm - typer-slim + typer typing-extensions ]; diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index c22751f5d4f0..e3f1050f8f45 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -15,7 +15,7 @@ safetensors, tokenizers, tqdm, - typer-slim, + typer, # optional-dependencies # sklearn @@ -103,6 +103,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-vus4Y+1QXUNqwBO1ZK0gWd+sJBPwrqWW7O2sn0EBvno="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace-fail "typer-slim" "typer" + ''; + build-system = [ setuptools ]; dependencies = [ @@ -114,7 +119,7 @@ buildPythonPackage (finalAttrs: { safetensors tokenizers tqdm - typer-slim + typer ]; optional-dependencies = lib.fix (self: { From 6671950f65ac421518ffb17cbd377ea8644e08e6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 Feb 2026 07:54:59 +0000 Subject: [PATCH 62/64] terraform-providers.aiven_aiven: 4.50.0 -> 4.51.0 --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 8ff28a6b10d8..77514f013258 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -27,13 +27,13 @@ "vendorHash": null }, "aiven_aiven": { - "hash": "sha256-Aih7prC6CKv414bxiJnV3PFXZfH0MxsmS2g9c4eVWOk=", + "hash": "sha256-lNDorhkIngyZ8S51lyuI3LRtnFtzVG01Nzo1vRPytbQ=", "homepage": "https://registry.terraform.io/providers/aiven/aiven", "owner": "aiven", "repo": "terraform-provider-aiven", - "rev": "v4.50.0", + "rev": "v4.51.0", "spdx": "MIT", - "vendorHash": "sha256-S2QbhaK7GlfUnggLE9wNNJCrNnk5ReD7kY8yeRKPi7Q=" + "vendorHash": "sha256-c4eCY/iQ8v/gBX55j22TRxWIeoevi5EJs4TtN9xXfKA=" }, "akamai_akamai": { "hash": "sha256-WXIx2/1EiamjolyPy+d3Gwp4hOguJrmxKwgLZqzQqDg=", From 8e0fb611818ecea2fceca3bb428b83576894a4d2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 Feb 2026 07:57:08 +0000 Subject: [PATCH 63/64] terraform-providers.hashicorp_google-beta: 7.18.0 -> 7.20.0 --- .../networking/cluster/terraform-providers/providers.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 8ff28a6b10d8..302279444034 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -580,13 +580,13 @@ "vendorHash": "sha256-lhTdDrTwTbRuWngQ+NGuh+x5Z5HZfVTtNi+mZqIENbg=" }, "hashicorp_google-beta": { - "hash": "sha256-NRTnx5nqdCtjz0mGZjuA96jEzW1rKR+M0AY2//TAYk4=", + "hash": "sha256-frRtwDdgNNux875U9rgSbZict8//X/WzxM7EBSxRqW4=", "homepage": "https://registry.terraform.io/providers/hashicorp/google-beta", "owner": "hashicorp", "repo": "terraform-provider-google-beta", - "rev": "v7.18.0", + "rev": "v7.20.0", "spdx": "MPL-2.0", - "vendorHash": "sha256-/wClcz8fwl9Of2JSKcfETs7VR6c5KrYnnF+yW5iUoSU=" + "vendorHash": "sha256-KnB6R5yrEeaf4Z+LzQjCeQJjAgHK0kJEJzT1rb3pimY=" }, "hashicorp_helm": { "hash": "sha256-S4Fe65f+gEWWxRMC+/i93dwwe7QigPccx4wiqNBpcL8=", From 04a4fd569a916a521252f0af5dddcdc6ff6e55c4 Mon Sep 17 00:00:00 2001 From: K900 Date: Wed, 18 Feb 2026 10:47:26 +0300 Subject: [PATCH 64/64] inetutils: switch to finalAttrs Dynamic attrs in rec are weird and deprecated in Lix. Switch to finalAttrs to keep the workaround and not the deprecation. --- pkgs/by-name/in/inetutils/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/in/inetutils/package.nix b/pkgs/by-name/in/inetutils/package.nix index 07f2c3d67e26..8b3d074e30fc 100644 --- a/pkgs/by-name/in/inetutils/package.nix +++ b/pkgs/by-name/in/inetutils/package.nix @@ -10,12 +10,12 @@ libxcrypt, util-linux, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "inetutils"; version = "2.7"; src = fetchurl { - url = "mirror://gnu/inetutils/inetutils-${version}.tar.gz"; + url = "mirror://gnu/inetutils/inetutils-${finalAttrs.version}.tar.gz"; hash = "sha256-oVa+HN48XA/+/CYhgNk2mmBIQIeQeqVUxieH0vQOwIY="; }; @@ -125,4 +125,4 @@ stdenv.mkDerivation rec { */ priority = (util-linux.meta.priority or lib.meta.defaultPriority) + 1; }; -} +})