diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-05-05 12:04:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 12:04:22 +0000 |
commit | 5b965b95d5e1374cb22fe7e427031cc2e109cd70 (patch) | |
tree | c1a9da2a601e9f7d85f112fe85a17bb5a1445f02 /pkgs/misc | |
parent | 375b571b04f43ce6a7eca5e4b6f358601b1cda73 (diff) | |
parent | 21dcccd97d28520d5d22fb545bcdcc72b2cffcd2 (diff) | |
download | nixpkgs-5b965b95d5e1374cb22fe7e427031cc2e109cd70.tar nixpkgs-5b965b95d5e1374cb22fe7e427031cc2e109cd70.tar.gz nixpkgs-5b965b95d5e1374cb22fe7e427031cc2e109cd70.tar.bz2 nixpkgs-5b965b95d5e1374cb22fe7e427031cc2e109cd70.tar.lz nixpkgs-5b965b95d5e1374cb22fe7e427031cc2e109cd70.tar.xz nixpkgs-5b965b95d5e1374cb22fe7e427031cc2e109cd70.tar.zst nixpkgs-5b965b95d5e1374cb22fe7e427031cc2e109cd70.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/rich-cli/default.nix | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/pkgs/misc/rich-cli/default.nix b/pkgs/misc/rich-cli/default.nix index e2970bd30ba..17ea9ffee6e 100644 --- a/pkgs/misc/rich-cli/default.nix +++ b/pkgs/misc/rich-cli/default.nix @@ -1,17 +1,20 @@ -{ lib, python3 }: +{ lib +, python3 +}: python3.pkgs.buildPythonApplication rec { pname = "rich-cli"; - version = "1.5.1"; + version = "1.7.0"; + format = "pyproject"; src = python3.pkgs.fetchPypi { inherit pname version; - sha256 = "18qpdaw4drkwq71xikngwaarkjxhfc0nrb1zm36rw31b8dz0ij2k"; + sha256 = "sha256-fporylec9H+9G2v8D0O32ek7OQs3YRSma1xOpakClqk="; }; - format = "pyproject"; - - nativeBuildInputs = [ python3.pkgs.poetry-core ]; + nativeBuildInputs = with python3.pkgs; [ + poetry-core + ]; propagatedBuildInputs = with python3.pkgs; [ rich @@ -21,11 +24,18 @@ python3.pkgs.buildPythonApplication rec { rich-rst ]; - buildInputs = [ python3 ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'rich = "^12.3.0"' 'rich = "*"' + ''; + + pythonImportsCheck = [ + "rich_cli" + ]; meta = with lib; { - homepage = "https://github.com/Textualize/rich-cli"; description = "Command Line Interface to Rich"; + homepage = "https://github.com/Textualize/rich-cli"; license = licenses.mit; maintainers = with maintainers; [ jyooru ]; }; |