git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.anyjson: Enable for python3

Only the tests are unvalid for anyjson. The module itself is python3 valid.

commit05d9cf5f38139f0a6270859c851ec422189ceb2d authorLancelot SIX <lsix@lancelotsix.com> dateFri 18 Mar 2016, 12:27 (11 years ago) parent7890132
1 file changed+3−1
pkgs/top-level/python-packages.nix+3−1
pkgs/top-level/python-packages.nix+3−1
@@ -743,7 +743,9 @@ in modules // {
743743
744744 anyjson = buildPythonPackage rec {
745745 name = "anyjson-0.3.3";
746− disabled = isPy3k;
746+
747+ # The tests are written in a python2 syntax but anyjson is python3 valid
748+ doCheck = !isPy3k;
747749
748750 src = pkgs.fetchurl {
749751 url = "mirror://pypi/a/anyjson/${name}.tar.gz";