2017-05-28 08:08:10 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-06-05 07:31:26 +00:00
|
|
|
, stdenv
|
2017-05-28 08:08:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "simplejson";
|
2017-12-30 11:27:23 +00:00
|
|
|
version = "3.13.2";
|
2017-05-28 08:08:10 +00:00
|
|
|
name = "${pname}-${version}";
|
2017-06-05 07:31:26 +00:00
|
|
|
doCheck = !stdenv.isDarwin;
|
2017-05-28 08:08:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 11:27:23 +00:00
|
|
|
sha256 = "4c4ecf20e054716cc1e5a81cadc44d3f4027108d8dd0861d8b1e3bd7a32d4f0a";
|
2017-05-28 08:08:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple, fast, extensible JSON encoder/decoder for Python";
|
|
|
|
longDescription = ''
|
|
|
|
simplejson is compatible with Python 2.4 and later with no
|
|
|
|
external dependencies. It covers the full JSON specification
|
|
|
|
for both encoding and decoding, with unicode support. By
|
|
|
|
default, encoding is done in an encoding neutral fashion (plain
|
|
|
|
ASCII with \uXXXX escapes for unicode characters).
|
|
|
|
'';
|
|
|
|
homepage = http://code.google.com/p/simplejson/;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
2017-06-05 07:31:26 +00:00
|
|
|
}
|