depot/third_party/nixpkgs/pkgs/development/python-modules/ago/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

40 lines
665 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "ago";
version = "0.0.95";
pyproject = true;
disabled = pythonOlder "3.3";
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 ];
};
}