2018-08-20 22:31:18 +02:00
|
|
|
{ stdenv, fetchFromGitLab, vala, python3, pkgconfig, meson, ninja, gtk3
|
2018-09-08 11:53:48 +02:00
|
|
|
, gnome3, json-glib, libsoup, clutter, clutter-gtk, libchamplain, webkitgtk
|
2018-12-02 12:41:15 +01:00
|
|
|
, libappindicator, desktop-file-utils, appstream, gobject-introspection, wrapGAppsHook }:
|
2018-09-08 11:53:48 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "meteo";
|
|
|
|
version = "0.8.5";
|
|
|
|
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "bitseater";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1mc2djhkg0nzcjmy87l1wqwni48vgpqh8s1flr90pipk12a1mh7n";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
appstream
|
|
|
|
desktop-file-utils
|
2018-12-02 12:41:15 +01:00
|
|
|
gobject-introspection
|
2018-09-08 11:53:48 +02:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
clutter
|
|
|
|
clutter-gtk
|
|
|
|
gnome3.geocode-glib
|
|
|
|
gtk3
|
|
|
|
json-glib
|
|
|
|
libappindicator
|
|
|
|
libchamplain
|
|
|
|
libsoup
|
|
|
|
webkitgtk
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Know the forecast of the next hours & days";
|
|
|
|
homepage = https://gitlab.com/bitseater/meteo;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|