900836fe0d
This is a nonfunctional refactoring commit. It's needed because pkg `pyln-proto`, which is introduced in the next commit, requires a different, incompatible version of `cryptography`, which must be placed in a different python package set.
47 lines
1.8 KiB
Nix
47 lines
1.8 KiB
Nix
nbPkgs: self: super:
|
|
let
|
|
inherit (self) callPackage;
|
|
|
|
joinmarketPkg = pkg: callPackage pkg { inherit (nbPkgs.joinmarket) version src; };
|
|
clightningPkg = pkg: callPackage pkg { inherit (nbPkgs.pinned) clightning; };
|
|
in {
|
|
bencoderpyx = callPackage ./bencoderpyx {};
|
|
coincurve = callPackage ./coincurve {};
|
|
python-bitcointx = callPackage ./python-bitcointx { inherit (nbPkgs) secp256k1; };
|
|
urldecode = callPackage ./urldecode {};
|
|
chromalog = callPackage ./chromalog {};
|
|
txzmq = callPackage ./txzmq {};
|
|
sha256 = callPackage ./sha256 {};
|
|
runes = callPackage ./runes {};
|
|
|
|
joinmarketbase = joinmarketPkg ./jmbase;
|
|
joinmarketclient = joinmarketPkg ./jmclient;
|
|
joinmarketbitcoin = joinmarketPkg ./jmbitcoin;
|
|
joinmarketdaemon = joinmarketPkg ./jmdaemon;
|
|
|
|
pyln-client = clightningPkg ./pyln-client;
|
|
pyln-proto = clightningPkg ./pyln-proto;
|
|
pyln-bolt7 = clightningPkg ./pyln-bolt7;
|
|
pylightning = clightningPkg ./pylightning;
|
|
|
|
## Specific versions of packages that already exist in nixpkgs
|
|
|
|
# base58 2.1.0, required by pyln-proto
|
|
base58 = callPackage ./specific-versions/base58.nix {};
|
|
|
|
# cryptography 3.3.2, required by joinmarketdaemon
|
|
# Used in the private python package set for joinmarket (../joinmarket/default.nix)
|
|
cryptography_3_3_2 = callPackage ./specific-versions/cryptography {
|
|
cryptography_vectors = callPackage ./specific-versions/cryptography/vectors.nix {};
|
|
};
|
|
|
|
# autobahn 20.12.3, required by joinmarketclient
|
|
autobahn = callPackage ./specific-versions/autobahn.nix {};
|
|
|
|
# tubes 0.2.0, required by jmclient (via pkg `klein`)
|
|
tubes = callPackage ./specific-versions/tubes.nix {};
|
|
|
|
# recommonmark 0.7.1, required by pyln-client
|
|
recommonmark = callPackage ./specific-versions/recommonmark.nix { inherit (super) recommonmark; };
|
|
}
|