Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, autoconf, automake, intltool, libtool, pkg-config 2, encfs, libsecret , glib , libgee, gtk3, vala, wrapGAppsHook, xorg 3, gobject-introspection 4}: 5 6stdenv.mkDerivation rec { 7 version = "1.9"; 8 pname = "gnome-encfs-manager"; 9 10 src = fetchurl { 11 url = with lib.versions; 12 "https://launchpad.net/gencfsm/trunk/${major version}.${minor version}/+download/gnome-encfs-manager_${version}.tar.xz"; 13 sha256 = "RXVwg/xhfAQv3pWp3UylOhMKDh9ZACTuKM4lPrn1dk8="; 14 }; 15 16 nativeBuildInputs = [ 17 autoconf 18 automake 19 intltool 20 libtool 21 pkg-config 22 vala 23 wrapGAppsHook 24 ]; 25 buildInputs = [ 26 glib 27 encfs 28 gtk3 29 libgee 30 xorg.libSM 31 xorg.libICE 32 gobject-introspection 33 libsecret 34 ]; 35 36 # Fix hardcoded paths to /bin/mkdir 37 patches = [ ./makefile-mkdir.patch ]; 38 39 preConfigure = '' 40 ./autogen.sh 41 ''; 42 43 configureFlags = [ "--disable-appindicator" ]; 44 45 preFixup = "gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)"; 46 47 enableParallelBuilding = true; 48 49 meta = with lib; { 50 homepage = "http://www.libertyzero.com/GEncfsM/"; 51 downloadPage = "https://launchpad.net/gencfsm/"; 52 description = "EncFS manager and mounter with GNOME3 integration"; 53 license = licenses.gpl2Plus; 54 platforms = platforms.linux; 55 maintainers = [ maintainers.spacefrogg ]; 56 }; 57}