add txzmq python pkg

This commit is contained in:
Erik Arvstedt 2020-11-12 18:07:40 +01:00 committed by Ian Shipman
parent e62e163177
commit 5399f73b20
2 changed files with 29 additions and 0 deletions

View File

@ -12,6 +12,7 @@ in {
secp256k1 = callPackage ./secp256k1 {};
urldecode = callPackage ./urldecode {};
chromalog = callPackage ./chromalog {};
txzmq = callPackage ./txzmq {};
joinmarketbase = joinmarketPkg ./jmbase;
joinmarketclient = joinmarketPkg ./jmclient;

View File

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, twisted
, pyzmq
}:
buildPythonPackage rec {
pname = "txzmq";
version = "0.8.2";
src = fetchPypi {
pname = "txZMQ";
inherit version;
sha256 = "07a9a480e58d4d732eef9efd7e264f2348cbf27ee82b338ec818a8504006e1c0";
};
propagatedBuildInputs = [
twisted
pyzmq
];
meta = with lib; {
description = "Twisted bindings for ZeroMQ";
homepage = https://github.com/smira/txZMQ;
license = licenses.gpl2;
};
}