nixpkgs/pkgs/os-specific/linux/conky/default.nix
aszlig 3692a2e83d
conky: Update to version 1.9.0.
Version 1.8.1 seems to be quite dated, in addition I'd like to use the weather
plugin, which isn't available in 1.8.1 as well. If you work in your hermetically
sealed environment, you surely want to know what's going on outside.

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

25 lines
801 B
Nix

{stdenv, fetchurl, pkgconfig, libxml2, curl, wirelesstools, glib, openssl}:
stdenv.mkDerivation rec {
name = "conky-1.9.0";
src = fetchurl {
url = "mirror://sourceforge/conky/${name}.tar.bz2";
sha256 = "0vxvjmi3cdvnp994sv5zcdyncfn0mlxa71p2wm9zpyrmy58bbwds";
};
buildInputs = [ pkgconfig libxml2 curl wirelesstools glib openssl ];
configureFlags =
(map (x: "--disable-${x}") [ "x11" "xdamage" "own-window" "xft" "lua" "ncurses" ])
++ (map (x: "--enable-${x}") [ "mpd" "double-buffer" "wlan" "rss" ]);
patches = [ ./curl-types-h.patch ];
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 ];
};
}