Merge pull request #309457 from r-ryantm/auto-update/python311Packages.rich-rst

python311Packages.rich-rst: 1.3.0 -> 1.3.1

authored by Fabian Affolter and committed by GitHub d98f58ed c0eebfae

+30 -45
+2 -2
pkgs/development/python-modules/rich-rst/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "rich-rst"; 13 - version = "1.3.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "wasi-master"; 18 repo = "rich-rst"; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-A3SPbu1N5X55c32S8z8UPpmniJT+mdqfb1+zQEJMA5k="; 21 }; 22 23 build-system = [ setuptools ];
··· 10 11 buildPythonPackage rec { 12 pname = "rich-rst"; 13 + version = "1.3.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "wasi-master"; 18 repo = "rich-rst"; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-jbzGTEth5Qoc0ORFCS3sZMrGUpoQQOVsd+l3/zMWy20="; 21 }; 22 23 build-system = [ setuptools ];
+28 -43
pkgs/misc/rich-cli/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 , python3 4 }: 5 6 - let 7 - py = python3.override { 8 - packageOverrides = final: prev: { 9 - rich = prev.rich.overridePythonAttrs (old: rec { 10 - version = "12.4.0"; 11 - src = fetchFromGitHub { 12 - owner = "Textualize"; 13 - repo = "rich"; 14 - rev = "refs/tags/v12.4.0"; 15 - hash = "sha256-ryJTusUNpvNF2031ICJWK8ScxHIh+LrXYg7nd0ph4aQ="; 16 - }; 17 - propagatedBuildInputs = with py.pkgs; [ 18 - commonmark 19 - pygments 20 - ]; 21 - doCheck = false; 22 - }); 23 - 24 - textual = prev.textual.overridePythonAttrs (old: rec { 25 - version = "0.1.18"; 26 - src = fetchFromGitHub { 27 - owner = "Textualize"; 28 - repo = "textual"; 29 - rev = "refs/tags/v0.1.18"; 30 - hash = "sha256-XVmbt8r5HL8r64ISdJozmM+9HuyvqbpdejWICzFnfiw="; 31 - }; 32 - doCheck = false; 33 - }); 34 - }; 35 - }; 36 - in 37 - 38 python3.pkgs.buildPythonApplication rec { 39 pname = "rich-cli"; 40 version = "1.8.0"; 41 - format = "pyproject"; 42 43 src = fetchFromGitHub { 44 owner = "Textualize"; 45 - repo = pname; 46 rev = "refs/tags/v${version}"; 47 hash = "sha256-mV5b/J9wX9niiYtlmAUouaAm9mY2zTtDmex7FNWcezQ="; 48 }; 49 50 - postPatch = '' 51 - substituteInPlace pyproject.toml \ 52 - --replace 'rich = "^12.4.0"' 'rich = "*"' \ 53 - --replace 'textual = "^0.1.18"' 'textual = "*"' 54 - ''; 55 56 - nativeBuildInputs = with py.pkgs; [ 57 poetry-core 58 ]; 59 60 - propagatedBuildInputs = with py.pkgs; [ 61 - rich 62 click 63 requests 64 - textual 65 rich-rst 66 ]; 67 68 pythonImportsCheck = [
··· 1 { lib 2 , fetchFromGitHub 3 + , fetchpatch 4 , python3 5 }: 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "rich-cli"; 9 version = "1.8.0"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "Textualize"; 14 + repo = "rich-cli"; 15 rev = "refs/tags/v${version}"; 16 hash = "sha256-mV5b/J9wX9niiYtlmAUouaAm9mY2zTtDmex7FNWcezQ="; 17 }; 18 19 + patches = [ 20 + # Update dependencies, https://github.com/Textualize/rich-cli/pull/94 21 + (fetchpatch { 22 + name = "update-dependencies.patch"; 23 + url = "https://github.com/Textualize/rich-cli/pull/94/commits/1e9a11af7c1c78a5a44a207b1e0dce4c4b3c39f0.patch"; 24 + hash = "sha256-cU+s/LK2GDVWXLZob0n5J6sLjflCr8w10hRLgeWN5Vg="; 25 + }) 26 + (fetchpatch { 27 + name = "markdown.patch"; 28 + url = "https://github.com/Textualize/rich-cli/pull/94/commits/0a8e77d724ace88ce88ee9d68a46b1dc8464fe0b.patch"; 29 + hash = "sha256-KXvRG36Qj5kCj1RiAJsNkoJY7t41zUfJFgHeCtc0O4w="; 30 + }) 31 + ]; 32 + 33 + pythonRelaxDeps = [ 34 + "textual" 35 + ]; 36 37 + build-system = with python3.pkgs; [ 38 poetry-core 39 ]; 40 41 + nativeBuildInputs = with python3.pkgs; [ 42 + pythonRelaxDepsHook 43 + ]; 44 + 45 + dependencies = with python3.pkgs; [ 46 click 47 requests 48 + rich 49 rich-rst 50 + textual 51 ]; 52 53 pythonImportsCheck = [