pythonPackages.json5: init at 0.9.5

This commit is contained in:
Vincent Haupert 2021-02-27 09:58:56 +01:00 committed by Jonathan Ringer
parent 6c351c3dbc
commit e31c4b42f0
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ buildPythonPackage
, fetchFromGitHub
, hypothesis
, lib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "json5";
version = "0.9.5";
src = fetchFromGitHub {
owner = "dpranke";
repo = "pyjson5";
rev = "v${version}";
sha256 = "sha256-VkJnZG1BuC49/jJuwObbqAF48CtbWU9rDEYW4Dg0w4U=";
};
checkInputs = [
hypothesis
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/dpranke/pyjson5";
description = "A Python implementation of the JSON5 data format";
license = licenses.asl20;
maintainers = with maintainers; [ veehaitch ];
};
}

View file

@ -3373,6 +3373,8 @@ in {
jsmin = callPackage ../development/python-modules/jsmin { };
json5 = callPackage ../development/python-modules/json5 { };
jsondate = callPackage ../development/python-modules/jsondate { };
jsondiff = callPackage ../development/python-modules/jsondiff { };