depot/third_party/nixpkgs/pkgs/kde/gear/angelfish/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

37 lines
709 B
Nix

{
mkKdeDerivation,
sources,
qtsvg,
qtwebengine,
corrosion,
rustPlatform,
cargo,
rustc,
# provided as callPackage input to enable easier overrides through overlays
cargoHash ? "sha256-xZkFVINKcJlJizHpBFLsMheQ45GsgWafzlDmxUydf5k=",
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
];
}