git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.simplejson: 3.8.1 -> 3.10.0
commitd0f2361bc1ffdff631fc7ebb9c2ec1b08b135898 authorFrederik Rietdijk <fridh@fridh.nl> dateSun 28 May 2017, 10:08 (9 years ago) parent90b08c2
2 files changed+29−24
pkgs/development/python-modules/simplejson/default.nix+28 pkgs/top-level/python-packages.nix+1−24
pkgs/development/python-modules/simplejson/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+}:
5+
6+buildPythonPackage rec {
7+ pname = "simplejson";
8+ version = "3.10.0";
9+ name = "${pname}-${version}";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "953be622e88323c6f43fad61ffd05bebe73b9fd9863a46d68b052d2aa7d71ce2";
14+ };
15+
16+ meta = {
17+ description = "A simple, fast, extensible JSON encoder/decoder for Python";
18+ longDescription = ''
19+ simplejson is compatible with Python 2.4 and later with no
20+ external dependencies. It covers the full JSON specification
21+ for both encoding and decoding, with unicode support. By
22+ default, encoding is done in an encoding neutral fashion (plain
23+ ASCII with \uXXXX escapes for unicode characters).
24+ '';
25+ homepage = http://code.google.com/p/simplejson/;
26+ license = lib.licenses.mit;
27+ };
28+}
pkgs/top-level/python-packages.nix+1−24
@@ -22775,30 +22775,7 @@ in {
2277522775 };
2277622776 };
2277722777
22778− simplejson = buildPythonPackage (rec {
22779− name = "simplejson-3.8.1";
22780−
22781− src = pkgs.fetchurl {
22782− url = "mirror://pypi/s/simplejson/${name}.tar.gz";
22783− sha256 = "14r4l4rcsyf87p2j4ycsbb017n4vzxfmv285rq2gny4w47rwi2j2";
22784− };
22785−
22786− meta = {
22787− description = "A simple, fast, extensible JSON encoder/decoder for Python";
22788−
22789− longDescription = ''
22790− simplejson is compatible with Python 2.4 and later with no
22791− external dependencies. It covers the full JSON specification
22792− for both encoding and decoding, with unicode support. By
22793− default, encoding is done in an encoding neutral fashion (plain
22794− ASCII with \uXXXX escapes for unicode characters).
22795− '';
22796−
22797− homepage = http://code.google.com/p/simplejson/;
22798−
22799− license = licenses.mit;
22800− };
22801− });
22778+ simplejson = callPackage ../development/python-modules/simplejson { };
2280222779
2280322780 simpleldap = buildPythonPackage rec {
2280422781 version = "0.8";