depot/third_party/nixpkgs/pkgs/applications/kde/plasmatube/default.nix

51 lines
852 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, cmake
, extra-cmake-modules
, wrapGAppsHook
, gst_all_1
, kcoreaddons
, kdeclarative
, ki18n
, kirigami2
, mpv
, qtmultimedia
, qtquickcontrols2
}:
mkDerivation {
pname = "plasmatube";
nativeBuildInputs = [
extra-cmake-modules
wrapGAppsHook
];
buildInputs = [
kcoreaddons
kdeclarative
ki18n
kirigami2
mpv
qtmultimedia
qtquickcontrols2
] ++ (with gst_all_1; [
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gstreamer
]);
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
dontWrapGApps = true;
meta = {
description = "Youtube player powered by an invidious server";
homepage = "https://invent.kde.org/plasma-mobile/plasmatube";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}