mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
python3Packages.anyjson: drop
Broke during the setuptools upgrade when use_2to3 was removed.
This commit is contained in:
parent
599845e6c6
commit
26053aa922
3 changed files with 1 additions and 24 deletions
|
@ -1,22 +0,0 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy3k, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anyjson";
|
||||
version = "0.3.3";
|
||||
|
||||
# The tests are written in a python2 syntax but anyjson is python3 valid
|
||||
doCheck = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba";
|
||||
};
|
||||
|
||||
buildInputs = [ nose ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://bitbucket.org/runeh/anyjson/";
|
||||
description = "Wrapper that selects the best available JSON implementation";
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
|
@ -33,6 +33,7 @@ in
|
|||
### Deprecated aliases - for backward compatibility
|
||||
|
||||
mapAliases ({
|
||||
anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
|
||||
blockdiagcontrib-cisco = throw "blockdiagcontrib-cisco is not compatible with blockdiag 2.0.0 and has been removed."; # added 2020-11-29
|
||||
bt_proximity = bt-proximity; # added 2021-07-02
|
||||
bugseverywhere = throw "bugseverywhere has been removed: Abandoned by upstream."; # added 2019-11-27
|
||||
|
|
|
@ -532,8 +532,6 @@ in {
|
|||
|
||||
anyio = callPackage ../development/python-modules/anyio { };
|
||||
|
||||
anyjson = callPackage ../development/python-modules/anyjson { };
|
||||
|
||||
anytree = callPackage ../development/python-modules/anytree {
|
||||
inherit (pkgs) graphviz;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue