python3Packages.alive-progress: init at 3.1.4
This commit is contained in:
parent
f2f6be5347
commit
a471cfcbe7
41
pkgs/development/python-modules/alive-progress/default.nix
Normal file
41
pkgs/development/python-modules/alive-progress/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, about-time
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, grapheme
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alive-progress";
|
||||
version = "3.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rsalmei";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-27PgxQ9nw8p5hfaSf/jPYG7419o3i8B8R09o93szSOk=";
|
||||
};
|
||||
|
||||
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";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ thiagokokada ];
|
||||
};
|
||||
}
|
|
@ -428,6 +428,8 @@ self: super: with self; {
|
|||
|
||||
algebraic-data-types = callPackage ../development/python-modules/algebraic-data-types { };
|
||||
|
||||
alive-progress = callPackage ../development/python-modules/alive-progress { };
|
||||
|
||||
aliyun-python-sdk-cdn = callPackage ../development/python-modules/aliyun-python-sdk-cdn { };
|
||||
|
||||
aliyun-python-sdk-config = callPackage ../development/python-modules/aliyun-python-sdk-config { };
|
||||
|
|
Loading…
Reference in a new issue