nixpkgs/pkgs/kde/gear/kio-extras/default.nix
K900 ce77225e21 pkgs/kde: init at 6.0.0 / 24.02.0, the Nix bits
This is the thing you want to look at.
2024-02-28 18:49:23 +03:00

45 lines
698 B
Nix

{
mkKdeDerivation,
qt5compat,
qtsvg,
pkg-config,
libkexiv2,
samba,
libssh,
libmtp,
libimobiledevice,
gperf,
libtirpc,
openexr,
taglib,
shared-mime-info,
libappimage,
xorg,
kio,
}:
mkKdeDerivation {
pname = "kio-extras";
extraNativeBuildInputs = [pkg-config shared-mime-info];
extraBuildInputs = [
qt5compat
qtsvg
libkexiv2
samba
libssh
libmtp
libimobiledevice
gperf
libtirpc
openexr
taglib
libappimage
xorg.libXcursor
];
postInstall = ''
substituteInPlace $out/share/dbus-1/services/org.kde.kmtpd5.service \
--replace-fail Exec=$out/libexec/kf6/kiod6 Exec=${kio}/libexec/kf6/kiod6
'';
}