diff options
author | Joel <joel@joel.tokyo> | 2022-03-01 16:48:55 +1000 |
---|---|---|
committer | Joel <joel@joel.tokyo> | 2022-03-11 16:04:40 +1000 |
commit | 22208a7a6eb86caf92cae5ed5b7ea0b05b0386c7 (patch) | |
tree | 91b157e442181daa3f2803c27b0168cf073ebeee /pkgs/misc/rich-cli | |
parent | 7a0501594d99ff7ea20c8e640dc89f71dd7c391b (diff) | |
download | nixlib-22208a7a6eb86caf92cae5ed5b7ea0b05b0386c7.tar nixlib-22208a7a6eb86caf92cae5ed5b7ea0b05b0386c7.tar.gz nixlib-22208a7a6eb86caf92cae5ed5b7ea0b05b0386c7.tar.bz2 nixlib-22208a7a6eb86caf92cae5ed5b7ea0b05b0386c7.tar.lz nixlib-22208a7a6eb86caf92cae5ed5b7ea0b05b0386c7.tar.xz nixlib-22208a7a6eb86caf92cae5ed5b7ea0b05b0386c7.tar.zst nixlib-22208a7a6eb86caf92cae5ed5b7ea0b05b0386c7.zip |
rich-cli: init at 1.5.1
Diffstat (limited to 'pkgs/misc/rich-cli')
-rw-r--r-- | pkgs/misc/rich-cli/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/misc/rich-cli/default.nix b/pkgs/misc/rich-cli/default.nix new file mode 100644 index 000000000000..e2970bd30bae --- /dev/null +++ b/pkgs/misc/rich-cli/default.nix @@ -0,0 +1,32 @@ +{ lib, python3 }: + +python3.pkgs.buildPythonApplication rec { + pname = "rich-cli"; + version = "1.5.1"; + + src = python3.pkgs.fetchPypi { + inherit pname version; + sha256 = "18qpdaw4drkwq71xikngwaarkjxhfc0nrb1zm36rw31b8dz0ij2k"; + }; + + format = "pyproject"; + + nativeBuildInputs = [ python3.pkgs.poetry-core ]; + + propagatedBuildInputs = with python3.pkgs; [ + rich + click + requests + textual + rich-rst + ]; + + buildInputs = [ python3 ]; + + meta = with lib; { + homepage = "https://github.com/Textualize/rich-cli"; + description = "Command Line Interface to Rich"; + license = licenses.mit; + maintainers = with maintainers; [ jyooru ]; + }; +} |