From 8007ddc1146d5e3631c53921d20fab1aae2151d6 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 15 Jan 2019 23:35:28 -0800 Subject: [PATCH] xdg-dbus-proxy: 0.1.0 -> 0.1.1 --- .../libraries/xdg-dbus-proxy/default.nix | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/xdg-dbus-proxy/default.nix b/pkgs/development/libraries/xdg-dbus-proxy/default.nix index 247b8ee45d0b..d1605aac3342 100644 --- a/pkgs/development/libraries/xdg-dbus-proxy/default.nix +++ b/pkgs/development/libraries/xdg-dbus-proxy/default.nix @@ -1,18 +1,24 @@ -{ stdenv, fetchurl, pkgconfig, glib }: +{ stdenv, fetchurl, pkgconfig, libxslt, docbook_xsl, docbook_xml_dtd_43, dbus, glib }: -let - version = "0.1.0"; -in stdenv.mkDerivation rec { - name = "xdg-dbus-proxy-${version}"; +stdenv.mkDerivation rec { + pname = "xdg-dbus-proxy"; + version = "0.1.1"; src = fetchurl { - url = "https://github.com/flatpak/xdg-dbus-proxy/releases/download/${version}/${name}.tar.xz"; - sha256 = "055wli36lvdannp6qqwbvd78353n61wn9kp8y3dchh39wq7x7vwy"; + url = "https://github.com/flatpak/xdg-dbus-proxy/releases/download/${version}/${pname}-${version}.tar.xz"; + sha256 = "1w8yg5j51zsr9d97d4jjp9dvd7iq893p2xk54i6lf3lx01ribdqh"; }; - nativeBuildInputs = [ pkgconfig ]; - + nativeBuildInputs = [ pkgconfig libxslt docbook_xsl docbook_xml_dtd_43 ]; buildInputs = [ glib ]; + checkInputs = [ dbus ]; + + configureFlags = [ + "--enable-man" + ]; + + # dbus[2345]: Failed to start message bus: Failed to open "/etc/dbus-1/session.conf": No such file or directory + doCheck = false; meta = with stdenv.lib; { description = "DBus proxy for Flatpak and others";