summary refs log tree commit diff
path: root/pkgs/tools/filesystems/encfs/default.nix
blob: 0e71f8f9c2bc537013b78ad14d2b26f28e56680a (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-rc1"; in
stdenv.mkDerivation rec {
  name = "encfs-${version}";

  src = fetchFromGitHub {
    sha256 = "17a09pg7752nlbgm2nmrwhm90kv2z3dj20xs79qvvr6x7rdgzck8";
    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 = with licenses; lgpl;
    maintainers = with maintainers; [ nckx ];
  };
}