about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/rc/rclip/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/rc/rclip/package.nix')
-rw-r--r--nixpkgs/pkgs/by-name/rc/rclip/package.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/by-name/rc/rclip/package.nix b/nixpkgs/pkgs/by-name/rc/rclip/package.nix
index 072c4ccafa05..938ee211ca89 100644
--- a/nixpkgs/pkgs/by-name/rc/rclip/package.nix
+++ b/nixpkgs/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" ];