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