nixpkgs/pkgs/development/libraries/avahi/common.nix
Ludovic Courtès 95f0e6a1a7 Differentiate between longDescription' and description'.
svn path=/nixpkgs/trunk/; revision=11230
2008-03-20 14:35:03 +00:00

34 lines
928 B
Nix

sha256: args: with args;
assert qt4Support -> qt4 != null;
stdenv.mkDerivation rec {
name = "avahi-" + version;
src = fetchurl {
url = "${meta.homepage}/download/${name}.tar.gz";
inherit sha256;
};
buildInputs = [pkgconfig libdaemon dbus perl perlXMLParser glib expat]
++ 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+";
};
}