Merge pull request #127964 from Artturin/add-fsearch

fsearch: init at unstable-2021-06-23
This commit is contained in:
Sandro 2021-06-24 12:48:16 +02:00 committed by GitHub
commit 44b3822c78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,58 @@
{ lib
, stdenv
, fetchFromGitHub
, gtk3
, pcre
, glib
, desktop-file-utils
, meson
, ninja
, pkg-config
, wrapGAppsHook
, unstableGitUpdater
, gettext
}:
stdenv.mkDerivation {
pname = "fsearch";
version = "unstable-2021-06-23";
src = fetchFromGitHub {
owner = "cboxdoerfer";
repo = "fsearch";
rev = "9300cc03ab2f0cea3a70abb5477bda8b52c4afd1";
sha256 = "16qh2si48j113yhay5wawr7dvldks6jb32za41j2sng7n4ryw221";
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkg-config
wrapGAppsHook
gettext
];
buildInputs = [
glib
gtk3
pcre
];
preFixup = ''
substituteInPlace $out/share/applications/io.github.cboxdoerfer.FSearch.desktop \
--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";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ artturin ];
platforms = platforms.unix;
};
}

View File

@ -13436,6 +13436,8 @@ in
autoreconfHook = buildPackages.autoreconfHook269;
};
fsearch = callPackage ../tools/misc/fsearch { };
fujprog = callPackage ../development/tools/misc/fujprog {
inherit (darwin.apple_sdk.frameworks) IOKit;
};