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