From bef1fc470a69677478c4ee521720a41ee78b85f5 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:12:25 -0300 Subject: [PATCH] hexchat: nixfmt --- .../networking/irc/hexchat/default.nix | 52 +++++++++++++++---- 1 file changed, 43 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/networking/irc/hexchat/default.nix b/pkgs/applications/networking/irc/hexchat/default.nix index 39bd2a5faeab..829f5285f6ad 100644 --- a/pkgs/applications/networking/irc/hexchat/default.nix +++ b/pkgs/applications/networking/irc/hexchat/default.nix @@ -1,8 +1,24 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, gtk2, lua, perl, python3Packages -, pciutils, dbus-glib, libcanberra-gtk2, libproxy -, enchant2, libnotify, openssl, isocodes -, desktop-file-utils -, meson, ninja, makeWrapper +{ + lib, + stdenv, + fetchFromGitHub, + pkg-config, + gtk2, + lua, + perl, + python3Packages, + pciutils, + dbus-glib, + libcanberra-gtk2, + libproxy, + enchant2, + libnotify, + openssl, + isocodes, + desktop-file-utils, + meson, + ninja, + makeWrapper, }: stdenv.mkDerivation rec { @@ -16,11 +32,26 @@ stdenv.mkDerivation rec { hash = "sha256-rgaXqXbBWlfSyz+CT0jRLyfGOR1cYYnRhEAu7AsaWus="; }; - nativeBuildInputs = [ meson ninja pkg-config makeWrapper ]; + nativeBuildInputs = [ + meson + ninja + pkg-config + makeWrapper + ]; buildInputs = [ - gtk2 lua perl python3Packages.python python3Packages.cffi pciutils dbus-glib libcanberra-gtk2 libproxy - libnotify openssl desktop-file-utils + gtk2 + lua + perl + python3Packages.python + python3Packages.cffi + pciutils + dbus-glib + libcanberra-gtk2 + libproxy + libnotify + openssl + desktop-file-utils isocodes python3Packages.setuptools ]; @@ -40,7 +71,10 @@ stdenv.mkDerivation rec { done ''; - mesonFlags = [ "-Dwith-lua=lua" "-Dtext-frontend=true" ]; + mesonFlags = [ + "-Dwith-lua=lua" + "-Dtext-frontend=true" + ]; postInstall = '' wrapProgram $out/bin/hexchat --prefix PYTHONPATH : "$PYTHONPATH"