From 709fe22bab1ad2aa55f7a06589e09bcb86e614f1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 30 Jun 2023 20:32:18 +0200 Subject: [PATCH 1/2] python311Packages.hexbytes: 0.3.0 -> 0.3.1 Diff: https://github.com/ethereum/hexbytes/compare/v0.3.0...v0.3.1 --- pkgs/development/python-modules/hexbytes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hexbytes/default.nix b/pkgs/development/python-modules/hexbytes/default.nix index d0b57d105963..299670d97770 100644 --- a/pkgs/development/python-modules/hexbytes/default.nix +++ b/pkgs/development/python-modules/hexbytes/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "hexbytes"; - version = "0.3.0"; + version = "0.3.1"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "ethereum"; repo = "hexbytes"; rev = "v${version}"; - hash = "sha256-EDFE5MUc+XMwe8BaXkz/DRchAZbS86X+AcShi5rx83M="; + hash = "sha256-19oY/VPP6qkxHCkIgpC28fOOYKEYcNbVVGoHJmMmOl8="; }; nativeCheckInputs = [ From 3414f7da25556d3af484c65fc59de0c5eb966bfd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 30 Jun 2023 20:35:11 +0200 Subject: [PATCH 2/2] python311Packages.hexbytes: add format - add changelog to meta - update disabled --- pkgs/development/python-modules/hexbytes/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hexbytes/default.nix b/pkgs/development/python-modules/hexbytes/default.nix index 299670d97770..dbde2de90b0f 100644 --- a/pkgs/development/python-modules/hexbytes/default.nix +++ b/pkgs/development/python-modules/hexbytes/default.nix @@ -10,12 +10,14 @@ buildPythonPackage rec { pname = "hexbytes"; version = "0.3.1"; - disabled = pythonOlder "3.6"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ethereum"; repo = "hexbytes"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-19oY/VPP6qkxHCkIgpC28fOOYKEYcNbVVGoHJmMmOl8="; }; @@ -25,11 +27,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "hexbytes" ]; + pythonImportsCheck = [ + "hexbytes" + ]; meta = with lib; { description = "`bytes` subclass that decodes hex, with a readable console output"; homepage = "https://github.com/ethereum/hexbytes"; + changelog = "https://github.com/ethereum/hexbytes/blob/v${version}/docs/release_notes.rst"; license = licenses.mit; maintainers = with maintainers; [ SuperSandro2000 ]; };