clightning-plugins: update rev and dependencies

This commit is contained in:
nixbitcoin 2021-04-07 10:51:14 +00:00 committed by Erik Arvstedt
parent c5f67629e6
commit daeedda825
No known key found for this signature in database
GPG key ID: 33312B944DD97846
7 changed files with 20 additions and 18 deletions

View file

@ -1,5 +1,4 @@
nbPkgs:
self:
nbPkgs: self: super:
let
inherit (self) callPackage;
@ -14,6 +13,7 @@ in {
urldecode = callPackage ./urldecode {};
chromalog = callPackage ./chromalog {};
txzmq = callPackage ./txzmq {};
recommonmark = callPackage ./recommonmark { inherit (super) recommonmark; };
# cryptography 3.3.2, required by joinmarketdaemon
cryptography = callPackage ./cryptography {};

View file

@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "pylightning";
version = "0.8.0"; # defined in ${src}/contrib/pyln-client/pyln/client/__init__.py
version = "0.9.3"; # defined in ${src}/contrib/pyln-client/pyln/client/__init__.py
inherit (clightning) src;
@ -10,8 +10,4 @@ buildPythonPackage rec {
postUnpack = "sourceRoot=$sourceRoot/contrib/${pname}";
# The clightning source contains pyln-client 0.8.0
postPatch = ''
substituteInPlace requirements.txt --replace pyln-client==0.7.3 pyln-client==0.8.0
'';
}

View file

@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "pyln-client";
version = "0.8.0"; # defined in ${src}/contrib/pyln-client/pyln/client/__init__.py
version = "0.9.3"; # defined in ${src}/contrib/pyln-client/pyln/client/__init__.py
inherit (clightning) src;

View file

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "pyln-proto";
version = "0.8.4"; # defined in ${src}/contrib/pyln-proto/setup.py
version = "0.9.3"; # defined in ${src}/contrib/pyln-proto/setup.py
inherit (clightning) src;
@ -22,10 +22,4 @@ buildPythonPackage rec {
postUnpack = "sourceRoot=$sourceRoot/contrib/${pname}";
postPatch = ''
substituteInPlace requirements.txt \
--replace base58==1.0.2 base58==2.0.1 \
--replace bitstring==3.1.6 bitstring==3.1.5 \
--replace cryptography==2.8 cryptography==3.1
'';
}

View file

@ -0,0 +1,12 @@
{ recommonmark, fetchFromGitHub }:
recommonmark.overridePythonAttrs (old: rec {
version = "0.7.1";
src = fetchFromGitHub {
owner = "rtfd";
repo = old.pname;
rev = version;
sha256 = "0kwm4smxbgq0c0ybkxfvlgrfb3gq9amdw94141jyykk9mmz38379";
};
})