mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-14 19:30:21 +00:00
Co-authored-by: 𝑷𝒉𝒊𝒍𝒐𝒄𝒂𝒍𝒚𝒔𝒕 <regime_skylark.0y@icloud.com> Co-authored-by: adisbladis <adisbladis@gmail.com>
37 lines
593 B
Nix
37 lines
593 B
Nix
{
|
|
lib,
|
|
mkKdeDerivation,
|
|
replaceVars,
|
|
openssl,
|
|
pam,
|
|
pkg-config,
|
|
qtwayland,
|
|
kirigami-addons,
|
|
freerdp,
|
|
}:
|
|
mkKdeDerivation {
|
|
pname = "krdp";
|
|
|
|
patches = [
|
|
(replaceVars ./hardcode-openssl-path.patch {
|
|
openssl = lib.getExe openssl;
|
|
})
|
|
];
|
|
|
|
extraNativeBuildInputs = [ pkg-config ];
|
|
extraBuildInputs = [
|
|
qtwayland
|
|
|
|
kirigami-addons
|
|
|
|
freerdp
|
|
pam
|
|
];
|
|
|
|
# Hardcoded as QString, which is UTF-16 so Nix can't pick it up automatically
|
|
postFixup = ''
|
|
mkdir -p $out/nix-support
|
|
echo "${lib.getExe openssl}" > $out/nix-support/depends
|
|
'';
|
|
}
|