1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/tools/security/gencfsm/default.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2021-05-12 11:07:36 +01:00
{ lib, stdenv, fetchurl, autoconf, automake, intltool, libtool, pkg-config
, encfs, libsecret , glib , libgee, gtk3, vala, wrapGAppsHook, xorg
, gobject-introspection
}:
2015-10-27 22:45:57 +00:00
stdenv.mkDerivation rec {
2021-05-12 11:07:36 +01:00
version = "1.9";
pname = "gnome-encfs-manager";
2015-10-27 22:45:57 +00:00
src = fetchurl {
2021-05-12 11:07:36 +01: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 11:07:36 +01:00
nativeBuildInputs = [
autoconf
automake
intltool
libtool
pkg-config
vala
wrapGAppsHook
];
buildInputs = [
glib
encfs
gtk3
libgee
xorg.libSM
xorg.libICE
gobject-introspection
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" ];
preFixup = "gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)";
2015-10-27 22:45:57 +00:00
2017-11-29 10:26:43 +00:00
enableParallelBuilding = true;
meta = with lib; {
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";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.spacefrogg ];
};
}