2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, psmisc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|