python311Packages.rlp: 3.0.0 -> 4.0.0
- use pyproject & setuptools-scm - remove the setuptools-markdown post patch
This commit is contained in:
parent
ed217bf9ef
commit
ae93076f57
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, eth-utils
|
, eth-utils
|
||||||
, hypothesis
|
, hypothesis
|
||||||
|
@ -8,20 +9,17 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rlp";
|
pname = "rlp";
|
||||||
version = "3.0.0";
|
version = "4.0.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ethereum";
|
owner = "ethereum";
|
||||||
repo = "pyrlp";
|
repo = "pyrlp";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-GRCq4FU38e08fREg5fweig5Y60jLT2k3Yj1Jk8OA6XY=";
|
hash = "sha256-cRp+ZOPYs9kcqMKGaiYMOFBY+aPCyFqu+1/5wloLwqU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
build-system = [ setuptools];
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "'setuptools-markdown'" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
eth-utils
|
eth-utils
|
||||||
|
|
Loading…
Reference in New Issue
Block a user