nixpkgs/pkgs/os-specific/linux/conky/default.nix
aszlig 2b7e88e9f5
conky: Re-enable support for ncurses.
Build breakage with enabled ncurses is fixed in 1.9.0 now, so we can safely
re-enable it.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2012-09-10 23:54:00 +02:00

26 lines
849 B
Nix

{ stdenv, fetchurl, pkgconfig, libxml2, curl, wirelesstools, glib, openssl
, ncurses }:
stdenv.mkDerivation rec {
name = "conky-1.9.0";
src = fetchurl {
url = "mirror://sourceforge/conky/${name}.tar.bz2";
sha256 = "0vxvjmi3cdvnp994sv5zcdyncfn0mlxa71p2wm9zpyrmy58bbwds";
};
patches = [ ./stdbool.patch ];
buildInputs = [ pkgconfig libxml2 curl wirelesstools glib openssl ncurses ];
configureFlags =
(map (x: "--disable-${x}") [ "x11" "xdamage" "own-window" "xft" "lua" ])
++ (map (x: "--enable-${x}") [ "mpd" "double-buffer" "wlan" "rss" ]);
meta = {
homepage = http://conky.sourceforge.net/;
description = "Conky is an advanced, highly configurable system monitor complied without X based on torsmo";
maintainers = [ stdenv.lib.maintainers.guibert ];
license = stdenv.lib.licenses.gpl3Plus;
};
}