git.iko.soy/typeable/nixpkgs
on master help sign in
agedu: init at 20180522.5b12791 (#42538)
commitd85aae23238cc1127fdb56eeaec6aebb7539b09a authorsymphorien <symphorien@users.noreply.github.com> dateTue 26 Jun 2018, 18:06 (8 years ago) parent52e6042
2 files changed+37
pkgs/tools/misc/agedu/default.nix+35 pkgs/top-level/all-packages.nix+2
pkgs/tools/misc/agedu/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{stdenv, fetchgit, autoreconfHook, halibut}:
2+let
3+ date = "20180522";
4+ rev = "5b12791";
5+in
6+stdenv.mkDerivation {
7+ name = "agedu-${date}.${rev}";
8+ # upstream provides tarballs but it seems they disappear after the next version is released
9+ src = fetchgit {
10+ url = https://git.tartarus.org/simon/agedu.git;
11+ inherit rev;
12+ sha256 = "1zyxif0i3yil4xm8y9aqk6wsdwi7b3jg682lv6ds6a6bl047fz1q";
13+ };
14+
15+ nativeBuildInputs = [autoreconfHook halibut];
16+
17+ meta = with stdenv.lib; {
18+ description = "A Unix utility for tracking down wasted disk space";
19+ longDescription = ''
20+ Most Unix file systems, in their default mode, helpfully record when a
21+ file was last accessed. So if you generated a large amount of data years
22+ ago, forgot to clean it up, and have never used it since, then it ought
23+ in principle to be possible to use those last-access time stamps to tell
24+ the difference between that and a large amount of data you're still
25+ using regularly.
26+
27+ agedu uses this information to tell you which files waste disk space when
28+ you haven't used them since a long time.
29+ '';
30+ homepage = https://www.chiark.greenend.org.uk/~sgtatham/agedu/;
31+ license = licenses.mit;
32+ maintainers = with maintainers; [ symphorien ];
33+ platforms = platforms.linux;
34+ };
35+}
pkgs/top-level/all-packages.nix+2
@@ -14958,6 +14958,8 @@ with pkgs;
1495814958 stdenv = overrideCC stdenv gcc49;
1495914959 };
1496014960
14961+ agedu = callPackage ../tools/misc/agedu { };
14962+
1496114963 ahoviewer = callPackage ../applications/graphics/ahoviewer {
1496214964 useUnrar = config.ahoviewer.useUnrar or false;
1496314965 };