pythonPackages.jsonrpclib: init at 0.1.7

This commit is contained in:
Joachim Fasting 2016-10-08 15:24:14 +02:00
parent 5275d07fea
commit 16cc58977a
No known key found for this signature in database
GPG key ID: 7544761007FE4E08
2 changed files with 21 additions and 16 deletions

View file

@ -1,21 +1,5 @@
{ stdenv, fetchurl, pythonPackages }:
let
jsonrpclib = pythonPackages.buildPythonPackage rec {
version = "0.1.7";
name = "jsonrpclib-${version}";
src = fetchurl {
url = "mirror://pypi/j/jsonrpclib/${name}.tar.gz";
sha256 = "02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z";
};
propagatedBuildInputs = [ pythonPackages.cjson ];
meta = {
homepage = https://pypi.python.org/pypi/jsonrpclib;
license = stdenv.lib.licenses.asl20;
};
};
in
pythonPackages.buildPythonApplication rec {
name = "electrum-${version}";
version = "2.6.4";

View file

@ -7494,6 +7494,27 @@ in modules // {
};
};
jsonrpclib = buildPythonPackage rec {
name = "jsonrpclib-${version}";
version = "0.1.7";
disabled = !isPy27;
src = pkgs.fetchurl {
url = "mirror://pypi/j/jsonrpclib/${name}.tar.gz";
sha256 = "02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z";
};
propagatedBuildInputs = with self; [ cjson ];
meta = {
description = "JSON RPC client library";
homepage = https://pypi.python.org/pypi/jsonrpclib/;
license = stdenv.lib.licenses.asl20;
maintainers = [ stdenv.lib.maintainers.joachifm ];
};
};
jsonwatch = buildPythonPackage rec {
name = "jsonwatch-0.2.0";