···11+{ lib
22+, buildPythonPackage
33+, fetchPypi
44+}:
55+66+buildPythonPackage rec {
77+ pname = "simplejson";
88+ version = "3.10.0";
99+ name = "${pname}-${version}";
1010+1111+ src = fetchPypi {
1212+ inherit pname version;
1313+ sha256 = "953be622e88323c6f43fad61ffd05bebe73b9fd9863a46d68b052d2aa7d71ce2";
1414+ };
1515+1616+ meta = {
1717+ description = "A simple, fast, extensible JSON encoder/decoder for Python";
1818+ longDescription = ''
1919+ simplejson is compatible with Python 2.4 and later with no
2020+ external dependencies. It covers the full JSON specification
2121+ for both encoding and decoding, with unicode support. By
2222+ default, encoding is done in an encoding neutral fashion (plain
2323+ ASCII with \uXXXX escapes for unicode characters).
2424+ '';
2525+ homepage = http://code.google.com/p/simplejson/;
2626+ license = lib.licenses.mit;
2727+ };
2828+}
+1-24
pkgs/top-level/python-packages.nix
···2277522775 };
2277622776 };
22777227772277822778- simplejson = buildPythonPackage (rec {
2277922779- name = "simplejson-3.8.1";
2278022780-2278122781- src = pkgs.fetchurl {
2278222782- url = "mirror://pypi/s/simplejson/${name}.tar.gz";
2278322783- sha256 = "14r4l4rcsyf87p2j4ycsbb017n4vzxfmv285rq2gny4w47rwi2j2";
2278422784- };
2278522785-2278622786- meta = {
2278722787- description = "A simple, fast, extensible JSON encoder/decoder for Python";
2278822788-2278922789- longDescription = ''
2279022790- simplejson is compatible with Python 2.4 and later with no
2279122791- external dependencies. It covers the full JSON specification
2279222792- for both encoding and decoding, with unicode support. By
2279322793- default, encoding is done in an encoding neutral fashion (plain
2279422794- ASCII with \uXXXX escapes for unicode characters).
2279522795- '';
2279622796-2279722797- homepage = http://code.google.com/p/simplejson/;
2279822798-2279922799- license = licenses.mit;
2280022800- };
2280122801- });
2277822778+ simplejson = callPackage ../development/python-modules/simplejson { };
22802227792280322780 simpleldap = buildPythonPackage rec {
2280422781 version = "0.8";