1{ buildPythonPackage
2, colorama
3, fetchPypi
4, isPy27
5, lib
6, log-symbols
7, six
8, spinners
9, termcolor }:
10
11buildPythonPackage rec {
12 pname = "halo";
13 version = "0.0.31";
14 disabled = isPy27;
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "1mn97h370ggbc9vi6x8r6akd5q8i512y6kid2nvm67g93r9a6rvv";
19 };
20
21 propagatedBuildInputs = [ colorama log-symbols termcolor six spinners ];
22
23 # Tests are not included in the PyPI distribution and the git repo does not have tagged releases
24 doCheck = false;
25 pythonImportsCheck = [ "halo" ];
26
27 meta = with lib; {
28 description = "Beautiful Spinners for Terminal, IPython and Jupyter.";
29 homepage = "https://github.com/manrajgrover/halo";
30 license = licenses.mit;
31 maintainers = with maintainers; [ urbas ];
32 };
33}