marwaita-ubuntu: add update script

+5 -1
+5 -1
pkgs/data/themes/marwaita-ubuntu/default.nix
··· 1 - { lib, stdenv 2 , fetchFromGitHub 3 , gdk-pixbuf 4 , gtk-engine-murrine 5 , gtk_engines 6 , librsvg 7 }: 8 9 stdenv.mkDerivation rec { ··· 35 cp -a Marwaita* $out/share/themes 36 runHook postInstall 37 ''; 38 39 meta = with lib; { 40 description = "Ubuntu Style of Marwaita GTK theme";
··· 1 + { lib 2 + , stdenv 3 , fetchFromGitHub 4 , gdk-pixbuf 5 , gtk-engine-murrine 6 , gtk_engines 7 , librsvg 8 + , gitUpdater 9 }: 10 11 stdenv.mkDerivation rec { ··· 37 cp -a Marwaita* $out/share/themes 38 runHook postInstall 39 ''; 40 + 41 + passthru.updateScript = gitUpdater { }; 42 43 meta = with lib; { 44 description = "Ubuntu Style of Marwaita GTK theme";