From eed0ee090c468156e95597aa82fceef6c71b2c48 Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Wed, 1 Jan 2025 12:35:08 +0000 Subject: [PATCH 01/22] rPackages.BiocParallel: fixed build on darwin --- pkgs/development/r-modules/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 9c6c7b32f75d..eeed47dc2152 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -1616,6 +1616,12 @@ let ''; }); + BiocParallel = old.BiocParallel.overrideAttrs (attrs: { + env = (attrs.env or { }) // { + NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + lib.optionalString stdenv.hostPlatform.isDarwin " -Wno-error=missing-template-arg-list-after-template-kw"; + }; + }); + rstan = old.rstan.overrideAttrs (attrs: { env = (attrs.env or { }) // { NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION"; From ab0eae0fb00a64e1f0158bb01d1be6254a024e57 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Sat, 4 Jan 2025 15:19:12 +0100 Subject: [PATCH 02/22] Revert "unbound: fix cross-compilation (#370087)" This reverts commit a8f36e39dcd9ac6f76c9ca5a9856401fd322d464. A similar change was already pushed to staging (see #364656). --- pkgs/by-name/un/unbound/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/un/unbound/package.nix b/pkgs/by-name/un/unbound/package.nix index f96caa1428da..1dc14e412297 100644 --- a/pkgs/by-name/un/unbound/package.nix +++ b/pkgs/by-name/un/unbound/package.nix @@ -67,7 +67,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = lib.optionals withMakeWrapper [ makeWrapper ] ++ lib.optionals withDNSTAP [ protobufc ] - ++ [ pkg-config flex bison ] + ++ [ pkg-config flex ] ++ lib.optionals withPythonModule [ swig ]; buildInputs = [ openssl nettle expat libevent ] @@ -121,6 +121,8 @@ stdenv.mkDerivation (finalAttrs: { sed -E '/CONFCMDLINE/ s;${storeDir}/[a-z0-9]{32}-;${storeDir}/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-;g' -i config.h ''; + nativeCheckInputs = [ bison ]; + doCheck = true; postPatch = lib.optionalString withPythonModule '' From a36d820bab68e43bf841e45ed168dc6f38bdf83c Mon Sep 17 00:00:00 2001 From: misuzu Date: Thu, 12 Dec 2024 19:10:16 +0200 Subject: [PATCH 03/22] unbound: bison is required when cross-compiling --- pkgs/by-name/un/unbound/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/un/unbound/package.nix b/pkgs/by-name/un/unbound/package.nix index 1dc14e412297..40a6adf37a04 100644 --- a/pkgs/by-name/un/unbound/package.nix +++ b/pkgs/by-name/un/unbound/package.nix @@ -64,10 +64,9 @@ stdenv.mkDerivation (finalAttrs: { outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB - nativeBuildInputs = - lib.optionals withMakeWrapper [ makeWrapper ] + nativeBuildInputs = [ bison flex pkg-config ] + ++ lib.optionals withMakeWrapper [ makeWrapper ] ++ lib.optionals withDNSTAP [ protobufc ] - ++ [ pkg-config flex ] ++ lib.optionals withPythonModule [ swig ]; buildInputs = [ openssl nettle expat libevent ] @@ -121,8 +120,6 @@ stdenv.mkDerivation (finalAttrs: { sed -E '/CONFCMDLINE/ s;${storeDir}/[a-z0-9]{32}-;${storeDir}/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-;g' -i config.h ''; - nativeCheckInputs = [ bison ]; - doCheck = true; postPatch = lib.optionalString withPythonModule '' From cbae88131abaf93caefd3cbb1f875a5bd8f5ae31 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 21:31:57 +0100 Subject: [PATCH 04/22] mubeng: 0.19.0 -> 0.21.0 Diff: https://github.com/kitabisa/mubeng/compare/refs/tags/v0.19.0...v0.21.0 Changelog: https://github.com/kitabisa/mubeng/releases/tag/v0.21.0 --- pkgs/by-name/mu/mubeng/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/mu/mubeng/package.nix b/pkgs/by-name/mu/mubeng/package.nix index 2cf8aee295fc..833a47cdafee 100644 --- a/pkgs/by-name/mu/mubeng/package.nix +++ b/pkgs/by-name/mu/mubeng/package.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "mubeng"; - version = "0.19.0"; + version = "0.21.0"; src = fetchFromGitHub { owner = "kitabisa"; repo = "mubeng"; tag = "v${version}"; - hash = "sha256-DZwtHLSsV6JYEqb6fdLtJs8DdaMBBb0uSx6AL1cjjBs="; + hash = "sha256-LApviKG6sgIYtosU0xW4lkBH0iB7MGB4bfG9fPI16iQ="; }; - vendorHash = "sha256-TZDQCvcwsCa08bBBb8Zs8W0OFDYb+ZWN85+VCelFgyc="; + vendorHash = "sha256-Uvxkvj5hodVQ0j05HZdSKammGWy9DxEIBT0VnCW8QuI="; ldflags = [ "-s" From 0a62cac1943b87c1b4b27364371ff3f1e23107f0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 21:33:02 +0100 Subject: [PATCH 05/22] tfsec: 1.28.11 -> 1.28.12 Diff: https://github.com/aquasecurity/tfsec/compare/refs/tags/v1.28.11...v1.28.12 Changelog: https://github.com/aquasecurity/tfsec/releases/tag/v1.28.12 --- pkgs/by-name/tf/tfsec/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/tf/tfsec/package.nix b/pkgs/by-name/tf/tfsec/package.nix index f4f866e0b4e2..a7cc3e618582 100644 --- a/pkgs/by-name/tf/tfsec/package.nix +++ b/pkgs/by-name/tf/tfsec/package.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "tfsec"; - version = "1.28.11"; + version = "1.28.12"; src = fetchFromGitHub { owner = "aquasecurity"; repo = "tfsec"; tag = "v${version}"; - hash = "sha256-7e75VdqwjzP+GyTtXqOf1pN+5wEbxNYoUcpsTjwB+0Y="; + hash = "sha256-ul4KKwTWFg5FxmLhyrQAQWfuCoSVDc6eIchbLwpG/xI="; }; ldflags = [ @@ -23,7 +23,7 @@ buildGoModule rec { # "-extldflags '-fno-PIC -static'" ]; - vendorHash = "sha256-Zr6Z9Px1nxkr6fKWINMbp6cESZeZkxnuDPwbV+WX2Oo="; + vendorHash = "sha256-yi124OllfSchKSaj+OlxG/7UQcBLdx8JUlnu/a8MSOU="; subPackages = [ "cmd/tfsec" From a690ed138aa30e4ea05c6f3c0935db411530b8a1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 2 Jan 2025 15:18:48 +0000 Subject: [PATCH 06/22] task-keeper: 0.27.0 -> 0.28.0 --- pkgs/by-name/ta/task-keeper/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ta/task-keeper/package.nix b/pkgs/by-name/ta/task-keeper/package.nix index 9867a558e5f8..098ae263619f 100644 --- a/pkgs/by-name/ta/task-keeper/package.nix +++ b/pkgs/by-name/ta/task-keeper/package.nix @@ -8,18 +8,18 @@ rustPlatform.buildRustPackage rec { pname = "task-keeper"; - version = "0.27.0"; + version = "0.28.0"; src = fetchFromGitHub { owner = "linux-china"; repo = "task-keeper"; tag = "v${version}"; - hash = "sha256-lcwWl1ycMSmHgYT4m+CofwefqnjxjvuJkcv1Pe0OtEo="; + hash = "sha256-ufKHKQULN1zaEmnLx4voL/rL8bBe0aZEfclb+5/ybps="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; - cargoHash = "sha256-OVDwaMpA2gw0asdQ+yNRKmcmXLs+ddJI/lodewXujro="; + cargoHash = "sha256-g2CxCpSBAKUn+ENduuh+u5l3KD7rchY0qLAuPz8ATww="; # tests depend on many packages (java, node, python, sbt, ...) - which I'm not currently willing to set up 😅 doCheck = false; From 91e53e74219ecdd03661c5f301de2d28cc6d2a97 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 22:36:25 +0100 Subject: [PATCH 07/22] python312Packages.jh2: 5.0.4 -> 5.0.5 Diff: https://github.com/jawah/h2/compare/refs/tags/v5.0.4...v5.0.5 Changelog: https://github.com/jawah/h2/blob/refs/tags/v5.0.5/CHANGELOG.rst --- pkgs/development/python-modules/jh2/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/jh2/default.nix b/pkgs/development/python-modules/jh2/default.nix index 7eefcb2dfa5d..de3b7403b69f 100644 --- a/pkgs/development/python-modules/jh2/default.nix +++ b/pkgs/development/python-modules/jh2/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "jh2"; - version = "5.0.4"; + version = "5.0.5"; pyproject = true; disabled = pythonOlder "3.10"; @@ -21,14 +21,14 @@ buildPythonPackage rec { owner = "jawah"; repo = "h2"; tag = "v${version}"; - hash = "sha256-la1tZ+t6HeGqaua1f858mT1IRyqS0hnoOiKr656vthQ="; + hash = "sha256-H1i2lolctispLtQc+uqeE+NUeKr/dtgDq1zdTJH5gyU="; fetchSubmodules = true; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-m1MkKhwTMDGsC0jt1skyFb23Ln5spa+vUEOyA5pHxP4="; + hash = "sha256-E/Ah1sEqKrJd49ZvvbhqWtV1Abd0S1Ab/AF4tOn2RPY="; }; build-system = [ From aa94e5e2c8efeab2217fc2338f687670480c751a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 22:37:17 +0100 Subject: [PATCH 08/22] python312Packages.keba-kecontact: 4.2.1 -> 4.3.0 Diff: https://github.com/dannerph/keba-kecontact/compare/refs/tags/4.2.1...4.3.0 Changelog: https://github.com/dannerph/keba-kecontact/releases/tag/4.3.0 --- pkgs/development/python-modules/keba-kecontact/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/keba-kecontact/default.nix b/pkgs/development/python-modules/keba-kecontact/default.nix index 6fabe34185ae..261f46f59756 100644 --- a/pkgs/development/python-modules/keba-kecontact/default.nix +++ b/pkgs/development/python-modules/keba-kecontact/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "keba-kecontact"; - version = "4.2.1"; + version = "4.3.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "dannerph"; repo = "keba-kecontact"; tag = version; - hash = "sha256-2XWZt9H+1m4TX0C3cjEIlkrXp6BSArUsbLi+VKGDqhE="; + hash = "sha256-gIqHo+J/I4vqJCs/r3ZHo3kChefTRqpVmdw3r3y3Hzk="; }; build-system = [ hatchling ]; From 17185e82380b921cbe54e0831b7adb7ec492f737 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 22:38:29 +0100 Subject: [PATCH 09/22] python312Packages.guppy3: 3.1.4.post1 -> 3.1.5 Diff: https://github.com/zhuyifei1999/guppy3/compare/refs/tags/v3.1.4.post1...v3.1.5 --- pkgs/development/python-modules/guppy3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/guppy3/default.nix b/pkgs/development/python-modules/guppy3/default.nix index e5df11502afd..bd0c90ea8665 100644 --- a/pkgs/development/python-modules/guppy3/default.nix +++ b/pkgs/development/python-modules/guppy3/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "guppy3"; - version = "3.1.4.post1"; + version = "3.1.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "zhuyifei1999"; repo = pname; tag = "v${version}"; - hash = "sha256-HHy57P6WEHZKygAbdjEh6XAApFlQueiYGr02eSQMWfc="; + hash = "sha256-hgJcy4DRfZL50dCcRv2a6GJPDabsUMfDtq7HCXXYYz8="; }; nativeBuildInputs = [ setuptools ]; From e5ce13181ab11f6fa704ccf788eab435c5de5587 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 22:39:33 +0100 Subject: [PATCH 10/22] python312Packages.lacuscore: 1.12.6 -> 1.12.7 Diff: https://github.com/ail-project/LacusCore/compare/refs/tags/v1.12.6...v1.12.7 Changelog: https://github.com/ail-project/LacusCore/releases/tag/v1.12.7 --- pkgs/development/python-modules/lacuscore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lacuscore/default.nix b/pkgs/development/python-modules/lacuscore/default.nix index 089de94fbe67..3375c23bc909 100644 --- a/pkgs/development/python-modules/lacuscore/default.nix +++ b/pkgs/development/python-modules/lacuscore/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "lacuscore"; - version = "1.12.6"; + version = "1.12.7"; pyproject = true; disabled = pythonOlder "3.9"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "ail-project"; repo = "LacusCore"; tag = "v${version}"; - hash = "sha256-KiYpPgwMsIuIDUjQfw83ATiE5VI2XMaxGsnP5xEypqc="; + hash = "sha256-bB9BeDhFlwdIgIv9VfvBkqxcfzpPe3jl6D/ChdP2FsM="; }; pythonRelaxDeps = [ From a2ef3447f1a7e1dd4c082aac6e3a4d9f6e3e89f8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 22:40:06 +0100 Subject: [PATCH 11/22] python312Packages.guppy3: refactor --- pkgs/development/python-modules/guppy3/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/guppy3/default.nix b/pkgs/development/python-modules/guppy3/default.nix index bd0c90ea8665..7a4ea114b931 100644 --- a/pkgs/development/python-modules/guppy3/default.nix +++ b/pkgs/development/python-modules/guppy3/default.nix @@ -16,23 +16,24 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "zhuyifei1999"; - repo = pname; + repo = "guppy3"; tag = "v${version}"; hash = "sha256-hgJcy4DRfZL50dCcRv2a6GJPDabsUMfDtq7HCXXYYz8="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ tkinter ]; + dependencies = [ tkinter ]; # Tests are starting a Tkinter GUI doCheck = false; + pythonImportsCheck = [ "guppy" ]; meta = with lib; { description = "Python Programming Environment & Heap analysis toolset"; homepage = "https://zhuyifei1999.github.io/guppy3/"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; } From 8c31f5b204c43441564193f3b6a423cc374f9e0f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 22:42:17 +0100 Subject: [PATCH 12/22] python312Packages.mailchecker: 6.0.14 -> 6.0.15 Changelog: https://github.com/FGRibreau/mailchecker/blob/v6.0.15/CHANGELOG.md --- pkgs/development/python-modules/mailchecker/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mailchecker/default.nix b/pkgs/development/python-modules/mailchecker/default.nix index c105952bf3a8..6cc2b0804cb9 100644 --- a/pkgs/development/python-modules/mailchecker/default.nix +++ b/pkgs/development/python-modules/mailchecker/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "mailchecker"; - version = "6.0.14"; + version = "6.0.15"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-/FZwGXQwx46r1koP20LSRXxcqVQCEMWhkT2XlXhtKn0="; + hash = "sha256-kC1ILRtdQQbt0u7MBnNAxots5OJHkJZDgThPZ9NbnlU="; }; build-system = [ setuptools ]; From 4a8603a721a08f97478d704885269487ecc650ca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 22:43:47 +0100 Subject: [PATCH 13/22] python312Packages.incomfort-client: 0.6.4 -> 0.6.5 Diff: https://github.com/zxdavb/incomfort-client/compare/refs/tags/v0.6.4...v0.6.5 Changelog: https://github.com/jbouwh/incomfort-client/releases/tag/v0.6.5 --- pkgs/development/python-modules/incomfort-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/incomfort-client/default.nix b/pkgs/development/python-modules/incomfort-client/default.nix index 414aa327007f..95817e7986ce 100644 --- a/pkgs/development/python-modules/incomfort-client/default.nix +++ b/pkgs/development/python-modules/incomfort-client/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "incomfort-client"; - version = "0.6.4"; + version = "0.6.5"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "zxdavb"; repo = "incomfort-client"; tag = "v${version}"; - hash = "sha256-fyQKkwHQEvRNTh1IBqE0/YSskBfrFEequ+VxoHSeShA="; + hash = "sha256-6n6uvUJm6y0AynAZMQG+NKNIIaeMSpOJqWDdpPdGy4Q="; }; build-system = [ setuptools ]; From 8352592fd0fdd7cbb326d8ac30e9e32aed69ed60 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 22:48:11 +0100 Subject: [PATCH 14/22] python312Packages.python-overseerr: 0.4.0 -> 0.5.0 Diff: https://github.com/joostlek/python-overseerr/compare/refs/tags/v0.4.0...v0.5.0 Changelog: https://github.com/joostlek/python-overseerr/releases/tag/v0.5.0 --- pkgs/development/python-modules/python-overseerr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-overseerr/default.nix b/pkgs/development/python-modules/python-overseerr/default.nix index 8f688faead0d..536657e8cbcf 100644 --- a/pkgs/development/python-modules/python-overseerr/default.nix +++ b/pkgs/development/python-modules/python-overseerr/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "python-overseerr"; - version = "0.4.0"; + version = "0.5.0"; pyproject = true; disabled = pythonOlder "3.11"; @@ -26,7 +26,7 @@ buildPythonPackage rec { owner = "joostlek"; repo = "python-overseerr"; tag = "v${version}"; - hash = "sha256-WZv2AWh+Jg7+86QXe1PiJ2xVhg9Xqjv5CJvX5fIpiWE="; + hash = "sha256-MdJISHU/YbmQReT/Sf29jERUkuFASNCq4NQnk/BKK70="; }; build-system = [ poetry-core ]; From 6bce1029f25885e43735f155120a1776ea9ef19d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 23:43:09 +0100 Subject: [PATCH 15/22] python312Packages.whirlpool-sixth-sense: 0.18.9 -> 0.18.11 Diff: https://github.com/abmantis/whirlpool-sixth-sense/compare/refs/tags/0.18.9...0.18.11 --- .../python-modules/whirlpool-sixth-sense/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix b/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix index 20efe25f5911..5c5c0917f100 100644 --- a/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix +++ b/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "whirlpool-sixth-sense"; - version = "0.18.9"; + version = "0.18.11"; pyproject = true; disabled = pythonOlder "3.11"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "abmantis"; repo = "whirlpool-sixth-sense"; tag = version; - hash = "sha256-aDvUV83o/yKx15kenDGng5xh3LECLVlLWJlVe/y+1Co="; + hash = "sha256-dXLMyvNmVrc5kCozBwAIM5DKqjdiiqwwNLkhMGnH0fA="; }; build-system = [ setuptools ]; From e7e5edeefa9376da0881e72e5c4ab83343590c10 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 23:47:47 +0100 Subject: [PATCH 16/22] python312Packages.whirlpool-sixth-sense: re-enable tests --- .../python-modules/whirlpool-sixth-sense/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix b/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix index 5c5c0917f100..a9dbccf3140c 100644 --- a/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix +++ b/pkgs/development/python-modules/whirlpool-sixth-sense/default.nix @@ -2,6 +2,7 @@ lib, aioconsole, aiohttp, + aioresponses, async-timeout, buildPythonPackage, fetchFromGitHub, @@ -37,14 +38,12 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + aioresponses pytest-asyncio pytest-mock pytestCheckHook ]; - # https://github.com/abmantis/whirlpool-sixth-sense/issues/15 - doCheck = false; - pythonImportsCheck = [ "whirlpool" ]; meta = with lib; { From bc511ed5feffc3c42e5c52484753aca438e25183 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 4 Jan 2025 23:53:40 +0100 Subject: [PATCH 17/22] python312Packages.pandas-stubs: 2.2.2.240909 -> 2.2.3.241126 Diff: https://github.com/pandas-dev/pandas-stubs/compare/refs/tags/v2.2.2.240909...v2.2.3.241126 --- pkgs/development/python-modules/pandas-stubs/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pandas-stubs/default.nix b/pkgs/development/python-modules/pandas-stubs/default.nix index 2b66e0c64039..c943f18a6e8b 100644 --- a/pkgs/development/python-modules/pandas-stubs/default.nix +++ b/pkgs/development/python-modules/pandas-stubs/default.nix @@ -36,7 +36,7 @@ buildPythonPackage rec { pname = "pandas-stubs"; - version = "2.2.2.240909"; + version = "2.2.3.241126"; pyproject = true; disabled = pythonOlder "3.10"; @@ -45,7 +45,7 @@ buildPythonPackage rec { owner = "pandas-dev"; repo = "pandas-stubs"; tag = "v${version}"; - hash = "sha256-Dt2a4l5WAOizUeaDa80CRuvyPT9mWfFz+zGZMm3vQP4="; + hash = "sha256-y+td1x33mALh/AfDh0uIq7ebCBWWWCJewhvBQ4WNe3U="; }; build-system = [ poetry-core ]; From 38d818f190a27326c5ee49814d1f50247efc6991 Mon Sep 17 00:00:00 2001 From: Defelo Date: Sun, 5 Jan 2025 03:23:14 +0100 Subject: [PATCH 18/22] termshot: 0.3.0 -> 0.4.0 --- pkgs/by-name/te/termshot/package.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/te/termshot/package.nix b/pkgs/by-name/te/termshot/package.nix index b2cccc198b77..e2d3e3038b89 100644 --- a/pkgs/by-name/te/termshot/package.nix +++ b/pkgs/by-name/te/termshot/package.nix @@ -8,16 +8,16 @@ }: buildGoModule rec { pname = "termshot"; - version = "0.3.0"; + version = "0.4.0"; src = fetchFromGitHub { owner = "homeport"; repo = "termshot"; tag = "v${version}"; - hash = "sha256-vvSUdXVLuc3GmxPX9SzSeb8vbmqjhSLjXd9nmU7Q46g="; + hash = "sha256-x2XVA686E3GPMz1hzTWZ1FqVflfPWTwbAf8JAG8HMp0="; }; - vendorHash = "sha256-nXAIU07SY/GdWZGASHXDg36cSGKw4elLOBDCoJk/xlU="; + vendorHash = "sha256-ON3dmwf9IYEf+e4Z5EJ72wC4IIr/0/ssgzAJmRb7MSk="; ldflags = [ "-s" @@ -25,6 +25,8 @@ buildGoModule rec { "-X github.com/homeport/termshot/internal/cmd.version=${version}" ]; + checkFlags = [ "-skip=^TestPtexec$" ]; + passthru = { tests.version = testers.testVersion { package = termshot; }; updateScript = nix-update-script { }; From 0a5f59e7c4a5f71a1802b324c5dab81eb16727fb Mon Sep 17 00:00:00 2001 From: Defelo Date: Sun, 5 Jan 2025 03:25:11 +0100 Subject: [PATCH 19/22] termshot: add versionCheckHook --- pkgs/by-name/te/termshot/package.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/te/termshot/package.nix b/pkgs/by-name/te/termshot/package.nix index e2d3e3038b89..0f3228a53efa 100644 --- a/pkgs/by-name/te/termshot/package.nix +++ b/pkgs/by-name/te/termshot/package.nix @@ -2,8 +2,7 @@ lib, fetchFromGitHub, buildGoModule, - testers, - termshot, + versionCheckHook, nix-update-script, }: buildGoModule rec { @@ -27,10 +26,11 @@ buildGoModule rec { checkFlags = [ "-skip=^TestPtexec$" ]; - passthru = { - tests.version = testers.testVersion { package = termshot; }; - updateScript = nix-update-script { }; - }; + nativeInstallCheckInputs = [ versionCheckHook ]; + versionCheckProgramArg = "--version"; + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; meta = { description = "Creates screenshots based on terminal command output"; From 8ff43d1c18bfffd6f58a8e00eaea8701dc0ca2ec Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sat, 4 Jan 2025 21:08:21 -0800 Subject: [PATCH 20/22] killerbee: remove unneeded temp home directory --- pkgs/by-name/ki/killerbee/package.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/by-name/ki/killerbee/package.nix b/pkgs/by-name/ki/killerbee/package.nix index 703c1ad0e2c6..75b40b64e875 100644 --- a/pkgs/by-name/ki/killerbee/package.nix +++ b/pkgs/by-name/ki/killerbee/package.nix @@ -28,10 +28,6 @@ python3.pkgs.buildPythonApplication rec { scapy ]; - preBuild = '' - export HOME=$(mktemp -d) - ''; - pythonImportsCheck = [ "killerbee" ]; meta = { From 8bc4f19b896bfdaf1e98617356612af6ed6d9684 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Thu, 2 Jan 2025 17:30:11 -0500 Subject: [PATCH 21/22] nixos/klipper: build genconf, firmware & flasher using package opt --- nixos/modules/services/misc/klipper.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/misc/klipper.nix b/nixos/modules/services/misc/klipper.nix index b2345cbf7f33..bac0c5cf14bb 100644 --- a/nixos/modules/services/misc/klipper.nix +++ b/nixos/modules/services/misc/klipper.nix @@ -227,9 +227,11 @@ in }; environment.systemPackages = - with pkgs; let default = a: b: if a != null then a else b; + genconf = pkgs.klipper-genconf.override { + klipper = cfg.package; + }; firmwares = lib.filterAttrs (n: v: v != null) ( lib.mapAttrs ( mcu: @@ -241,6 +243,7 @@ in }: if enable then pkgs.klipper-firmware.override { + klipper = cfg.package; mcu = lib.strings.sanitizeDerivationName mcu; firmwareConfig = configFile; } @@ -251,14 +254,15 @@ in firmwareFlasher = lib.mapAttrsToList ( mcu: firmware: pkgs.klipper-flash.override { - mcu = lib.strings.sanitizeDerivationName mcu; + klipper = cfg.package; klipper-firmware = firmware; + mcu = lib.strings.sanitizeDerivationName mcu; flashDevice = default cfg.firmwares."${mcu}".serial cfg.settings."${mcu}".serial; firmwareConfig = cfg.firmwares."${mcu}".configFile; } ) (lib.filterAttrs (mcu: firmware: cfg.firmwares."${mcu}".enableKlipperFlash) firmwares); in - [ klipper-genconf ] ++ firmwareFlasher ++ lib.attrValues firmwares; + [ genconf ] ++ firmwareFlasher ++ lib.attrValues firmwares; }; meta.maintainers = [ lib.maintainers.cab404 From 7f9857f4bdb84f223cf97029dcfe33887e2f5b19 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 5 Jan 2025 18:41:47 +1000 Subject: [PATCH 22/22] buildbot: python3Packages.service-identity: 24.1.0 -> 24.2.0 --- .../continuous-integration/buildbot/default.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/continuous-integration/buildbot/default.nix b/pkgs/development/tools/continuous-integration/buildbot/default.nix index 6a5da56092d8..fc0ab09fd0a4 100644 --- a/pkgs/development/tools/continuous-integration/buildbot/default.nix +++ b/pkgs/development/tools/continuous-integration/buildbot/default.nix @@ -3,10 +3,25 @@ newScope, python3, recurseIntoAttrs, + fetchFromGitHub, }: # Take packages from self first, then python.pkgs (and secondarily pkgs) lib.makeScope (self: newScope (self.python.pkgs // self)) (self: { - python = python3; + python = python3.override { + self = self.python; + packageOverrides = self: super: { + service-identity = super.service-identity.overridePythonAttrs (oldAttrs: { + version = "24.2.0"; + src = fetchFromGitHub { + owner = "pyca"; + repo = "service-identity"; + tag = "24.2.0"; + hash = "sha256-onxCUWqGVeenLqB5lpUpj3jjxTM61ogXCQOGnDnClT4="; + }; + checkInputs = [ super.pyopenssl ]; + }); + }; + }; buildbot-pkg = self.callPackage ./pkg.nix { };