33 lines
544 B
Nix

{
mkKdeDerivation,
sources,
corrosion,
xapian,
rustPlatform,
cargo,
rustc,
}:
mkKdeDerivation rec {
pname = "akonadi-search";
inherit (sources.${pname}) version;
cargoRoot = "agent/rs/htmlparser";
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version cargoRoot;
src = sources.${pname};
hash = "sha256-hdm4LfQcs4TTfBLzlZYJ0uzqfLxMXuYQExLGJg81W2U=";
};
extraNativeBuildInputs = [
rustPlatform.cargoSetupHook
cargo
rustc
];
extraBuildInputs = [
corrosion
xapian
];
}