diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c6fec3ee9251..00bcfcfd33cf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -997,6 +997,30 @@ pythonPackages = python.modules // rec { }; + demjson = buildPythonPackage rec { + name = "demjson-1.6"; + + src = fetchurl { + url = "https://pypi.python.org/packages/source/d/demjson/${name}.tar.gz"; + sha256 = "0abf7wqqq7rk1sycy47ayn5p93yy7gjq50cb2z69wmik1qqrr60x"; + }; + + doCheck = false; # there are no tests + + preFixup = '' + mkdir -p "$out/bin" + cp jsonlint "$out/bin/" + ''; + + meta = { + description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)"; + homepage = http://deron.meranda.us/python/demjson/; + maintainers = with stdenv.lib.maintainers; [ bjornfor ]; + platforms = stdenv.lib.platforms.all; + }; + }; + + evdev = buildPythonPackage rec { version = "0.3.2"; name = "evdev-${version}";