python3Packages.pyjson5: init at 0.8.5

This commit is contained in:
isgy 2019-11-10 09:47:40 +00:00 committed by Jon
parent 053168d470
commit 3be103989c
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ buildPythonPackage, lib, nose, fetchFromGitHub }:
buildPythonPackage rec {
pname = "pyjson5";
version = "0.8.5";
src = fetchFromGitHub {
owner = "dpranke";
repo = pname;
rev = "v${version}";
sha256 = "0nyngj18jlkgvm1177lc3cj47wm4yh3dqigygvcvw7xkyryafsqn";
};
doCheck = true;
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with lib; {
description = "Python implementation of the JSON5 data format";
license = licenses.asl20;
homepage = "https://github.com/dpranke/pyjson5";
maintainers = with maintainers; [ isgy ];
};
}

View File

@ -4690,6 +4690,8 @@ in {
pyhocon = callPackage ../development/python-modules/pyhocon { };
pyjson5 = callPackage ../development/python-modules/pyjson5 {};
pymaging = callPackage ../development/python-modules/pymaging { };
pymaging_png = callPackage ../development/python-modules/pymaging_png { };