nixpkgs/pkgs/tools/security/gencfsm/default.nix

38 lines
1.1 KiB
Nix

{ stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, encfs
, glib , gnome3, gtk3, libgnome_keyring, vala_0_23, wrapGAppsHook, xorg
, libgee_0_6
}:
stdenv.mkDerivation rec {
version = "1.8.16";
name = "gnome-encfs-manager-${version}";
src = fetchurl {
url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.gz";
sha256 = "06sz6zcmvxkqww5gx4brcqs4hlpy9d8sal9nmw0pdsvh8k5vmpgn";
};
buildInputs = [ autoconf automake intltool libtool pkgconfig vala_0_23 glib encfs
gtk3 libgnome_keyring libgee_0_6 xorg.libSM xorg.libICE
wrapGAppsHook ];
patches = [ ./makefile-mkdir.patch ];
preConfigure = ''
./autogen.sh
'';
configureFlags = [ "--disable-appindicator" ];
preFixup = ''gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)'';
meta = with stdenv.lib; {
homepage = http://www.libertyzero.com/GEncfsM/;
description = "EncFS manager and mounter with GNOME3 integration";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.spacefrogg ];
broken = true;
};
}