summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/spinners/default.nix
blob: 1e71296fd17629110115b38d6fdcb38bb710d82b (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
{ buildPythonPackage
, fetchPypi
, isPy27
, lib }:

buildPythonPackage rec {
  pname = "spinners";
  version = "0.0.24";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "0zz2z6dpdjdq5z8m8w8dfi8by0ih1zrdq0caxm1anwhxg2saxdhy";
  };

  # Tests are not included in the PyPI distribution and the git repo does not have tagged releases
  doCheck = false;
  pythonImportsCheck = [ "spinners" ];

  meta = with lib; {
    description = "Spinners for the Terminal.";
    homepage = "https://github.com/manrajgrover/py-spinners";
    license = licenses.mit;
    maintainers = with maintainers; [ urbas ];
  };
}