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