2021-10-06 19:34:08 +00:00
|
|
|
{ mkDerivation
|
|
|
|
, lib
|
|
|
|
, fetchFromGitLab
|
|
|
|
, extra-cmake-modules
|
|
|
|
, ki18n
|
|
|
|
, qtlocation
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "kweathercore";
|
2021-10-06 21:27:56 +00:00
|
|
|
version = "0.5";
|
2021-10-06 19:34:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
owner = "libraries";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-06 21:27:56 +00:00
|
|
|
sha256 = "08ipabskhsbspkzzdlpwl89r070q8d0vc9500ma6d5i9fnpmkz6d";
|
2021-10-06 19:34:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|