anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / alive-progress / default.nix
blob8f24c6c86dd49bce9fa149addc4e98f8cd0aba46
2   lib,
3   about-time,
4   buildPythonPackage,
5   click,
6   fetchFromGitHub,
7   grapheme,
8   pytestCheckHook,
9   pythonOlder,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "alive-progress";
15   version = "3.1.5";
16   pyproject = true;
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "rsalmei";
22     repo = "alive-progress";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-yJhl0QrMHET9ISDc/D5AEQ7dTJkmcV2SWqy/xmG18uY=";
25   };
27   nativeBuildInputs = [ setuptools ];
29   propagatedBuildInputs = [
30     about-time
31     grapheme
32   ];
34   nativeCheckInputs = [
35     click
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [ "alive_progress" ];
41   meta = with lib; {
42     description = "New kind of Progress Bar, with real-time throughput, ETA, and very cool animations";
43     homepage = "https://github.com/rsalmei/alive-progress";
44     changelog = "https://github.com/rsalmei/alive-progress/blob/v${version}/CHANGELOG.md";
45     license = licenses.mit;
46     maintainers = with maintainers; [ thiagokokada ];
47   };