2021-10-24 19:14:09 +00:00
|
|
|
{ version, src, lib, buildPythonPackage, fetchurl, future, configparser, joinmarketbase, joinmarketdaemon, mnemonic, argon2_cffi, bencoderpyx, pyaes, joinmarketbitcoin, txtorcon, klein, pyjwt, autobahn, cryptography }:
|
2019-08-05 07:50:55 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "joinmarketclient";
|
|
|
|
inherit version src;
|
|
|
|
|
|
|
|
postUnpack = "sourceRoot=$sourceRoot/jmclient";
|
|
|
|
|
2021-08-12 10:52:17 +00:00
|
|
|
checkInputs = [ joinmarketbitcoin joinmarketdaemon txtorcon ];
|
2019-08-05 07:50:55 +00:00
|
|
|
|
|
|
|
# configparser may need to be compiled with python_version<"3.2"
|
2021-10-24 19:14:09 +00:00
|
|
|
propagatedBuildInputs = [ future configparser joinmarketbase mnemonic argon2_cffi bencoderpyx pyaes klein pyjwt autobahn cryptography ];
|
2019-08-05 07:50:55 +00: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;
|
|
|
|
};
|
|
|
|
}
|