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