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";
|
2021-11-02 09:26:56 +00:00
|
|
|
version = "0.9.9.1";
|
2018-09-08 09:53:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "bitseater";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-11-02 09:26:56 +00:00
|
|
|
sha256 = "sha256-kkUVTxh5svk61oDp/dpe3ILGyexYe3UaS+LgWsy+Z9s=";
|
2018-09-08 09:53:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2020-07-29 16:33:39 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-08 09:53:48 +00:00
|
|
|
description = "Know the forecast of the next hours & days";
|
2020-04-01 01:11:51 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|