diff options
Diffstat (limited to 'pkgs/kde/gear/angelfish/default.nix')
-rw-r--r-- | pkgs/kde/gear/angelfish/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/kde/gear/angelfish/default.nix b/pkgs/kde/gear/angelfish/default.nix new file mode 100644 index 000000000000..133509e78b7a --- /dev/null +++ b/pkgs/kde/gear/angelfish/default.nix @@ -0,0 +1,32 @@ +{ + mkKdeDerivation, + sources, + qtsvg, + qtwebengine, + corrosion, + rustPlatform, + cargo, + rustc, + # provided as callPackage input to enable easier overrides through overlays + cargoHash ? "sha256-kkoLWJvPx1Hq+MQkPgTffrTFYgVlVfKdmJq5ExAW1NE=", + 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 = [corrosion qtsvg qtwebengine qcoro]; +} |