2018-06-26 20:06:16 +02:00
|
|
|
{stdenv, fetchgit, autoreconfHook, halibut}:
|
|
|
|
let
|
2018-09-23 22:38:56 +02:00
|
|
|
date = "20180918";
|
|
|
|
rev = "80c7beb";
|
2018-06-26 20:06:16 +02:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "agedu-${date}.${rev}";
|
|
|
|
# upstream provides tarballs but it seems they disappear after the next version is released
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://git.tartarus.org/simon/agedu.git;
|
|
|
|
inherit rev;
|
2018-09-23 22:38:56 +02:00
|
|
|
sha256 = "0i930izna3s73p2q52qa377ixd14zij5q1n7w3irl7csyy78g0cd";
|
2018-06-26 20:06:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [autoreconfHook halibut];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Unix utility for tracking down wasted disk space";
|
|
|
|
longDescription = ''
|
|
|
|
Most Unix file systems, in their default mode, helpfully record when a
|
|
|
|
file was last accessed. So if you generated a large amount of data years
|
|
|
|
ago, forgot to clean it up, and have never used it since, then it ought
|
|
|
|
in principle to be possible to use those last-access time stamps to tell
|
|
|
|
the difference between that and a large amount of data you're still
|
|
|
|
using regularly.
|
|
|
|
|
|
|
|
agedu uses this information to tell you which files waste disk space when
|
|
|
|
you haven't used them since a long time.
|
|
|
|
'';
|
|
|
|
homepage = https://www.chiark.greenend.org.uk/~sgtatham/agedu/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ symphorien ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|