mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
22 lines
564 B
Nix
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;
|
|
};
|
|
}
|