blob: 999d3f2b084d7b0f4b0f4dd8735ad840b28796f8 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{
mkKdeDerivation,
sources,
corrosion,
xapian,
rustPlatform,
cargo,
rustc,
}:
mkKdeDerivation rec {
pname = "akonadi-search";
inherit (sources.${pname}) version;
cargoRoot = "agent/rs/htmlparser";
cargoDeps = rustPlatform.fetchCargoVendor {
# include version in the name so we invalidate the FOD
name = "${pname}-${version}";
src = sources.${pname};
sourceRoot = "${pname}-${version}/${cargoRoot}";
hash = "sha256-fx8q7b0KGEevn0DlMAGgAvQMXqZmBF8aINDwpaGyq7I=";
};
extraNativeBuildInputs = [
rustPlatform.cargoSetupHook
cargo
rustc
];
extraBuildInputs = [
corrosion
xapian
];
}
|