2024-02-29 20:09:43 +00:00
|
|
|
{
|
|
|
|
mkKdeDerivation,
|
|
|
|
sources,
|
|
|
|
qtsvg,
|
|
|
|
qtwebengine,
|
|
|
|
corrosion,
|
|
|
|
rustPlatform,
|
|
|
|
cargo,
|
|
|
|
rustc,
|
|
|
|
# provided as callPackage input to enable easier overrides through overlays
|
2024-09-19 14:19:46 +00:00
|
|
|
cargoHash ? "sha256-xZkFVINKcJlJizHpBFLsMheQ45GsgWafzlDmxUydf5k=",
|
2024-02-29 20:09:43 +00:00
|
|
|
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
|
|
|
|
];
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
extraBuildInputs = [
|
|
|
|
qtsvg
|
|
|
|
qtwebengine
|
|
|
|
corrosion
|
|
|
|
qcoro
|
|
|
|
];
|
2024-02-29 20:09:43 +00:00
|
|
|
}
|