python311Packages.hexbytes: 0.3.1 -> 1.2.0

- use pyproject & setuptools-scm
This commit is contained in:
hellwolf 2024-03-24 18:32:14 +02:00
parent f064c1cc8f
commit ed217bf9ef
No known key found for this signature in database
GPG key ID: 1080B4863AD0F5D1

View file

@ -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