2015-03-02 19:45:33 -08:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
|
|
|
|
, pkgconfig, rlog }:
|
2010-11-28 01:59:13 -08:00
|
|
|
|
2015-03-25 16:16:39 -07:00
|
|
|
let version = "1.8.1"; in
|
2015-07-30 09:00:14 -07:00
|
|
|
stdenv.mkDerivation {
|
2015-03-02 19:45:33 -08:00
|
|
|
name = "encfs-${version}";
|
2010-11-28 01:59:13 -08:00
|
|
|
|
2015-03-02 19:45:33 -08:00
|
|
|
src = fetchFromGitHub {
|
2015-03-25 16:16:39 -07:00
|
|
|
sha256 = "1cxihqwpnqbzy8qz0134199pwfnd7ikr2835p5p1yzqnl203wcdb";
|
2015-03-02 19:45:33 -08:00
|
|
|
rev = "v${version}";
|
|
|
|
repo = "encfs";
|
|
|
|
owner = "vgough";
|
2010-11-28 01:59:13 -08:00
|
|
|
};
|
|
|
|
|
2015-06-17 10:36:06 -07:00
|
|
|
buildInputs = [ boost fuse openssl rlog ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
|
2010-11-28 01:59:13 -08:00
|
|
|
|
2015-03-02 19:45:33 -08:00
|
|
|
configureFlags = [
|
|
|
|
"--with-boost-serialization=boost_wserialization"
|
|
|
|
"--with-boost-filesystem=boost_filesystem"
|
|
|
|
];
|
2010-11-28 01:59:13 -08:00
|
|
|
|
2015-03-02 19:45:33 -08:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://vgough.github.io/encfs;
|
2014-08-24 07:21:08 -07:00
|
|
|
description = "Provides an encrypted filesystem in user-space via FUSE";
|
2015-05-28 10:20:29 -07:00
|
|
|
license = licenses.lgpl2;
|
2015-03-02 19:45:33 -08:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2010-11-28 01:59:13 -08:00
|
|
|
};
|
|
|
|
}
|