From c5b713f266a3cb5f44af27029e259cd3ad7ba659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 16 Mar 2026 21:49:48 -0700 Subject: [PATCH 1/2] python3Packages.pybind11: 3.0.1 -> 3.0.2 Diff: https://github.com/pybind/pybind11/compare/v3.0.1...v3.0.2 Changelog: https://github.com/pybind/pybind11/blob/v3.0.2/docs/changelog.md --- pkgs/development/python-modules/pybind11/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index c4505f01ea50..a4aec5b80ec7 100644 --- a/pkgs/development/python-modules/pybind11/default.nix +++ b/pkgs/development/python-modules/pybind11/default.nix @@ -31,14 +31,14 @@ let in buildPythonPackage rec { pname = "pybind11"; - version = "3.0.1"; + version = "3.0.2"; pyproject = true; src = fetchFromGitHub { owner = "pybind"; repo = "pybind11"; tag = "v${version}"; - hash = "sha256-ZiwNGsE1FOkhnWv/1ib1akhQ4FZvrXRCDnnBZoPp6r4="; + hash = "sha256-T09+cS8J3wG1NisgwBUh6g5KreOp9d5U1qOKS6x1pKk="; }; build-system = [ @@ -105,7 +105,7 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/pybind/pybind11"; - changelog = "https://github.com/pybind/pybind11/blob/${src.rev}/docs/changelog.rst"; + changelog = "https://github.com/pybind/pybind11/blob/${src.tag}/docs/changelog.md"; description = "Seamless operability between C++11 and Python"; mainProgram = "pybind11-config"; longDescription = '' From bf9ed600bb5abd63642fd1878464bbafc672f1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 17 Mar 2026 07:27:58 -0700 Subject: [PATCH 2/2] python3Packages.pybind11: use finalAttrs --- pkgs/development/python-modules/pybind11/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index a4aec5b80ec7..b4ad44050799 100644 --- a/pkgs/development/python-modules/pybind11/default.nix +++ b/pkgs/development/python-modules/pybind11/default.nix @@ -6,7 +6,6 @@ cmake, ninja, scikit-build-core, - pybind11, boost, eigen, python, @@ -29,7 +28,7 @@ let }; } ./setup-hook.sh; in -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pybind11"; version = "3.0.2"; pyproject = true; @@ -37,14 +36,14 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pybind"; repo = "pybind11"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-T09+cS8J3wG1NisgwBUh6g5KreOp9d5U1qOKS6x1pKk="; }; build-system = [ cmake ninja - pybind11.passthru.scikit-build-core-no-tests + finalAttrs.passthru.scikit-build-core-no-tests ]; buildInputs = lib.optionals buildTests [ @@ -105,7 +104,7 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/pybind/pybind11"; - changelog = "https://github.com/pybind/pybind11/blob/${src.tag}/docs/changelog.md"; + changelog = "https://github.com/pybind/pybind11/blob/${finalAttrs.src.tag}/docs/changelog.md"; description = "Seamless operability between C++11 and Python"; mainProgram = "pybind11-config"; longDescription = '' @@ -119,4 +118,4 @@ buildPythonPackage rec { dotlambda ]; }; -} +})