python-demjson: new package

demjson is a Python JSON module that reads, writes and validates
JSON-encoded data; compliant with RFC 4627.

It also includes a lint checker, jsonlint, which can be used to validate
JSON documents for strict conformance to the RFC specification; as well
as to reformat them, either by re-indenting or for minimal/canonical
JSON output.

Homepage: http://deron.meranda.us/python/demjson/
This commit is contained in:
Bjørn Forsman 2013-06-29 20:07:21 +02:00
parent 13017198de
commit 33717c4636

View File

@ -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}";