2018-02-14 12:30:08 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, pam }:
|
2017-09-24 01:02:18 +01:00
|
|
|
|
|
|
|
# Don't use this for anything important yet!
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "fscrypt";
|
2019-09-05 22:06:02 +01:00
|
|
|
version = "unstable-2019-08-29";
|
2017-09-24 01:02:18 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/google/fscrypt";
|
|
|
|
|
2019-09-05 22:06:02 +01:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2017-09-24 01:02:18 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "fscrypt";
|
2019-09-05 22:06:02 +01:00
|
|
|
rev = "8a3acda2011e9a080ee792c1e11646e6118a4930";
|
|
|
|
sha256 = "17h6r5lqiz0cw9vsixv48a1p78nd7bs1kncg6p4lfagl7kr5hpls";
|
2017-09-24 01:02:18 +01:00
|
|
|
};
|
|
|
|
|
2018-02-14 12:30:08 +00:00
|
|
|
buildInputs = [ pam ];
|
2017-09-24 01:02:18 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description =
|
|
|
|
"A high-level tool for the management of Linux filesystem encryption";
|
|
|
|
longDescription = ''
|
|
|
|
This tool manages metadata, key generation, key wrapping, PAM integration,
|
|
|
|
and provides a uniform interface for creating and modifying encrypted
|
|
|
|
directories.
|
|
|
|
'';
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|