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

26 lines
701 B
Nix
Raw Normal View History

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