gnutls: fixup tpm support (#363705)
[NixPkgs.git] / pkgs / applications / kde / kasts.nix
blob7ac724c761c0115c34434d23a199ebf42a8ae5fa
2   lib,
3   mkDerivation,
5   cmake,
6   extra-cmake-modules,
7   wrapGAppsHook3,
9   gst_all_1,
10   kconfig,
11   kcoreaddons,
12   ki18n,
13   kirigami-addons,
14   kirigami2,
15   networkmanager-qt,
16   qtkeychain,
17   qtmultimedia,
18   qtquickcontrols2,
19   syndication,
20   taglib,
21   threadweaver,
24 let
25   inherit (gst_all_1)
26     gstreamer
27     gst-plugins-base
28     gst-plugins-good
29     gst-plugins-bad
30     ;
32 mkDerivation rec {
33   pname = "kasts";
35   nativeBuildInputs = [
36     cmake
37     extra-cmake-modules
38     wrapGAppsHook3
39   ];
41   buildInputs = [
42     gst-plugins-bad
43     gst-plugins-base
44     gst-plugins-good
45     gstreamer
47     kconfig
48     kcoreaddons
49     ki18n
50     kirigami-addons
51     kirigami2
52     networkmanager-qt
53     qtkeychain
54     qtmultimedia
55     qtquickcontrols2
56     syndication
57     taglib
58     threadweaver
59   ];
61   preFixup = ''
62     qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
63   '';
64   dontWrapGApps = true;
66   meta = with lib; {
67     description = "Mobile podcast application";
68     mainProgram = "kasts";
69     homepage = "https://apps.kde.org/kasts/";
70     # https://invent.kde.org/plasma-mobile/kasts/-/tree/master/LICENSES
71     license = with licenses; [
72       bsd2
73       cc-by-sa-40
74       cc0
75       gpl2Only
76       gpl2Plus
77       gpl3Only
78       gpl3Plus
79       lgpl3Plus
80     ];
81     maintainers = [ ];
82   };