@@ -1,31 +1,34 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
2−, pkgconfig, rlog }:
1+{ stdenv, fetchFromGitHub
2+, cmake, pkgconfig, perl
3+, gettext, fuse, openssl, tinyxml2
4+}:
35
46stdenv.mkDerivation rec {
57 name = "encfs-${version}";
6− version = "1.8.1";
8+ version = "1.9.1";
79
810 src = fetchFromGitHub {
9− sha256 = "1cxihqwpnqbzy8qz0134199pwfnd7ikr2835p5p1yzqnl203wcdb";
11+ sha256 = "1pyldd802db987m13jfmy491mp8mnsv2mwki0ra4wbnngbqgalhv";
1012 rev = "v${version}";
1113 repo = "encfs";
1214 owner = "vgough";
1315 };
1416
15− buildInputs = [ boost fuse openssl rlog ];
16− nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
17+ buildInputs = [ gettext fuse openssl tinyxml2 ];
18+ nativeBuildInputs = [ cmake pkgconfig perl ];
1719
18− configureFlags = [
19− "--with-boost-serialization=boost_wserialization"
20− "--with-boost-filesystem=boost_filesystem"
21− ];
20+ cmakeFlags =
21+ [ "-DUSE_INTERNAL_TINYXML=OFF"
22+ "-DBUILD_SHARED_LIBS=ON"
23+ "-DINSTALL_LIBENCFS=ON"
24+ ];
2225
2326 enableParallelBuilding = true;
2427
2528 meta = with stdenv.lib; {
29+ description = "An encrypted filesystem in user-space via FUSE";
2630 homepage = https://vgough.github.io/encfs;
27− description = "Provides an encrypted filesystem in user-space via FUSE";
28− license = licenses.lgpl2;
31+ license = with licenses; [ gpl3 lgpl3 ];
2932 maintainers = with maintainers; [ nckx ];
3033 platforms = with platforms; linux;
3134 };