nixpkgs/pkgs/tools/security/gencfsm/default.nix
Jan Tojnar eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00

59 lines
1.3 KiB
Nix

{ lib, stdenv, fetchurl, autoconf, automake, intltool, libtool, pkg-config
, encfs, libsecret , glib , libgee, gtk3, vala, wrapGAppsHook3, xorg
, gobject-introspection
}:
stdenv.mkDerivation rec {
version = "1.9";
pname = "gnome-encfs-manager";
src = fetchurl {
url = with lib.versions;
"https://launchpad.net/gencfsm/trunk/${major version}.${minor version}/+download/gnome-encfs-manager_${version}.tar.xz";
sha256 = "RXVwg/xhfAQv3pWp3UylOhMKDh9ZACTuKM4lPrn1dk8=";
};
nativeBuildInputs = [
autoconf
automake
intltool
libtool
pkg-config
vala
wrapGAppsHook3
gobject-introspection
];
buildInputs = [
glib
encfs
gtk3
libgee
xorg.libSM
xorg.libICE
libsecret
];
# Fix hardcoded paths to /bin/mkdir
patches = [ ./makefile-mkdir.patch ];
preConfigure = ''
./autogen.sh
'';
configureFlags = [ "--disable-appindicator" ];
preFixup = "gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)";
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://www.libertyzero.com/GEncfsM/";
downloadPage = "https://launchpad.net/gencfsm/";
description = "EncFS manager and mounter with GNOME3 integration";
mainProgram = "gnome-encfs-manager";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.spacefrogg ];
};
}