rich-cli: fix build

+19 -11
+19 -11
pkgs/by-name/ri/rich-cli/package.nix
··· 1 { 2 lib, 3 fetchFromGitHub, 4 fetchpatch, 5 - python3, 6 }: 7 8 - python3.pkgs.buildPythonApplication rec { 9 pname = "rich-cli"; 10 version = "1.8.0"; 11 pyproject = true; ··· 32 ]; 33 34 pythonRelaxDeps = [ 35 "textual" 36 ]; 37 38 - build-system = with python3.pkgs; [ 39 poetry-core 40 ]; 41 42 - nativeBuildInputs = with python3.pkgs; [ 43 - ]; 44 - 45 - dependencies = with python3.pkgs; [ 46 click 47 requests 48 rich ··· 50 textual 51 ]; 52 53 - pythonImportsCheck = [ 54 - "rich_cli" 55 ]; 56 57 - meta = with lib; { 58 description = "Command Line Interface to Rich"; 59 homepage = "https://github.com/Textualize/rich-cli"; 60 changelog = "https://github.com/Textualize/rich-cli/releases/tag/v${version}"; 61 - license = licenses.mit; 62 maintainers = [ ]; 63 mainProgram = "rich"; 64 };
··· 1 { 2 lib, 3 + python3Packages, 4 fetchFromGitHub, 5 fetchpatch, 6 + versionCheckHook, 7 + nix-update-script, 8 }: 9 10 + python3Packages.buildPythonApplication rec { 11 pname = "rich-cli"; 12 version = "1.8.0"; 13 pyproject = true; ··· 34 ]; 35 36 pythonRelaxDeps = [ 37 + "rich" 38 "textual" 39 ]; 40 41 + build-system = with python3Packages; [ 42 poetry-core 43 ]; 44 45 + dependencies = with python3Packages; [ 46 click 47 requests 48 rich ··· 50 textual 51 ]; 52 53 + pythonImportsCheck = [ "rich_cli" ]; 54 + 55 + nativeCheckInputs = [ 56 + versionCheckHook 57 ]; 58 + versionCheckProgram = "${placeholder "out"}/bin/rich"; 59 + versionCheckProgramArg = "--version"; 60 61 + passthru = { 62 + updateScript = nix-update-script { }; 63 + }; 64 + 65 + meta = { 66 description = "Command Line Interface to Rich"; 67 homepage = "https://github.com/Textualize/rich-cli"; 68 changelog = "https://github.com/Textualize/rich-cli/releases/tag/v${version}"; 69 + license = lib.licenses.mit; 70 maintainers = [ ]; 71 mainProgram = "rich"; 72 };