about summary refs log tree commit diff
path: root/pkgs/tools/misc/fsearch/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/fsearch/default.nix')
-rw-r--r--pkgs/tools/misc/fsearch/default.nix21
1 files changed, 9 insertions, 12 deletions
diff --git a/pkgs/tools/misc/fsearch/default.nix b/pkgs/tools/misc/fsearch/default.nix
index a7b95f3efa632..6af61b1223376 100644
--- a/pkgs/tools/misc/fsearch/default.nix
+++ b/pkgs/tools/misc/fsearch/default.nix
@@ -2,26 +2,26 @@
 , stdenv
 , fetchFromGitHub
 , gtk3
-, pcre
+, pcre2
 , glib
 , desktop-file-utils
 , meson
 , ninja
 , pkg-config
 , wrapGAppsHook
-, unstableGitUpdater
 , gettext
+, icu
 }:
 
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
   pname = "fsearch";
-  version = "unstable-2021-06-23";
+  version = "0.2.2";
 
   src = fetchFromGitHub {
     owner = "cboxdoerfer";
-    repo = "fsearch";
-    rev = "9300cc03ab2f0cea3a70abb5477bda8b52c4afd1";
-    sha256 = "16qh2si48j113yhay5wawr7dvldks6jb32za41j2sng7n4ryw221";
+    repo = pname;
+    rev = version;
+    hash = "sha256-1nu6J5eHVpPHGXcFKHSnUhAJccxABBht5H2bpBx42og=";
   };
 
   nativeBuildInputs = [
@@ -36,7 +36,8 @@ stdenv.mkDerivation {
   buildInputs = [
     glib
     gtk3
-    pcre
+    pcre2
+    icu
   ];
 
   preFixup = ''
@@ -44,10 +45,6 @@ stdenv.mkDerivation {
       --replace "Exec=fsearch" "Exec=$out/bin/fsearch"
   '';
 
-  passthru.updateScript = unstableGitUpdater {
-    url = "https://github.com/cboxdoerfer/fsearch.git";
-  };
-
   meta = with lib; {
     description = "A fast file search utility for Unix-like systems based on GTK+3";
     homepage = "https://github.com/cboxdoerfer/fsearch.git";