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
|
|
|
|
2016-01-24 19:31:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-03-03 03:45:33 +00:00
|
|
|
name = "encfs-${version}";
|
2016-01-24 19:31:44 +00:00
|
|
|
version = "1.8.1";
|
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 17:36:06 +00: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 14:21:08 +00:00
|
|
|
description = "Provides an encrypted filesystem in user-space via FUSE";
|
2015-05-28 17:20:29 +00:00
|
|
|
license = licenses.lgpl2;
|
2015-03-03 03:45:33 +00:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2010-11-28 09:59:13 +00:00
|
|
|
};
|
|
|
|
}
|