38 lines
709 B
Nix
38 lines
709 B
Nix
|
{
|
||
|
mkKdeDerivation,
|
||
|
sources,
|
||
|
qtsvg,
|
||
|
qtwebengine,
|
||
|
corrosion,
|
||
|
rustPlatform,
|
||
|
cargo,
|
||
|
rustc,
|
||
|
# provided as callPackage input to enable easier overrides through overlays
|
||
|
cargoHash ? "sha256-gE3wrRI8TaiA6LNqyrpEuw8ALnprGjzWQduCckG1Eo0=",
|
||
|
qcoro,
|
||
|
}:
|
||
|
mkKdeDerivation rec {
|
||
|
pname = "angelfish";
|
||
|
inherit (sources.${pname}) version;
|
||
|
|
||
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||
|
# include version in the name so we invalidate the FOD
|
||
|
name = "${pname}-${version}";
|
||
|
src = sources.${pname};
|
||
|
hash = cargoHash;
|
||
|
};
|
||
|
|
||
|
extraNativeBuildInputs = [
|
||
|
rustPlatform.cargoSetupHook
|
||
|
cargo
|
||
|
rustc
|
||
|
];
|
||
|
|
||
|
extraBuildInputs = [
|
||
|
qtsvg
|
||
|
qtwebengine
|
||
|
corrosion
|
||
|
qcoro
|
||
|
];
|
||
|
}
|