1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "ago";
11 version = "0.1.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-FWBBWXEcR+CPISUfKL+0ODlCCHU1Zg2+ZAsvYZP5K+Q=";
17 };
18
19 build-system = [ setuptools ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [ "ago" ];
24
25 meta = with lib; {
26 description = "Human Readable Time Deltas";
27 homepage = "https://git.unturf.com/python/ago";
28 license = licenses.publicDomain;
29 maintainers = with maintainers; [ vizid ];
30 };
31}