python311Packages.hexbytes: 0.3.1 -> 1.2.0
- use pyproject & setuptools-scm
This commit is contained in:
parent
f064c1cc8f
commit
ed217bf9ef
1 changed files with 7 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
, eth-utils
|
, eth-utils
|
||||||
, hypothesis
|
, hypothesis
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -9,18 +10,19 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hexbytes";
|
pname = "hexbytes";
|
||||||
version = "0.3.1";
|
version = "1.2.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
disabled = pythonOlder "3.7";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ethereum";
|
owner = "ethereum";
|
||||||
repo = "hexbytes";
|
repo = "hexbytes";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-19oY/VPP6qkxHCkIgpC28fOOYKEYcNbVVGoHJmMmOl8=";
|
hash = "sha256-8st1nQiGApt+aNl8/cftYk0ZzA+MxbLyGi53UWUlAjM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
build-system = [ setuptools];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
eth-utils
|
eth-utils
|
||||||
hypothesis
|
hypothesis
|
||||||
|
|
Loading…
Reference in a new issue