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

26 lines
701 B
Nix
Raw Normal View History

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