nixpkgs/pkgs/kde/plasma/krdp/default.nix
2024-09-20 08:54:48 +03:00

32 lines
455 B
Nix

{
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
];
}