@@ -0,0 +1,30 @@
1+{stdenv, fetchurl}:
2+stdenv.mkDerivation rec {
3+ name = "${pname}-${version}";
4+ pname = "safefile";
5+ version = "1.0.5";
6+
7+ src = fetchurl {
8+ url = "http://research.cs.wisc.edu/mist/${pname}/releases/${name}.tar.gz";
9+ sha256 = "1y0gikds2nr8jk8smhrl617njk23ymmpxyjb2j1xbj0k82xspv78";
10+ };
11+
12+ buildInputs = [];
13+
14+ passthru = {
15+ updateScript = ''
16+ cd ${toString ./.}
17+ ${toString <nixpkgs/pkgs/build-support/upstream-updater/update-walker.sh>} default.nix
18+ '';
19+ };
20+
21+ meta = {
22+ inherit version;
23+ description = "File open routines to safely open a file when in the presence of an attack";
24+ license = stdenv.lib.licenses.asl20 ;
25+ maintainers = [stdenv.lib.maintainers.raskin];
26+ platforms = stdenv.lib.platforms.linux;
27+ homepage = "http://research.cs.wisc.edu/mist/safefile/";
28+ updateWalker = true;
29+ };
30+}