summary refs log tree commit diff
path: root/pkgs/tools/filesystems/encfs/default.nix
blob: 211690606efef54f88d74ed391698107813207dc (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
{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
, pkgconfig, rlog }:

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

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

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

  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 ];
  };
}