dunst: format with nixpkgs-fmt

This commit is contained in:
Gutyina Gergő
2024-05-03 23:33:08 +03:00
committed by Artturin
parent afcfcd2f94
commit 2a533953c5
+52 -13
View File
@@ -1,10 +1,31 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper
, pkg-config, which, perl, jq, libXrandr, coreutils
, cairo, dbus, systemd, gdk-pixbuf, glib, libX11, libXScrnSaver
, wayland, wayland-protocols
, libXinerama, libnotify, pango, xorgproto, librsvg
, testers, dunst
, withX11 ? true, withWayland ? true
{ stdenv
, lib
, fetchFromGitHub
, makeWrapper
, pkg-config
, which
, perl
, jq
, libXrandr
, coreutils
, cairo
, dbus
, systemd
, gdk-pixbuf
, glib
, libX11
, libXScrnSaver
, wayland
, wayland-protocols
, libXinerama
, libnotify
, pango
, xorgproto
, librsvg
, testers
, dunst
, withX11 ? true
, withWayland ? true
}:
stdenv.mkDerivation (finalAttrs: {
@@ -18,14 +39,32 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-eiFvvavXGNcHZnEGwlTLxRqFNdkvEZMwNIkVyDn1V6o=";
};
nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ];
nativeBuildInputs = [
perl
pkg-config
which
systemd
makeWrapper
];
buildInputs = [
cairo dbus gdk-pixbuf glib
libnotify pango librsvg
]
++ lib.optionals withX11 [ libX11 libXScrnSaver libXinerama xorgproto libXrandr]
++ lib.optionals withWayland [ wayland wayland-protocols ];
cairo
dbus
gdk-pixbuf
glib
libnotify
pango
librsvg
] ++ lib.optionals withX11 [
libX11
libXScrnSaver
libXinerama
xorgproto
libXrandr
] ++ lib.optionals withWayland [
wayland
wayland-protocols
];
outputs = [ "out" "man" ];