2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, psmisc }:
|
2013-12-13 09:41:38 +00:00
|
|
|
|
2021-08-02 10:38:45 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tmpwatch";
|
|
|
|
version = "2.11";
|
2013-12-13 09:41:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-10-15 04:11:42 +01:00
|
|
|
url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.bz2";
|
2013-12-13 09:41:38 +00:00
|
|
|
sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
|
|
|
|
};
|
|
|
|
|
2019-10-29 22:21:22 +00:00
|
|
|
configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ];
|
2019-07-20 13:38:51 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-10-15 04:11:42 +01:00
|
|
|
homepage = "https://pagure.io/tmpwatch";
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time";
|
2014-06-12 08:05:12 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ vlstill ];
|
|
|
|
platforms = platforms.unix;
|
2013-12-13 09:41:38 +00:00
|
|
|
};
|
|
|
|
}
|