diff options
author | Samuel Ainsworth <skainsworth@gmail.com> | 2021-12-02 17:02:00 -0800 |
---|---|---|
committer | Samuel Ainsworth <skainsworth@gmail.com> | 2021-12-02 17:02:00 -0800 |
commit | c28f99abe9b2c5e37c6017518ce391dc013f126a (patch) | |
tree | 6206a022ca8ac7049b1d045b2325816fe23d11eb /pkgs/development/python-modules/yaspin | |
parent | c7c997a0662bf88264db52cbc41e67884eb7a1ff (diff) |
python3Packages.yaspin: init at 2.1.0
Diffstat (limited to 'pkgs/development/python-modules/yaspin')
-rw-r--r-- | pkgs/development/python-modules/yaspin/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yaspin/default.nix b/pkgs/development/python-modules/yaspin/default.nix new file mode 100644 index 0000000000000..012ee677ae0e0 --- /dev/null +++ b/pkgs/development/python-modules/yaspin/default.nix @@ -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 ]; + }; +} |