about summary refs log tree commit diff
path: root/pkgs/by-name/rc
diff options
context:
space:
mode:
authorLin Xianyi <iynaix@gmail.com>2024-01-15 08:34:48 +0800
committerLin Xianyi <iynaix@gmail.com>2024-01-15 08:34:48 +0800
commitb027bb0374d489badcb61b2c6b8459aac43bf5df (patch)
tree8975ff124e41b1291e6535d10d6dd75b09453a3c /pkgs/by-name/rc
parent500129c8b2739e99e05d56c6757bb6d176c0ca1b (diff)
rclip: 1.7.6 -> 1.7.24
Diffstat (limited to 'pkgs/by-name/rc')
-rw-r--r--pkgs/by-name/rc/rclip/package.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/by-name/rc/rclip/package.nix b/pkgs/by-name/rc/rclip/package.nix
index 072c4ccafa05f..938ee211ca89c 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" ];