1 { lib, buildGoModule, fetchFromGitHub, gnum4, pam, fscrypt-experimental }:
3 # Don't use this for anything important yet!
9 src = fetchFromGitHub {
13 hash = "sha256-US1jw0XK1BcP037XPhttzBloDU62m4BVSIbsGs9LaJU=";
17 substituteInPlace Makefile \
18 --replace 'TAG_VERSION := $(shell git describe --tags)' "" \
19 --replace "/usr/local" "$out"
22 vendorHash = "sha256-FuVWV3Rimhd+Pm9wrKGLWQWtbP1hWvoWa22pQT+m2go=";
26 nativeBuildInputs = [ gnum4 ];
27 buildInputs = [ pam ];
43 "A high-level tool for the management of Linux filesystem encryption";
44 mainProgram = "fscrypt";
46 This tool manages metadata, key generation, key wrapping, PAM integration,
47 and provides a uniform interface for creating and modifying encrypted
50 inherit (src.meta) homepage;
51 changelog = "https://github.com/google/fscrypt/releases/tag/v${version}";
52 license = licenses.asl20;
53 platforms = platforms.linux;
54 maintainers = with maintainers; [ primeos ];