summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/retrying/default.nix
blob: d0cc0e1326f08fbdb3596863f08b579cbbac4ff4 (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
32
33
34
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  six,
}:

buildPythonPackage rec {
  pname = "retrying";
  version = "1.4.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-0QLnXVPY0wuIVi1FNh1sbJNNoG+rMb2BwEIKy5eoujk=";
  };

  build-system = [ setuptools ];

  dependencies = [ six ];

  # doesn't ship tests in tarball
  doCheck = false;

  pythonImportsCheck = [ "retrying" ];

  meta = {
    description = "General-purpose retrying library";
    homepage = "https://github.com/rholder/retrying";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
}