2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, intltool, libtool, pkg-config
|
|
|
|
, encfs, libsecret , glib , libgee, gtk3, vala, wrapGAppsHook, xorg
|
|
|
|
, gobject-introspection
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "1.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "gnome-encfs-manager";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
url = with lib.versions;
|
|
|
|
"https://launchpad.net/gencfsm/trunk/${major version}.${minor version}/+download/gnome-encfs-manager_${version}.tar.xz";
|
|
|
|
sha256 = "RXVwg/xhfAQv3pWp3UylOhMKDh9ZACTuKM4lPrn1dk8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
intltool
|
|
|
|
libtool
|
|
|
|
pkg-config
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
2023-08-10 07:59:29 +00:00
|
|
|
gobject-introspection
|
2021-05-20 23:08:51 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
encfs
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
xorg.libSM
|
|
|
|
xorg.libICE
|
|
|
|
libsecret
|
|
|
|
];
|
|
|
|
|
|
|
|
# Fix hardcoded paths to /bin/mkdir
|
2020-04-24 23:36:52 +00:00
|
|
|
patches = [ ./makefile-mkdir.patch ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-appindicator" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
preFixup = "gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://www.libertyzero.com/GEncfsM/";
|
|
|
|
downloadPage = "https://launchpad.net/gencfsm/";
|
|
|
|
description = "EncFS manager and mounter with GNOME3 integration";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.spacefrogg ];
|
|
|
|
};
|
|
|
|
}
|