blob: 6b9c726f100c123d9c130eed312b7bb9d449cf29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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 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+";
};
}
|