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-05 20:43:09 +02:00 committed by Jonas Nick
parent ca834cce84
commit 900836fe0d
No known key found for this signature in database
GPG key ID: 4861DBF262123605
3 changed files with 18 additions and 6 deletions

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