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

View File

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