From f1355079b9fdbc439216249a49053c04c7f259de Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Sat, 23 Sep 2017 11:40:24 -0700 Subject: [PATCH] playbar2: init at 2.5 --- pkgs/applications/audio/playbar2/default.nix | 37 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/applications/audio/playbar2/default.nix diff --git a/pkgs/applications/audio/playbar2/default.nix b/pkgs/applications/audio/playbar2/default.nix new file mode 100644 index 000000000000..16d5eb69cb97 --- /dev/null +++ b/pkgs/applications/audio/playbar2/default.nix @@ -0,0 +1,37 @@ +{ stdenv +, cmake +, extra-cmake-modules +, plasma-framework +, kwindowsystem +, fetchFromGitHub +}: + +stdenv.mkDerivation rec { + name = "playbar2-${version}"; + version = "2.5"; + + src = fetchFromGitHub { + owner = "audoban"; + repo = "PlayBar2"; + rev = "v${version}"; + sha256 = "0iv2m4flgaz2r0k7f6l0ca8p6cw8j8j2gin1gci2pg3l5g5khbch"; + }; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + ]; + + buildInputs = [ + plasma-framework + kwindowsystem + ]; + + meta = with stdenv.lib; { + description = "Mpris2 Client for Plasma5"; + homepage = https://github.com/audoban/PlayBar2; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ pjones ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 257d116ec79d..272ac750a595 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3889,6 +3889,8 @@ with pkgs; platinum-searcher = callPackage ../tools/text/platinum-searcher { }; + playbar2 = libsForQt5.callPackage ../applications/audio/playbar2 { }; + plex = callPackage ../servers/plex { enablePlexPass = config.plex.enablePlexPass or false; }; ploticus = callPackage ../tools/graphics/ploticus {