pythonPackages.jsonpointer: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 23:42:53 -04:00 committed by Frederik Rietdijk
parent 2c986a700d
commit 036ccbc3ff
2 changed files with 22 additions and 14 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "jsonpointer";
version = "1.9";
src = fetchPypi {
inherit pname version;
sha256 = "39403b47a71aa782de6d80db3b78f8a5f68ad8dfc9e674ca3bb5b32c15ec7308";
};
meta = with stdenv.lib; {
description = "Resolve JSON Pointers in Python";
homepage = "https://github.com/stefankoegl/python-json-pointer";
license = stdenv.lib.licenses.bsd2; # "Modified BSD license, says pypi"
};
}

View File

@ -1926,20 +1926,7 @@ in {
jsonpickle = callPackage ../development/python-modules/jsonpickle { };
jsonpointer = buildPythonPackage rec {
name = "jsonpointer-1.9";
src = pkgs.fetchurl {
url = "mirror://pypi/j/jsonpointer/${name}.tar.gz";
sha256 = "39403b47a71aa782de6d80db3b78f8a5f68ad8dfc9e674ca3bb5b32c15ec7308";
};
meta = {
description = "Resolve JSON Pointers in Python";
homepage = "https://github.com/stefankoegl/python-json-pointer";
license = stdenv.lib.licenses.bsd2; # "Modified BSD license, says pypi"
};
};
jsonpointer = callPackage ../development/python-modules/jsonpointer { };
jsonrpclib = buildPythonPackage rec {
name = "jsonrpclib-${version}";