forked from mirrors/nixpkgs
python3Packages.demjson: drop
Using the `use_2to3` flag in setuptools, which was removed in version 58. Also unmaintained since 2015.
This commit is contained in:
parent
56daf9804c
commit
949c04687f
|
@ -1,34 +0,0 @@
|
|||
{ lib
|
||||
, python
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "demjson";
|
||||
version = "2.2.4";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ygbddpnvp5lby6mr5kz60la3hkvwwzv3wwb3z0w9ngxl0w21pii";
|
||||
};
|
||||
|
||||
doCheck = !(isPy3k);
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} test/test_demjson.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"demjson"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
|
||||
homepage = "https://github.com/dmeranda/demjson";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ bjornfor ];
|
||||
};
|
||||
}
|
|
@ -42,6 +42,7 @@ mapAliases ({
|
|||
ConfigArgParse = configargparse; # added 2021-03-18
|
||||
cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14
|
||||
dateutil = python-dateutil; # added 2021-07-03
|
||||
demjson = throw "demjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
||||
detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
|
||||
dftfit = throw "dftfit dependency lammps-cython no longer builds"; # added 2021-07-04
|
||||
diff_cover = diff-cover; # added 2021-07-02
|
||||
|
|
|
@ -2078,8 +2078,6 @@ in {
|
|||
|
||||
deluge-client = callPackage ../development/python-modules/deluge-client { };
|
||||
|
||||
demjson = callPackage ../development/python-modules/demjson { };
|
||||
|
||||
demjson3 = callPackage ../development/python-modules/demjson3 { };
|
||||
|
||||
dendropy = callPackage ../development/python-modules/dendropy { };
|
||||
|
|
Loading…
Reference in a new issue