fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
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-94f4DKRXcp3o6l3zbQzCpH2ZOztZMEAHa9ookPxbeDU=",
|
|
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];
|
|
}
|