forked from mirrors/nixpkgs
gnome-encfs-manager: init at 1.8.15
This commit is contained in:
parent
e0c5ee37db
commit
03b7e8248f
34
pkgs/tools/security/gencfsm/default.nix
Normal file
34
pkgs/tools/security/gencfsm/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
14
pkgs/tools/security/gencfsm/makefile-mkdir.patch
Normal file
14
pkgs/tools/security/gencfsm/makefile-mkdir.patch
Normal file
|
@ -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)
|
||||
|
|
@ -843,6 +843,8 @@ let
|
|||
|
||||
fzf = goPackages.fzf.bin // { outputs = [ "bin" ]; };
|
||||
|
||||
gencfsm = callPackage ../tools/security/gencfsm { };
|
||||
|
||||
gist = callPackage ../tools/text/gist { };
|
||||
|
||||
gmic = callPackage ../tools/graphics/gmic { };
|
||||
|
|
Loading…
Reference in a new issue