2016-11-01 14:25:39 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
|
|
|
, cmake, pkgconfig, perl
|
|
|
|
, gettext, fuse, openssl, tinyxml2
|
|
|
|
}:
|
2010-11-28 10:59:13 +01:00
|
|
|
|
2016-01-24 20:31:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "encfs";
|
2018-05-01 01:18:09 +02:00
|
|
|
version = "1.9.5";
|
2010-11-28 10:59:13 +01:00
|
|
|
|
2015-03-03 04:45:33 +01:00
|
|
|
src = fetchFromGitHub {
|
2018-05-01 01:18:09 +02:00
|
|
|
sha256 = "099rjb02knr6yz7przlnyj62ic0ag5ncs7vvcc36ikyqrmpqsdch";
|
2015-03-03 04:45:33 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
repo = "encfs";
|
|
|
|
owner = "vgough";
|
2010-11-28 10:59:13 +01:00
|
|
|
};
|
|
|
|
|
2016-11-01 14:25:39 +01:00
|
|
|
buildInputs = [ gettext fuse openssl tinyxml2 ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig perl ];
|
2010-11-28 10:59:13 +01:00
|
|
|
|
2016-11-01 14:25:39 +01:00
|
|
|
cmakeFlags =
|
|
|
|
[ "-DUSE_INTERNAL_TINYXML=OFF"
|
|
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
|
|
"-DINSTALL_LIBENCFS=ON"
|
|
|
|
];
|
2010-11-28 10:59:13 +01:00
|
|
|
|
2015-03-03 04:45:33 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-11-01 14:25:39 +01:00
|
|
|
description = "An encrypted filesystem in user-space via FUSE";
|
2015-03-03 04:45:33 +01:00
|
|
|
homepage = https://vgough.github.io/encfs;
|
2016-11-01 14:25:39 +01:00
|
|
|
license = with licenses; [ gpl3 lgpl3 ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2010-11-28 10:59:13 +01:00
|
|
|
};
|
|
|
|
}
|