1{ lib
2, buildPythonPackage
3, fetchPypi
4, stdenv
5}:
6
7buildPythonPackage rec {
8 pname = "simplejson";
9 version = "3.13.2";
10 name = "${pname}-${version}";
11 doCheck = !stdenv.isDarwin;
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "4c4ecf20e054716cc1e5a81cadc44d3f4027108d8dd0861d8b1e3bd7a32d4f0a";
16 };
17
18 meta = {
19 description = "A simple, fast, extensible JSON encoder/decoder for Python";
20 longDescription = ''
21 simplejson is compatible with Python 2.4 and later with no
22 external dependencies. It covers the full JSON specification
23 for both encoding and decoding, with unicode support. By
24 default, encoding is done in an encoding neutral fashion (plain
25 ASCII with \uXXXX escapes for unicode characters).
26 '';
27 homepage = http://code.google.com/p/simplejson/;
28 license = lib.licenses.mit;
29 };
30}