From 85a1936685bdef4c0c96bc7c4f32aa1c8e3c3744 Mon Sep 17 00:00:00 2001 From: David Guibert Date: Thu, 27 May 2010 19:33:58 +0000 Subject: [PATCH] conky: compiled without X support, usefull with dwm. svn path=/nixpkgs/trunk/; revision=22015 --- pkgs/os-specific/linux/conky/default.nix | 20 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/os-specific/linux/conky/default.nix diff --git a/pkgs/os-specific/linux/conky/default.nix b/pkgs/os-specific/linux/conky/default.nix new file mode 100644 index 00000000000..29a81592c14 --- /dev/null +++ b/pkgs/os-specific/linux/conky/default.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, pkgconfig, libxml2, curl, wirelesstools, glib, openssl}: + +stdenv.mkDerivation { + name = "conky-1.7.2"; + + src = fetchurl { + url = "mirror://sourceforge/conky/conky-1.7.2.tar.bz2"; + sha256 = "0p375id2saxm2bp6c33ddn9d6rxymmq60ajlvx49smwhzyqa3h5k"; + }; + + buildInputs = [ pkgconfig libxml2 curl wirelesstools glib openssl ]; + configureFlags = "--disable-x11 --disable-xdamage --disable-own-window --disable-xft --disable-lua --enable-mpd --enable-double-buffer --enable-proc-uptime --enable-seti --enable-wlan --enable-rss"; + + 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 ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c08d7336314..4e9bd472384 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5992,6 +5992,11 @@ let inherit fetchurl stdenv autoconf automake; }; + conky = import ../os-specific/linux/conky { + inherit stdenv fetchurl pkgconfig libxml2 curl wirelesstools openssl; + inherit (gtkLibs) glib; + }; + cpufrequtils = ( import ../os-specific/linux/cpufrequtils { inherit fetchurl stdenv libtool gettext;