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:
parent
e2e2a90593
commit
cb7aad71e5
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue