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