python3Packages.demjson3: init at 3.0.5

This commit is contained in:
Fabian Affolter 2021-09-30 21:49:51 +02:00 committed by Martin Weinelt
parent 058e0d6785
commit cc8bd84575
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, python
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "demjson3";
version = "3.0.5";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "103dc4pzwg8791q3zll1vv4gcc17d9v3jvr9zj23cpv9hpfsp6mb";
};
checkPhase = ''
${python.interpreter} test/test_demjson3.py
'';
pythonImportsCheck = [ "demjson3" ];
meta = with lib; {
description = "Encoder/decoder and lint/validator for JSON (JavaScript Object Notation)";
homepage = "https://github.com/nielstron/demjson3/";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1956,6 +1956,8 @@ in {
demjson = callPackage ../development/python-modules/demjson { };
demjson3 = callPackage ../development/python-modules/demjson3 { };
dendropy = callPackage ../development/python-modules/dendropy { };
denonavr = callPackage ../development/python-modules/denonavr { };