mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
pythonPackages.jsonpointer: refactor move to python-modules
This commit is contained in:
parent
2c986a700d
commit
036ccbc3ff
21
pkgs/development/python-modules/jsonpointer/default.nix
Normal file
21
pkgs/development/python-modules/jsonpointer/default.nix
Normal 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"
|
||||
};
|
||||
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user