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