nixpkgs/pkgs/tools/system/di/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
564 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "di";
version = "4.47.1";
src = fetchurl {
url = "http://gentoo.com/di/${pname}-${version}.tar.gz";
sha256 = "1bdbl9k3gqf4h6g21difqc0w17pjid6r587y19wi37vx36aava7f";
};
makeFlags = [ "INSTALL_DIR=$(out)" ];
meta = with stdenv.lib; {
description = "Disk information utility; displays everything 'df' does and more";
homepage = http://www.gentoo.com/di/;
license = licenses.zlib;
maintainers = with maintainers; [ manveru ndowens ];
platforms = platforms.all;
};
}