22 buildPythonPackage rec {
26 disabled = pythonOlder "3.8";
29 inherit pname version;
30 hash = "sha256-cGRjGlEmELUiUKTT/xvYFVHW0UMcTre3LnNN9sdPQmI=";
33 # listed in backend/pyproject.toml
34 propagatedBuildInputs = [
40 ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
42 pythonImportsCheck = [
47 # tries to fetch packages from the internet
50 # listed in /backend/tests/downstream/requirements.txt
63 ${python.interpreter} tests/downstream/integrate.py
68 description = "Modern, extensible Python build backend";
69 mainProgram = "hatchling";
70 homepage = "https://hatch.pypa.io/latest/";
71 changelog = "https://github.com/pypa/hatch/releases/tag/hatchling-v${version}";
72 license = licenses.mit;
73 maintainers = with maintainers; [