587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
33 lines
693 B
Nix
33 lines
693 B
Nix
{
|
|
mkKdeDerivation,
|
|
sources,
|
|
qtsvg,
|
|
qtwebengine,
|
|
corrosion,
|
|
rustPlatform,
|
|
cargo,
|
|
rustc,
|
|
# provided as callPackage input to enable easier overrides through overlays
|
|
cargoHash ? "sha256-QJZJqdixPThgiKnruKetmzhbvtY/MsGy4v+OdQiEFR8=",
|
|
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
|
|
corrosion
|
|
rustc
|
|
];
|
|
|
|
extraBuildInputs = [qtsvg qtwebengine qcoro];
|
|
}
|