From 097287fee84451864499bcad0259d9567b46ba96 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 13 Aug 2024 00:27:09 +0200 Subject: [PATCH 1/2] python312Packages.leb128: fix build Closes: #334248 --- pkgs/development/python-modules/leb128/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/leb128/default.nix b/pkgs/development/python-modules/leb128/default.nix index 1606c54c340c..d889a361d9cf 100644 --- a/pkgs/development/python-modules/leb128/default.nix +++ b/pkgs/development/python-modules/leb128/default.nix @@ -1,6 +1,7 @@ { buildPythonPackage, fetchFromGitHub, + setuptools, pytestCheckHook, lib, }: @@ -8,7 +9,7 @@ buildPythonPackage rec { pname = "leb128"; version = "1.0.7"; - format = "setuptools"; + pyproject = true; # fetchPypi doesn't include files required for tests src = fetchFromGitHub { @@ -18,7 +19,10 @@ buildPythonPackage rec { hash = "sha256-17C0Eic8T2PFkuIGExcrfb3b1HldaSBAPSh5TtRBUuU="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "leb128" ]; meta = with lib; { From edd2b5e185a5eb5dbcf0faeca491a771b0f35bc8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 13 Aug 2024 00:27:41 +0200 Subject: [PATCH 2/2] python312Packages.leb128: 1.0.7 -> 1.0.8 https://github.com/mohanson/leb128/releases/tag/v1.0.8 --- pkgs/development/python-modules/leb128/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/leb128/default.nix b/pkgs/development/python-modules/leb128/default.nix index d889a361d9cf..4840c3cc678a 100644 --- a/pkgs/development/python-modules/leb128/default.nix +++ b/pkgs/development/python-modules/leb128/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "leb128"; - version = "1.0.7"; + version = "1.0.8"; pyproject = true; # fetchPypi doesn't include files required for tests @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "mohanson"; repo = "leb128"; rev = "refs/tags/v${version}"; - hash = "sha256-17C0Eic8T2PFkuIGExcrfb3b1HldaSBAPSh5TtRBUuU="; + hash = "sha256-7ZjDqxGUANk3FfB3HPTc5CB5YcIi2ee0igXWAYXaZ88="; }; build-system = [ setuptools ]; @@ -26,6 +26,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "leb128" ]; meta = with lib; { + changelog = "https://github.com/mohanson/leb128/releases/tag/v${version}"; description = "Utility to encode and decode Little Endian Base 128"; homepage = "https://github.com/mohanson/leb128"; license = licenses.mit;