2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2020-02-07 22:04:43 +00:00
|
|
|
, fetchurl
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2020-02-07 22:04:43 +00:00
|
|
|
, 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";
|
2022-02-13 13:03:29 +00:00
|
|
|
version = "0.1.3";
|
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";
|
2022-02-13 13:03:29 +00:00
|
|
|
sha256 = "sha256-A7XSjKh5JT3bvOMQmJCb7MoUleqBGmN3pJLijxbAm5s=";
|
2018-09-14 01:50:38 +01:00
|
|
|
};
|
|
|
|
|
2020-02-07 22:04:43 +00:00
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2020-02-07 22:04:43 +00:00
|
|
|
libxslt
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_43
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
dbus
|
|
|
|
];
|
2019-01-16 07:35:28 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-09-14 01:50:38 +01:00
|
|
|
description = "DBus proxy for Flatpak and others";
|
2020-02-07 22:04:43 +00:00
|
|
|
homepage = "https://github.com/flatpak/xdg-dbus-proxy";
|
2018-09-14 01:50:38 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|