summaryrefslogtreecommitdiff
path: root/pkgs/xwaylandvideobridge/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-10-07 10:10:55 -0400
committerseth <[email protected]>2023-10-07 10:18:46 -0400
commit519191cd9f31d1fe1c205535ddc4efe5f2e63793 (patch)
tree441a3b0cbf33a15ac052a1fd6a6894cf169f493b /pkgs/xwaylandvideobridge/default.nix
parent62a26a94a11774b7c14ea10cde0ca2294990fb9b (diff)
treewide!: remove flake-parts
while i love flake parts, i want to keep dependencies for this project as small as possible
Diffstat (limited to 'pkgs/xwaylandvideobridge/default.nix')
-rw-r--r--pkgs/xwaylandvideobridge/default.nix52
1 files changed, 52 insertions, 0 deletions
diff --git a/pkgs/xwaylandvideobridge/default.nix b/pkgs/xwaylandvideobridge/default.nix
new file mode 100644
index 0000000..3c1fef9
--- /dev/null
+++ b/pkgs/xwaylandvideobridge/default.nix
@@ -0,0 +1,52 @@
+{
+ lib,
+ cmake,
+ extra-cmake-modules,
+ fetchFromGitLab,
+ libsForQt5,
+ ninja,
+ pkg-config,
+ stdenv,
+ xorg,
+}:
+stdenv.mkDerivation rec {
+ pname = "xwaylandvideobridge";
+ version = "unstable-2023-09-11";
+
+ src = fetchFromGitLab {
+ domain = "invent.kde.org";
+ owner = "system";
+ repo = pname;
+ rev = "b9e0c53570f55f4e8289f72ba78f3945e27e1a1a";
+ sha256 = "sha256-tnWfpx/6aABe0VdIjOtx3oDL8C4uQo0yTd6VbAQT7/o=";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ extra-cmake-modules
+ ninja
+ libsForQt5.qt5.wrapQtAppsHook
+ pkg-config
+ ];
+
+ buildInputs = with libsForQt5; [
+ kcoreaddons
+ kdbusaddons
+ ki18n
+ knotifications
+ kpipewire
+ kwidgetsaddons
+ kwindowsystem
+ qt5.qtquickcontrols2
+ qt5.qtx11extras
+ xorg.libxcb
+ ];
+
+ meta = with lib; {
+ description = "Utility to allow streaming Wayland windows to X applications";
+ homepage = "https://invent.kde.org/system/xwaylandvideobridge";
+ license = licenses.gpl2Plus;
+ maintainer = [maintainers.getchoo];
+ platforms = platforms.linux;
+ };
+}