Files
nixpkgs/pkgs/by-name/ge/gencfsm/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

80 lines
1.6 KiB
Nix

{
lib,
stdenv,
fetchurl,
autoconf,
automake,
intltool,
libtool,
pkg-config,
encfs,
libsecret,
glib,
libgee,
gtk3,
vala,
wrapGAppsHook3,
xorg,
gobject-introspection,
}:
stdenv.mkDerivation rec {
version = "1.9";
pname = "gnome-encfs-manager";
src = fetchurl {
url =
with lib.versions;
"https://launchpad.net/gencfsm/trunk/${major version}.${minor version}/+download/gnome-encfs-manager_${version}.tar.xz";
sha256 = "RXVwg/xhfAQv3pWp3UylOhMKDh9ZACTuKM4lPrn1dk8=";
};
env.NIX_CFLAGS_COMPILE = toString [
# tools.c:38:5: error: implicit declaration of function 'gnome_encfs_manager_on_logout' []
"-Wno-implicit-function-declaration"
];
nativeBuildInputs = [
autoconf
automake
intltool
libtool
pkg-config
vala
wrapGAppsHook3
gobject-introspection
];
buildInputs = [
glib
encfs
gtk3
libgee
xorg.libSM
xorg.libICE
libsecret
];
# Fix hardcoded paths to /bin/mkdir
patches = [ ./makefile-mkdir.patch ];
preConfigure = ''
./autogen.sh
'';
configureFlags = [ "--disable-appindicator" ];
preFixup = "gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)";
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://www.libertyzero.com/GEncfsM/";
downloadPage = "https://launchpad.net/gencfsm/";
description = "EncFS manager and mounter with GNOME3 integration";
mainProgram = "gnome-encfs-manager";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.spacefrogg ];
};
}