python310Packages.pyjson5: remove duplicate package

This commit is contained in:
Anthony Roussel 2022-08-28 12:08:33 +02:00
parent 5103abe810
commit bdf2706f09
4 changed files with 3 additions and 30 deletions

View File

@ -7,7 +7,7 @@
, pythonOlder , pythonOlder
, requests , requests
, pytestCheckHook , pytestCheckHook
, pyjson5 , json5
, babel , babel
, jupyter_server , jupyter_server
, openapi-core , openapi-core
@ -40,7 +40,7 @@ buildPythonPackage rec {
hatchling hatchling
]; ];
propagatedBuildInputs = [ requests jsonschema pyjson5 babel jupyter_server ]; propagatedBuildInputs = [ requests jsonschema json5 babel jupyter_server ];
checkInputs = [ checkInputs = [
openapi-core openapi-core

View File

@ -1,26 +0,0 @@
{ buildPythonPackage, lib, nose, fetchFromGitHub }:
buildPythonPackage rec {
pname = "pyjson5";
version = "0.8.5";
src = fetchFromGitHub {
owner = "dpranke";
repo = pname;
rev = "v${version}";
sha256 = "0nyngj18jlkgvm1177lc3cj47wm4yh3dqigygvcvw7xkyryafsqn";
};
doCheck = true;
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with lib; {
description = "Python implementation of the JSON5 data format";
license = licenses.asl20;
homepage = "https://github.com/dpranke/pyjson5";
maintainers = with maintainers; [ isgy ];
};
}

View File

@ -126,6 +126,7 @@ mapAliases ({
pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28 pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28
pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07 pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07
pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07 pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07
pyjson5 = json5; # added 2022-08-28
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20 pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
PyLD = pyld; # added 2022-06-22 PyLD = pyld; # added 2022-06-22
pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0 pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0

View File

@ -7788,8 +7788,6 @@ in {
pyjks = callPackage ../development/python-modules/pyjks { }; pyjks = callPackage ../development/python-modules/pyjks { };
pyjson5 = callPackage ../development/python-modules/pyjson5 { };
pyjsparser = callPackage ../development/python-modules/pyjsparser { }; pyjsparser = callPackage ../development/python-modules/pyjsparser { };
pyjwkest = callPackage ../development/python-modules/pyjwkest { }; pyjwkest = callPackage ../development/python-modules/pyjwkest { };