eaglemode: 0.96.0 -> 0.96.1, add updateScript

authored by

Chuang Zhu and committed by
Emery Hemingway
6c3431e7 bb92c025

+9 -3
+9 -3
pkgs/applications/misc/eaglemode/default.nix
··· 1 1 { lib, stdenv, fetchurl, perl, libX11, libXinerama, libjpeg, libpng, libtiff 2 2 , libwebp, pkg-config, librsvg, glib, gtk2, libXext, libXxf86vm, poppler, vlc 3 - , ghostscript, makeWrapper, tzdata, makeDesktopItem, copyDesktopItems }: 3 + , ghostscript, makeWrapper, tzdata, makeDesktopItem, copyDesktopItems 4 + , directoryListingUpdater }: 4 5 5 6 stdenv.mkDerivation rec { 6 7 pname = "eaglemode"; 7 - version = "0.96.0"; 8 + version = "0.96.1"; 8 9 9 10 src = fetchurl { 10 11 url = "mirror://sourceforge/eaglemode/${pname}-${version}.tar.bz2"; 11 - hash = "sha256-aMVXJpfws9rh2Eaa/EzSLwtwvn0pVJlEbhxzvXME1hs="; 12 + hash = "sha256-FIhCcMghzLg7Odcsou9hBw7kIaqLVUFEAKUk9uwRNNw="; 12 13 }; 13 14 14 15 # Fixes "Error: No time zones found." on the clock ··· 54 55 categories = [ "Game" "Graphics" "System" "Utility" ]; 55 56 }) 56 57 ]; 58 + 59 + passthru.updateScript = directoryListingUpdater { 60 + url = "https://eaglemode.sourceforge.net/download.html"; 61 + extraRegex = "(?!.*(x86_64|setup64|livecd)).*"; 62 + }; 57 63 58 64 meta = with lib; { 59 65 homepage = "https://eaglemode.sourceforge.net";