28 lines
705 B
Nix
28 lines
705 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
psmisc,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tmpwatch";
|
|
version = "2.11";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.pagure.org/tmpwatch/tmpwatch-${finalAttrs.version}.tar.bz2";
|
|
sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
|
|
};
|
|
|
|
configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ];
|
|
|
|
meta = {
|
|
homepage = "https://pagure.io/tmpwatch";
|
|
description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "tmpwatch";
|
|
};
|
|
})
|