mate: simplify update script
- No need to pass the version and attrPath arguments
This commit is contained in:
parent
4a9e77cea0
commit
64ce882421
39 changed files with 40 additions and 41 deletions
|
@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple multi-page document viewer for the MATE desktop";
|
||||
|
|
|
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dropbox extension for Caja file manager";
|
||||
|
|
|
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Set of extensions for Caja file manager";
|
||||
|
|
|
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "File manager for the MATE desktop";
|
||||
|
|
|
@ -4,11 +4,10 @@ let
|
|||
packages = self: with self; {
|
||||
|
||||
# Update script tailored to mate packages from git repository
|
||||
mateUpdateScript = { pname, version, odd-unstable ? true, rev-prefix ? "v", url ? null }:
|
||||
mateUpdateScript = { pname, odd-unstable ? true, rev-prefix ? "v", url ? null }:
|
||||
pkgs.gitUpdater {
|
||||
inherit pname version odd-unstable rev-prefix;
|
||||
inherit odd-unstable rev-prefix;
|
||||
url = if url == null then "https://git.mate-desktop.org/${pname}" else url;
|
||||
attrPath = "mate.${pname}";
|
||||
};
|
||||
|
||||
atril = callPackage ./atril { };
|
||||
|
|
|
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Archive Manager for MATE";
|
||||
|
|
|
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "An image viewing and cataloging program for the MATE desktop";
|
||||
|
|
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Keyboard management library for MATE";
|
||||
|
|
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mixer library for MATE";
|
||||
|
|
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to access weather information from online services for MATE";
|
||||
|
|
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE default window manager";
|
||||
|
|
|
@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Applets for use with the MATE panel";
|
||||
|
|
|
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||
ninja
|
||||
];
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Background images and data for MATE";
|
||||
|
|
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Calculator for the MATE desktop";
|
||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Common files for development of MATE packages";
|
||||
|
|
|
@ -69,7 +69,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities to configure the MATE desktop";
|
||||
|
|
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library with common API for various MATE modules";
|
||||
|
|
|
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Icon themes from MATE";
|
||||
|
|
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mate-desktop/mate-indicator-applet";
|
||||
|
|
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Media tools for MATE";
|
||||
|
|
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
|
|
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE utilities for netbooks";
|
||||
|
|
|
@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Notification daemon for MATE Desktop";
|
||||
|
|
|
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "The MATE panel";
|
||||
|
|
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrates polkit authentication for MATE desktop";
|
||||
|
|
|
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "The MATE Power Manager";
|
||||
|
|
|
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Screen saver and locker for the MATE desktop";
|
||||
|
|
|
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mate-desktop/mate-sensors-applet";
|
||||
|
|
|
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
passthru.providedSessions = [ "mate" ];
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE Desktop session manager";
|
||||
|
|
|
@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE settings daemon";
|
||||
|
|
|
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "System monitor for the MATE desktop";
|
||||
|
|
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
passthru.tests.test = nixosTests.terminal-emulators.mate-terminal;
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A set of themes from MATE";
|
||||
|
|
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE User Guide";
|
||||
|
|
|
@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "User level public file sharing for the MATE desktop";
|
||||
|
|
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for the MATE desktop";
|
||||
|
|
|
@ -42,7 +42,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE Desktop menu editor";
|
||||
|
|
|
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful text editor for the MATE desktop";
|
||||
|
|
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
passthru.updateScript = mateUpdateScript { inherit pname; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python binding for Caja components";
|
||||
|
|
Loading…
Reference in a new issue