diff options
author | Michael Raitza <spacefrogg-github@meterriblecrew.net> | 2015-10-27 22:45:57 +0000 |
---|---|---|
committer | Michael Raitza <spacefrogg-github@meterriblecrew.net> | 2015-11-03 19:05:12 +0100 |
commit | 03b7e8248fcc70025462169b0ffbcd56ac175cae (patch) | |
tree | e023023543a3dabad4d41eaf41fd68e07782769a /pkgs/tools/security/gencfsm | |
parent | e0c5ee37db0abc8379c25c14ea56309fe39283cb (diff) |
gnome-encfs-manager: init at 1.8.15
Diffstat (limited to 'pkgs/tools/security/gencfsm')
-rw-r--r-- | pkgs/tools/security/gencfsm/default.nix | 34 | ||||
-rw-r--r-- | pkgs/tools/security/gencfsm/makefile-mkdir.patch | 14 |
2 files changed, 48 insertions, 0 deletions
diff --git a/pkgs/tools/security/gencfsm/default.nix b/pkgs/tools/security/gencfsm/default.nix new file mode 100644 index 000000000000..ff55411f32a5 --- /dev/null +++ b/pkgs/tools/security/gencfsm/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, encfs +, glib , gnome3, gtk3, libgnome_keyring, vala, wrapGAppsHook, xorg }: + +stdenv.mkDerivation rec { + version = "1.8.15"; + name = "gnome-encfs-manager-${version}"; + + src = fetchurl { + url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.gz"; + sha256 = "1iryli6fgw6a45abkrjacfac7dwjhbrhw652rqf0s183373db0mx"; + }; + + buildInputs = [ autoconf automake intltool libtool pkgconfig vala glib encfs + gtk3 libgnome_keyring gnome3.libgee_1 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 ]; + }; +} diff --git a/pkgs/tools/security/gencfsm/makefile-mkdir.patch b/pkgs/tools/security/gencfsm/makefile-mkdir.patch new file mode 100644 index 000000000000..49c7b0b4d9d1 --- /dev/null +++ b/pkgs/tools/security/gencfsm/makefile-mkdir.patch @@ -0,0 +1,14 @@ +--- a/dist/Makefile.am ++++ b/dist/Makefile.am +@@ -10,9 +10,9 @@ install-data-hook: + chmod 0755 $(shell find $(dist) -type d) + chmod 0644 $(shell find $(dist) -type f) + chmod 0755 $(shell find "scripts" -type f) +- test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || /bin/mkdir -p "$(DESTDIR)$(datadir)/dbus-1/services/" ++ test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || $(MKDIR_P) "$(DESTDIR)$(datadir)/dbus-1/services/" + cp "extra/com.libertyzero.gnome-encfs-manager.service" "$(DESTDIR)$(datadir)/dbus-1/services/" +- test -z "$(gencfsmdir)" || /bin/mkdir -p "$(gencfsmdir)" ++ test -z "$(gencfsmdir)" || $(MKDIR_P) "$(gencfsmdir)" + cp --parent -rf $(dist) "$(gencfsmdir)" + cp --parent -rf $(icons) $(DESTDIR)$(datadir) + |