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}";
|
2018-02-26 04:48:37 +00:00
|
|
|
version = "1.9.4";
|
2010-11-28 09:59:13 +00:00
|
|
|
|
2015-03-03 03:45:33 +00:00
|
|
|
src = fetchFromGitHub {
|
2018-02-26 04:48:37 +00:00
|
|
|
sha256 = "1hp2l4yk7fsimlrrd6a675vigmyikd323l1n3mybcdng58skj2ag";
|
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 ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = with platforms; linux;
|
2010-11-28 09:59:13 +00:00
|
|
|
};
|
|
|
|
}
|