11 version = "unstable-2015-05-06";
13 src = fetchFromGitHub {
16 rev = "e7a9bf8cfa9166668fe1514cc1afd31fc4e10e9a";
17 hash = "sha256-a3YQWxJ7+bYhf1W1kdIykV8U1R4dcDZJ7K3NvNxbF0s=";
20 # autoconf's AC_CHECK_HEADERS and AC_CHECK_LIBS fail to detect libfuse on
21 # Darwin if FUSE_USE_VERSION isn't set at configure time.
23 # NOTE: Make sure the value of FUSE_USE_VERSION specified here matches the
24 # actual version used in the source code:
26 # $ tar xf "$(nix-build -A aefs.src)"
27 # $ grep -R FUSE_USE_VERSION
28 configureFlags = lib.optional stdenv.isDarwin "CPPFLAGS=-DFUSE_USE_VERSION=26";
30 nativeBuildInputs = [ autoreconfHook git ];
32 buildInputs = [ fuse ];
35 homepage = "https://github.com/edolstra/aefs";
36 description = "A cryptographic filesystem implemented in userspace using FUSE";
37 maintainers = [ maintainers.eelco ];
38 license = licenses.gpl2Plus;
39 platforms = platforms.unix;
40 broken = stdenv.isDarwin;