2023-04-29 16:46:19 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
2020-04-24 23:36:52 +00:00
|
|
|
, cmake
|
2023-04-29 16:46:19 +00:00
|
|
|
, fuse
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "securefs";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.13.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "netheril96";
|
2023-04-29 16:46:19 +00:00
|
|
|
repo = "securefs";
|
|
|
|
rev = version;
|
2020-09-25 04:45:31 +00:00
|
|
|
fetchSubmodules = true;
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-7xjGuN7jcLgfGkaBoSj+WsBpM806PPGzeBs7DnI+fwc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ fuse ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Transparent encryption filesystem";
|
|
|
|
longDescription = ''
|
|
|
|
Securefs is a filesystem in userspace (FUSE) that transparently encrypts
|
|
|
|
and authenticates data stored. It is particularly designed to secure
|
|
|
|
data stored in the cloud.
|
|
|
|
Securefs mounts a regular directory onto a mount point. The mount point
|
|
|
|
appears as a regular filesystem, where one can read/write/create files,
|
|
|
|
directories and symbolic links. The underlying directory will be
|
|
|
|
automatically updated to contain the encrypted and authenticated
|
|
|
|
contents.
|
|
|
|
'';
|
|
|
|
license = with licenses; [ bsd2 mit ];
|
2021-04-22 02:08:21 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|