diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2022-05-05 08:07:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 08:07:53 +0200 |
commit | 39cdd05c72d14bb532e2ae27c27df726e4ad294d (patch) | |
tree | 65817236fb49e93b3ad886672a204d0be7aeba02 /pkgs/misc | |
parent | 2fb40c0badd38eb03808314bd1b7766d30cc43d9 (diff) | |
parent | 2efd1090cf5931bd2e0f328713919ca4bc8adad7 (diff) | |
download | nixpkgs-39cdd05c72d14bb532e2ae27c27df726e4ad294d.tar nixpkgs-39cdd05c72d14bb532e2ae27c27df726e4ad294d.tar.gz nixpkgs-39cdd05c72d14bb532e2ae27c27df726e4ad294d.tar.bz2 nixpkgs-39cdd05c72d14bb532e2ae27c27df726e4ad294d.tar.lz nixpkgs-39cdd05c72d14bb532e2ae27c27df726e4ad294d.tar.xz nixpkgs-39cdd05c72d14bb532e2ae27c27df726e4ad294d.tar.zst nixpkgs-39cdd05c72d14bb532e2ae27c27df726e4ad294d.zip |
Merge pull request #171533 from fabaff/textual-bump
python310Packages.textual: 0.1.15 -> 0.1.18, rich-cli: 1.5.1 -> 1.7.0
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 ]; }; |