3
0
Fork 0
forked from mirrors/nixpkgs

fscrypt-experimental: 0.3.1 -> 0.3.3

* fscrypt-experimental: 0.3.1 -> 0.3.2 (#160747)

* fscrypt-experimental: 0.3.2 -> 0.3.3

Fixes CVE-2022-25326
Fixes CVE-2022-25327
Fixes CVE-2022-25328

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
R. RyanTM 2022-02-24 14:01:23 -08:00 committed by GitHub
parent e2e2a90593
commit cb7aad71e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,13 @@
buildGoModule rec {
pname = "fscrypt";
version = "0.3.1";
version = "0.3.3";
src = fetchFromGitHub {
owner = "google";
repo = "fscrypt";
rev = "v${version}";
sha256 = "0gi91vm0ai4vjzj6cfnjsfy8kbfxjiq2n7jnbhf5470qbx49qixr";
hash = "sha256-kkcZuX8tB7N8l9O3X6H92EqEqdAcqSbX+pwr7GrcRFY=";
};
postPatch = ''
@ -19,7 +19,7 @@ buildGoModule rec {
--replace "/usr/local" "$out"
'';
vendorSha256 = "1gw3q2pn8v6n9wkl5881rbxglislnr98a9gjqnqm894gnz7hfdzb";
vendorSha256 = "sha256-6zcHz7ePJFSxxfIlhVK2VEf6+soBoUInT9ZsZK/Ag78=";
doCheck = false;
@ -27,11 +27,15 @@ buildGoModule rec {
buildInputs = [ pam ];
buildPhase = ''
runHook preBuild
make
runHook postBuild
'';
installPhase = ''
runHook preInstall
make install
runHook postInstall
'';
meta = with lib; {