depot/third_party/nixpkgs/pkgs/development/python-modules/jsonrpclib/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
527 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, cjson
, isPy3k
}:
buildPythonPackage rec {
pname = "jsonrpclib";
version = "0.1.7";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z";
};
propagatedBuildInputs = [ cjson ];
meta = with lib; {
description = "JSON RPC client library";
homepage = "https://pypi.python.org/pypi/jsonrpclib/";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.joachifm ];
};
}