git.iko.soy/typeable/nixpkgs
on master help sign in
gnome-encfs-manager: init at 1.8.15
commit03b7e8248fcc70025462169b0ffbcd56ac175cae authorMichael Raitza <spacefrogg-github@meterriblecrew.net> dateTue 27 Oct 2015, 22:45 (11 years ago) parente0c5ee3
3 files changed+50
pkgs/tools/security/gencfsm/default.nix+34 pkgs/tools/security/gencfsm/makefile-mkdir.patch+14 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/gencfsm/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, encfs
2+, glib , gnome3, gtk3, libgnome_keyring, vala, wrapGAppsHook, xorg }:
3+
4+stdenv.mkDerivation rec {
5+ version = "1.8.15";
6+ name = "gnome-encfs-manager-${version}";
7+
8+ src = fetchurl {
9+ url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.gz";
10+ sha256 = "1iryli6fgw6a45abkrjacfac7dwjhbrhw652rqf0s183373db0mx";
11+ };
12+
13+ buildInputs = [ autoconf automake intltool libtool pkgconfig vala glib encfs
14+ gtk3 libgnome_keyring gnome3.libgee_1 xorg.libSM xorg.libICE
15+ wrapGAppsHook ];
16+
17+ patches = [ ./makefile-mkdir.patch ];
18+
19+ preConfigure = ''
20+ ./autogen.sh
21+ '';
22+
23+ configureFlags = [ "--disable-appindicator" ];
24+
25+ preFixup = ''gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)'';
26+
27+ meta = with stdenv.lib; {
28+ homepage = http://www.libertyzero.com/GEncfsM/;
29+ description = "EncFS manager and mounter with GNOME3 integration";
30+ license = licenses.gpl2Plus;
31+ platforms = platforms.linux;
32+ maintainers = [ maintainers.spacefrogg ];
33+ };
34+}
pkgs/tools/security/gencfsm/makefile-mkdir.patchnew file+14
@@ -0,0 +1,14 @@
1+--- a/dist/Makefile.am
2++++ b/dist/Makefile.am
3+@@ -10,9 +10,9 @@ install-data-hook:
4+ chmod 0755 $(shell find $(dist) -type d)
5+ chmod 0644 $(shell find $(dist) -type f)
6+ chmod 0755 $(shell find "scripts" -type f)
7+- test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || /bin/mkdir -p "$(DESTDIR)$(datadir)/dbus-1/services/"
8++ test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || $(MKDIR_P) "$(DESTDIR)$(datadir)/dbus-1/services/"
9+ cp "extra/com.libertyzero.gnome-encfs-manager.service" "$(DESTDIR)$(datadir)/dbus-1/services/"
10+- test -z "$(gencfsmdir)" || /bin/mkdir -p "$(gencfsmdir)"
11++ test -z "$(gencfsmdir)" || $(MKDIR_P) "$(gencfsmdir)"
12+ cp --parent -rf $(dist) "$(gencfsmdir)"
13+ cp --parent -rf $(icons) $(DESTDIR)$(datadir)
14+
pkgs/top-level/all-packages.nix+2
@@ -843,6 +843,8 @@ let
843843
844844 fzf = goPackages.fzf.bin // { outputs = [ "bin" ]; };
845845
846+ gencfsm = callPackage ../tools/security/gencfsm { };
847+
846848 gist = callPackage ../tools/text/gist { };
847849
848850 gmic = callPackage ../tools/graphics/gmic { };