mate: simplify update script

- No need to pass the version and attrPath arguments

+40 -41
+1 -1
pkgs/desktops/mate/atril/default.nix
··· 73 73 74 74 enableParallelBuilding = true; 75 75 76 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 76 + passthru.updateScript = mateUpdateScript { inherit pname; }; 77 77 78 78 meta = with lib; { 79 79 description = "A simple multi-page document viewer for the MATE desktop";
+1 -1
pkgs/desktops/mate/caja-dropbox/default.nix
··· 53 53 54 54 enableParallelBuilding = true; 55 55 56 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 56 + passthru.updateScript = mateUpdateScript { inherit pname; }; 57 57 58 58 meta = with lib; { 59 59 description = "Dropbox extension for Caja file manager";
+1 -1
pkgs/desktops/mate/caja-extensions/default.nix
··· 61 61 62 62 enableParallelBuilding = true; 63 63 64 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 64 + passthru.updateScript = mateUpdateScript { inherit pname; }; 65 65 66 66 meta = with lib; { 67 67 description = "Set of extensions for Caja file manager";
+1 -1
pkgs/desktops/mate/caja/default.nix
··· 43 43 44 44 enableParallelBuilding = true; 45 45 46 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 46 + passthru.updateScript = mateUpdateScript { inherit pname; }; 47 47 48 48 meta = with lib; { 49 49 description = "File manager for the MATE desktop";
+2 -3
pkgs/desktops/mate/default.nix
··· 4 4 packages = self: with self; { 5 5 6 6 # Update script tailored to mate packages from git repository 7 - mateUpdateScript = { pname, version, odd-unstable ? true, rev-prefix ? "v", url ? null }: 7 + mateUpdateScript = { pname, odd-unstable ? true, rev-prefix ? "v", url ? null }: 8 8 pkgs.gitUpdater { 9 - inherit pname version odd-unstable rev-prefix; 9 + inherit odd-unstable rev-prefix; 10 10 url = if url == null then "https://git.mate-desktop.org/${pname}" else url; 11 - attrPath = "mate.${pname}"; 12 11 }; 13 12 14 13 atril = callPackage ./atril { };
+1 -1
pkgs/desktops/mate/engrampa/default.nix
··· 45 45 46 46 enableParallelBuilding = true; 47 47 48 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 48 + passthru.updateScript = mateUpdateScript { inherit pname; }; 49 49 50 50 meta = with lib; { 51 51 description = "Archive Manager for MATE";
+1 -1
pkgs/desktops/mate/eom/default.nix
··· 51 51 52 52 enableParallelBuilding = true; 53 53 54 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 54 + passthru.updateScript = mateUpdateScript { inherit pname; }; 55 55 56 56 meta = with lib; { 57 57 description = "An image viewing and cataloging program for the MATE desktop";
+1 -1
pkgs/desktops/mate/libmatekbd/default.nix
··· 29 29 30 30 enableParallelBuilding = true; 31 31 32 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 32 + passthru.updateScript = mateUpdateScript { inherit pname; }; 33 33 34 34 meta = with lib; { 35 35 description = "Keyboard management library for MATE";
+1 -1
pkgs/desktops/mate/libmatemixer/default.nix
··· 37 37 38 38 enableParallelBuilding = true; 39 39 40 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 40 + passthru.updateScript = mateUpdateScript { inherit pname; }; 41 41 42 42 meta = with lib; { 43 43 description = "Mixer library for MATE";
+1 -1
pkgs/desktops/mate/libmateweather/default.nix
··· 38 38 39 39 enableParallelBuilding = true; 40 40 41 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 41 + passthru.updateScript = mateUpdateScript { inherit pname; }; 42 42 43 43 meta = with lib; { 44 44 description = "Library to access weather information from online services for MATE";
+1 -1
pkgs/desktops/mate/marco/default.nix
··· 50 50 51 51 enableParallelBuilding = true; 52 52 53 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 53 + passthru.updateScript = mateUpdateScript { inherit pname; }; 54 54 55 55 meta = with lib; { 56 56 description = "MATE default window manager";
+1 -1
pkgs/desktops/mate/mate-applets/default.nix
··· 65 65 66 66 enableParallelBuilding = true; 67 67 68 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 68 + passthru.updateScript = mateUpdateScript { inherit pname; }; 69 69 70 70 meta = with lib; { 71 71 description = "Applets for use with the MATE panel";
+1 -1
pkgs/desktops/mate/mate-backgrounds/default.nix
··· 32 32 ninja 33 33 ]; 34 34 35 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 35 + passthru.updateScript = mateUpdateScript { inherit pname; }; 36 36 37 37 meta = with lib; { 38 38 description = "Background images and data for MATE";
+1 -1
pkgs/desktops/mate/mate-calc/default.nix
··· 37 37 38 38 enableParallelBuilding = true; 39 39 40 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 40 + passthru.updateScript = mateUpdateScript { inherit pname; }; 41 41 42 42 meta = with lib; { 43 43 description = "Calculator for the MATE desktop";
+1 -1
pkgs/desktops/mate/mate-common/default.nix
··· 15 15 16 16 enableParallelBuilding = true; 17 17 18 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 18 + passthru.updateScript = mateUpdateScript { inherit pname; }; 19 19 20 20 meta = with lib; { 21 21 description = "Common files for development of MATE packages";
+1 -1
pkgs/desktops/mate/mate-control-center/default.nix
··· 69 69 70 70 enableParallelBuilding = true; 71 71 72 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 72 + passthru.updateScript = mateUpdateScript { inherit pname; }; 73 73 74 74 meta = with lib; { 75 75 description = "Utilities to configure the MATE desktop";
+1 -1
pkgs/desktops/mate/mate-desktop/default.nix
··· 34 34 35 35 enableParallelBuilding = true; 36 36 37 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 37 + passthru.updateScript = mateUpdateScript { inherit pname; }; 38 38 39 39 meta = with lib; { 40 40 description = "Library with common API for various MATE modules";
+1 -1
pkgs/desktops/mate/mate-icon-theme/default.nix
··· 43 43 44 44 enableParallelBuilding = true; 45 45 46 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 46 + passthru.updateScript = mateUpdateScript { inherit pname; }; 47 47 48 48 meta = with lib; { 49 49 description = "Icon themes from MATE";
+1 -1
pkgs/desktops/mate/mate-indicator-applet/default.nix
··· 35 35 36 36 enableParallelBuilding = true; 37 37 38 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 38 + passthru.updateScript = mateUpdateScript { inherit pname; }; 39 39 40 40 meta = with lib; { 41 41 homepage = "https://github.com/mate-desktop/mate-indicator-applet";
+1 -1
pkgs/desktops/mate/mate-media/default.nix
··· 39 39 40 40 enableParallelBuilding = true; 41 41 42 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 42 + passthru.updateScript = mateUpdateScript { inherit pname; }; 43 43 44 44 meta = with lib; { 45 45 description = "Media tools for MATE";
+1 -1
pkgs/desktops/mate/mate-menus/default.nix
··· 36 36 37 37 enableParallelBuilding = true; 38 38 39 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 39 + passthru.updateScript = mateUpdateScript { inherit pname; }; 40 40 41 41 meta = with lib; { 42 42 broken = stdenv.isDarwin;
+1 -1
pkgs/desktops/mate/mate-netbook/default.nix
··· 37 37 38 38 enableParallelBuilding = true; 39 39 40 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 40 + passthru.updateScript = mateUpdateScript { inherit pname; }; 41 41 42 42 meta = with lib; { 43 43 description = "MATE utilities for netbooks";
+1 -1
pkgs/desktops/mate/mate-notification-daemon/default.nix
··· 44 44 45 45 enableParallelBuilding = true; 46 46 47 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 47 + passthru.updateScript = mateUpdateScript { inherit pname; }; 48 48 49 49 meta = with lib; { 50 50 description = "Notification daemon for MATE Desktop";
+1 -1
pkgs/desktops/mate/mate-panel/default.nix
··· 63 63 64 64 enableParallelBuilding = true; 65 65 66 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 66 + passthru.updateScript = mateUpdateScript { inherit pname; }; 67 67 68 68 meta = with lib; { 69 69 description = "The MATE panel";
+1 -1
pkgs/desktops/mate/mate-polkit/default.nix
··· 35 35 36 36 enableParallelBuilding = true; 37 37 38 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 38 + passthru.updateScript = mateUpdateScript { inherit pname; }; 39 39 40 40 meta = with lib; { 41 41 description = "Integrates polkit authentication for MATE desktop";
+1 -1
pkgs/desktops/mate/mate-power-manager/default.nix
··· 53 53 54 54 enableParallelBuilding = true; 55 55 56 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 56 + passthru.updateScript = mateUpdateScript { inherit pname; }; 57 57 58 58 meta = with lib; { 59 59 description = "The MATE Power Manager";
+1 -1
pkgs/desktops/mate/mate-screensaver/default.nix
··· 49 49 50 50 enableParallelBuilding = true; 51 51 52 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 52 + passthru.updateScript = mateUpdateScript { inherit pname; }; 53 53 54 54 meta = with lib; { 55 55 description = "Screen saver and locker for the MATE desktop";
+1 -1
pkgs/desktops/mate/mate-sensors-applet/default.nix
··· 46 46 47 47 enableParallelBuilding = true; 48 48 49 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 49 + passthru.updateScript = mateUpdateScript { inherit pname; }; 50 50 51 51 meta = with lib; { 52 52 homepage = "https://github.com/mate-desktop/mate-sensors-applet";
+1 -1
pkgs/desktops/mate/mate-session-manager/default.nix
··· 63 63 64 64 passthru.providedSessions = [ "mate" ]; 65 65 66 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 66 + passthru.updateScript = mateUpdateScript { inherit pname; }; 67 67 68 68 meta = with lib; { 69 69 description = "MATE Desktop session manager";
+1 -1
pkgs/desktops/mate/mate-settings-daemon/default.nix
··· 54 54 55 55 enableParallelBuilding = true; 56 56 57 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 57 + passthru.updateScript = mateUpdateScript { inherit pname; }; 58 58 59 59 meta = with lib; { 60 60 description = "MATE settings daemon";
+1 -1
pkgs/desktops/mate/mate-system-monitor/default.nix
··· 45 45 46 46 enableParallelBuilding = true; 47 47 48 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 48 + passthru.updateScript = mateUpdateScript { inherit pname; }; 49 49 50 50 meta = with lib; { 51 51 description = "System monitor for the MATE desktop";
+1 -1
pkgs/desktops/mate/mate-terminal/default.nix
··· 40 40 41 41 enableParallelBuilding = true; 42 42 43 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 43 + passthru.updateScript = mateUpdateScript { inherit pname; }; 44 44 45 45 passthru.tests.test = nixosTests.terminal-emulators.mate-terminal; 46 46
+1 -1
pkgs/desktops/mate/mate-themes/default.nix
··· 48 48 49 49 enableParallelBuilding = true; 50 50 51 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 51 + passthru.updateScript = mateUpdateScript { inherit pname; }; 52 52 53 53 meta = with lib; { 54 54 description = "A set of themes from MATE";
+1 -1
pkgs/desktops/mate/mate-user-guide/default.nix
··· 34 34 35 35 enableParallelBuilding = true; 36 36 37 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 37 + passthru.updateScript = mateUpdateScript { inherit pname; }; 38 38 39 39 meta = with lib; { 40 40 description = "MATE User Guide";
+1 -1
pkgs/desktops/mate/mate-user-share/default.nix
··· 61 61 62 62 enableParallelBuilding = true; 63 63 64 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 64 + passthru.updateScript = mateUpdateScript { inherit pname; }; 65 65 66 66 meta = with lib; { 67 67 description = "User level public file sharing for the MATE desktop";
+1 -1
pkgs/desktops/mate/mate-utils/default.nix
··· 48 48 49 49 enableParallelBuilding = true; 50 50 51 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 51 + passthru.updateScript = mateUpdateScript { inherit pname; }; 52 52 53 53 meta = with lib; { 54 54 description = "Utilities for the MATE desktop";
+1 -1
pkgs/desktops/mate/mozo/default.nix
··· 42 42 43 43 enableParallelBuilding = true; 44 44 45 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 45 + passthru.updateScript = mateUpdateScript { inherit pname; }; 46 46 47 47 meta = with lib; { 48 48 description = "MATE Desktop menu editor";
+1 -1
pkgs/desktops/mate/pluma/default.nix
··· 47 47 48 48 enableParallelBuilding = true; 49 49 50 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 50 + passthru.updateScript = mateUpdateScript { inherit pname; }; 51 51 52 52 meta = with lib; { 53 53 description = "Powerful text editor for the MATE desktop";
+1 -1
pkgs/desktops/mate/python-caja/default.nix
··· 35 35 36 36 enableParallelBuilding = true; 37 37 38 - passthru.updateScript = mateUpdateScript { inherit pname version; }; 38 + passthru.updateScript = mateUpdateScript { inherit pname; }; 39 39 40 40 meta = with lib; { 41 41 description = "Python binding for Caja components";