Merge pull request #20057 from joachifm/encfs

encfs: 1.8.1 -> 1.9.1
This commit is contained in:
Tim Steinbach 2016-11-01 11:17:16 -04:00 committed by GitHub
commit ba9c422caa
3 changed files with 31 additions and 19 deletions

View File

@ -1,15 +1,22 @@
{ stdenv, fetchurl, cmake }:
let version = "3.0.0";
in stdenv.mkDerivation rec {
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "tinyxml-2-${version}";
src = fetchurl {
url = "https://github.com/leethomason/tinyxml2/archive/${version}.tar.gz";
sha256 = "0ispg7ngkry8vhzzawbq42y8gkj53xjipkycw0rkhh487ras32hj";
version = "4.0.1";
src = fetchFromGitHub {
repo = "tinyxml2";
owner = "leethomason";
rev = version;
sha256 = "1a0skfi8rzk53qcxbv88qlvhlqzvsvg4hm20dnx4zw7vrn6anr9y";
};
nativeBuildInputs = [ cmake ];
meta = {
description = "A simple, small, efficient, C++ XML parser";
homepage = http://www.grinninglizard.com/tinyxml2/index.html;
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.zlib;
};
}

View File

@ -1,31 +1,34 @@
{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
, pkgconfig, rlog }:
{ stdenv, fetchFromGitHub
, cmake, pkgconfig, perl
, gettext, fuse, openssl, tinyxml2
}:
stdenv.mkDerivation rec {
name = "encfs-${version}";
version = "1.8.1";
version = "1.9.1";
src = fetchFromGitHub {
sha256 = "1cxihqwpnqbzy8qz0134199pwfnd7ikr2835p5p1yzqnl203wcdb";
sha256 = "1pyldd802db987m13jfmy491mp8mnsv2mwki0ra4wbnngbqgalhv";
rev = "v${version}";
repo = "encfs";
owner = "vgough";
};
buildInputs = [ boost fuse openssl rlog ];
nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
buildInputs = [ gettext fuse openssl tinyxml2 ];
nativeBuildInputs = [ cmake pkgconfig perl ];
configureFlags = [
"--with-boost-serialization=boost_wserialization"
"--with-boost-filesystem=boost_filesystem"
cmakeFlags =
[ "-DUSE_INTERNAL_TINYXML=OFF"
"-DBUILD_SHARED_LIBS=ON"
"-DINSTALL_LIBENCFS=ON"
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "An encrypted filesystem in user-space via FUSE";
homepage = https://vgough.github.io/encfs;
description = "Provides an encrypted filesystem in user-space via FUSE";
license = licenses.lgpl2;
license = with licenses; [ gpl3 lgpl3 ];
maintainers = with maintainers; [ nckx ];
platforms = with platforms; linux;
};

View File

@ -1517,7 +1517,9 @@ in
enblend-enfuse = callPackage ../tools/graphics/enblend-enfuse { };
encfs = callPackage ../tools/filesystems/encfs { };
encfs = callPackage ../tools/filesystems/encfs {
tinyxml2 = tinyxml-2;
};
enscript = callPackage ../tools/text/enscript { };