pyln-client: init at 23.11.2
This commit is contained in:
parent
8644e6705a
commit
892b045342
|
@ -1,5 +1,8 @@
|
|||
{ callPackage, pkgs }:
|
||||
{
|
||||
feedsearch-crawler = callPackage ./feedsearch-crawler { };
|
||||
pyln-bolt7 = callPackage ./pyln-bolt7 { };
|
||||
pyln-client = callPackage ./pyln-client { };
|
||||
pyln-proto = callPackage ./pyln-proto { };
|
||||
sane-lib = pkgs.sane-scripts.lib;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
# based on: <https://github.com/fort-nix/nix-bitcoin/blob/master/pkgs/python-packages/pyln-bolt7/default.nix>
|
||||
{ buildPythonPackage, poetry-core, pytestCheckHook, clightning, pyln-proto }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "pyln-bolt7";
|
||||
# the version is defined here:
|
||||
# - <https://github.com/ElementsProject/lightning/blob/master/contrib/pyln-spec/bolt7/pyproject.toml>
|
||||
# update like:
|
||||
# - `nix build '.#clightning.src'`
|
||||
# - `dtrx ./result`
|
||||
# - `rg version <extracted>/clightning-v23.11.2/contrib/pyln-spec/bolt7/pyproject.toml`
|
||||
version = "1.0.4.246";
|
||||
format = "pyproject";
|
||||
|
||||
inherit (clightning) src;
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
propagatedBuildInputs = [ pyln-proto ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
sourceRoot = "clightning-v${clightning.version}/contrib/pyln-spec/bolt7";
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
# based on: <https://github.com/fort-nix/nix-bitcoin/blob/master/pkgs/python-packages/pyln-client/default.nix>
|
||||
{ buildPythonPackage, poetry-core, pytestCheckHook, clightning, pyln-bolt7, pyln-proto }:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "pyln-client";
|
||||
format = "pyproject";
|
||||
|
||||
inherit (clightning) src version;
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyln-bolt7
|
||||
pyln-proto
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
sourceRoot = "clightning-v${clightning.version}/contrib/pyln-client";
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
# based on: <https://github.com/fort-nix/nix-bitcoin/blob/master/pkgs/python-packages/pyln-proto/default.nix>
|
||||
{ buildPythonPackage
|
||||
, clightning
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, bitstring
|
||||
, cryptography
|
||||
, coincurve
|
||||
, base58
|
||||
, pysocks
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "pyln-proto";
|
||||
format = "pyproject";
|
||||
|
||||
inherit (clightning) src version;
|
||||
|
||||
sourceRoot = "clightning-v${clightning.version}/contrib/pyln-proto";
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bitstring
|
||||
cryptography
|
||||
coincurve
|
||||
base58
|
||||
pysocks
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
}
|
Loading…
Reference in New Issue