From f50a6b50a59a8ef66483b6cf41b0a0a8a5502c0f Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Mon, 22 Mar 2021 16:20:08 -0400 Subject: [PATCH] kweather: init at 21.06 --- pkgs/applications/plasma-mobile/default.nix | 1 + pkgs/applications/plasma-mobile/kweather.nix | 42 ++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/applications/plasma-mobile/kweather.nix diff --git a/pkgs/applications/plasma-mobile/default.nix b/pkgs/applications/plasma-mobile/default.nix index d02bf4b9f396..04532ea18e14 100644 --- a/pkgs/applications/plasma-mobile/default.nix +++ b/pkgs/applications/plasma-mobile/default.nix @@ -70,6 +70,7 @@ let koko = callPackage ./koko.nix {}; krecorder = callPackage ./krecorder.nix {}; ktrip = callPackage ./ktrip.nix {}; + kweather = callPackage ./kweather.nix {}; plasma-dialer = callPackage ./plasma-dialer.nix {}; plasma-phonebook = callPackage ./plasma-phonebook.nix {}; spacebar = callPackage ./spacebar.nix {}; diff --git a/pkgs/applications/plasma-mobile/kweather.nix b/pkgs/applications/plasma-mobile/kweather.nix new file mode 100644 index 000000000000..8d12c76646b5 --- /dev/null +++ b/pkgs/applications/plasma-mobile/kweather.nix @@ -0,0 +1,42 @@ +{ lib +, mkDerivation + +, cmake +, extra-cmake-modules + +, kconfig +, ki18n +, kirigami2 +, knotifications +, kquickcharts +, kweathercore +, plasma-framework +, qtquickcontrols2 +}: + +mkDerivation rec { + pname = "kweather"; + + nativeBuildInputs = [ + cmake + extra-cmake-modules + ]; + + buildInputs = [ + kconfig + ki18n + kirigami2 + knotifications + kquickcharts + kweathercore + plasma-framework + qtquickcontrols2 + ]; + + meta = with lib; { + description = "Weather application for Plasma Mobile"; + homepage = "https://invent.kde.org/plasma-mobile/kweather"; + license = with licenses; [ gpl2Plus cc-by-40 ]; + maintainers = with maintainers; [ samueldr ]; + }; +}