summary refs log tree commit diff
path: root/pkgs/development/python-modules/demjson
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-10-29 11:43:27 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-10-29 11:51:19 +0100
commit013da4ef669359ee0f5e8605870cb618e3579f0d (patch)
treef22cd6bde70af953c0e8c24a626771a6e357e84d /pkgs/development/python-modules/demjson
parentb1e23a87b18be0077292eefffe660a233fa33123 (diff)
downloadnixpkgs-013da4ef669359ee0f5e8605870cb618e3579f0d.tar
nixpkgs-013da4ef669359ee0f5e8605870cb618e3579f0d.tar.gz
nixpkgs-013da4ef669359ee0f5e8605870cb618e3579f0d.tar.bz2
nixpkgs-013da4ef669359ee0f5e8605870cb618e3579f0d.tar.lz
nixpkgs-013da4ef669359ee0f5e8605870cb618e3579f0d.tar.xz
nixpkgs-013da4ef669359ee0f5e8605870cb618e3579f0d.tar.zst
nixpkgs-013da4ef669359ee0f5e8605870cb618e3579f0d.zip
pythonPackages.demjson: move to python-modules/
Easier maintenance when expressions are in separate files.
Diffstat (limited to 'pkgs/development/python-modules/demjson')
-rw-r--r--pkgs/development/python-modules/demjson/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/demjson/default.nix b/pkgs/development/python-modules/demjson/default.nix
new file mode 100644
index 00000000000..4f5d7a11bd8
--- /dev/null
+++ b/pkgs/development/python-modules/demjson/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, buildPythonPackage, fetchPypi, isPy36 }:
+
+buildPythonPackage rec {
+  pname = "demjson";
+  version = "2.2.4";
+  name = "${pname}-${version}";
+  disabled = isPy36;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0ygbddpnvp5lby6mr5kz60la3hkvwwzv3wwb3z0w9ngxl0w21pii";
+  };
+
+  meta = with stdenv.lib; {
+    description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
+    homepage = http://deron.meranda.us/python/demjson/;
+    license = licenses.lgpl3Plus;
+    maintainers = with maintainers; [ bjornfor ];
+    platforms = platforms.all;
+  };
+}