From 9e6bb0d0319583070bcf60bbd30999d1d1cd0137 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Mon, 20 May 2024 13:45:26 -0400 Subject: [PATCH] faiss: 1.7.4 -> 1.8.0 (cherry picked from commit 39dc5d0d768ec5cb51636b449f08fefd96c70745) --- .../libraries/science/math/faiss/default.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkgs/development/libraries/science/math/faiss/default.nix b/pkgs/development/libraries/science/math/faiss/default.nix index ac19356d1a73..3e1b9f1536d0 100644 --- a/pkgs/development/libraries/science/math/faiss/default.nix +++ b/pkgs/development/libraries/science/math/faiss/default.nix @@ -1,7 +1,6 @@ { lib , config , fetchFromGitHub -, fetchpatch2 , stdenv , cmake , cudaPackages ? { } @@ -26,7 +25,7 @@ let pname = "faiss"; - version = "1.7.4"; + version = "1.8.0"; inherit (cudaPackages) flags backendStdenv; @@ -51,18 +50,9 @@ stdenv.mkDerivation { owner = "facebookresearch"; repo = pname; rev = "v${version}"; - hash = "sha256-WSce9X6sLZmGM5F0ZkK54VqpIy8u1VB0e9/l78co29M="; + hash = "sha256-nS8nhkNGGb2oAJKfr/MIAZjAwMxBGbNd16/CkEtv67I="; }; - patches = [ - (fetchpatch2 { - # Replace distutils with packaging for version checks - url = "https://github.com/facebookresearch/faiss/commit/c540e762ca0ecf8f43da0bfc215da148c5cf420e.patch"; - includes = [ "faiss/python/loader.py" ]; - hash = "sha256-yMHAXo0+oDXknSpv1fxUgil3R/WG1+vTLyxvwVR3VtE="; - }) - ]; - postPatch = '' # Remove the following substituteInPlace when updating # to a release that contains change from PR