about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ago/default.nix
blob: 59aaf184a6fcddde1706797d4afa7404bddf0e93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ 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 ];
  };
}