nixpkgs/pkgs/tools/misc/duc/default.nix

26 lines
701 B
Nix
Raw Normal View History

2016-06-05 13:57:28 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, tokyocabinet, cairo, pango, ncurses }:
2016-04-09 18:08:26 +00:00
stdenv.mkDerivation rec {
name = "duc-${version}";
2017-08-24 18:20:25 +00:00
version = "1.4.3";
2016-04-09 18:08:26 +00:00
2016-06-05 13:57:28 +00:00
src = fetchFromGitHub {
owner = "zevv";
repo = "duc";
rev = "${version}";
2017-08-24 18:20:25 +00:00
sha256 = "1h7vll8a78ijan9bmnimmsviywmc39x8h9iikx8vm98kwyxi4xif";
2016-04-09 18:08:26 +00:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ tokyocabinet cairo pango ncurses ];
2016-04-09 18:08:26 +00:00
meta = with stdenv.lib; {
homepage = http://duc.zevv.nl/;
description = "Collection of tools for inspecting and visualizing disk usage";
2016-04-09 19:35:29 +00:00
license = licenses.gpl2;
2016-04-09 18:08:26 +00:00
platforms = platforms.linux;
maintainers = [ maintainers.lethalman ];
};
}