1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "json2html";
10 version = "1.3.0";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "softvar";
15 repo = "json2html";
16 rev = "v${version}";
17 hash = "sha256-Y+mwJ0p4Q2TKMU8qQvuvo08RiMdsReO7psgXaiW9ntk=";
18 };
19
20 build-system = [ setuptools ];
21
22 # no proper test available
23 doCheck = false;
24
25 pythonImportsCheck = [ "json2html" ];
26
27 meta = {
28 description = "Python module for converting complex JSON to HTML Table representation";
29 homepage = "https://github.com/softvar/json2html";
30 changelog = "https://github.com/softvar/json2html/releases/tag/v${version}";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ tochiaha ];
33 };
34}