nix-bitcoin/pkgs/python-packages/jmbase/default.nix
2023-07-19 17:22:01 +02:00

21 lines
587 B
Nix

{ version, src, lib, buildPythonPackage, fetchurl, future, twisted, service-identity, chromalog, txtorcon }:
buildPythonPackage rec {
pname = "joinmarketbase";
inherit version src;
postUnpack = "sourceRoot=$sourceRoot/jmbase";
patchPhase = ''
sed -i 's|twisted==22.4.0|twisted==22.10.0|' setup.py
'';
propagatedBuildInputs = [ future twisted service-identity chromalog txtorcon ];
meta = with lib; {
homepage = "https://github.com/Joinmarket-Org/joinmarket-clientserver";
maintainers = with maintainers; [ nixbitcoin ];
license = licenses.gpl3;
};
}