xdg-dbus-proxy: use finalAttrs
pattern
This commit is contained in:
parent
c925bd932e
commit
253a063787
|
@ -1,32 +1,32 @@
|
||||||
{ stdenv
|
{ dbus
|
||||||
, lib
|
, docbook-xsl-nons
|
||||||
|
, docbook_xml_dtd_43
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, glib
|
||||||
|
, lib
|
||||||
|
, libxslt
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, libxslt
|
, stdenv
|
||||||
, docbook-xsl-nons
|
|
||||||
, docbook_xml_dtd_43
|
|
||||||
, dbus
|
|
||||||
, glib
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "xdg-dbus-proxy";
|
pname = "xdg-dbus-proxy";
|
||||||
version = "0.1.5";
|
version = "0.1.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/flatpak/xdg-dbus-proxy/releases/download/${version}/${pname}-${version}.tar.xz";
|
url = "https://github.com/flatpak/xdg-dbus-proxy/releases/download/${finalAttrs.version}/xdg-dbus-proxy-${finalAttrs.version}.tar.xz";
|
||||||
sha256 = "sha256-Bh3Pr4oGUOX9nVQy3+iL2nSeoNB53BNjBL/s+84GYfs=";
|
hash = "sha256-Bh3Pr4oGUOX9nVQy3+iL2nSeoNB53BNjBL/s+84GYfs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
docbook-xsl-nons
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
libxslt
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
libxslt
|
|
||||||
docbook-xsl-nons
|
|
||||||
docbook_xml_dtd_43
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -40,12 +40,12 @@ stdenv.mkDerivation rec {
|
||||||
# dbus[2345]: Failed to start message bus: Failed to open "/etc/dbus-1/session.conf": No such file or directory
|
# dbus[2345]: Failed to start message bus: Failed to open "/etc/dbus-1/session.conf": No such file or directory
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "DBus proxy for Flatpak and others";
|
description = "DBus proxy for Flatpak and others";
|
||||||
homepage = "https://github.com/flatpak/xdg-dbus-proxy";
|
homepage = "https://github.com/flatpak/xdg-dbus-proxy";
|
||||||
license = licenses.lgpl21Plus;
|
license = lib.licenses.lgpl21Plus;
|
||||||
maintainers = with maintainers; [ jtojnar ];
|
|
||||||
platforms = platforms.linux;
|
|
||||||
mainProgram = "xdg-dbus-proxy";
|
mainProgram = "xdg-dbus-proxy";
|
||||||
|
maintainers = with lib.maintainers; [ jtojnar ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue