summary refs log tree commit diff
path: root/pkgs/applications/networking/weather/meteo/default.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-07-29 12:33:39 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2020-07-29 12:33:39 -0400
commitd12c11e30c929383b82603c8b143dbb7bed4f205 (patch)
tree9c3c7de4da6aa05c36285dc56a3626e950a8ccc2 /pkgs/applications/networking/weather/meteo/default.nix
parent9b97ee7b64e1587abaaca361f7a1fc69e7164a29 (diff)
treewide: use nix-update updateScript for packages I maintain
Diffstat (limited to 'pkgs/applications/networking/weather/meteo/default.nix')
-rw-r--r--pkgs/applications/networking/weather/meteo/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/networking/weather/meteo/default.nix b/pkgs/applications/networking/weather/meteo/default.nix
index 9887e34d7354b..c0591f24c96d9 100644
--- a/pkgs/applications/networking/weather/meteo/default.nix
+++ b/pkgs/applications/networking/weather/meteo/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitLab, vala, python3, pkgconfig, meson, ninja, gtk3
-, json-glib, libsoup, webkitgtk, geocode-glib
+, json-glib, libsoup, webkitgtk, geocode-glib, nix-update-script
 , libappindicator, desktop-file-utils, appstream, wrapGAppsHook }:
 
 stdenv.mkDerivation rec {
@@ -38,6 +38,13 @@ stdenv.mkDerivation rec {
     patchShebangs meson/post_install.py
   '';
 
+  passthru = {
+    updateScript = nix-update-script {
+      attrPath = pname;
+    };
+  };
+
+
   meta = with stdenv.lib; {
     description = "Know the forecast of the next hours & days";
     homepage = "https://gitlab.com/bitseater/meteo";