bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
48 lines
1,022 B
Nix
48 lines
1,022 B
Nix
{
|
|
lib,
|
|
about-time,
|
|
buildPythonPackage,
|
|
click,
|
|
fetchFromGitHub,
|
|
grapheme,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "alive-progress";
|
|
version = "3.1.5";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rsalmei";
|
|
repo = "alive-progress";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-yJhl0QrMHET9ISDc/D5AEQ7dTJkmcV2SWqy/xmG18uY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
about-time
|
|
grapheme
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
click
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "alive_progress" ];
|
|
|
|
meta = with lib; {
|
|
description = "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 ];
|
|
};
|
|
}
|