depot/third_party/nixpkgs/pkgs/development/python-modules/ago/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
610 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "ago";
version = "0.0.95";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-0gEPXqw99UTsSOwRYQLgaFkaNFsaWA8ylz24pQX8p0Q=";
};
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 ];
};
}