From fc0c1ea497cd136ecc8a7092636d0bb49fa56da5 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 11 Aug 2024 18:34:03 +0200 Subject: [PATCH] gnome.gnome-klotski: Format with nixfmt --- .../gnome/games/gnome-klotski/default.nix | 51 ++++++++++++++++--- 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/pkgs/desktops/gnome/games/gnome-klotski/default.nix b/pkgs/desktops/gnome/games/gnome-klotski/default.nix index c822d0e80c43..80b5fdc1b224 100644 --- a/pkgs/desktops/gnome/games/gnome-klotski/default.nix +++ b/pkgs/desktops/gnome/games/gnome-klotski/default.nix @@ -1,6 +1,25 @@ -{ lib, stdenv, fetchurl, pkg-config, vala, gnome, adwaita-icon-theme, gtk3, wrapGAppsHook3, appstream-glib, desktop-file-utils -, glib, librsvg, libxml2, gettext, itstool, libgee, libgnome-games-support -, meson, ninja, python3 +{ + lib, + stdenv, + fetchurl, + pkg-config, + vala, + gnome, + adwaita-icon-theme, + gtk3, + wrapGAppsHook3, + appstream-glib, + desktop-file-utils, + glib, + librsvg, + libxml2, + gettext, + itstool, + libgee, + libgnome-games-support, + meson, + ninja, + python3, }: stdenv.mkDerivation rec { @@ -13,11 +32,27 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ - pkg-config vala meson ninja python3 wrapGAppsHook3 - gettext itstool libxml2 appstream-glib desktop-file-utils + pkg-config + vala + meson + ninja + python3 + wrapGAppsHook3 + gettext + itstool + libxml2 + appstream-glib + desktop-file-utils adwaita-icon-theme ]; - buildInputs = [ glib gtk3 librsvg libgee libgnome-games-support ]; + + buildInputs = [ + glib + gtk3 + librsvg + libgee + libgnome-games-support + ]; postPatch = '' chmod +x build-aux/meson_post_install.py @@ -26,8 +61,8 @@ stdenv.mkDerivation rec { passthru = { updateScript = gnome.updateScript { - packageName = pname; - attrPath = "gnome.${pname}"; + packageName = "gnome-klotski"; + attrPath = "gnome.gnome-klotski"; }; };