1{ stdenv, buildPythonPackage, fetchPypi, isPy36 }:
2
3buildPythonPackage rec {
4 pname = "demjson";
5 version = "2.2.4";
6 name = "${pname}-${version}";
7 disabled = isPy36;
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "0ygbddpnvp5lby6mr5kz60la3hkvwwzv3wwb3z0w9ngxl0w21pii";
12 };
13
14 meta = with stdenv.lib; {
15 description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
16 homepage = http://deron.meranda.us/python/demjson/;
17 license = licenses.lgpl3Plus;
18 maintainers = with maintainers; [ bjornfor ];
19 platforms = platforms.all;
20 };
21}