nixpkgs/pkgs/tools/filesystems/aefs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, fuse
, git
}:
2018-08-19 08:33:45 +00:00
stdenv.mkDerivation {
pname = "aefs";
version = "unstable-2015-05-06";
2018-08-19 08:33:45 +00:00
src = fetchFromGitHub {
owner = "edolstra";
repo = "aefs";
rev = "e7a9bf8cfa9166668fe1514cc1afd31fc4e10e9a";
hash = "sha256-a3YQWxJ7+bYhf1W1kdIykV8U1R4dcDZJ7K3NvNxbF0s=";
};
2021-03-27 07:03:18 +00:00
# autoconf's AC_CHECK_HEADERS and AC_CHECK_LIBS fail to detect libfuse on
# Darwin if FUSE_USE_VERSION isn't set at configure time.
#
# NOTE: Make sure the value of FUSE_USE_VERSION specified here matches the
# actual version used in the source code:
#
# $ tar xf "$(nix-build -A aefs.src)"
# $ grep -R FUSE_USE_VERSION
configureFlags = lib.optional stdenv.isDarwin "CPPFLAGS=-DFUSE_USE_VERSION=26";
nativeBuildInputs = [ autoreconfHook git ];
buildInputs = [ fuse ];
meta = with lib; {
homepage = "https://github.com/edolstra/aefs";
description = "Cryptographic filesystem implemented in userspace using FUSE";
2018-08-19 08:33:45 +00:00
maintainers = [ maintainers.eelco ];
license = licenses.gpl2Plus;
platforms = platforms.unix;
2022-08-11 23:31:33 +00:00
broken = stdenv.isDarwin;
};
}