2021-10-06 19:34:08 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, fetchFromGitLab
|
|
|
|
, extra-cmake-modules
|
2022-10-01 04:21:44 +00:00
|
|
|
, kholidays
|
2021-10-06 19:34:08 +00:00
|
|
|
, ki18n
|
|
|
|
, qtlocation
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "kweathercore";
|
2022-10-01 04:21:44 +00:00
|
|
|
version = "0.6";
|
2021-10-06 19:34:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
owner = "libraries";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-10-01 04:21:44 +00:00
|
|
|
sha256 = "sha256-LIgUSXKHcRqcBwGTRxU5Z4eHuWmPLerorlrnI6Cf9k4=";
|
2021-10-06 19:34:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-10-01 04:21:44 +00:00
|
|
|
kholidays
|
2021-10-06 19:34:08 +00:00
|
|
|
ki18n
|
|
|
|
qtlocation
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
license = [ licenses.cc0 ];
|
|
|
|
maintainers = [ maintainers.samueldr ];
|
|
|
|
description = ''
|
|
|
|
Library to facilitate retrieval of weather information including forecasts and alerts
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|