3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #181225 from romildo/upd.mate

mate: reformat nix expressions and use git repository to list versions for the update script
This commit is contained in:
Sandro 2022-07-19 12:41:25 +02:00 committed by GitHub
commit ef00a2c4b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 695 additions and 112 deletions

View file

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
@ -12,10 +13,14 @@
, texlive
, mate
, wrapGAppsHook
, enableEpub ? true, webkitgtk
, enableDjvu ? true, djvulibre
, enablePostScript ? true, libspectre
, enableXps ? true, libgxps
, enableEpub ? true
, webkitgtk
, enableDjvu ? true
, djvulibre
, enablePostScript ? true
, libspectre
, enableXps ? true
, libgxps
, enableImages ? false
, mateUpdateScript
}:
@ -47,7 +52,7 @@ stdenv.mkDerivation rec {
mate.caja
mate.mate-desktop
hicolor-icon-theme
texlive.bin.core # for synctex, used by the pdf back-end
texlive.bin.core # for synctex, used by the pdf back-end
]
++ optionals enableDjvu [ djvulibre ]
++ optionals enableEpub [ webkitgtk ]

View file

@ -1,6 +1,16 @@
{ lib, stdenv, fetchurl, substituteAll
, pkg-config, gobject-introspection, gdk-pixbuf
, gtk3, mate, python3, dropbox, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, substituteAll
, pkg-config
, gobject-introspection
, gdk-pixbuf
, gtk3
, mate
, python3
, dropbox
, mateUpdateScript
}:
let
dropboxd = "${dropbox}/bin/dropbox";

View file

