8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
49 lines
983 B
Nix
49 lines
983 B
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, pkg-config
|
|
, libxslt
|
|
, docbook_xsl
|
|
, docbook_xml_dtd_43
|
|
, dbus
|
|
, glib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xdg-dbus-proxy";
|
|
version = "0.1.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/flatpak/xdg-dbus-proxy/releases/download/${version}/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-A7XSjKh5JT3bvOMQmJCb7MoUleqBGmN3pJLijxbAm5s=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
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 lib; {
|
|
description = "DBus proxy for Flatpak and others";
|
|
homepage = "https://github.com/flatpak/xdg-dbus-proxy";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|