btcpayserver: 1.11.7 -> 1.12.5 hwi: 2.3.1 -> 2.4.0 lnd: 0.17.0-beta -> 0.17.3-beta nbxplorer: 2.3.66 -> 2.5.0
67 lines
1.3 KiB
Nix
67 lines
1.3 KiB
Nix
{
|
|
pipBuildHook
|
|
, version
|
|
, src
|
|
, lib
|
|
, buildPythonPackageWithDepsCheck
|
|
, argon2_cffi
|
|
, autobahn
|
|
, bencoderpyx
|
|
, configparser
|
|
, fetchurl
|
|
, future
|
|
, joinmarketbase
|
|
, joinmarketbitcoin
|
|
, joinmarketdaemon
|
|
, klein
|
|
, mnemonic
|
|
, pyjwt
|
|
, werkzeug
|
|
}:
|
|
|
|
buildPythonPackageWithDepsCheck rec {
|
|
pname = "joinmarketclient";
|
|
inherit version src;
|
|
|
|
postUnpack = "sourceRoot=$sourceRoot/jmclient";
|
|
|
|
propagatedBuildInputs = [
|
|
argon2_cffi
|
|
autobahn
|
|
bencoderpyx
|
|
configparser
|
|
future
|
|
joinmarketbase
|
|
joinmarketbitcoin
|
|
joinmarketdaemon
|
|
klein
|
|
mnemonic
|
|
pyjwt
|
|
werkzeug
|
|
];
|
|
|
|
patchPhase = ''
|
|
substituteInPlace setup.py \
|
|
--replace "'klein==20.6.0'" "'klein>=20.6.0'"
|
|
substituteInPlace setup.py \
|
|
--replace "'argon2_cffi==21.3.0'" "'argon2_cffi==23.1.0'"
|
|
substituteInPlace setup.py \
|
|
--replace "'pyjwt==2.4.0'" "'pyjwt==2.8.0'"
|
|
substituteInPlace setup.py \
|
|
--replace "'werkzeug==2.2.3'" "'werkzeug==2.3.8'"
|
|
'';
|
|
|
|
# The unit tests can't be run in a Nix build environment
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"jmclient"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Client library for Bitcoin coinjoins";
|
|
homepage = "https://github.com/Joinmarket-Org/joinmarket-clientserver";
|
|
maintainers = with maintainers; [ nixbitcoin ];
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|