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