From ed217bf9ef3e3174db63bb998e18cbe8a7cf5a89 Mon Sep 17 00:00:00 2001 From: hellwolf Date: Sun, 24 Mar 2024 18:32:14 +0200 Subject: [PATCH] python311Packages.hexbytes: 0.3.1 -> 1.2.0 - use pyproject & setuptools-scm --- pkgs/development/python-modules/hexbytes/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/hexbytes/default.nix b/pkgs/development/python-modules/hexbytes/default.nix index 9bfb9918bf32..654471ca0f29 100644 --- a/pkgs/development/python-modules/hexbytes/default.nix +++ b/pkgs/development/python-modules/hexbytes/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, setuptools , eth-utils , hypothesis , pytestCheckHook @@ -9,18 +10,19 @@ buildPythonPackage rec { pname = "hexbytes"; - version = "0.3.1"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "1.2.0"; + pyproject = true; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "ethereum"; repo = "hexbytes"; rev = "refs/tags/v${version}"; - hash = "sha256-19oY/VPP6qkxHCkIgpC28fOOYKEYcNbVVGoHJmMmOl8="; + hash = "sha256-8st1nQiGApt+aNl8/cftYk0ZzA+MxbLyGi53UWUlAjM="; }; + build-system = [ setuptools]; + nativeCheckInputs = [ eth-utils hypothesis