lol
1{ mkDerivation
2, lib
3, fetchFromGitLab
4, extra-cmake-modules
5, kholidays
6, ki18n
7, qtlocation
8}:
9
10mkDerivation rec {
11 pname = "kweathercore";
12 version = "0.7";
13
14 src = fetchFromGitLab {
15 domain = "invent.kde.org";
16 owner = "libraries";
17 repo = pname;
18 rev = "v${version}";
19 sha256 = "sha256-CnnoPkgz97SfDG13zfyIWweVnp2oxAChTPKFxJC+L8A=";
20 };
21
22 buildInputs = [
23 kholidays
24 ki18n
25 qtlocation
26 ];
27
28 nativeBuildInputs = [ extra-cmake-modules ];
29
30 meta = with lib; {
31 license = [ licenses.cc0 ];
32 maintainers = [ maintainers.samueldr ];
33 description = ''
34 Library to facilitate retrieval of weather information including forecasts and alerts
35 '';
36 };
37}