mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
python311Packages.hexbytes: 0.3.1 -> 1.2.0
- use pyproject & setuptools-scm
This commit is contained in:
parent
f064c1cc8f
commit
ed217bf9ef
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue