Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / alive-progress / default.nix
blob58ccedd26d6c0b79b8eb639fe75c4a7936e70ac8
1 { lib
2 , about-time
3 , buildPythonPackage
4 , click
5 , fetchFromGitHub
6 , grapheme
7 , pytestCheckHook
8 , pythonOlder
9 , setuptools
12 buildPythonPackage rec {
13   pname = "alive-progress";
14   version = "3.1.5";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "rsalmei";
21     repo = "alive-progress";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-yJhl0QrMHET9ISDc/D5AEQ7dTJkmcV2SWqy/xmG18uY=";
24   };
26   nativeBuildInputs = [
27     setuptools
28   ];
30   propagatedBuildInputs = [
31     about-time
32     grapheme
33   ];
35   nativeCheckInputs = [
36     click
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [
41     "alive_progress"
42   ];
44   meta = with lib; {
45     description = "A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations";
46     homepage = "https://github.com/rsalmei/alive-progress";
47     changelog = "https://github.com/rsalmei/alive-progress/blob/v${version}/CHANGELOG.md";
48     license = licenses.mit;
49     maintainers = with maintainers; [ thiagokokada ];
50   };