nixpkgs-suyu/pkgs/development/python-modules/halo/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

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