21f17d69f6
Build-tested on x86_64 Linux & Mac.
32 lines
876 B
Nix
32 lines
876 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
|
|
, pkgconfig, rlog }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "encfs-${version}";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1cxihqwpnqbzy8qz0134199pwfnd7ikr2835p5p1yzqnl203wcdb";
|
|
rev = "v${version}";
|
|
repo = "encfs";
|
|
owner = "vgough";
|
|
};
|
|
|
|
buildInputs = [ boost fuse openssl rlog ];
|
|
nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
|
|
|
|
configureFlags = [
|
|
"--with-boost-serialization=boost_wserialization"
|
|
"--with-boost-filesystem=boost_filesystem"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://vgough.github.io/encfs;
|
|
description = "Provides an encrypted filesystem in user-space via FUSE";
|
|
license = licenses.lgpl2;
|
|
maintainers = with maintainers; [ nckx ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|