nixpkgs/pkgs/applications/audio/tuner/default.nix
Jan Tojnar eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00

69 lines
1.1 KiB
Nix

{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, meson
, ninja
, vala
, glib
, itstool
, wrapGAppsHook3
, desktop-file-utils
, libsoup
, json-glib
, geoclue2
, geocode-glib
, libgee
, gtk3
, pantheon
, gst_all_1
}:
stdenv.mkDerivation rec {
pname = "tuner";
version = "1.5.1";
src = fetchFromGitHub {
owner = "louis77";
repo = pname;
rev = version;
sha256 = "sha256-tG1AMEqHcp4jHNgWDy9fS2FtlxFTlpMD5MVbepIY+GY=";
};
nativeBuildInputs = [
pkg-config
meson
ninja
vala
glib
itstool
wrapGAppsHook3
desktop-file-utils
];
buildInputs = [
libsoup
json-glib
geoclue2
geocode-glib
libgee
glib
gtk3
pantheon.granite
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-ugly
];
meta = with lib; {
homepage = "https://github.com/louis77/tuner";
description = "An app to discover and play internet radio stations";
license = licenses.gpl3Plus;
platforms = platforms.linux;
mainProgram = "com.github.louis77.tuner";
maintainers = [ maintainers.abbe ];
};
}