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 {
|
2015-03-03 04:45:33 +01:00
|
|
|
name = "encfs-${version}";
|
2016-11-01 14:25:39 +01:00
|
|
|
version = "1.9.1";
|
2010-11-28 10:59:13 +01:00
|
|
|
|
2015-03-03 04:45:33 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-11-01 14:25:39 +01:00
|
|
|
sha256 = "1pyldd802db987m13jfmy491mp8mnsv2mwki0ra4wbnngbqgalhv";
|
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 ];
|
2015-03-03 04:45:33 +01:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2010-11-28 10:59:13 +01:00
|
|
|
};
|
|
|
|
}
|