2022-05-05 11:43:08 -07:00
|
|
|
{ version, src, lib, buildPythonPackage, fetchurl, future, configparser, joinmarketbase, joinmarketdaemon, mnemonic, argon2_cffi, bencoderpyx, pyaes, joinmarketbitcoin, klein, pyjwt, autobahn }:
|
2019-08-05 00:50:55 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "joinmarketclient";
|
|
|
|
inherit version src;
|
|
|
|
|
|
|
|
postUnpack = "sourceRoot=$sourceRoot/jmclient";
|
|
|
|
|
2022-05-05 11:43:08 -07:00
|
|
|
checkInputs = [ joinmarketbitcoin joinmarketdaemon ];
|
2019-08-05 00:50:55 -07:00
|
|
|
|
2022-05-05 11:43:08 -07:00
|
|
|
propagatedBuildInputs = [ future configparser joinmarketbase mnemonic argon2_cffi bencoderpyx pyaes klein pyjwt autobahn ];
|
2019-08-05 00:50:55 -07:00
|
|
|
|
2021-12-08 05:23:23 -08:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "'klein==20.6.0'" "'klein==21.8.0'"
|
2022-06-27 15:08:27 -07:00
|
|
|
substituteInPlace setup.py \
|
2022-07-22 05:38:37 -07:00
|
|
|
--replace "'pyjwt==2.1.0'" "'pyjwt==2.4.0'"
|
2021-12-08 05:23:23 -08:00
|
|
|
'';
|
|
|
|
|
2019-08-05 00:50:55 -07:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Client library for Bitcoin coinjoins";
|
|
|
|
homepage = "https://github.com/Joinmarket-Org/joinmarket-clientserver";
|
|
|
|
maintainers = with maintainers; [ nixbitcoin ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|