2018-10-17 07:36:28 +01:00
|
|
|
{ lib
|
2018-10-16 04:43:17 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, cjson
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jsonrpclib";
|
|
|
|
version = "0.1.7";
|
2018-10-15 09:31:10 +01:00
|
|
|
|
2018-10-16 04:43:17 +01:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cjson ];
|
|
|
|
|
2018-10-17 07:36:28 +01:00
|
|
|
meta = with lib; {
|
2018-10-16 04:43:17 +01:00
|
|
|
description = "JSON RPC client library";
|
|
|
|
homepage = https://pypi.python.org/pypi/jsonrpclib/;
|
2018-10-15 09:31:10 +01:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.joachifm ];
|
2018-10-16 04:43:17 +01:00
|
|
|
};
|
|
|
|
}
|