diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-28 10:08:10 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-28 10:08:43 +0200 |
commit | d0f2361bc1ffdff631fc7ebb9c2ec1b08b135898 (patch) | |
tree | 1d01cc50b3fbcec5eb48d570198023535d202c27 /pkgs | |
parent | 90b08c29d2e480c32f03337bc5f0952e83a60eed (diff) | |
download | nixlib-d0f2361bc1ffdff631fc7ebb9c2ec1b08b135898.tar nixlib-d0f2361bc1ffdff631fc7ebb9c2ec1b08b135898.tar.gz nixlib-d0f2361bc1ffdff631fc7ebb9c2ec1b08b135898.tar.bz2 nixlib-d0f2361bc1ffdff631fc7ebb9c2ec1b08b135898.tar.lz nixlib-d0f2361bc1ffdff631fc7ebb9c2ec1b08b135898.tar.xz nixlib-d0f2361bc1ffdff631fc7ebb9c2ec1b08b135898.tar.zst nixlib-d0f2361bc1ffdff631fc7ebb9c2ec1b08b135898.zip |
python.pkgs.simplejson: 3.8.1 -> 3.10.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/simplejson/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 25 |
2 files changed, 29 insertions, 24 deletions
diff --git a/pkgs/development/python-modules/simplejson/default.nix b/pkgs/development/python-modules/simplejson/default.nix new file mode 100644 index 000000000000..983d17655215 --- /dev/null +++ b/pkgs/development/python-modules/simplejson/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "simplejson"; + version = "3.10.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "953be622e88323c6f43fad61ffd05bebe73b9fd9863a46d68b052d2aa7d71ce2"; + }; + + 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; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3732556bfad2..3f5b20a62d62 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22775,30 +22775,7 @@ in { }; }; - simplejson = buildPythonPackage (rec { - name = "simplejson-3.8.1"; - - src = pkgs.fetchurl { - url = "mirror://pypi/s/simplejson/${name}.tar.gz"; - sha256 = "14r4l4rcsyf87p2j4ycsbb017n4vzxfmv285rq2gny4w47rwi2j2"; - }; - - 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 = licenses.mit; - }; - }); + simplejson = callPackage ../development/python-modules/simplejson { }; simpleldap = buildPythonPackage rec { version = "0.8"; |