summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/thunderbird
diff options
context:
space:
mode:
authortaku0 <mxxouy6x3m_github@tatapa.org>2016-12-25 17:35:20 +0900
committerRok Garbas <rok@garbas.si>2016-12-29 11:19:50 +0100
commit93d917fa220c159ea2f785ecb967efab2d55a4a6 (patch)
treec50a55194cc8402fdb0a5303f0587255dae9f89b /pkgs/applications/networking/mailreaders/thunderbird
parent2f977b4af111288318bab3823e850ebe9aef3af6 (diff)
downloadnixlib-93d917fa220c159ea2f785ecb967efab2d55a4a6.tar
nixlib-93d917fa220c159ea2f785ecb967efab2d55a4a6.tar.gz
nixlib-93d917fa220c159ea2f785ecb967efab2d55a4a6.tar.bz2
nixlib-93d917fa220c159ea2f785ecb967efab2d55a4a6.tar.lz
nixlib-93d917fa220c159ea2f785ecb967efab2d55a4a6.tar.xz
nixlib-93d917fa220c159ea2f785ecb967efab2d55a4a6.tar.zst
nixlib-93d917fa220c159ea2f785ecb967efab2d55a4a6.zip
firefox, thunderbird: add updateScript
Diffstat (limited to 'pkgs/applications/networking/mailreaders/thunderbird')
-rw-r--r--pkgs/applications/networking/mailreaders/thunderbird/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
index cd16b73dc5d6..2ea0f6127de6 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
@@ -4,6 +4,7 @@
 , yasm, mesa, sqlite, unzip, makeWrapper
 , hunspell, libevent, libstartup_notification, libvpx
 , cairo, gstreamer, gst_plugins_base, icu
+, writeScript, xidel, coreutils, gnused, gnugrep, curl, ed
 , debugBuild ? false
 , # If you want the resulting program to call itself "Thunderbird"
   # instead of "Earlybird", enable this option.  However, those
@@ -128,4 +129,12 @@ stdenv.mkDerivation rec {
     maintainers = [ maintainers.pierron maintainers.eelco ];
     platforms = platforms.linux;
   };
+
+  passthru.updateScript = import ./../../browsers/firefox/update.nix {
+    name = "thunderbird";
+    sourceSectionRegex = ".";
+    basePath = "pkgs/applications/networking/mailreaders/thunderbird";
+    baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/";
+    inherit writeScript xidel coreutils gnused gnugrep curl ed;
+  };
 }