about summary refs log tree commit diff
path: root/nixpkgs/pkgs/kde/plasma/krdp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/kde/plasma/krdp/default.nix')
-rw-r--r--nixpkgs/pkgs/kde/plasma/krdp/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/kde/plasma/krdp/default.nix b/nixpkgs/pkgs/kde/plasma/krdp/default.nix
new file mode 100644
index 000000000000..38208475ca27
--- /dev/null
+++ b/nixpkgs/pkgs/kde/plasma/krdp/default.nix
@@ -0,0 +1,31 @@
+{
+  lib,
+  mkKdeDerivation,
+  substituteAll,
+  openssl,
+  pkg-config,
+  qtkeychain,
+  qtwayland,
+  freerdp,
+  wayland,
+  wayland-protocols,
+}:
+mkKdeDerivation {
+  pname = "krdp";
+
+  patches = [
+    (substituteAll {
+      src = ./hardcode-openssl-path.patch;
+      openssl = lib.getExe openssl;
+    })
+  ];
+
+  extraNativeBuildInputs = [pkg-config];
+  extraBuildInputs = [
+    qtkeychain
+    qtwayland
+    freerdp
+    wayland
+    wayland-protocols
+  ];
+}