parent
9ed6e06b38
commit
b2f24eb5fa
|
@ -1,2 +0,0 @@
|
|||
args:
|
||||
import ./common.nix "0q954lwhr6xnv7chhi4bqlmkn4nx9shyw0mbdr3n26018dgw65yq" args
|
|
@ -1,2 +0,0 @@
|
|||
args:
|
||||
import ./common.nix "0lnxzsdhihb3kjwd3vcrl9pq6ykfbp0vy9ja0mch01ffnrqgiilx" args
|
|
@ -1,15 +1,20 @@
|
|||
sha256: args: with args;
|
||||
{ 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-" + version;
|
||||
name = "avahi-0.6.24";
|
||||
src = fetchurl {
|
||||
url = "${meta.homepage}/download/${name}.tar.gz";
|
||||
inherit sha256;
|
||||
sha256 = "0l5rsi4s7az7cs9p4aqs77v7jrh95iiwwx0ivksmivc8c7a70016";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig libdaemon dbus perl perlXMLParser glib expat]
|
||||
buildInputs = [
|
||||
pkgconfig libdaemon dbus perl perlXMLParser glib expat
|
||||
gettext intltool
|
||||
]
|
||||
++ lib.optional qt4Support qt4;
|
||||
|
||||
configureFlags = ''
|
|
@ -509,14 +509,11 @@ let
|
|||
};
|
||||
|
||||
avahi =
|
||||
# XXX: Versions prior to 0.6.22 did not support Qt4, so enabling
|
||||
# Qt4 should not be permitted when using a version of Avahi older
|
||||
# than 0.6.22, hence the default to `false'.
|
||||
let qt4Support = getConfig [ "avahi" "qt4Support" ] false;
|
||||
in
|
||||
selectVersion ../development/libraries/avahi "0.6.22" {
|
||||
import ../development/libraries/avahi {
|
||||
inherit stdenv fetchurl pkgconfig libdaemon dbus perl perlXMLParser
|
||||
expat lib;
|
||||
expat gettext intltool lib;
|
||||
inherit (gtkLibs) glib gtk;
|
||||
inherit qt4Support;
|
||||
qt4 = if qt4Support then qt4 else null;
|
||||
|
|
Loading…
Reference in New Issue