2017-05-28 10:08:10 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-06-05 09:31:26 +02:00
|
|
|
, stdenv
|
2017-05-28 10:08:10 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "simplejson";
|
2018-06-12 18:47:07 +02:00
|
|
|
version = "3.15.0";
|
2017-05-28 10:08:10 +02:00
|
|
|
name = "${pname}-${version}";
|
2017-06-05 09:31:26 +02:00
|
|
|
doCheck = !stdenv.isDarwin;
|
2017-05-28 10:08:10 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-12 18:47:07 +02:00
|
|
|
sha256 = "ad332f65d9551ceffc132d0a683f4ffd12e4bc7538681100190d577ced3473fb";
|
2017-05-28 10:08:10 +02: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 09:31:26 +02:00
|
|
|
}
|