diff --git a/pkgs/applications/audio/easytag/default.nix b/pkgs/applications/audio/easytag/default.nix index 4b27b65c2f25..55a4c474a296 100644 --- a/pkgs/applications/audio/easytag/default.nix +++ b/pkgs/applications/audio/easytag/default.nix @@ -1,6 +1,24 @@ -{ lib, stdenv, fetchurl, pkg-config, intltool, gtk3, glib, libid3tag, id3lib, taglib -, libvorbis, libogg, opusfile, flac, itstool, libxml2, gsettings-desktop-schemas -, gnome, wrapGAppsHook3, fetchpatch +{ + lib, + stdenv, + fetchurl, + pkg-config, + intltool, + gtk3, + glib, + libid3tag, + id3lib, + taglib, + libvorbis, + libogg, + opusfile, + flac, + itstool, + libxml2, + gsettings-desktop-schemas, + gnome, + wrapGAppsHook3, + fetchpatch, }: stdenv.mkDerivation rec { @@ -15,20 +33,33 @@ stdenv.mkDerivation rec { patches = [ # https://gitlab.gnome.org/GNOME/easytag/-/merge_requests/8 # Borrowed from Gentoo - ( - fetchpatch { - url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/easytag/files/easytag-2.4.3-ogg-corruption.patch"; - hash = "sha256-z75dYTEVp1raSFROjpakLeBjF96sgWBxxRB6ut9wYXw="; - } - ) + (fetchpatch { + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/easytag/files/easytag-2.4.3-ogg-corruption.patch"; + hash = "sha256-z75dYTEVp1raSFROjpakLeBjF96sgWBxxRB6ut9wYXw="; + }) ]; NIX_LDFLAGS = "-lid3tag -lz"; - nativeBuildInputs = [ pkg-config intltool itstool libxml2 wrapGAppsHook3 ]; + nativeBuildInputs = [ + pkg-config + intltool + itstool + libxml2 + wrapGAppsHook3 + ]; buildInputs = [ - gtk3 glib libid3tag id3lib taglib libvorbis libogg opusfile flac - gsettings-desktop-schemas gnome.adwaita-icon-theme + gtk3 + glib + libid3tag + id3lib + taglib + libvorbis + libogg + opusfile + flac + gsettings-desktop-schemas + gnome.adwaita-icon-theme ]; doCheck = false; # fails 1 out of 9 tests