nixpkgs/pkgs/os-specific/linux/fscrypt/default.nix

36 lines
956 B
Nix
Raw Normal View History

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 {
pname = "fscrypt";
version = "unstable-2019-08-29";
2017-09-24 01:02:18 +01:00
goPackagePath = "github.com/google/fscrypt";
goDeps = ./deps.nix;
2017-09-24 01:02:18 +01:00
src = fetchFromGitHub {
owner = "google";
repo = "fscrypt";
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 ];
};
}