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