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