fix python packages for nixos 23.05
This commit is contained in:
parent
e31cc686f2
commit
bb2e88cec2
9 changed files with 117 additions and 183 deletions
|
|
@ -1,4 +1,15 @@
|
|||
nbPkgs: python3:
|
||||
let
|
||||
# Ignore eval error:
|
||||
# `OpenSSL 1.1 is reaching its end of life on 2023/09/11 and cannot
|
||||
# be supported through the NixOS 23.05 release cycle.`
|
||||
# TODO-EXTERNAL: consider removing when
|
||||
# https://github.com/Simplexum/python-bitcointx/issues/76 and
|
||||
# https://github.com/JoinMarket-Org/joinmarket-clientserver#1451 are resolved.
|
||||
openssl_1_1 = python3.pkgs.pkgs.openssl_1_1.overrideAttrs (old: {
|
||||
meta = builtins.removeAttrs old.meta [ "knownVulnerabilities" ];
|
||||
});
|
||||
in
|
||||
rec {
|
||||
pyPkgsOverrides = self: super: let
|
||||
inherit (self) callPackage;
|
||||
|
|
@ -13,12 +24,15 @@ rec {
|
|||
pyln-bolt7 = clightningPkg ./pyln-bolt7;
|
||||
pylightning = clightningPkg ./pylightning;
|
||||
|
||||
# bitstring 3.1.9, required by pyln-proto
|
||||
bitstring = callPackage ./specific-versions/bitstring.nix {};
|
||||
|
||||
# Packages only used by joinmarket
|
||||
bencoderpyx = callPackage ./bencoderpyx {};
|
||||
chromalog = callPackage ./chromalog {};
|
||||
python-bitcointx = callPackage ./python-bitcointx {
|
||||
inherit (nbPkgs) secp256k1;
|
||||
openssl = super.pkgs.openssl_1_1;
|
||||
openssl = openssl_1_1;
|
||||
};
|
||||
runes = callPackage ./runes {};
|
||||
sha256 = callPackage ./sha256 {};
|
||||
|
|
@ -39,7 +53,7 @@ rec {
|
|||
|
||||
# cryptography 3.3.2, required by joinmarketdaemon
|
||||
cryptography = callPackage ./specific-versions/cryptography {
|
||||
openssl = super.pkgs.openssl_1_1;
|
||||
openssl = openssl_1_1;
|
||||
cryptography_vectors = callPackage ./specific-versions/cryptography/vectors.nix {};
|
||||
};
|
||||
|
||||
|
|
@ -49,8 +63,8 @@ rec {
|
|||
# pyopenssl 21.0.0, required by joinmarketdaemon
|
||||
pyopenssl = callPackage ./specific-versions/pyopenssl.nix {};
|
||||
|
||||
# twisted 22.4.0, required by joinmarketbase
|
||||
twisted = callPackage ./specific-versions/twisted.nix {};
|
||||
# txtorcon 22.0.0, required by joinmarketdaemon
|
||||
txtorcon = callPackage ./specific-versions/txtorcon.nix {};
|
||||
};
|
||||
|
||||
nbPython3Packages = (python3.override {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue