2021-03-07 22:47:42 +00:00
|
|
|
{ lib
|
|
|
|
, mkDerivation
|
2021-05-10 16:10:29 +01:00
|
|
|
, fetchurl
|
2021-03-07 22:47:42 +00:00
|
|
|
, cmake
|
|
|
|
, corrosion
|
|
|
|
, extra-cmake-modules
|
|
|
|
, kconfig
|
|
|
|
, kcoreaddons
|
|
|
|
, kdbusaddons
|
|
|
|
, ki18n
|
|
|
|
, kirigami2
|
|
|
|
, knotifications
|
|
|
|
, kpurpose
|
|
|
|
, kwindowsystem
|
2021-05-10 16:10:29 +01:00
|
|
|
, qtfeedback
|
2021-03-07 22:47:42 +00:00
|
|
|
, qtquickcontrols2
|
|
|
|
, qtwebengine
|
|
|
|
, rustPlatform
|
2021-10-07 01:58:48 +01:00
|
|
|
, srcs
|
2021-03-07 22:47:42 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "angelfish";
|
|
|
|
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
2021-10-07 01:58:48 +01:00
|
|
|
src = srcs.angelfish.src;
|
|
|
|
name = "${pname}-${srcs.angelfish.version}";
|
2021-09-22 05:09:38 +01:00
|
|
|
sha256 = "1pbvw9hdzn3i97mahdy9y6jnjsmwmjs3lxfz7q6r9r10i8swbkak";
|
2021-03-07 22:47:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
corrosion
|
|
|
|
extra-cmake-modules
|
|
|
|
] ++ (with rustPlatform; [
|
|
|
|
cargoSetupHook
|
|
|
|
rust.cargo
|
|
|
|
rust.rustc
|
|
|
|
]);
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DRust_CARGO=${rustPlatform.rust.cargo}/bin/cargo"
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
kconfig
|
|
|
|
kcoreaddons
|
|
|
|
kdbusaddons
|
|
|
|
ki18n
|
|
|
|
kirigami2
|
|
|
|
knotifications
|
|
|
|
kpurpose
|
|
|
|
kwindowsystem
|
2021-05-10 16:10:29 +01:00
|
|
|
qtfeedback
|
2021-03-07 22:47:42 +00:00
|
|
|
qtquickcontrols2
|
|
|
|
qtwebengine
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Web browser for Plasma Mobile";
|
2021-09-22 05:09:38 +01:00
|
|
|
homepage = "https://invent.kde.org/plasma-mobile/angelfish";
|
2021-03-07 22:47:42 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|