2025-03-09 14:59:49 +00:00

32 lines
609 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "ago";
version = "0.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-FWBBWXEcR+CPISUfKL+0ODlCCHU1Zg2+ZAsvYZP5K+Q=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ago" ];
meta = with lib; {
description = "Human Readable Time Deltas";
homepage = "https://git.unturf.com/python/ago";
license = licenses.publicDomain;
maintainers = with maintainers; [ vizid ];
};
}