Merge pull request #162322 from jyooru/init/python3Packages.rich-cli

rich-cli: init at 1.5.1
This commit is contained in:
Lassulus 2022-04-09 18:31:45 +01:00 committed by GitHub
commit ce1e3ab634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -9438,6 +9438,8 @@ with pkgs;
rekor-cli
rekor-server;
rich-cli = callPackage ../misc/rich-cli { };
richgo = callPackage ../development/tools/richgo { };
rs = callPackage ../tools/text/rs { };