depot/third_party/nixpkgs/pkgs/misc/rich-cli/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

32 lines
671 B
Nix

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