safefile: refactor

This commit is contained in:
Felix Buehler 2021-12-21 16:40:06 +01:00
parent ed7bf9452c
commit 3b49e41aa3

View file

@ -8,20 +8,11 @@ stdenv.mkDerivation rec {
sha256 = "1y0gikds2nr8jk8smhrl617njk23ymmpxyjb2j1xbj0k82xspv78"; sha256 = "1y0gikds2nr8jk8smhrl617njk23ymmpxyjb2j1xbj0k82xspv78";
}; };
passthru = { meta = with lib; {
updateScript = ''
#!${runtimeShell}
cd ${toString ./.}
${toString path}/pkgs/build-support/upstream-updater/update-walker.sh default.nix
'';
};
meta = {
description = "File open routines to safely open a file when in the presence of an attack"; description = "File open routines to safely open a file when in the presence of an attack";
license = lib.licenses.asl20 ; license = licenses.asl20;
maintainers = [lib.maintainers.raskin]; maintainers = with maintainers; [ raskin ];
platforms = lib.platforms.all; platforms = platforms.all;
homepage = "https://research.cs.wisc.edu/mist/safefile/"; homepage = "https://research.cs.wisc.edu/mist/safefile/";
updateWalker = true;
}; };
} }