nixpkgs/pkgs/development/python-modules/simplejson/default.nix

30 lines
828 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, stdenv
}:
buildPythonPackage rec {
pname = "simplejson";
2018-07-22 11:21:02 +01:00
version = "3.16.0";
doCheck = !stdenv.isDarwin;
src = fetchPypi {
inherit pname version;
2018-07-22 11:21:02 +01:00
sha256 = "b1f329139ba647a9548aa05fb95d046b4a677643070dc2afc05fa2e975d09ca5";
};
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;
};
}