python311Packages.eth-rlp: 0.3.0 -> 2.1.0

- use pyproject & setuptools-scm
This commit is contained in:
hellwolf 2024-03-24 18:31:50 +02:00
parent ad60a863f1
commit f064c1cc8f
No known key found for this signature in database
GPG Key ID: 1080B4863AD0F5D1
1 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, eth-hash
, eth-utils
, hexbytes
@ -11,17 +12,19 @@
buildPythonPackage rec {
pname = "eth-rlp";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
version = "2.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ethereum";
repo = "eth-rlp";
rev = "v${version}";
hash = "sha256-wfmRjHFu6H3J6hNin8ZA2454xXrLgcUdeR8iGXFomRE=";
hash = "sha256-FTqIutndf+epmO5XNEUoRAUEmn299aTLIZNe5SMcxAQ=";
};
build-system = [ setuptools];
propagatedBuildInputs = [
hexbytes
eth-utils