nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 735 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 psmisc, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "tmpwatch"; 10 version = "2.11"; 11 12 src = fetchurl { 13 url = "https://releases.pagure.org/tmpwatch/tmpwatch-${finalAttrs.version}.tar.bz2"; 14 sha256 = "1m5859ngwx61l1i4s6fja2avf1hyv6w170by273w8nsin89825lk"; 15 }; 16 17 configureFlags = [ "--with-fuser=${psmisc}/bin/fuser" ]; 18 19 meta = { 20 homepage = "https://pagure.io/tmpwatch"; 21 description = "Recursively searches through specified directories and removes files which have not been accessed in a specified period of time"; 22 license = lib.licenses.gpl2Plus; 23 maintainers = with lib.maintainers; [ vlstill ]; 24 platforms = lib.platforms.unix; 25 mainProgram = "tmpwatch"; 26 }; 27})