mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
ee3ddc28af
kde/gear: 23.04.0 -> 23.04.1
70 lines
1.3 KiB
Nix
70 lines
1.3 KiB
Nix
{ lib
|
|
, mkDerivation
|
|
, cargo
|
|
, cmake
|
|
, corrosion
|
|
, extra-cmake-modules
|
|
, kconfig
|
|
, kcoreaddons
|
|
, kdbusaddons
|
|
, ki18n
|
|
, kirigami-addons
|
|
, kirigami2
|
|
, knotifications
|
|
, kpurpose
|
|
, kwindowsystem
|
|
, qtfeedback
|
|
, qtquickcontrols2
|
|
, qqc2-desktop-style
|
|
, qtwebengine
|
|
, rustPlatform
|
|
, rustc
|
|
, srcs
|
|
|
|
# provided as callPackage input to enable easier overrides through overlays
|
|
, cargoSha256 ? "sha256-whMfpElpFB7D+dHHJrbwINFL4bVpHTlcZX+mdBfiqEE="
|
|
}:
|
|
|
|
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;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
corrosion
|
|
extra-cmake-modules
|
|
rustPlatform.cargoSetupHook
|
|
cargo
|
|
rustc
|
|
];
|
|
|
|
buildInputs = [
|
|
kconfig
|
|
kcoreaddons
|
|
kdbusaddons
|
|
ki18n
|
|
kirigami-addons
|
|
kirigami2
|
|
knotifications
|
|
kpurpose
|
|
kwindowsystem
|
|
qtfeedback
|
|
qtquickcontrols2
|
|
qqc2-desktop-style
|
|
qtwebengine
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Web browser for Plasma Mobile";
|
|
homepage = "https://invent.kde.org/plasma-mobile/angelfish";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|