summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ago/default.nix
blob: 29ae4b58ad055718980f9cf1fccbdf739f7a66e4 (plain)
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
{
  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 = {
    description = "Human Readable Time Deltas";
    homepage = "https://git.unturf.com/python/ago";
    license = lib.licenses.publicDomain;
    maintainers = with lib.maintainers; [ vizid ];
  };
}