2016-11-01 13:25:39 +00:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, cmake, pkgconfig, perl
|
|
|
|
, gettext, fuse, openssl, tinyxml2
|
|
|
|
}:
|
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}";
|
2017-09-23 22:50:22 +01:00
|
|
|
version = "1.9.2";
|
2010-11-28 09:59:13 +00:00
|
|
|
|
2015-03-03 03:45:33 +00:00
|
|
|
src = fetchFromGitHub {
|
2017-09-23 22:50:22 +01:00
|
|
|
sha256 = "0isx7n4r8znk02464s0wvlzk6ry5mlnq3kgnd0rapnhjwdvwqr5y";
|
2015-03-03 03:45:33 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
repo = "encfs";
|
|
|
|
owner = "vgough";
|
2010-11-28 09:59:13 +00:00
|
|
|
};
|
|
|
|
|
2016-11-01 13:25:39 +00:00
|
|
|
buildInputs = [ gettext fuse openssl tinyxml2 ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig perl ];
|
2010-11-28 09:59:13 +00:00
|
|
|
|
2016-11-01 13:25:39 +00:00
|
|
|
cmakeFlags =
|
|
|
|
[ "-DUSE_INTERNAL_TINYXML=OFF"
|
|
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
|
|
"-DINSTALL_LIBENCFS=ON"
|
|
|
|
];
|
2010-11-28 09:59:13 +00:00
|
|
|
|
2015-03-03 03:45:33 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-11-01 13:25:39 +00:00
|
|
|
description = "An encrypted filesystem in user-space via FUSE";
|
2015-03-03 03:45:33 +00:00
|
|
|
homepage = https://vgough.github.io/encfs;
|
2016-11-01 13:25:39 +00:00
|
|
|
license = with licenses; [ gpl3 lgpl3 ];
|
2015-03-03 03:45:33 +00:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2010-11-28 09:59:13 +00:00
|
|
|
};
|
|
|
|
}
|