nixpkgs/pkgs/applications/networking/weather/meteo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

70 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-31 03:54:41 +00:00
{ lib
, stdenv
, fetchFromGitLab
, nix-update-script
, appstream
, desktop-file-utils
, meson
, ninja
, pkg-config
, python3
, vala
, wrapGAppsHook
, glib
, gtk3
, json-glib
, libappindicator
, libsoup
, webkitgtk
}:
2018-09-08 09:53:48 +00:00
stdenv.mkDerivation rec {
pname = "meteo";
2023-07-24 15:43:00 +00:00
version = "0.9.9.2";
2018-09-08 09:53:48 +00:00
src = fetchFromGitLab {
owner = "bitseater";
repo = pname;
rev = version;
2023-07-24 15:43:00 +00:00
sha256 = "sha256-9+FNpLjiX0zdsUnbBnNSLt/Ma/cqtclP25tl+faPlpU=";
2018-09-08 09:53:48 +00:00
};
nativeBuildInputs = [
appstream
desktop-file-utils
meson
ninja
pkg-config
2018-09-08 09:53:48 +00:00
python3
vala
wrapGAppsHook
];
buildInputs = [
2021-10-31 03:54:41 +00:00
glib
2018-09-08 09:53:48 +00:00
gtk3
json-glib
libappindicator
libsoup
webkitgtk
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script { };
};
meta = with lib; {
2018-09-08 09:53:48 +00:00
description = "Know the forecast of the next hours & days";
homepage = "https://gitlab.com/bitseater/meteo";
2019-11-20 10:29:03 +00:00
license = licenses.gpl3Plus;
2021-10-31 03:54:41 +00:00
maintainers = with maintainers; [ bobby285271 ];
2019-11-20 10:29:03 +00:00
platforms = platforms.linux;
2021-10-31 03:54:41 +00:00
mainProgram = "com.gitlab.bitseater.meteo";
2018-09-08 09:53:48 +00:00
};
}