summary refs log tree commit diff
path: root/pkgs/tools/system/dfc/default.nix
blob: 8575d971898ac9fa7e1ddc7c07a4c3f87c0b19e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{stdenv, fetchurl, cmake, gettext}:

stdenv.mkDerivation rec {
  pname = "dfc";
  version = "3.1.1";

  src = fetchurl {
    url = "https://projects.gw-computing.net/attachments/download/615/${pname}-${version}.tar.gz";
    sha256 = "0m1fd7l85ckb7bq4c5c3g257bkjglm8gq7x42pkmpp87fkknc94n";
  };

  nativeBuildInputs = [ cmake gettext ];

  meta = {
    homepage = https://projects.gw-computing.net/projects/dfc;
    description = "Displays file system space usage using graphs and colors";
    license = stdenv.lib.licenses.bsd3;
    maintainers = with stdenv.lib.maintainers; [qknight];
    platforms = stdenv.lib.platforms.all;
  };
}