depot/third_party/nixpkgs/pkgs/development/python-modules/json2html/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

34 lines
784 B
Nix

{
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 ];
};
}