python310Packages.jstyleson: init at 2022-09-16

This commit is contained in:
Bruno BELANYI 2021-11-28 15:45:40 +01:00
parent 682ebaafa2
commit 6505d75bd1
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "jstyleson";
version = "0.0.2";
src = fetchFromGitHub {
owner = "linjackson78";
repo = "jstyleson";
# https://github.com/linjackson78/jstyleson/issues/6
rev = "544b9fdb43339cdd15dd03dc69a6d0f36dd73241";
sha256 = "sha256-s/0DDfy+07TuUNjHPqKRT3xMMQl6spZCacB7Dweof7A=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "jstyleson" ];
meta = with lib; {
description = "A python library to parse JSON with js-style comments";
homepage = "https://github.com/linjackson78/jstyleson";
license = licenses.mit;
maintainers = with maintainers; [ ambroisie ];
};
}

View File

@ -4872,6 +4872,8 @@ in {
json-tricks = callPackage ../development/python-modules/json-tricks { };
jstyleson = callPackage ../development/python-modules/jstyleson { };
jug = callPackage ../development/python-modules/jug { };
junitparser = callPackage ../development/python-modules/junitparser { };