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