Add `avahi' package.

svn path=/nixpkgs/trunk/; revision=10527
This commit is contained in:
Ludovic Courtès 2008-02-06 19:36:12 +00:00
parent 10daeadd7d
commit b60e822bfb
2 changed files with 10 additions and 6 deletions

View file

@ -1,14 +1,14 @@
{stdenv, fetchurl, pkgconfig}:
{stdenv, fetchurl, pkgconfig, libdaemon, dbus}:
stdenv.mkDerivation {
name = "avahi-0.6.11";
name = "avahi-0.6.21";
src = fetchurl {
url = http://avahi.org/download/avahi-0.6.11.tar.gz;
md5 = "91fd8cc0c2bae638848faad36cf1c032";
url = http://avahi.org/download/avahi-0.6.21.tar.gz;
sha256 = "d817c35f43011861476eab02eea14edd123b2bc58b4408d9d9b69b0c39252561";
};
#buildInputs = [pkgconfig glib gtk libpng libglade];
buildInputs = [pkgconfig];
buildInputs = [pkgconfig libdaemon dbus];
configureFlags = "--disable-glib --disable-qt3 --disable-qt4 --disable-gtk --disable-dbus --disable-expat --disable-gdbm --disable-libdaemon --disable-python --disable-mono";
configureFlags = "--disable-glib --disable-qt3 --disable-qt4 --disable-gtk --disable-expat --disable-gdbm --disable-python --disable-mono --with-distro=none CPPFLAGS=-Ddbus_watch_get_unix_fd=dbus_watch_get_fd";
}

View file

@ -326,6 +326,10 @@ rec {
inherit fetchurl stdenv zlib wxGTK;
};
avahi = import ../development/libraries/avahi {
inherit stdenv fetchurl pkgconfig libdaemon dbus;
};
axel = import ../tools/networking/axel {
inherit fetchurl stdenv;
};