Unverified Commit bf30c9e3 authored by superherointj's avatar superherointj Committed by GitHub
Browse files

Merge pull request #328745 from Tochiaha/python-json2h

python312Packages.json2html: init at 1.3.0
parents e3f10196 abe3bede
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  python3,
  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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6276,6 +6276,8 @@ self: super: with self; {
  jsmin = callPackage ../development/python-modules/jsmin { };
  json2html = callPackage ../development/python-modules/json2html { };
  json5 = callPackage ../development/python-modules/json5 { };
  jsonxs = callPackage ../development/python-modules/jsonxs { };