depot/third_party/nixpkgs/pkgs/kde/gear/angelfish/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

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-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
rustc
];
extraBuildInputs = [qtsvg qtwebengine corrosion qcoro];
}