summary refs log tree commit diff
path: root/pkgs/tools/misc/tmpwatch/default.nix
blob: ac20cab2842ed6cda701d3a7cdddde1108e3cfc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, psmisc }:

stdenv.mkDerivation {
  name = "tmpwatch-2.11";

  src = fetchurl {
    url = "https://fedorahosted.org/releases/t/m/tmpwatch/tmpwatch-2.11.tar.bz2";
    sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
  };

  configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ];

  meta = with stdenv.lib; {
    homepage = "https://fedorahosted.org/tmpwatch/";
    description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time";
    license = licenses.gpl2;
    maintainers = with maintainers; [ vlstill ];
    platforms = platforms.unix;
  };
}