nixpkgs/pkgs/applications/kde/angelfish.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
1.3 KiB
Nix
Raw Normal View History

2021-03-07 22:47:42 +00:00
{ lib
, mkDerivation
, cargo
2021-03-07 22:47:42 +00:00
, cmake
, corrosion
, extra-cmake-modules
, kconfig
, kcoreaddons
, kdbusaddons
, ki18n
, kirigami-addons
2021-03-07 22:47:42 +00:00
, kirigami2
, knotifications
, kpurpose
, kwindowsystem
, qtfeedback
2021-03-07 22:47:42 +00:00
, qtquickcontrols2
, qqc2-desktop-style
2021-03-07 22:47:42 +00:00
, qtwebengine
, rustPlatform
, rustc
, srcs
# provided as callPackage input to enable easier overrides through overlays
2023-07-06 17:27:02 +00:00
, cargoSha256 ? "sha256-Wthw7foadXO6jYJO1TB4OOYtpwnp8iCdda4tdiYg41A="
2021-03-07 22:47:42 +00:00
}:
mkDerivation rec {
pname = "angelfish";
cargoDeps = rustPlatform.fetchCargoTarball {
# include version in the name so we invalidate the FOD
name = "${pname}-${srcs.angelfish.version}";
inherit (srcs.angelfish) src;
sha256 = cargoSha256;
2021-03-07 22:47:42 +00:00
};
nativeBuildInputs = [
cmake
corrosion
extra-cmake-modules
rustPlatform.cargoSetupHook
cargo
rustc
];
2021-03-07 22:47:42 +00:00
buildInputs = [
kconfig
kcoreaddons
kdbusaddons
ki18n
kirigami-addons
2021-03-07 22:47:42 +00:00
kirigami2
knotifications
kpurpose
kwindowsystem
qtfeedback
2021-03-07 22:47:42 +00:00
qtquickcontrols2
qqc2-desktop-style
2021-03-07 22:47:42 +00:00
qtwebengine
];
meta = with lib; {
description = "Web browser for Plasma Mobile";
2021-09-22 04:09:38 +00:00
homepage = "https://invent.kde.org/plasma-mobile/angelfish";
2021-03-07 22:47:42 +00:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}