mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
65f5cbb5f2
- kweathercore to gear - kipi removed - knotes removed - kgraphviewer and massif-visualizer added - kdevelop and friends to qt6
37 lines
759 B
Nix
37 lines
759 B
Nix
{
|
|
lib,
|
|
mkKdeDerivation,
|
|
substituteAll,
|
|
sshfs,
|
|
qtconnectivity,
|
|
qtmultimedia,
|
|
qtwayland,
|
|
pkg-config,
|
|
wayland,
|
|
wayland-protocols,
|
|
libfakekey,
|
|
}:
|
|
mkKdeDerivation {
|
|
pname = "kdeconnect-kde";
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./hardcode-sshfs-path.patch;
|
|
sshfs = lib.getExe sshfs;
|
|
})
|
|
];
|
|
|
|
# Hardcoded as a QString, which is UTF-16 so Nix can't pick it up automatically
|
|
postFixup = ''
|
|
mkdir -p $out/nix-support
|
|
echo "${sshfs}" > $out/nix-support/depends
|
|
'';
|
|
|
|
extraNativeBuildInputs = [pkg-config];
|
|
extraBuildInputs = [qtconnectivity qtmultimedia qtwayland wayland wayland-protocols libfakekey];
|
|
|
|
extraCmakeFlags = [
|
|
"-DQtWaylandScanner_EXECUTABLE=${qtwayland}/libexec/qtwaylandscanner"
|
|
];
|
|
}
|