summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/json2html/default.nix
blob: 8a7ef46d72418ca481e6fd4de699350a2183f683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
}:

buildPythonPackage rec {
  pname = "json2html";
  version = "1.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "softvar";
    repo = "json2html";
    rev = "v${version}";
    hash = "sha256-Y+mwJ0p4Q2TKMU8qQvuvo08RiMdsReO7psgXaiW9ntk=";
  };

  build-system = [ setuptools ];

  # no proper test available
  doCheck = false;

  pythonImportsCheck = [ "json2html" ];

  meta = {
    description = "Python module for converting complex JSON to HTML Table representation";
    homepage = "https://github.com/softvar/json2html";
    changelog = "https://github.com/softvar/json2html/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tochiaha ];
  };
}