Silvan Mosberger 667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev 57b193d8ddeaf4f5219d2bae1d23b081e4906e57
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00

74 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchurl,
meson,
ninja,
pkg-config,
glib,
gtk3,
itstool,
libxml2,
brasero,
libcanberra-gtk3,
gnome,
adwaita-icon-theme,
gst_all_1,
libmusicbrainz5,
libdiscid,
isocodes,
gsettings-desktop-schemas,
wrapGAppsHook3,
}:
stdenv.mkDerivation rec {
pname = "sound-juicer";
version = "3.40.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "LuiCdEORvrTG1koPaCX7dlUQtwbsK3BL+0LkKvquHeY=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
itstool
libxml2
wrapGAppsHook3
];
buildInputs = [
glib
gtk3
brasero
libcanberra-gtk3
adwaita-icon-theme
gsettings-desktop-schemas
libmusicbrainz5
libdiscid
isocodes
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gst_all_1.gst-libav
];
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
};
};
meta = with lib; {
description = "Gnome CD Ripper";
mainProgram = "sound-juicer";
homepage = "https://gitlab.gnome.org/GNOME/sound-juicer";
maintainers = [ maintainers.bdimcheff ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}