2019-01-16 07:35:28 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libxslt, docbook_xsl, docbook_xml_dtd_43, dbus, glib }:
|
2018-09-14 01:50:38 +01:00
|
|
|
|
2019-01-16 07:35:28 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xdg-dbus-proxy";
|
2019-09-29 11:09:56 +01:00
|
|
|
version = "0.1.2";
|
2018-09-14 01:50:38 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-01-16 07:35:28 +00:00
|
|
|
url = "https://github.com/flatpak/xdg-dbus-proxy/releases/download/${version}/${pname}-${version}.tar.xz";
|
2019-09-29 11:09:56 +01:00
|
|
|
sha256 = "03sj1h0c2l08xa8phw013fnxr4fgav7l2mkjhzf9xk3dykwxcj8p";
|
2018-09-14 01:50:38 +01:00
|
|
|
};
|
|
|
|
|
2019-01-16 07:35:28 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig libxslt docbook_xsl docbook_xml_dtd_43 ];
|
2018-09-14 01:50:38 +01:00
|
|
|
buildInputs = [ glib ];
|
2019-01-16 07:35:28 +00:00
|
|
|
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;
|
2018-09-14 01:50:38 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "DBus proxy for Flatpak and others";
|
|
|
|
homepage = https://flatpak.org/;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|