2021-05-12 10:07:36 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, intltool, libtool, pkg-config
|
2024-04-26 20:24:03 +00:00
|
|
|
, encfs, libsecret , glib , libgee, gtk3, vala, wrapGAppsHook3, xorg
|
2021-05-12 10:07:36 +00:00
|
|
|
, gobject-introspection
|
2016-10-26 14:51:07 +00:00
|
|
|
}:
|
2015-10-27 22:45:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-12 10:07:36 +00:00
|
|
|
version = "1.9";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gnome-encfs-manager";
|
2015-10-27 22:45:57 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-12 10:07:36 +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=";
|
2015-10-27 22:45:57 +00:00
|
|
|
};
|
|
|
|
|
2021-05-12 10:07:36 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
intltool
|
|
|
|
libtool
|
|
|
|
pkg-config
|
|
|
|
vala
|
2024-04-26 20:24:03 +00:00
|
|
|
wrapGAppsHook3
|
2023-06-22 11:49:31 +00:00
|
|
|
gobject-introspection
|
2021-05-12 10:07:36 +00:00
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
encfs
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
xorg.libSM
|
|
|
|
xorg.libICE
|
|
|
|
libsecret
|
|
|
|
];
|
|
|
|
|
|
|
|
# Fix hardcoded paths to /bin/mkdir
|
2015-10-27 22:45:57 +00:00
|
|
|
patches = [ ./makefile-mkdir.patch ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-appindicator" ];
|
|
|
|
|
2021-01-24 09:19:10 +00:00
|
|
|
preFixup = "gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)";
|
2015-10-27 22:45:57 +00:00
|
|
|
|
2017-11-29 10:26:43 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.libertyzero.com/GEncfsM/";
|
|
|
|
downloadPage = "https://launchpad.net/gencfsm/";
|
2015-10-27 22:45:57 +00:00
|
|
|
description = "EncFS manager and mounter with GNOME3 integration";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "gnome-encfs-manager";
|
2015-10-27 22:45:57 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.spacefrogg ];
|
|
|
|
};
|
|
|
|
}
|