2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, path, runtimeShell }:
|
2017-04-15 09:53:38 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "safefile";
|
|
|
|
version = "1.0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://research.cs.wisc.edu/mist/${pname}/releases/${pname}-${version}.tar.gz";
|
2017-04-15 09:53:38 +01:00
|
|
|
sha256 = "1y0gikds2nr8jk8smhrl617njk23ymmpxyjb2j1xbj0k82xspv78";
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = ''
|
2019-02-26 11:45:54 +00:00
|
|
|
#!${runtimeShell}
|
2017-04-15 09:53:38 +01:00
|
|
|
cd ${toString ./.}
|
2017-12-07 22:02:52 +00:00
|
|
|
${toString path}/pkgs/build-support/upstream-updater/update-walker.sh default.nix
|
2017-04-15 09:53:38 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = "File open routines to safely open a file when in the presence of an attack";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.asl20 ;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://research.cs.wisc.edu/mist/safefile/";
|
2017-04-15 09:53:38 +01:00
|
|
|
updateWalker = true;
|
|
|
|
};
|
|
|
|
}
|