1{
2 stdenv,
3 fetchurl,
4 lib,
5 extra-cmake-modules,
6 kdoctools,
7 qca-qt5,
8 qjson,
9 qtquickcontrols2,
10 qtscript,
11 qtwebengine,
12 karchive,
13 kcmutils,
14 kconfig,
15 kdnssd,
16 kguiaddons,
17 kinit,
18 kirigami2,
19 knewstuff,
20 knotifyconfig,
21 ktexteditor,
22 kwindowsystem,
23 fftw,
24 phonon,
25 plasma-framework,
26 threadweaver,
27 breeze-icons,
28 wrapQtAppsHook,
29 curl,
30 ffmpeg,
31 gdk-pixbuf,
32 libaio,
33 liblastfm,
34 libmtp,
35 loudmouth,
36 lzo,
37 lz4,
38 mariadb-embedded,
39 pcre,
40 snappy,
41 taglib,
42 taglib_extras,
43}:
44
45stdenv.mkDerivation (finalAttrs: {
46 pname = "amarok";
47 version = "3.2.2";
48
49 src = fetchurl {
50 url = "mirror://kde/stable/amarok/${finalAttrs.version}/amarok-${finalAttrs.version}.tar.xz";
51 sha256 = "sha256-/N48N9H4FezIiTD+bR6k1LCx7Tsz/NMt9VQq+HTdKrA=";
52 };
53
54 outputs = [
55 "out"
56 "doc"
57 ];
58
59 nativeBuildInputs = [
60 extra-cmake-modules
61 kdoctools
62 wrapQtAppsHook
63 ];
64
65 propagatedBuildInputs = [
66 qca-qt5
67 qjson
68 qtquickcontrols2
69 qtscript
70 qtwebengine
71 karchive
72 kcmutils
73 kconfig
74 kdnssd
75 kguiaddons
76 kinit
77 kirigami2
78 knewstuff
79 knotifyconfig
80 ktexteditor
81 kwindowsystem
82 phonon
83 plasma-framework
84 threadweaver
85 curl
86 fftw
87 ffmpeg
88 gdk-pixbuf
89 libaio
90 liblastfm
91 libmtp
92 loudmouth
93 lz4
94 lzo
95 mariadb-embedded
96 pcre
97 snappy
98 taglib
99 taglib_extras
100 breeze-icons
101 ];
102
103 enableParallelBuilding = true;
104
105 meta = with lib; {
106 homepage = "https://amarok.kde.org";
107 description = "Powerful music player with an intuitive interface";
108 license = licenses.gpl2Plus;
109 maintainers = with maintainers; [ peterhoeg ];
110 };
111})