joinmarket: add private python package set

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.
This commit is contained in:
Erik Arvstedt
2022-05-06 13:35:32 +00:00
committed by Jonas Nick
parent ca834cce84
commit 900836fe0d
3 changed files with 18 additions and 6 deletions
+12 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, applyPatches, fetchpatch, python3, nbPython3Packages, pkgs }:
{ stdenv, lib, fetchurl, applyPatches, fetchpatch, python3, nbPythonPackageOverrides, pkgs }:
let
version = "0.9.5";
@@ -17,7 +17,17 @@ let
];
};
runtimePackages = with nbPython3Packages; [
pyPkgs = (python3.override {
packageOverrides = (self: super: let
overrides = nbPythonPackageOverrides self super;
in
overrides // {
cryptography = overrides.cryptography_3_3_2;
}
);
}).pkgs;
runtimePackages = with pyPkgs; [
joinmarketbase
joinmarketclient
joinmarketbitcoin