python311Packages.alive-progress: refactor

This commit is contained in:
Fabian Affolter 2024-01-28 15:51:13 +01:00
parent 5c8fbc5e8d
commit 91b25d13b9

View File

@ -5,20 +5,28 @@
, fetchFromGitHub
, grapheme
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "alive-progress";
version = "3.1.4";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "rsalmei";
repo = pname;
rev = "v${version}";
repo = "alive-progress";
rev = "refs/tags/v${version}";
hash = "sha256-27PgxQ9nw8p5hfaSf/jPYG7419o3i8B8R09o93szSOk=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
about-time
grapheme
@ -36,6 +44,7 @@ buildPythonPackage rec {
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";
changelog = "https://github.com/rsalmei/alive-progress/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ thiagokokada ];
};