python311Packages.rlp: 3.0.0 -> 4.0.0

- use pyproject & setuptools-scm
- remove the setuptools-markdown post patch
This commit is contained in:
hellwolf 2024-03-24 18:32:37 +02:00
parent ed217bf9ef
commit ae93076f57
No known key found for this signature in database
GPG Key ID: 1080B4863AD0F5D1
1 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, setuptools
, buildPythonPackage
, eth-utils
, hypothesis
@ -8,20 +9,17 @@
buildPythonPackage rec {
pname = "rlp";
version = "3.0.0";
format = "setuptools";
version = "4.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ethereum";
repo = "pyrlp";
rev = "v${version}";
hash = "sha256-GRCq4FU38e08fREg5fweig5Y60jLT2k3Yj1Jk8OA6XY=";
hash = "sha256-cRp+ZOPYs9kcqMKGaiYMOFBY+aPCyFqu+1/5wloLwqU=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "'setuptools-markdown'" ""
'';
build-system = [ setuptools];
propagatedBuildInputs = [
eth-utils