about summary refs log tree commit diff
path: root/pkgs/development/python-modules/halo/default.nix
blob: a2372b73eb4cc8bfd888d56a2236831c1a08ae47 (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
35
36
37
38
39
40
41
42
{
  buildPythonPackage,
  colorama,
  fetchPypi,
  isPy27,
  lib,
  log-symbols,
  six,
  spinners,
  termcolor,
}:

buildPythonPackage rec {
  pname = "halo";
  version = "0.0.31";
  format = "setuptools";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "1mn97h370ggbc9vi6x8r6akd5q8i512y6kid2nvm67g93r9a6rvv";
  };

  propagatedBuildInputs = [
    colorama
    log-symbols
    termcolor
    six
    spinners
  ];

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

  meta = with lib; {
    description = "Beautiful Spinners for Terminal, IPython and Jupyter";
    homepage = "https://github.com/manrajgrover/halo";
    license = licenses.mit;
    maintainers = with maintainers; [ urbas ];
  };
}