2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
2016-11-01 13:25:39 +00:00
|
|
|
, 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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "encfs";
|
2018-05-01 00:18:09 +01:00
|
|
|
version = "1.9.5";
|
2010-11-28 09:59:13 +00:00
|
|
|
|
2015-03-03 03:45:33 +00:00
|
|
|
src = fetchFromGitHub {
|
2018-05-01 00:18:09 +01:00
|
|
|
sha256 = "099rjb02knr6yz7przlnyj62ic0ag5ncs7vvcc36ikyqrmpqsdch";
|
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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-11-01 13:25:39 +00:00
|
|
|
description = "An encrypted filesystem in user-space via FUSE";
|
2020-04-01 02:11:51 +01: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
|
|
|
};
|
|
|
|
}
|