diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-12-12 23:02:11 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-12-12 23:02:11 +0000 |
commit | b2f24eb5fa50dfba844cea9d12f938feb48d24c0 (patch) | |
tree | e8cc2d2efe75e35fff52f7c4b64a573df5b89c5a /pkgs/development/libraries/avahi/default.nix | |
parent | 9ed6e06b38f36939a2b8b1202f418d0e46446510 (diff) | |
download | nixpkgs-b2f24eb5fa50dfba844cea9d12f938feb48d24c0.tar nixpkgs-b2f24eb5fa50dfba844cea9d12f938feb48d24c0.tar.gz nixpkgs-b2f24eb5fa50dfba844cea9d12f938feb48d24c0.tar.bz2 nixpkgs-b2f24eb5fa50dfba844cea9d12f938feb48d24c0.tar.lz nixpkgs-b2f24eb5fa50dfba844cea9d12f938feb48d24c0.tar.xz nixpkgs-b2f24eb5fa50dfba844cea9d12f938feb48d24c0.tar.zst nixpkgs-b2f24eb5fa50dfba844cea9d12f938feb48d24c0.zip |
Avahi 0.6.24.
svn path=/nixpkgs/trunk/; revision=13626
Diffstat (limited to 'pkgs/development/libraries/avahi/default.nix')
-rw-r--r-- | pkgs/development/libraries/avahi/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/avahi/default.nix b/pkgs/development/libraries/avahi/default.nix new file mode 100644 index 00000000000..0db32ec6858 --- /dev/null +++ b/pkgs/development/libraries/avahi/default.nix @@ -0,0 +1,38 @@ +{ fetchurl, stdenv, pkgconfig, libdaemon, dbus, perl, perlXMLParser +, expat, gettext, intltool, glib, gtk, qt4 ? null, lib +, qt4Support ? false }: + +assert qt4Support -> qt4 != null; + +stdenv.mkDerivation rec { + name = "avahi-0.6.24"; + src = fetchurl { + url = "${meta.homepage}/download/${name}.tar.gz"; + sha256 = "0l5rsi4s7az7cs9p4aqs77v7jrh95iiwwx0ivksmivc8c7a70016"; + }; + + buildInputs = [ + pkgconfig libdaemon dbus perl perlXMLParser glib expat + gettext intltool + ] + ++ lib.optional qt4Support qt4; + + configureFlags = '' + --disable-qt3 --disable-gdbm --disable-gtk --disable-mono + --${if qt4Support then "enable" else "disable"}-qt4 + --with-distro=none --enable-shared --disable-static --disable-python + ''; + + meta = { + description = "Avahi, an mDNS/DNS-SD implementation"; + longDescription = '' + Avahi is a system which facilitates service discovery on a local + network. It is an implementation of the mDNS (for "Multicast + DNS") and DNS-SD (for "DNS-Based Service Discovery") + protocols. + ''; + + homepage = http://avahi.org; + license = "LGPLv2+"; + }; +} |