diff --git a/pkgs/applications/video/kaffeine/default.nix b/pkgs/applications/video/kaffeine/default.nix new file mode 100644 index 000000000000..6cbce01f61f6 --- /dev/null +++ b/pkgs/applications/video/kaffeine/default.nix @@ -0,0 +1,50 @@ +{ stdenv +, lib +, fetchFromGitLab +, kio +, cmake +, extra-cmake-modules +, libvlc +, libX11 +, kidletime +, kdelibs4support +, libXScrnSaver +, wrapQtAppsHook +, qtx11extras +}: + +stdenv.mkDerivation rec { + pname = "kaffeine"; + version = "2.0.18"; + + src = fetchFromGitLab { + domain = "invent.kde.org"; + repo = pname; + owner = "Multimedia"; + rev = "v${version}"; + hash = "sha256-FOaS9gkzkHglbsNBNMwjzbHCNQg3Mbf+9so/Vfbaquc="; + }; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + wrapQtAppsHook + ]; + + buildInputs = [ + libvlc + libX11 + kidletime + qtx11extras + kdelibs4support + libXScrnSaver + ]; + + meta = with lib; { + description = "KDE media player"; + homepage = "https://apps.kde.org/kaffeine/"; + license = licenses.gpl2; + maintainers = [ maintainers.pasqui23 ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 69e5bb861b27..6a965bf7e5c1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6697,6 +6697,8 @@ with pkgs; }; kakouneUtils = callPackage ../applications/editors/kakoune/plugins/kakoune-utils.nix { }; + kaffeine = libsForQt5.callPackage ../applications/video/kaffeine { }; + kak-lsp = callPackage ../tools/misc/kak-lsp { inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; };