From b027bb0374d489badcb61b2c6b8459aac43bf5df Mon Sep 17 00:00:00 2001 From: Lin Xianyi Date: Mon, 15 Jan 2024 08:34:48 +0800 Subject: [PATCH] rclip: 1.7.6 -> 1.7.24 --- pkgs/by-name/rc/rclip/package.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/rc/rclip/package.nix b/pkgs/by-name/rc/rclip/package.nix index 072c4ccafa05..938ee211ca89 100644 --- a/pkgs/by-name/rc/rclip/package.nix +++ b/pkgs/by-name/rc/rclip/package.nix @@ -4,14 +4,14 @@ }: python3Packages.buildPythonApplication rec { pname = "rclip"; - version = "1.7.6"; + version = "1.7.24"; pyproject = true; src = fetchFromGitHub { owner = "yurijmikhalevich"; repo = "rclip"; rev = "v${version}"; - hash = "sha256-lWaWq+dcAa/2pONka4xRpixqDuL6iYDF46vCyCmVWwE="; + hash = "sha256-JWtKgvSP7oaPg19vWnnCDfm7P5Uew+v9yuvH7y2eHHM="; }; nativeBuildInputs = with python3Packages; [ @@ -27,7 +27,9 @@ python3Packages.buildPythonApplication rec { tqdm ]; - nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; + nativeCheckInputs = with python3Packages; [ pytestCheckHook pythonRelaxDepsHook ]; + + pythonRelaxDeps = [ "torch" "torchvision" ]; pythonImportsCheck = [ "rclip" ];