@ -1,5 +1,17 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, gupnp, mate, imagemagick, wrapGAppsHook, mateUpdateScript
, glib, substituteAll }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, gupnp
, mate
, imagemagick
, wrapGAppsHook
, mateUpdateScript
, glib
, substituteAll
}:
stdenv.mkDerivation rec {
pname = "caja-extensions";

View file

@ -1,4 +1,11 @@
{ stdenv, lib, makeWrapper, caja-extensions, caja, extensions ? [ caja-extensions ], mateUpdateScript }:
{ stdenv
, lib
, makeWrapper
, caja-extensions
, caja
, extensions ? [ caja-extensions ]
, mateUpdateScript
}:
stdenv.mkDerivation {
pname = "${caja.pname}-with-extensions";
@ -6,7 +13,9 @@ stdenv.mkDerivation {
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [
makeWrapper
];
inherit caja;

View file

@ -1,4 +1,18 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, libnotify
, libxml2
, libexif
, exempi
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "caja";

View file

@ -6,9 +6,10 @@ let
self = rec {
# Update script tailored to mate packages from git repository
mateUpdateScript = { pname, version, odd-unstable ? true, url ? "https://pub.mate-desktop.org/releases" }:
pkgs.httpTwoLevelsUpdater {
inherit pname version odd-unstable url;
mateUpdateScript = { pname, version, odd-unstable ? true, rev-prefix ? "v", url ? null }:
pkgs.gitUpdater {
inherit pname version odd-unstable rev-prefix;
url = if url == null then "https://git.mate-desktop.org/${pname}" else url;
attrPath = "mate.${pname}";
};

View file

@ -1,4 +1,17 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, libxml2, gtk3, file, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, libxml2
, gtk3
, file
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "engrampa";

View file

@ -1,4 +1,23 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, exempi, lcms2, libexif, libjpeg, librsvg, libxml2, libpeas, shared-mime-info, gtk3, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, exempi
, lcms2
, libexif
, libjpeg
, librsvg
, libxml2
, libpeas
, shared-mime-info
, gtk3
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "eom";

View file

@ -1,4 +1,12 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libxklavier, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, libxklavier
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "libmatekbd";
@ -9,9 +17,15 @@ stdenv.mkDerivation rec {
sha256 = "1b8iv2hmy8z2zzdsx8j5g583ddxh178bq8dnlqng9ifbn35fh3i2";
};
nativeBuildInputs = [ pkg-config gettext ];
nativeBuildInputs = [
pkg-config
gettext
];
buildInputs = [ gtk3 libxklavier ];
buildInputs = [
gtk3
libxklavier
];
enableParallelBuilding = true;

View file

@ -1,6 +1,14 @@
{ config, lib, stdenv, fetchurl, pkg-config, gettext, glib
, alsaSupport ? stdenv.isLinux, alsa-lib
, pulseaudioSupport ? config.pulseaudio or true, libpulseaudio
{ config
, lib
, stdenv
, fetchurl
, pkg-config
, gettext
, glib
, alsaSupport ? stdenv.isLinux
, alsa-lib
, pulseaudioSupport ? config.pulseaudio or true
, libpulseaudio
, ossSupport ? false
, mateUpdateScript
}:
@ -14,11 +22,16 @@ stdenv.mkDerivation rec {
sha256 = "1wcz4ppg696m31f5x7rkyvxxdriik2vprsr83b4wbs97bdhcr6ws";
};
nativeBuildInputs = [ pkg-config gettext ];
nativeBuildInputs = [
pkg-config
gettext
];
buildInputs = [ glib ]
++ lib.optional alsaSupport alsa-lib
++ lib.optional pulseaudioSupport libpulseaudio;
buildInputs = [
glib
]
++ lib.optional alsaSupport alsa-lib
++ lib.optional pulseaudioSupport libpulseaudio;
configureFlags = lib.optional ossSupport "--enable-oss";

View file

@ -1,4 +1,13 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libsoup, tzdata, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, libsoup
, tzdata
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "libmateweather";
@ -9,9 +18,16 @@ stdenv.mkDerivation rec {
sha256 = "05bvc220p135l6qnhh3qskljxffds0f7fjbjnrpq524w149rgzd7";
};
nativeBuildInputs = [ pkg-config gettext ];
nativeBuildInputs = [
pkg-config
gettext
];
buildInputs = [ gtk3 libsoup tzdata ];
buildInputs = [
gtk3
libsoup
tzdata
];
configureFlags = [
"--with-zoneinfo-dir=${tzdata}/share/zoneinfo"

View file

@ -1,5 +1,22 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, libxml2, libcanberra-gtk3, libgtop
, libXdamage, libXpresent, libstartup_notification, gnome, glib, gtk3, mate-settings-daemon, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, libxml2
, libcanberra-gtk3
, libgtop
, libXdamage
, libXpresent
, libstartup_notification
, gnome
, glib
, gtk3
, mate-settings-daemon
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "marco";

View file

@ -1,6 +1,29 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, dbus-glib, glib, gtk3, gtksourceview3
, gucharmap, libmateweather, libnl, libwnck, libgtop, libxml2, libnotify, mate-panel, polkit
, upower, wirelesstools, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, dbus-glib
, glib
, gtk3
, gtksourceview3
, gucharmap
, libmateweather
, libnl
, libwnck
, libgtop
, libxml2
, libnotify
, mate-panel
, polkit
, upower
, wirelesstools
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-applets";

View file

@ -1,4 +1,12 @@
{ lib, stdenv, fetchurl, fetchpatch, meson, ninja, gettext, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, gettext
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-backgrounds";

View file

@ -1,4 +1,16 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, gtk3, libmpc, libxml2, mpfr, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, gtk3
, libmpc
, libxml2
, mpfr
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-calc";

View file

@ -1,4 +1,8 @@
{ lib, stdenv, fetchurl, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-common";

View file

@ -1,6 +1,23 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, libxml2, dbus-glib
, libxklavier, libcanberra-gtk3, librsvg, libappindicator-gtk3, glib
, desktop-file-utils, dconf, gtk3, polkit, mate, hicolor-icon-theme, wrapGAppsHook
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, libxml2
, dbus-glib
, libxklavier
, libcanberra-gtk3
, librsvg
, libappindicator-gtk3
, glib
, desktop-file-utils
, dconf
, gtk3
, polkit
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
}:

View file

@ -1,4 +1,15 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, isocodes, gnome, gtk3, dconf, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, isocodes
, gnome
, gtk3
, dconf
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-desktop";

View file

@ -1,4 +1,12 @@
{ lib, stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, autoreconfHook
, gtk3
, mate
, hicolor-icon-theme
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-icon-theme-faenza";
@ -9,9 +17,15 @@ stdenv.mkDerivation rec {
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
};
nativeBuildInputs = [ autoreconfHook gtk3 ];
nativeBuildInputs = [
autoreconfHook
gtk3
];
propagatedBuildInputs = [ mate.mate-icon-theme hicolor-icon-theme ];
propagatedBuildInputs = [
mate.mate-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
@ -23,12 +37,15 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname version; };
passthru.updateScript = mateUpdateScript {
inherit pname version;
url = "https://github.com/mate-desktop-legacy-archive/mate-icon-theme-faenza";
};
meta = with lib; {
description = "Faenza icon theme from MATE";
homepage = "https://mate-desktop.org";
license = licenses.gpl2Plus;
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = teams.mate.members;
};

View file

@ -1,4 +1,14 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, iconnamingutils, librsvg, gtk3, hicolor-icon-theme, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, iconnamingutils
, librsvg
, gtk3
, hicolor-icon-theme
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-icon-theme";
@ -9,9 +19,15 @@ stdenv.mkDerivation rec {
sha256 = "0nha555fhhn0j5wmzmdc7bh93ckzwwdm8mwmzma5whkzslv09xa1";
};
nativeBuildInputs = [ pkg-config gettext iconnamingutils ];
nativeBuildInputs = [
pkg-config
gettext
iconnamingutils
];
buildInputs = [ librsvg ];
buildInputs = [
librsvg
];
propagatedBuildInputs = [
hicolor-icon-theme

View file

@ -1,4 +1,15 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libindicator-gtk3, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, libindicator-gtk3
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-indicator-applet";

View file

@ -1,4 +1,16 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, libtool, libxml2, libcanberra-gtk3, gtk3, mate, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, libtool
, libxml2
, libcanberra-gtk3
, gtk3
, mate
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-media";

View file

@ -1,4 +1,13 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, glib, gobject-introspection, python3, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, glib
, gobject-introspection
, python3
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-menus";
@ -9,9 +18,16 @@ stdenv.mkDerivation rec {
sha256 = "1r7zf64aclaplz77hkl9kq0xnz6jk1l49z64i8v56c41pm59c283";
};
nativeBuildInputs = [ pkg-config gettext gobject-introspection ];
nativeBuildInputs = [
pkg-config
gettext
gobject-introspection
];
buildInputs = [ glib python3 ];
buildInputs = [
glib
python3
];
makeFlags = [
"INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"

View file

@ -1,4 +1,16 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libwnck, libfakekey, libXtst, mate, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, libwnck
, libfakekey
, libXtst
, mate
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-netbook";

View file

@ -1,5 +1,19 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, glib, libcanberra-gtk3,
libnotify, libwnck, gtk3, libxml2, mate-desktop, mate-panel, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, glib
, libcanberra-gtk3
, libnotify
, libwnck
, gtk3
, libxml2
, mate-desktop
, mate-panel
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-notification-daemon";

View file

@ -1,4 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, glib, libwnck, librsvg, libxml2, dconf, gtk3, mate, hicolor-icon-theme, gobject-introspection, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, glib
, libwnck
, librsvg
, libxml2
, dconf
, gtk3
, mate
, hicolor-icon-theme
, gobject-introspection
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-panel";

View file

@ -1,4 +1,15 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, gobject-introspection, libappindicator-gtk3, libindicator-gtk3, polkit, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, gobject-introspection
, libappindicator-gtk3
, libindicator-gtk3
, polkit
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-polkit";

View file

@ -1,4 +1,23 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, glib, itstool, libxml2, mate-panel, libnotify, libcanberra-gtk3, libsecret, dbus-glib, upower, gtk3, libtool, polkit, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, glib
, itstool
, libxml2
, mate-panel
, libnotify
, libcanberra-gtk3
, libsecret
, dbus-glib
, upower
, gtk3
, libtool
, polkit
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-power-manager";
@ -17,17 +36,17 @@ stdenv.mkDerivation rec {
];
buildInputs = [
glib
itstool
libxml2
libcanberra-gtk3
gtk3
libsecret
libnotify
dbus-glib
upower
polkit
mate-panel
glib
itstool
libxml2
libcanberra-gtk3
gtk3
libsecret
libnotify
dbus-glib
upower
polkit
mate-panel
];
configureFlags = [ "--enable-applets" ];

View file

@ -1,4 +1,19 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, dbus-glib, libXScrnSaver, libnotify, libxml2, pam, systemd, mate, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, dbus-glib
, libXScrnSaver
, libnotify
, libxml2
, pam
, systemd
, mate
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-screensaver";

View file

@ -1,5 +1,20 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, gtk3, libxml2, libxslt, libatasmart, libnotify
, lm_sensors, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, gtk3
, libxml2
, libxslt
, libatasmart
, libnotify
, lm_sensors
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-sensors-applet";

View file

@ -1,6 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, xtrans, dbus-glib, systemd,
libSM, libXtst, gtk3, libepoxy, polkit, hicolor-icon-theme, mate,
wrapGAppsHook, fetchpatch, mateUpdateScript
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, xtrans
, dbus-glib
, systemd
, libSM
, libXtst
, gtk3
, libepoxy
, polkit
, hicolor-icon-theme
, mate
, wrapGAppsHook
, fetchpatch
, mateUpdateScript
}:
stdenv.mkDerivation rec {

View file

@ -1,7 +1,23 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, glib, dbus-glib, libxklavier,
libcanberra-gtk3, libnotify, nss, polkit, dconf, gtk3, mate,
pulseaudioSupport ? stdenv.config.pulseaudio or true, libpulseaudio,
wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, glib
, dbus-glib
, libxklavier
, libcanberra-gtk3
, libnotify
, nss
, polkit
, dconf
, gtk3
, mate
, pulseaudioSupport ? stdenv.config.pulseaudio or true
, libpulseaudio
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-settings-daemon";

View file

@ -1,16 +1,31 @@
{ stdenv, mate, glib, wrapGAppsHook }:
{ stdenv
, mate
, glib
, wrapGAppsHook
}:
stdenv.mkDerivation {
pname = "${mate.mate-settings-daemon.pname}-wrapped";
version = mate.mate-settings-daemon.version;
nativeBuildInputs = [ wrapGAppsHook ];
buildInputs = [ glib mate.mate-control-center ];
nativeBuildInputs = [
wrapGAppsHook
];
buildInputs = [
glib
mate.mate-control-center
];
dontWrapGApps = true;
dontUnpack = true;
installPhase = ''
mkdir -p $out/etc/xdg/autostart
cp ${mate.mate-settings-daemon}/etc/xdg/autostart/mate-settings-daemon.desktop $out/etc/xdg/autostart
'';
postFixup = ''
mkdir -p $out/libexec
makeWrapper ${mate.mate-settings-daemon}/libexec/mate-settings-daemon $out/libexec/mate-settings-daemon \
@ -18,5 +33,6 @@ stdenv.mkDerivation {
substituteInPlace $out/etc/xdg/autostart/mate-settings-daemon.desktop \
--replace "${mate.mate-settings-daemon}/libexec/mate-settings-daemon" "$out/libexec/mate-settings-daemon"
'';
meta = mate.mate-settings-daemon.meta // { priority = -10; };
}

View file

@ -1,4 +1,19 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, gtkmm3, libxml2, libgtop, libwnck, librsvg, polkit, systemd, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, gtkmm3
, libxml2
, libgtop
, libwnck
, librsvg
, polkit
, systemd
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-system-monitor";

View file

@ -1,4 +1,18 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, libxml2, mate-desktop, dconf, vte, pcre2, wrapGAppsHook, mateUpdateScript, nixosTests }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, libxml2
, mate-desktop
, dconf
, vte
, pcre2
, wrapGAppsHook
, mateUpdateScript
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "mate-terminal";

View file

@ -1,5 +1,17 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, mate-icon-theme, gtk2, gtk3,
gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, mate-icon-theme
, gtk2
, gtk3
, gtk_engines
, gtk-engine-murrine
, gdk-pixbuf
, librsvg
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-themes";
@ -10,11 +22,23 @@ stdenv.mkDerivation rec {
sha256 = "1avgzccdmr7y18rnp3xrhwk82alv2dlig3wh7ivgahcqdiiavrb1";
};
nativeBuildInputs = [ pkg-config gettext gtk3 ];
nativeBuildInputs = [
pkg-config
gettext
gtk3
];
buildInputs = [ mate-icon-theme gtk2 gtk_engines gdk-pixbuf librsvg ];
buildInputs = [
mate-icon-theme
gtk2
gtk_engines
gdk-pixbuf
librsvg
];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
propagatedUserEnvPkgs = [
gtk-engine-murrine
];
dontDropIconThemeCache = true;
@ -24,10 +48,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript {
inherit pname version;
url = "https://pub.mate-desktop.org/releases/themes";
};
passthru.updateScript = mateUpdateScript { inherit pname version; };
meta = with lib; {
description = "A set of themes from MATE";

View file

@ -1,4 +1,12 @@
{ lib, stdenv, fetchurl, gettext, itstool, libxml2, yelp, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, gettext
, itstool
, libxml2
, yelp
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-user-guide";
@ -9,9 +17,15 @@ stdenv.mkDerivation rec {
sha256 = "1h620ngryqc4m8ybvc92ba8404djnm0l65f34mlw38g9ad8d9085";
};
nativeBuildInputs = [ itstool gettext libxml2 ];
nativeBuildInputs = [
itstool
gettext
libxml2
];
buildInputs = [ yelp ];
buildInputs = [
yelp
];
postPatch = ''
substituteInPlace mate-user-guide.desktop.in.in \

View file

@ -1,5 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, gtk3, dbus-glib, libnotify, libxml2
, libcanberra-gtk3, mod_dnssd, apacheHttpd, hicolor-icon-theme, mate, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, gtk3
, dbus-glib
, libnotify
, libxml2
, libcanberra-gtk3
, mod_dnssd
, apacheHttpd
, hicolor-icon-theme
, mate
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-user-share";

View file

@ -1,5 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, glib, gtk3, libxml2, libgtop, libcanberra-gtk3
, inkscape, udisks2, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, glib
, gtk3
, libxml2
, libgtop
, libcanberra-gtk3
, inkscape
, udisks2
, mate
, hicolor-icon-theme
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-utils";

View file

@ -1,4 +1,15 @@
{ lib, python3, fetchurl, pkg-config, gettext, mate, gtk3, glib, wrapGAppsHook, gobject-introspection, mateUpdateScript }:
{ lib
, python3
, fetchurl
, pkg-config
, gettext
, mate
, gtk3
, glib
, wrapGAppsHook
, gobject-introspection
, mateUpdateScript
}:
python3.pkgs.buildPythonApplication rec {
pname = "mozo";
@ -12,11 +23,22 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "DyRCmjsDe9BojsTDkdnYeB5Csj7zRfXlCvHnLF7y+jk=";
};
nativeBuildInputs = [ pkg-config gettext gobject-introspection wrapGAppsHook ];
nativeBuildInputs = [
pkg-config
gettext
gobject-introspection
wrapGAppsHook
];
propagatedBuildInputs = [ mate.mate-menus python3.pkgs.pygobject3 ];
propagatedBuildInputs = [
mate.mate-menus
python3.pkgs.pygobject3
];
buildInputs = [ gtk3 glib ];
buildInputs = [
gtk3
glib
];
enableParallelBuilding = true;

View file

@ -1,5 +1,21 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, perl, itstool, isocodes, enchant, libxml2, python3
, adwaita-icon-theme, gtksourceview4, libpeas, mate-desktop, wrapGAppsHook, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, perl
, itstool
, isocodes
, enchant
, libxml2
, python3
, adwaita-icon-theme
, gtksourceview4
, libpeas
, mate-desktop
, wrapGAppsHook
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "pluma";

View file

@ -1,4 +1,13 @@
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, mate, python3Packages, mateUpdateScript }:
{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, gtk3
, mate
, python3Packages
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "python-caja";