1{
2 lib,
3 stdenv,
4 cmake,
5 extra-cmake-modules,
6 plasma-framework,
7 kwindowsystem,
8 fetchFromGitHub,
9}:
10
11stdenv.mkDerivation rec {
12 pname = "playbar2";
13 version = "2.5";
14
15 src = fetchFromGitHub {
16 owner = "audoban";
17 repo = "PlayBar2";
18 rev = "v${version}";
19 sha256 = "0iv2m4flgaz2r0k7f6l0ca8p6cw8j8j2gin1gci2pg3l5g5khbch";
20 };
21
22 nativeBuildInputs = [
23 cmake
24 extra-cmake-modules
25 ];
26
27 buildInputs = [
28 plasma-framework
29 kwindowsystem
30 ];
31
32 dontWrapQtApps = true;
33
34 meta = with lib; {
35 description = "Mpris2 Client for Plasma5";
36 homepage = "https://github.com/audoban/PlayBar2";
37 license = licenses.gpl3;
38 platforms = platforms.linux;
39 maintainers = with maintainers; [ pjones ];
40 };
41}