diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/cl/clamtk/package.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/by-name/cl/clamtk/package.nix b/pkgs/by-name/cl/clamtk/package.nix index 5abe53ddb8c09..c0a62923d224a 100644 --- a/pkgs/by-name/cl/clamtk/package.nix +++ b/pkgs/by-name/cl/clamtk/package.nix @@ -1,7 +1,7 @@ { lib , perlPackages , fetchFromGitHub -, makeWrapper +, wrapGAppsHook , gobject-introspection , perl , clamav @@ -18,7 +18,7 @@ perlPackages.buildPerlPackage rec { hash = "sha256-o6OaXOXLykTUuF/taKnEhZRV04/3nlU5aNY05ANr1Ko="; }; - nativeBuildInputs = [ makeWrapper gobject-introspection ]; + nativeBuildInputs = [ wrapGAppsHook gobject-introspection ]; buildInputs = [ perl clamav ]; propagatedBuildInputs = with perlPackages; [ Glib LWP LWPProtocolHttps TextCSV JSON LocaleGettext Gtk3 ]; @@ -51,11 +51,17 @@ perlPackages.buildPerlPackage rec { install -D images/* -t $out/share/pixmaps install -D clamtk.1.gz -t $out/share/man/man1 install -D -m755 clamtk -t $out/bin - wrapProgram $out/bin/clamtk --prefix PERL5LIB : $PERL5LIB --set GI_TYPELIB_PATH "$GI_TYPELIB_PATH" runHook postInstall ''; + preFixup = '' + gappsWrapperArgs+=( + --prefix PERL5LIB : $PERL5LIB + --set GI_TYPELIB_PATH "$GI_TYPELIB_PATH" + ) + ''; + meta = with lib; { description = '' Easy to use, lightweight front-end for ClamAV (Clam Antivirus). @@ -63,7 +69,7 @@ perlPackages.buildPerlPackage rec { license = licenses.gpl1Plus; homepage = "https://github.com/dave-theunsub/clamtk"; platforms = platforms.linux; - maintainers = with maintainers; [ jgarcia ]; + maintainers = with maintainers; [ jgarcia ShamrockLee ]; }; } |