Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 54 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ buildPythonPackage, fetchFromGitHub, hatchling, lib, packaging, twisted,}:
let incremental = buildPythonPackage rec { pname = "incremental"; version = "24.11.0"; pyproject = true;
src = fetchFromGitHub { owner = "twisted"; repo = "incremental"; tag = "incremental-${version}"; hash = "sha256-GkTCQYGrgCUzizSgKhWeqJ25pfaYA7eUJIHt0q/iO0E="; };
build-system = [ hatchling ];
dependencies = [ packaging ];
# escape infinite recursion with twisted doCheck = false;
nativeCheckInputs = [ twisted ];
checkPhase = '' trial incremental '';
passthru.tests = { check = incremental.overridePythonAttrs (_: { doCheck = true; }); };
pythonImportsCheck = [ "incremental" ];
meta = { changelog = "https://github.com/twisted/incremental/blob/${src.tag}/NEWS.rst"; homepage = "https://github.com/twisted/incremental"; description = "Small library that versions your Python projects"; license = lib.licenses.mit; mainProgram = "incremental"; maintainers = with lib.maintainers; [ dotlambda ]; }; };inincremental