2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, psmisc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tmpwatch";
|
|
|
|
version = "2.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-10-17 02:12:59 +00:00
|
|
|
url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.bz2";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-10-17 02:12:59 +00:00
|
|
|
homepage = "https://pagure.io/tmpwatch";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ vlstill ];
|
|
|
|
platforms = platforms.unix;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "tmpwatch";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|