Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / alive-progress / default.nix
blob7e3adbf1166e33885c182bbe01853f6108d6c972
1 { lib
2 , about-time
3 , buildPythonPackage
4 , click
5 , fetchFromGitHub
6 , grapheme
7 , pytestCheckHook
8 }:
10 buildPythonPackage rec {
11   pname = "alive-progress";
12   version = "3.1.4";
14   src = fetchFromGitHub {
15     owner = "rsalmei";
16     repo = pname;
17     rev = "v${version}";
18     hash = "sha256-27PgxQ9nw8p5hfaSf/jPYG7419o3i8B8R09o93szSOk=";
19   };
21   propagatedBuildInputs = [
22     about-time
23     grapheme
24   ];
26   nativeCheckInputs = [
27     click
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "alive_progress"
33   ];
35   meta = with lib; {
36     description = "A new kind of Progress Bar, with real-time throughput, ETA, and very cool animations";
37     homepage = "https://github.com/rsalmei/alive-progress";
38     license = licenses.mit;
39     maintainers = with maintainers; [ thiagokokada ];
40   };