Files
nixpkgs/pkgs/development/python-modules/halo/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
833 B
Nix

{
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 = {
description = "Beautiful Spinners for Terminal, IPython and Jupyter";
homepage = "https://github.com/manrajgrover/halo";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ urbas ];
};
}