diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-01-07 02:18:36 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-01-07 02:18:47 +0000 |
commit | 36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2 (patch) | |
tree | b3faaf573407b32aa645237a4d16b82778a39a92 /nixpkgs/pkgs/tools/misc/agedu | |
parent | 4e31070265257dc67d120c27e0f75c2344fdfa9a (diff) | |
parent | abf060725d7614bd3b9f96764262dfbc2f9c2199 (diff) | |
download | nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.gz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.bz2 nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.lz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.xz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.zst nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.zip |
Add 'nixpkgs/' from commit 'abf060725d7614bd3b9f96764262dfbc2f9c2199'
git-subtree-dir: nixpkgs git-subtree-mainline: 4e31070265257dc67d120c27e0f75c2344fdfa9a git-subtree-split: abf060725d7614bd3b9f96764262dfbc2f9c2199
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/agedu')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/agedu/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/agedu/default.nix b/nixpkgs/pkgs/tools/misc/agedu/default.nix new file mode 100644 index 000000000000..d0254e9ce9f5 --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/agedu/default.nix @@ -0,0 +1,35 @@ +{stdenv, fetchgit, autoreconfHook, halibut}: +let + date = "20180918"; + rev = "80c7beb"; +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; + sha256 = "0i930izna3s73p2q52qa377ixd14zij5q1n7w3irl7csyy78g0cd"; + }; + + 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; + }; +} |