2012-09-10 21:46:32 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxml2, curl, wirelesstools, glib, openssl
|
|
|
|
, ncurses }:
|
2010-05-27 19:33:58 +00:00
|
|
|
|
2012-01-09 23:44:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2012-09-10 20:06:02 +00:00
|
|
|
name = "conky-1.9.0";
|
2010-05-27 19:33:58 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-01-09 23:44:44 +00:00
|
|
|
url = "mirror://sourceforge/conky/${name}.tar.bz2";
|
2012-09-10 20:06:02 +00:00
|
|
|
sha256 = "0vxvjmi3cdvnp994sv5zcdyncfn0mlxa71p2wm9zpyrmy58bbwds";
|
2010-05-27 19:33:58 +00:00
|
|
|
};
|
|
|
|
|
2012-09-10 21:34:44 +00:00
|
|
|
patches = [ ./stdbool.patch ];
|
|
|
|
|
2012-09-10 21:46:32 +00:00
|
|
|
buildInputs = [ pkgconfig libxml2 curl wirelesstools glib openssl ncurses ];
|
2012-01-09 23:44:44 +00:00
|
|
|
configureFlags =
|
2012-09-10 21:46:32 +00:00
|
|
|
(map (x: "--disable-${x}") [ "x11" "xdamage" "own-window" "xft" "lua" ])
|
2012-09-10 21:50:33 +00:00
|
|
|
++ (map (x: "--enable-${x}") [ "mpd" "double-buffer" "wlan" "rss"
|
|
|
|
"weather-metar" "weather-xoap" ]);
|
2012-01-09 23:44:44 +00:00
|
|
|
|
2010-05-27 19:33:58 +00:00
|
|
|
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 ];
|
2012-09-10 21:40:52 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-05-27 19:33:58 +00:00
|
|
|
};
|
|
|
|
}
|