21 buildPythonPackage rec {
25 disabled = pythonOlder "3.8";
28 inherit pname version;
29 hash = "sha256-UOmcMRDOCvw/e9ut/xxxwXdY5HZzHCdgeUDPpmhkico=";
32 # listed in backend/pyproject.toml
33 propagatedBuildInputs = [
39 ] ++ lib.optionals (pythonOlder "3.11") [
43 pythonImportsCheck = [
48 # tries to fetch packages from the internet
51 # listed in /backend/tests/downstream/requirements.txt
64 ${python.interpreter} tests/downstream/integrate.py
69 description = "Modern, extensible Python build backend";
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; [ hexa ofek ];