nixpkgs/pkgs/tools/misc/tmpwatch/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
699 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, psmisc }:
2013-12-13 10:41:38 +01:00
stdenv.mkDerivation rec {
pname = "tmpwatch";
version = "2.11";
2013-12-13 10:41:38 +01:00
src = fetchurl {
url = "https://releases.pagure.org/${pname}/${pname}-${version}.tar.bz2";
2013-12-13 10:41:38 +01:00
sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk";
};
2019-10-29 23:21:22 +01:00
configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ];
2019-07-20 14:38:51 +02:00
meta = with lib; {
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";
2014-06-12 09:05:12 +02:00
license = licenses.gpl2;
maintainers = with maintainers; [ vlstill ];
platforms = platforms.unix;
2023-11-27 02:17:53 +01:00
mainProgram = "tmpwatch";
2013-12-13 10:41:38 +01:00
};
}