File tree 2 files changed +29
-24
lines changed
development/python-modules/simplejson
2 files changed +29
-24
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change @@ -22775,30 +22775,7 @@ in {
22775
22775
};
22776
22776
};
22777
22777
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 { };
22802
22779
22803
22780
simpleldap = buildPythonPackage rec {
22804
22781
version = "0.8";
You can’t perform that action at this time.
0 commit comments