clightning: update python pkgs to new version
This commit is contained in:
parent
6ad7107ddb
commit
38a843d005
4 changed files with 40 additions and 5 deletions
|
|
@ -4,11 +4,12 @@
|
|||
, coincurve
|
||||
, base58
|
||||
, mypy
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyln-proto";
|
||||
version = "0.10.1"; # defined in ${src}/contrib/pyln-proto/setup.py
|
||||
version = clightning.version;
|
||||
|
||||
inherit (clightning) src;
|
||||
|
||||
|
|
@ -18,8 +19,17 @@ buildPythonPackage rec {
|
|||
coincurve
|
||||
base58
|
||||
mypy
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
postUnpack = "sourceRoot=$sourceRoot/contrib/${pname}";
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
postUnpack = "sourceRoot=$sourceRoot/contrib/pyln-proto";
|
||||
postPatch = ''
|
||||
sed -i '
|
||||
s|coincurve ~= 13.0|coincurve == 15.0.0|
|
||||
s|base58 ~= 2.0.1|base58 == 2.1.0|
|
||||
s|mypy==0.790|mypy == 0.812|
|
||||
' requirements.txt
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue