nixpkgs/pkgs/development/libraries/kweathercore/default.nix
2023-10-26 02:31:38 +03:00

38 lines
698 B
Nix

{ mkDerivation
, lib
, fetchFromGitLab
, extra-cmake-modules
, kholidays
, ki18n
, qtlocation
}:
mkDerivation rec {
pname = "kweathercore";
version = "0.7";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "libraries";
repo = pname;
rev = "v${version}";
sha256 = "sha256-CnnoPkgz97SfDG13zfyIWweVnp2oxAChTPKFxJC+L8A=";
};
buildInputs = [
kholidays
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
'';
};
}