bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
32 lines
689 B
Nix
32 lines
689 B
Nix
{
|
|
mkKdeDerivation,
|
|
sources,
|
|
qtsvg,
|
|
qtwebengine,
|
|
corrosion,
|
|
rustPlatform,
|
|
cargo,
|
|
rustc,
|
|
# provided as callPackage input to enable easier overrides through overlays
|
|
cargoHash ? "sha256-Y0aG8NgiDTbDYgh8hMxfwSCHFh8f7PGABxw10m07dgs=",
|
|
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];
|
|
}
|