{ version, src, lib, buildPythonPackage, fetchurl, txtorcon, cryptography, pyopenssl, libnacl, joinmarketbase }: buildPythonPackage rec { pname = "joinmarketdaemon"; inherit version src; postUnpack = "sourceRoot=$sourceRoot/jmdaemon"; propagatedBuildInputs = [ txtorcon cryptography pyopenssl libnacl joinmarketbase ]; meta = with lib; { description = "Client library for Bitcoin coinjoins"; homepage = "https://github.com/Joinmarket-Org/joinmarket-clientserver"; maintainers = with maintainers; [ nixbitcoin ]; license = licenses.gpl3; }; }