Files
nixpkgs/pkgs/development/python-modules/alive-progress/default.nix
T
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

43 lines
813 B
Nix

{ lib
, about-time
, buildPythonPackage
, click
, fetchFromGitHub
, grapheme
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "alive-progress";
version = "3.1.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "rsalmei";
repo = pname;
rev = "v${version}";
hash = "sha256-27PgxQ9nw8p5hfaSf/jPYG7419o3i8B8R09o93szSOk=";
};
propagatedBuildInputs = [
about-time
grapheme
];
nativeCheckInputs = [
click
pytestCheckHook
];
pythonImportsCheck = [
"alive_progress"
];
meta = with lib; {
description = "A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations";
homepage = "https://github.com/rsalmei/alive-progress";
license = licenses.mit;
maintainers = with maintainers; [ thiagokokada ];
};
}