mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
eb04659fc2
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)
72 lines
1.3 KiB
Nix
72 lines
1.3 KiB
Nix
{ lib
|
|
, mkDerivation
|
|
|
|
, extra-cmake-modules
|
|
, wrapGAppsHook3
|
|
|
|
, futuresql
|
|
, gst_all_1
|
|
, kcoreaddons
|
|
, kcrash
|
|
, ki18n
|
|
, kirigami2
|
|
, kirigami-addons
|
|
, kpurpose
|
|
, qcoro
|
|
, qtimageformats
|
|
, qtmultimedia
|
|
, qtquickcontrols2
|
|
, python3Packages
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "audiotube";
|
|
|
|
nativeBuildInputs = [
|
|
extra-cmake-modules
|
|
wrapGAppsHook3
|
|
python3Packages.wrapPython
|
|
python3Packages.pybind11
|
|
];
|
|
|
|
buildInputs = [
|
|
futuresql
|
|
kcoreaddons
|
|
kcrash
|
|
ki18n
|
|
kirigami2
|
|
kirigami-addons
|
|
kpurpose
|
|
qcoro
|
|
qtimageformats
|
|
qtmultimedia
|
|
qtquickcontrols2
|
|
] ++ (with gst_all_1; [
|
|
gst-plugins-bad
|
|
gst-plugins-base
|
|
gst-plugins-good
|
|
gstreamer
|
|
]) ++ pythonPath;
|
|
|
|
pythonPath = with python3Packages; [
|
|
yt-dlp
|
|
ytmusicapi
|
|
];
|
|
|
|
preFixup = ''
|
|
buildPythonPath "$pythonPath"
|
|
qtWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH")
|
|
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
'';
|
|
dontWrapGApps = true;
|
|
|
|
meta = with lib; {
|
|
description = "Client for YouTube Music";
|
|
mainProgram = "audiotube";
|
|
homepage = "https://invent.kde.org/plasma-mobile/audiotube";
|
|
# https://invent.kde.org/plasma-mobile/audiotube/-/tree/c503d0607a3386112beaa9cf990ab85fe33ef115/LICENSES
|
|
license = with licenses; [ bsd2 cc0 gpl2Only gpl3Only ];
|
|
maintainers = with maintainers; [ samueldr ];
|
|
};
|
|
}
|