mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 12:07:47 +03:00
python311Packages.alive-progress: refactor
This commit is contained in:
parent
5c8fbc5e8d
commit
91b25d13b9
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user