mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
109fdfe34f
Those plugins do not require additional dependencis or at least no dependencies we don't actually use, so let's build them aswell. And after all, 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>
27 lines
915 B
Nix
27 lines
915 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"
|
|
"weather-metar" "weather-xoap" ]);
|
|
|
|
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;
|
|
};
|
|
}
|