2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
colorama,
|
|
|
|
fetchPypi,
|
|
|
|
isPy27,
|
|
|
|
lib,
|
|
|
|
log-symbols,
|
|
|
|
six,
|
|
|
|
spinners,
|
|
|
|
termcolor,
|
|
|
|
}:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "halo";
|
|
|
|
version = "0.0.31";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-02-05 17:12:51 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1mn97h370ggbc9vi6x8r6akd5q8i512y6kid2nvm67g93r9a6rvv";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
colorama
|
|
|
|
log-symbols
|
|
|
|
termcolor
|
|
|
|
six
|
|
|
|
spinners
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
# Tests are not included in the PyPI distribution and the git repo does not have tagged releases
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "halo" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Beautiful Spinners for Terminal, IPython and Jupyter";
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://github.com/manrajgrover/halo";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ urbas ];
|
|
|
|
};
|
|
|
|
}
|