nix-bitcoin/pkgs/python-packages/jmbase/default.nix

22 lines
675 B
Nix
Raw Normal View History

2023-11-11 17:40:49 +00:00
{ version, src, lib, buildPythonPackage, fetchurl, future, twisted, service-identity, chromalog, txtorcon, pyaes }:
buildPythonPackage rec {
pname = "joinmarketbase";
inherit version src;
postUnpack = "sourceRoot=$sourceRoot/jmbase";
2023-07-08 13:33:04 +00:00
patchPhase = ''
sed -i 's|twisted==22.4.0|twisted==22.10.0|' setup.py
sed -i 's|service-identity==21.1.0|service-identity==23.1.0|' setup.py
2023-07-08 13:33:04 +00:00
'';
2023-11-11 17:40:49 +00:00
propagatedBuildInputs = [ future twisted service-identity chromalog txtorcon pyaes ];
meta = with lib; {
homepage = "https://github.com/Joinmarket-Org/joinmarket-clientserver";
maintainers = with maintainers; [ nixbitcoin ];
license = licenses.gpl3;
};
}