blob: 58ccedd26d6c0b79b8eb639fe75c4a7936e70ac8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ 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 = "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 ];
};
}
|