summary refs log tree commit diff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2018-09-08 05:53:48 -0400
committerworldofpeace <worldofpeace@users.noreply.github.com>2018-09-09 18:34:32 -0400
commit5a9d853d2291a259a0590ac66e372f52fdbc4620 (patch)
tree7e625505cbf9bf248e2bc4e0b6cc6e8e5fff2efe
parent38659741779ce821dd765c7a0b9d7f8a0c016f71 (diff)
downloadnixlib-5a9d853d2291a259a0590ac66e372f52fdbc4620.tar
nixlib-5a9d853d2291a259a0590ac66e372f52fdbc4620.tar.gz
nixlib-5a9d853d2291a259a0590ac66e372f52fdbc4620.tar.bz2
nixlib-5a9d853d2291a259a0590ac66e372f52fdbc4620.tar.lz
nixlib-5a9d853d2291a259a0590ac66e372f52fdbc4620.tar.xz
nixlib-5a9d853d2291a259a0590ac66e372f52fdbc4620.tar.zst
nixlib-5a9d853d2291a259a0590ac66e372f52fdbc4620.zip
meteo: init at 0.8.5
-rw-r--r--pkgs/applications/networking/weather/meteo/default.nix54
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 56 insertions, 0 deletions
diff --git a/pkgs/applications/networking/weather/meteo/default.nix b/pkgs/applications/networking/weather/meteo/default.nix
new file mode 100644
index 000000000000..6d431a436ada
--- /dev/null
+++ b/pkgs/applications/networking/weather/meteo/default.nix
@@ -0,0 +1,54 @@
+{ stdenv, fetchFromGitLab, vala, python3, pkgconfig, meson, ninja, granite, gtk3
+, gnome3, json-glib, libsoup, clutter, clutter-gtk, libchamplain, webkitgtk
+, libappindicator, desktop-file-utils, appstream, gobjectIntrospection, wrapGAppsHook }:
+
+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
+    gobjectIntrospection
+    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;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e55817f92b4f..01438136deb2 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -17451,6 +17451,8 @@ with pkgs;
 
   mediathekview = callPackage ../applications/video/mediathekview { };
 
+  meteo = callPackage ../applications/networking/weather/meteo { };
+
   meld = callPackage ../applications/version-management/meld { };
 
   meme = callPackage ../applications/graphics/meme { };