Files
nixpkgs/pkgs/kde/gear/kdepim-addons/default.nix
2026-04-16 14:42:16 +03:00

38 lines
618 B
Nix

{
mkKdeDerivation,
sources,
pkg-config,
rustPlatform,
cargo,
rustc,
discount,
corrosion,
alpaka,
}:
mkKdeDerivation rec {
pname = "kdepim-addons";
inherit (sources.${pname}) version;
cargoRoot = "plugins/webengineurlinterceptor/adblock";
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version cargoRoot;
src = sources.${pname};
hash = "sha256-t62ThhOFWIqk+tgq+0ERSni2at+c1/9VHG88if6xG7A=";
};
extraNativeBuildInputs = [
pkg-config
rustPlatform.cargoSetupHook
cargo
rustc
];
extraBuildInputs = [
discount
corrosion
alpaka
];
}