1{ buildPythonPackage
2, fetchFromGitHub
3, hypothesis
4, lib
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "json5";
10 version = "0.9.9";
11
12 src = fetchFromGitHub {
13 owner = "dpranke";
14 repo = "pyjson5";
15 rev = "v${version}";
16 hash = "sha256-0ommoTv5q7YuLNF+ZPWW/Xg/8CwnPrF7rXJ+eS0joUs=";
17 };
18
19 checkInputs = [
20 hypothesis
21 pytestCheckHook
22 ];
23
24 pythonImportsCheck = [
25 "json5"
26 ];
27
28 meta = with lib; {
29 homepage = "https://github.com/dpranke/pyjson5";
30 description = "A Python implementation of the JSON5 data format";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ veehaitch ];
33 };
34}