about summary refs log tree commit diff
path: root/pkgs/applications/kde/kasts.nix
blob: 65e4d09409c7ab0eea45159e7a0ab8882b4de5bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{ lib
, mkDerivation

, cmake
, extra-cmake-modules
, wrapGAppsHook3

, gst_all_1
, kconfig
, kcoreaddons
, ki18n
, kirigami-addons
, kirigami2
, networkmanager-qt
, qtkeychain
, qtmultimedia
, qtquickcontrols2
, syndication
, taglib
, threadweaver
}:

let
  inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad;
in
mkDerivation rec {
  pname = "kasts";

  nativeBuildInputs = [
    cmake
    extra-cmake-modules
    wrapGAppsHook3
  ];

  buildInputs = [
    gst-plugins-bad
    gst-plugins-base
    gst-plugins-good
    gstreamer

    kconfig
    kcoreaddons
    ki18n
    kirigami-addons
    kirigami2
    networkmanager-qt
    qtkeychain
    qtmultimedia
    qtquickcontrols2
    syndication
    taglib
    threadweaver
  ];

  preFixup = ''
    qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
  '';
  dontWrapGApps = true;

  meta = with lib; {
    description = "Mobile podcast application";
    mainProgram = "kasts";
    homepage = "https://apps.kde.org/kasts/";
    # https://invent.kde.org/plasma-mobile/kasts/-/tree/master/LICENSES
    license = with licenses; [ bsd2 cc-by-sa-40 cc0 gpl2Only gpl2Plus gpl3Only gpl3Plus lgpl3Plus ];
    maintainers = with maintainers; [ samueldr ];
  };
}