13 buildPythonPackage rec {
14 pname = "hatch-fancy-pypi-readme";
18 disabled = pythonOlder "3.7";
21 pname = "hatch_fancy_pypi_readme";
23 hash = "sha256-RN0jnxp3m53PjryUAaYR/X9+PhRXjc8iwmXfr3wVFLg=";
26 nativeBuildInputs = [ hatchling ];
28 propagatedBuildInputs =
30 ++ lib.optionals (pythonOlder "3.11") [ tomli ]
31 ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
38 # Requires network connection
40 "test_build" # Requires internet
44 pythonImportsCheck = [ "hatch_fancy_pypi_readme" ];
47 description = "Fancy PyPI READMEs with Hatch";
48 mainProgram = "hatch-fancy-pypi-readme";
49 homepage = "https://github.com/hynek/hatch-fancy-pypi-readme";
50 license = licenses.mit;
51 maintainers = with maintainers; [ tjni ];