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

stdenv.mkDerivation rec {
  pname = "di";
  version = "4.48.0.1";

  src = fetchurl {
    url = "https://gentoo.com/${pname}/${pname}-${version}.tar.gz";
    sha256 = "sha256-YFCFRDGeq2h/UXKme/NnnCuFdtw2Vim6Y3SbytaItGc=";
  };

  makeFlags = [ "INSTALL_DIR=$(out)" ];

  meta = with lib; {
    description = "Disk information utility; displays everything 'df' does and more";
    homepage = "https://gentoo.com/di/";
    license = licenses.zlib;
    maintainers = with maintainers; [ manveru ];
    platforms = platforms.all;
  };
}