summary refs log tree commit diff
path: root/pkgs/tools/filesystems/encfs/default.nix
blob: 158050f6291e87f02e8f437d3e6ca8496b43d9c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
, pkgconfig, rlog }:

stdenv.mkDerivation rec {
  name = "encfs-${version}";
  version = "1.8.1";

  src = fetchFromGitHub {
    sha256 = "1cxihqwpnqbzy8qz0134199pwfnd7ikr2835p5p1yzqnl203wcdb";
    rev = "v${version}";
    repo = "encfs";
    owner = "vgough";
  };

  buildInputs = [ boost fuse openssl rlog ];
  nativeBuildInputs = [ autoreconfHook perl pkgconfig ];

  configureFlags = [
    "--with-boost-serialization=boost_wserialization"
    "--with-boost-filesystem=boost_filesystem"
  ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    homepage = https://vgough.github.io/encfs;
    description = "Provides an encrypted filesystem in user-space via FUSE";
    license = licenses.lgpl2;
    maintainers = with maintainers; [ nckx ];
  };
}