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