1{ lib 2, about-time 3, buildPythonPackage 4, click 5, fetchFromGitHub 6, grapheme 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "alive-progress"; 12 version = "3.1.4"; 13 14 src = fetchFromGitHub { 15 owner = "rsalmei"; 16 repo = pname; 17 rev = "v${version}"; 18 hash = "sha256-27PgxQ9nw8p5hfaSf/jPYG7419o3i8B8R09o93szSOk="; 19 }; 20 21 propagatedBuildInputs = [ 22 about-time 23 grapheme 24 ]; 25 26 nativeCheckInputs = [ 27 click 28 pytestCheckHook 29 ]; 30 31 pythonImportsCheck = [ 32 "alive_progress" 33 ]; 34 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 }; 41}