nixpkgs/pkgs/tools/misc/ncdu/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

21 lines
542 B
Nix

{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "ncdu";
version = "1.14";
src = fetchurl {
url = "https://dev.yorhel.nl/download/${pname}-${version}.tar.gz";
sha256 = "0i4cap2z3037xx2rdzhrlazl2igk3xy4ncddp9j7xqi1mcx7i566";
};
buildInputs = [ ncurses ];
meta = with stdenv.lib; {
description = "Disk usage analyzer with an ncurses interface";
homepage = https://dev.yorhel.nl/ncdu;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ pSub ];
};
}