Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 79 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980{ lib, buildPythonPackage, fetchPypi, pythonOlder
# runtime, editables, importlib-metadata # < 3.8, packaging, pathspec, pluggy, tomli
# tests, build, python, requests, virtualenv}:
let pname = "hatchling"; version = "1.13.0";inbuildPythonPackage { inherit pname version; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-+NJ1osxyBzUoa3wuK8NdoFdh5tNpXC+kFlUDlfEMU8c="; };
# listed in backend/src/hatchling/ouroboros.py propagatedBuildInputs = [ editables packaging pathspec pluggy ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
pythonImportsCheck = [ "hatchling" "hatchling.build" ];
# tries to fetch packages from the internet doCheck = false;
# listed in /backend/tests/downstream/requirements.txt nativeCheckInputs = [ build packaging requests virtualenv ];
preCheck = '' export HOME=$TMPDIR '';
checkPhase = '' runHook preCheck ${python.interpreter} tests/downstream/integrate.py runHook postCheck '';
meta = with lib; { description = "Modern, extensible Python build backend"; homepage = "https://hatch.pypa.io/latest/"; changelog = "https://github.com/pypa/hatch/releases/tag/hatchling-v${version}"; license = licenses.mit; maintainers = with maintainers; [ hexa ofek ]; };}