python3Packages.yaspin: init at 2.1.0
This commit is contained in:
parent
c7c997a066
commit
c28f99abe9
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/yaspin/default.nix
Normal file
32
pkgs/development/python-modules/yaspin/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, poetry-core
|
||||
, termcolor
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yaspin";
|
||||
version = "2.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pavdmyt";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0vhh4mp706kz5fba8nvr9jm51jsd32xj97m3law6ixw3lj91sh1a";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [ termcolor ];
|
||||
|
||||
pythonImportsCheck = [ "yaspin" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Yet Another Terminal Spinner";
|
||||
homepage = "https://github.com/pavdmyt/yaspin";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ samuela ];
|
||||
};
|
||||
}
|
|
@ -10229,6 +10229,8 @@ in {
|
|||
|
||||
yarl = callPackage ../development/python-modules/yarl { };
|
||||
|
||||
yaspin = callPackage ../development/python-modules/yaspin { };
|
||||
|
||||
yaswfp = callPackage ../development/python-modules/yaswfp { };
|
||||
|
||||
yattag = callPackage ../development/python-modules/yattag { };
|
||||
|
|
Loading…
Reference in a new issue