diff --git a/pkgs/tools/misc/tmpwatch/default.nix b/pkgs/tools/misc/tmpwatch/default.nix new file mode 100644 index 00000000000..2257fb50293 --- /dev/null +++ b/pkgs/tools/misc/tmpwatch/default.nix @@ -0,0 +1,17 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "tmpwatch-2.11"; + + src = fetchurl { + url = "https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-2.11.tar.bz2"; + sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk"; + }; + + meta = { + homepage = https://fedorahosted.org/tmpwatch/; + description = "The tmpwatch utility recursively searches through specified directories and removes files which have not been accessed in a specified period of time."; + licence = "GPLv2"; + maintainers = with stdenv.lib.maintainers; [ vlstill ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index be875c2a88e..a81c58d55c7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1893,6 +1893,8 @@ let tinc = callPackage ../tools/networking/tinc { }; + tmpwatch = callPackage ../tools/misc/tmpwatch { }; + tmux = callPackage ../tools/misc/tmux { }; tor = callPackage ../tools/security/tor { };