nixpkgs/pkgs/development/libraries/xdg-dbus-proxy/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

50 lines
986 B
Nix

{ stdenv
, fetchurl
, pkg-config
, libxslt
, docbook_xsl
, docbook_xml_dtd_43
, dbus
, glib
}:
stdenv.mkDerivation rec {
pname = "xdg-dbus-proxy";
version = "0.1.2";
src = fetchurl {
url = "https://github.com/flatpak/xdg-dbus-proxy/releases/download/${version}/${pname}-${version}.tar.xz";
sha256 = "03sj1h0c2l08xa8phw013fnxr4fgav7l2mkjhzf9xk3dykwxcj8p";
};
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 stdenv.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;
};
}