uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
80
pkgs/desktops/mate/atril/default.nix
Normal file
80
pkgs/desktops/mate/atril/default.nix
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, gettext
|
||||
, gtk3
|
||||
, glib
|
||||
, libxml2
|
||||
, libsecret
|
||||
, poppler
|
||||
, itstool
|
||||
, hicolor-icon-theme
|
||||
, texlive
|
||||
, mate
|
||||
, wrapGAppsHook
|
||||
, enableEpub ? true, webkitgtk
|
||||
, enableDjvu ? true, djvulibre
|
||||
, enablePostScript ? true, libspectre
|
||||
, enableXps ? true, libgxps
|
||||
, enableImages ? false
|
||||
, mateUpdateScript
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "atril";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0pz44k3axhjhhwfrfvnwvxak1dmjkwqs63rhrbcaagyymrp7cpki";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
glib
|
||||
itstool
|
||||
libsecret
|
||||
libxml2
|
||||
poppler
|
||||
mate.caja
|
||||
mate.mate-desktop
|
||||
hicolor-icon-theme
|
||||
texlive.bin.core # for synctex, used by the pdf back-end
|
||||
]
|
||||
++ optionals enableDjvu [ djvulibre ]
|
||||
++ optionals enableEpub [ webkitgtk ]
|
||||
++ optionals enablePostScript [ libspectre ]
|
||||
++ optionals enableXps [ libgxps ]
|
||||
;
|
||||
|
||||
configureFlags = [ ]
|
||||
++ optionals (enableDjvu) [ "--enable-djvu" ]
|
||||
++ optionals (enableEpub) [ "--enable-epub" ]
|
||||
++ optionals (enablePostScript) [ "--enable-ps" ]
|
||||
++ optionals (enableXps) [ "--enable-xps" ]
|
||||
++ optionals (enableImages) [ "--enable-pixbuf" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
makeFlags = [ "cajaextensiondir=$$out/lib/caja/extensions-2.0" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple multi-page document viewer for the MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
55
pkgs/desktops/mate/caja-dropbox/default.nix
Normal file
55
pkgs/desktops/mate/caja-dropbox/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib, stdenv, fetchurl, substituteAll
|
||||
, pkg-config, gobject-introspection, gdk-pixbuf
|
||||
, gtk3, mate, python3, dropbox, mateUpdateScript }:
|
||||
|
||||
let
|
||||
dropboxd = "${dropbox}/bin/dropbox";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "caja-dropbox";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "16w4r0zjps12lmzwiwpb9qnmbvd0p391q97296sxa8k88b1x14wn";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./fix-cli-paths.patch;
|
||||
inherit dropboxd;
|
||||
})
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
gdk-pixbuf
|
||||
(python3.withPackages (ps: with ps; [
|
||||
docutils
|
||||
pygobject3
|
||||
]))
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
mate.caja
|
||||
python3
|
||||
];
|
||||
|
||||
configureFlags = [ "--with-caja-extension-dir=$$out/lib/caja/extensions-2.0" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dropbox extension for Caja file manager";
|
||||
homepage = "https://github.com/mate-desktop/caja-dropbox";
|
||||
license = with licenses; [ gpl3Plus cc-by-nd-30 ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
11
pkgs/desktops/mate/caja-dropbox/fix-cli-paths.patch
Normal file
11
pkgs/desktops/mate/caja-dropbox/fix-cli-paths.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- a/caja-dropbox.in
|
||||
+++ b/caja-dropbox.in
|
||||
@@ -70,7 +70,7 @@ DOWNLOADING = "Downloading Dropbox... %d%%"
|
||||
UNPACKING = "Unpacking Dropbox... %d%%"
|
||||
|
||||
PARENT_DIR = os.path.expanduser("~")
|
||||
-DROPBOXD_PATH = "%s/.dropbox-dist/dropboxd" % PARENT_DIR
|
||||
+DROPBOXD_PATH = "@dropboxd@"
|
||||
DESKTOP_FILE = "@DESKTOP_FILE_DIR@/caja-dropbox.desktop"
|
||||
|
||||
enc = locale.getpreferredencoding()
|
||||
61
pkgs/desktops/mate/caja-extensions/default.nix
Normal file
61
pkgs/desktops/mate/caja-extensions/default.nix
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, gupnp, mate, imagemagick, wrapGAppsHook, mateUpdateScript
|
||||
, glib, substituteAll }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "caja-extensions";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "03zwv3yl5553cnp6jjn7vr4l28dcdhsap7qimlrbvy20119kj5gh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
gupnp
|
||||
mate.caja
|
||||
mate.mate-desktop
|
||||
imagemagick
|
||||
];
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./hardcode-gsettings.patch;
|
||||
CAJA_GSETTINGS_PATH = glib.getSchemaPath mate.caja;
|
||||
TERM_GSETTINGS_PATH = glib.getSchemaPath mate.mate-terminal;
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace open-terminal/caja-open-terminal.c --subst-var-by \
|
||||
GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"}
|
||||
substituteInPlace sendto/caja-sendto-command.c --subst-var-by \
|
||||
GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"}
|
||||
substituteInPlace wallpaper/caja-wallpaper-extension.c --subst-var-by \
|
||||
GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"}
|
||||
|
||||
for f in image-converter/caja-image-{resizer,rotator}.c; do
|
||||
substituteInPlace $f --replace "/usr/bin/convert" "${imagemagick}/bin/convert"
|
||||
done
|
||||
'';
|
||||
|
||||
configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Set of extensions for Caja file manager";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
169
pkgs/desktops/mate/caja-extensions/hardcode-gsettings.patch
Normal file
169
pkgs/desktops/mate/caja-extensions/hardcode-gsettings.patch
Normal file
|
|
@ -0,0 +1,169 @@
|
|||
diff --git a/open-terminal/caja-open-terminal.c b/open-terminal/caja-open-terminal.c
|
||||
index e14a9bf..691afab 100644
|
||||
--- a/open-terminal/caja-open-terminal.c
|
||||
+++ b/open-terminal/caja-open-terminal.c
|
||||
@@ -135,8 +135,18 @@ desktop_opens_home_dir (void)
|
||||
{
|
||||
gboolean result;
|
||||
GSettings* settings;
|
||||
-
|
||||
- settings = g_settings_new (COT_SCHEMA);
|
||||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
+
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@GSETTINGS_PATH@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
+ COT_SCHEMA,
|
||||
+ FALSE);
|
||||
+ settings = g_settings_new_full(schema, NULL, NULL);
|
||||
+ g_settings_schema_source_unref(schema_source);
|
||||
+ g_settings_schema_unref(schema);
|
||||
result = g_settings_get_boolean (settings, COT_DESKTOP_KEY);
|
||||
g_object_unref (settings);
|
||||
return result;
|
||||
@@ -147,8 +157,18 @@ set_desktop_opens_home_dir (gboolean val)
|
||||
{
|
||||
gboolean result;
|
||||
GSettings* settings;
|
||||
-
|
||||
- settings = g_settings_new (COT_SCHEMA);
|
||||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
+
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@GSETTINGS_PATH@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
+ COT_SCHEMA,
|
||||
+ FALSE);
|
||||
+ settings = g_settings_new_full(schema, NULL, NULL);
|
||||
+ g_settings_schema_source_unref(schema_source);
|
||||
+ g_settings_schema_unref(schema);
|
||||
result = g_settings_set_boolean (settings, COT_DESKTOP_KEY, val);
|
||||
g_object_unref (settings);
|
||||
return result;
|
||||
@@ -159,8 +179,18 @@ desktop_is_home_dir (void)
|
||||
{
|
||||
gboolean result;
|
||||
GSettings* settings;
|
||||
-
|
||||
- settings = g_settings_new (CAJA_SCHEMA);
|
||||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
+
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@CAJA_GSETTINGS_PATH@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
+ CAJA_SCHEMA,
|
||||
+ FALSE);
|
||||
+ settings = g_settings_new_full(schema, NULL, NULL);
|
||||
+ g_settings_schema_source_unref(schema_source);
|
||||
+ g_settings_schema_unref(schema);
|
||||
result = g_settings_get_boolean (settings, CAJA_DESKTOP_KEY);
|
||||
g_object_unref (settings);
|
||||
return result;
|
||||
@@ -171,8 +201,18 @@ default_terminal_application (void)
|
||||
{
|
||||
gchar *result;
|
||||
GSettings* settings;
|
||||
-
|
||||
- settings = g_settings_new (TERM_SCHEMA);
|
||||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
+
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@TERM_GSETTINGS_PATH@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
+ TERM_SCHEMA,
|
||||
+ FALSE);
|
||||
+ settings = g_settings_new_full(schema, NULL, NULL);
|
||||
+ g_settings_schema_source_unref(schema_source);
|
||||
+ g_settings_schema_unref(schema);
|
||||
result = g_settings_get_string (settings, TERM_EXEC_KEY);
|
||||
g_object_unref (settings);
|
||||
|
||||
@@ -189,8 +229,18 @@ set_default_terminal_application (const gchar* exec)
|
||||
{
|
||||
gboolean result;
|
||||
GSettings* settings;
|
||||
-
|
||||
- settings = g_settings_new (TERM_SCHEMA);
|
||||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
+
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@TERM_GSETTINGS_PATH@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
+ TERM_SCHEMA,
|
||||
+ FALSE);
|
||||
+ settings = g_settings_new_full(schema, NULL, NULL);
|
||||
+ g_settings_schema_source_unref(schema_source);
|
||||
+ g_settings_schema_unref(schema);
|
||||
result = g_settings_set_string (settings, TERM_EXEC_KEY, exec);
|
||||
g_object_unref (settings);
|
||||
return result;
|
||||
diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c
|
||||
index 8181db6..579dc81 100644
|
||||
--- a/sendto/caja-sendto-command.c
|
||||
+++ b/sendto/caja-sendto-command.c
|
||||
@@ -801,6 +801,8 @@ caja_sendto_init (void)
|
||||
int main (int argc, char **argv)
|
||||
{
|
||||
GOptionContext *context;
|
||||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
GError *error = NULL;
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
@@ -818,7 +820,15 @@ int main (int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
- settings = g_settings_new ("org.mate.Caja.Sendto");
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@GSETTINGS_PATH@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
+ "org.mate.Caja.Sendto",
|
||||
+ FALSE);
|
||||
+ settings = g_settings_new_full(schema, NULL, NULL);
|
||||
+ g_settings_schema_source_unref(schema_source);
|
||||
+ g_settings_schema_unref(schema);
|
||||
caja_sendto_init ();
|
||||
if (caja_sendto_plugin_init () == FALSE) {
|
||||
GtkWidget *error_dialog;
|
||||
diff --git a/wallpaper/caja-wallpaper-extension.c b/wallpaper/caja-wallpaper-extension.c
|
||||
index 3119e9f..4f80c88 100644
|
||||
--- a/wallpaper/caja-wallpaper-extension.c
|
||||
+++ b/wallpaper/caja-wallpaper-extension.c
|
||||
@@ -47,6 +47,8 @@ set_wallpaper_callback (CajaMenuItem *item,
|
||||
{
|
||||
GList *files;
|
||||
GSettings *settings;
|
||||
+ GSettingsSchemaSource* schema_source;
|
||||
+ GSettingsSchema* schema;
|
||||
CajaFileInfo *file;
|
||||
gchar *uri;
|
||||
gchar *filename;
|
||||
@@ -57,7 +59,15 @@ set_wallpaper_callback (CajaMenuItem *item,
|
||||
uri = caja_file_info_get_uri (file);
|
||||
filename = g_filename_from_uri(uri, NULL, NULL);
|
||||
|
||||
- settings = g_settings_new (WP_SCHEMA);
|
||||
+ schema_source = g_settings_schema_source_new_from_directory("@GSETTINGS_PATH@",
|
||||
+ g_settings_schema_source_get_default(),
|
||||
+ TRUE, NULL);
|
||||
+ schema = g_settings_schema_source_lookup(schema_source,
|
||||
+ WP_SCHEMA,
|
||||
+ FALSE);
|
||||
+ settings = g_settings_new_full(schema, NULL, NULL);
|
||||
+ g_settings_schema_source_unref(schema_source);
|
||||
+ g_settings_schema_unref(schema);
|
||||
|
||||
g_settings_set_string (settings, WP_FILE_KEY, filename);
|
||||
|
||||
20
pkgs/desktops/mate/caja-with-extensions/default.nix
Normal file
20
pkgs/desktops/mate/caja-with-extensions/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ stdenv, lib, makeWrapper, caja-extensions, caja, extensions ? [ caja-extensions ], mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "${caja.pname}-with-extensions";
|
||||
version = caja.version;
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
inherit caja;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper $caja/bin/caja $out/bin/caja \
|
||||
--set CAJA_EXTENSION_DIRS ${lib.concatMapStringsSep ":" (x: "${x.outPath}/lib/caja/extensions-2.0") extensions}
|
||||
'';
|
||||
|
||||
inherit (caja.meta);
|
||||
}
|
||||
41
pkgs/desktops/mate/caja/default.nix
Normal file
41
pkgs/desktops/mate/caja/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "caja";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1m0ai2r8b2mvlr8bqj9n6vg1pwzlwa46fqpq206wgyx5sgxac052";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libnotify
|
||||
libxml2
|
||||
libexif
|
||||
exempi
|
||||
mate.mate-desktop
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
configureFlags = [ "--disable-update-mimedb" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "File manager for the MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
103
pkgs/desktops/mate/default.nix
Normal file
103
pkgs/desktops/mate/default.nix
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
{ pkgs, newScope }:
|
||||
|
||||
let
|
||||
callPackage = newScope self;
|
||||
|
||||
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;
|
||||
attrPath = "mate.${pname}";
|
||||
};
|
||||
|
||||
atril = callPackage ./atril { };
|
||||
caja = callPackage ./caja { };
|
||||
caja-dropbox = callPackage ./caja-dropbox { };
|
||||
caja-extensions = callPackage ./caja-extensions { };
|
||||
caja-with-extensions = callPackage ./caja-with-extensions { };
|
||||
engrampa = callPackage ./engrampa { };
|
||||
eom = callPackage ./eom { };
|
||||
libmatekbd = callPackage ./libmatekbd { };
|
||||
libmatemixer = callPackage ./libmatemixer { };
|
||||
libmateweather = callPackage ./libmateweather { };
|
||||
marco = callPackage ./marco { };
|
||||
mate-applets = callPackage ./mate-applets { };
|
||||
mate-backgrounds = callPackage ./mate-backgrounds { };
|
||||
mate-calc = callPackage ./mate-calc { };
|
||||
mate-common = callPackage ./mate-common { };
|
||||
mate-control-center = callPackage ./mate-control-center { };
|
||||
mate-desktop = callPackage ./mate-desktop { };
|
||||
mate-icon-theme = callPackage ./mate-icon-theme { };
|
||||
mate-icon-theme-faenza = callPackage ./mate-icon-theme-faenza { };
|
||||
mate-indicator-applet = callPackage ./mate-indicator-applet { };
|
||||
mate-media = callPackage ./mate-media { };
|
||||
mate-menus = callPackage ./mate-menus { };
|
||||
mate-netbook = callPackage ./mate-netbook { };
|
||||
mate-notification-daemon = callPackage ./mate-notification-daemon { };
|
||||
mate-panel = callPackage ./mate-panel { };
|
||||
mate-polkit = callPackage ./mate-polkit { };
|
||||
mate-power-manager = callPackage ./mate-power-manager { };
|
||||
mate-sensors-applet = callPackage ./mate-sensors-applet { };
|
||||
mate-session-manager = callPackage ./mate-session-manager { };
|
||||
mate-settings-daemon = callPackage ./mate-settings-daemon { };
|
||||
mate-settings-daemon-wrapped = callPackage ./mate-settings-daemon/wrapped.nix { };
|
||||
mate-screensaver = callPackage ./mate-screensaver { };
|
||||
mate-system-monitor = callPackage ./mate-system-monitor { };
|
||||
mate-terminal = callPackage ./mate-terminal { };
|
||||
mate-themes = callPackage ./mate-themes { };
|
||||
mate-tweak = callPackage ./mate-tweak { };
|
||||
mate-user-guide = callPackage ./mate-user-guide { };
|
||||
mate-user-share = callPackage ./mate-user-share { };
|
||||
mate-utils = callPackage ./mate-utils { };
|
||||
mozo = callPackage ./mozo { };
|
||||
pluma = callPackage ./pluma { inherit (pkgs.gnome) adwaita-icon-theme; };
|
||||
python-caja = callPackage ./python-caja { };
|
||||
|
||||
basePackages = [
|
||||
caja
|
||||
libmatekbd
|
||||
libmatemixer
|
||||
libmateweather
|
||||
marco
|
||||
mate-common
|
||||
mate-control-center
|
||||
mate-desktop
|
||||
mate-icon-theme
|
||||
mate-menus
|
||||
mate-notification-daemon
|
||||
mate-panel
|
||||
mate-polkit
|
||||
mate-session-manager
|
||||
mate-settings-daemon
|
||||
mate-settings-daemon-wrapped
|
||||
mate-themes
|
||||
];
|
||||
|
||||
extraPackages = [
|
||||
atril
|
||||
caja-extensions
|
||||
engrampa
|
||||
eom
|
||||
mate-applets
|
||||
mate-backgrounds
|
||||
mate-calc
|
||||
mate-indicator-applet
|
||||
mate-media
|
||||
mate-netbook
|
||||
mate-power-manager
|
||||
mate-screensaver
|
||||
mate-sensors-applet
|
||||
mate-system-monitor
|
||||
mate-terminal
|
||||
mate-user-guide
|
||||
# mate-user-share
|
||||
mate-utils
|
||||
mozo
|
||||
pluma
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
in self
|
||||
44
pkgs/desktops/mate/engrampa/default.nix
Normal file
44
pkgs/desktops/mate/engrampa/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, libxml2, gtk3, file, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "engrampa";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1qsy0ynhj1v0kyn3g3yf62g31rwxmpglfh9xh0w5lc9j5k1b5kcp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxml2
|
||||
gtk3
|
||||
file #libmagic
|
||||
mate.caja
|
||||
hicolor-icon-theme
|
||||
mate.mate-desktop
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-cajadir=$$out/lib/caja/extensions-2.0"
|
||||
"--enable-magic"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Archive Manager for MATE";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
44
pkgs/desktops/mate/eom/default.nix
Normal file
44
pkgs/desktops/mate/eom/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1nv7q0yw11grgxr5lyvll0f7fl823kpjp05z81bwgnvd76m6kw97";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
exempi
|
||||
lcms2
|
||||
libexif
|
||||
libjpeg
|
||||
librsvg
|
||||
libxml2
|
||||
shared-mime-info
|
||||
gtk3
|
||||
libpeas
|
||||
mate.mate-desktop
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "An image viewing and cataloging program for the MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
27
pkgs/desktops/mate/libmatekbd/default.nix
Normal file
27
pkgs/desktops/mate/libmatekbd/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libxklavier, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmatekbd";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1b8iv2hmy8z2zzdsx8j5g583ddxh178bq8dnlqng9ifbn35fh3i2";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext ];
|
||||
|
||||
buildInputs = [ gtk3 libxklavier ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Keyboard management library for MATE";
|
||||
homepage = "https://github.com/mate-desktop/libmatekbd";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
36
pkgs/desktops/mate/libmatemixer/default.nix
Normal file
36
pkgs/desktops/mate/libmatemixer/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ config, lib, stdenv, fetchurl, pkg-config, gettext, glib
|
||||
, alsaSupport ? stdenv.isLinux, alsa-lib
|
||||
, pulseaudioSupport ? config.pulseaudio or true, libpulseaudio
|
||||
, ossSupport ? false
|
||||
, mateUpdateScript
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmatemixer";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1wcz4ppg696m31f5x7rkyvxxdriik2vprsr83b4wbs97bdhcr6ws";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext ];
|
||||
|
||||
buildInputs = [ glib ]
|
||||
++ lib.optional alsaSupport alsa-lib
|
||||
++ lib.optional pulseaudioSupport libpulseaudio;
|
||||
|
||||
configureFlags = lib.optional ossSupport "--enable-oss";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mixer library for MATE";
|
||||
homepage = "https://github.com/mate-desktop/libmatemixer";
|
||||
license = licenses.lgpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
34
pkgs/desktops/mate/libmateweather/default.nix
Normal file
34
pkgs/desktops/mate/libmateweather/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libsoup, tzdata, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmateweather";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "05bvc220p135l6qnhh3qskljxffds0f7fjbjnrpq524w149rgzd7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext ];
|
||||
|
||||
buildInputs = [ gtk3 libsoup tzdata ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-zoneinfo-dir=${tzdata}/share/zoneinfo"
|
||||
"--enable-locations-compression"
|
||||
];
|
||||
|
||||
preFixup = "rm -f $out/share/icons/mate/icon-theme.cache";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to access weather information from online services for MATE";
|
||||
homepage = "https://github.com/mate-desktop/libmateweather";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
45
pkgs/desktops/mate/marco/default.nix
Normal file
45
pkgs/desktops/mate/marco/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "01avxrg2fc6grfrp6hl8b0im4scy9xf6011swfrhli87ig6hhg7n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxml2
|
||||
libcanberra-gtk3
|
||||
libgtop
|
||||
libXdamage
|
||||
libXpresent
|
||||
libstartup_notification
|
||||
gtk3
|
||||
gnome.zenity
|
||||
mate-settings-daemon
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE default window manager";
|
||||
homepage = "https://github.com/mate-desktop/marco";
|
||||
license = [ licenses.gpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
54
pkgs/desktops/mate/mate-applets/default.nix
Normal file
54
pkgs/desktops/mate/mate-applets/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0xy9dwiqvmimqshbfq80jxq65aznlgx491lqq8rl4x8c9sdl7q5p";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
itstool
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus-glib
|
||||
gtk3
|
||||
gtksourceview3
|
||||
gucharmap
|
||||
hicolor-icon-theme
|
||||
libgtop
|
||||
libmateweather
|
||||
libnl
|
||||
libnotify
|
||||
libwnck
|
||||
libxml2
|
||||
mate-panel
|
||||
polkit
|
||||
upower
|
||||
wirelesstools
|
||||
];
|
||||
|
||||
configureFlags = [ "--enable-suid=no" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Applets for use with the MATE panel";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
36
pkgs/desktops/mate/mate-backgrounds/default.nix
Normal file
36
pkgs/desktops/mate/mate-backgrounds/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, meson, ninja, gettext, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-backgrounds";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0379hngy3ap1r5kmqvmzs9r710k2c9nal2ps3hq765df4ir15j8d";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with meson 0.61, can be removed on next update.
|
||||
# https://github.com/mate-desktop/mate-backgrounds/pull/39
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mate-desktop/mate-backgrounds/commit/0096e237d420e6247a75a1c6940a818e309ac2a7.patch";
|
||||
sha256 = "HEF8VWunFO+NCG18fZA7lbE2l8pc6Z3jcD+rSZ1Jsqg=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Background images and data for MATE";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus cc-by-sa-40 ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
37
pkgs/desktops/mate/mate-calc/default.nix
Normal file
37
pkgs/desktops/mate/mate-calc/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, gtk3, libmpc, libxml2, mpfr, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-calc";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0mddfh9ixhh60nfgx5kcprcl9liavwqyina11q3pnpfs3n02df3y";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
itstool
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libmpc
|
||||
libxml2
|
||||
mpfr
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Calculator for the MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = [ licenses.gpl2Plus ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
23
pkgs/desktops/mate/mate-common/default.nix
Normal file
23
pkgs/desktops/mate/mate-common/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, stdenv, fetchurl, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-common";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "014wpfqpqmfkzv81paap4fz15mj1gsyvaxlrfqsp9a3yxw4f7jaf";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Common files for development of MATE packages";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
64
pkgs/desktops/mate/mate-control-center/default.nix
Normal file
64
pkgs/desktops/mate/mate-control-center/default.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ 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
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-control-center";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0jhkn0vaz8glji4j5ar6im8l2wf40kssl07gfkz40rcgfzm18rr8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
desktop-file-utils
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxml2
|
||||
dbus-glib
|
||||
libxklavier
|
||||
libcanberra-gtk3
|
||||
librsvg
|
||||
libappindicator-gtk3
|
||||
gtk3
|
||||
dconf
|
||||
polkit
|
||||
hicolor-icon-theme
|
||||
mate.mate-desktop
|
||||
mate.libmatekbd
|
||||
mate.mate-menus
|
||||
mate.marco
|
||||
mate.mate-settings-daemon
|
||||
];
|
||||
|
||||
configureFlags = [ "--disable-update-mimedb" ];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
# WM keyboard shortcuts
|
||||
--prefix XDG_DATA_DIRS : "${mate.marco}/share"
|
||||
# Desktop font, works only when passed after gtk3 schemas in the wrapper for some reason
|
||||
--prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath mate.caja}"
|
||||
)
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities to configure the MATE desktop";
|
||||
homepage = "https://github.com/mate-desktop/mate-control-center";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
35
pkgs/desktops/mate/mate-desktop/default.nix
Normal file
35
pkgs/desktops/mate/mate-desktop/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, isocodes, gnome, gtk3, dconf, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-desktop";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "18sj8smf0b998m5qvki37hxg0agcx7wmgz9z7cwv6v48i2dnnz2z";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dconf
|
||||
gtk3
|
||||
isocodes
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library with common API for various MATE modules";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
35
pkgs/desktops/mate/mate-icon-theme-faenza/default.nix
Normal file
35
pkgs/desktops/mate/mate-icon-theme-faenza/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-icon-theme-faenza";
|
||||
version = "1.20.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook gtk3 ];
|
||||
|
||||
propagatedBuildInputs = [ mate.mate-icon-theme hicolor-icon-theme ];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
postInstall = ''
|
||||
for theme in "$out"/share/icons/*; do
|
||||
gtk-update-icon-cache "$theme"
|
||||
done
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Faenza icon theme from MATE";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
39
pkgs/desktops/mate/mate-icon-theme/default.nix
Normal file
39
pkgs/desktops/mate/mate-icon-theme/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, iconnamingutils, librsvg, gtk3, hicolor-icon-theme, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-icon-theme";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0nha555fhhn0j5wmzmdc7bh93ckzwwdm8mwmzma5whkzslv09xa1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext iconnamingutils ];
|
||||
|
||||
buildInputs = [ librsvg ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
postInstall = ''
|
||||
for theme in "$out"/share/icons/*; do
|
||||
"${gtk3.out}/bin/gtk-update-icon-cache" "$theme"
|
||||
done
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Icon themes from MATE";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.lgpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
47
pkgs/desktops/mate/mate-indicator-applet/default.nix
Normal file
47
pkgs/desktops/mate/mate-indicator-applet/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libindicator-gtk3, mate, hicolor-icon-theme, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-indicator-applet";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "144fh9f3lag2cqnmb6zxlh8k83ya8kha6rmd7r8gg3z5w3nzpyz4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libindicator-gtk3
|
||||
mate.mate-panel
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mate-desktop/mate-indicator-applet";
|
||||
description = "MATE panel indicator applet";
|
||||
longDescription = ''
|
||||
A small applet to display information from various applications
|
||||
consistently in the panel.
|
||||
|
||||
The indicator applet exposes Ayatana Indicators in the MATE Panel.
|
||||
Ayatana Indicators are an initiative by Canonical to provide crisp and
|
||||
clean system and application status indication. They take the form of
|
||||
an icon and associated menu, displayed (usually) in the desktop panel.
|
||||
Existing indicators include the Message Menu, Battery Menu and Sound
|
||||
menu.
|
||||
'';
|
||||
license = with licenses; [ gpl3Plus lgpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
39
pkgs/desktops/mate/mate-media/default.nix
Normal file
39
pkgs/desktops/mate/mate-media/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, libtool, libxml2, libcanberra-gtk3, gtk3, mate, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-media";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0fiwzsir8i1bqz7g7b20g5zs28qq63j41v9c5z69q8fq7wh1nwwb";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libxml2
|
||||
libcanberra-gtk3
|
||||
gtk3
|
||||
mate.libmatemixer
|
||||
mate.mate-panel
|
||||
mate.mate-desktop
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
libtool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Media tools for MATE";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members ++ (with maintainers; [ chpatrick ]);
|
||||
};
|
||||
}
|
||||
33
pkgs/desktops/mate/mate-menus/default.nix
Normal file
33
pkgs/desktops/mate/mate-menus/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, glib, gobject-introspection, python3, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-menus";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1r7zf64aclaplz77hkl9kq0xnz6jk1l49z64i8v56c41pm59c283";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext gobject-introspection ];
|
||||
|
||||
buildInputs = [ glib python3 ];
|
||||
|
||||
makeFlags = [
|
||||
"INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"
|
||||
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Menu system for MATE";
|
||||
homepage = "https://github.com/mate-desktop/mate-menus";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
44
pkgs/desktops/mate/mate-netbook/default.nix
Normal file
44
pkgs/desktops/mate/mate-netbook/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, libwnck, libfakekey, libXtst, mate, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-netbook";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "12gdy69nfysl8vmd8lv8b0lknkaagplrrz88nh6n0rmjkxnipgz3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libwnck
|
||||
libfakekey
|
||||
libXtst
|
||||
mate.mate-panel
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE utilities for netbooks";
|
||||
longDescription = ''
|
||||
MATE utilities for netbooks are an applet and a daemon to maximize
|
||||
windows and move their titles on the panel.
|
||||
|
||||
Installing these utilities is recommended for netbooks and similar
|
||||
devices with low resolution displays.
|
||||
'';
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl3Only lgpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
42
pkgs/desktops/mate/mate-notification-daemon/default.nix
Normal file
42
pkgs/desktops/mate/mate-notification-daemon/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1fmr6hlcy2invp2yxqfqgpdx1dp4qa8xskjq2rm6v4gmz20nag5j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
libxml2 # for xmllint
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libcanberra-gtk3
|
||||
libnotify
|
||||
libwnck
|
||||
gtk3
|
||||
mate-desktop
|
||||
mate-panel
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Notification daemon for MATE Desktop";
|
||||
homepage = "https://github.com/mate-desktop/mate-notification-daemon";
|
||||
license = with licenses; [ gpl2Plus gpl3Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
58
pkgs/desktops/mate/mate-panel/default.nix
Normal file
58
pkgs/desktops/mate/mate-panel/default.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{ 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";
|
||||
version = "1.26.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "rsT5jInFnnbMBlbtBILx2CkS9N7MZg8hyNAE5JPgVBA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
gettext
|
||||
itstool
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
libwnck
|
||||
librsvg
|
||||
libxml2
|
||||
gtk3
|
||||
dconf
|
||||
mate.libmateweather
|
||||
mate.mate-desktop
|
||||
mate.mate-menus
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
makeFlags = [
|
||||
"INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/"
|
||||
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
# Workspace switcher settings, works only when passed after gtk3 schemas in the wrapper for some reason
|
||||
--prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath mate.marco}"
|
||||
)
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "The MATE panel";
|
||||
homepage = "https://github.com/mate-desktop/mate-panel";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
36
pkgs/desktops/mate/mate-polkit/default.nix
Normal file
36
pkgs/desktops/mate/mate-polkit/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, gobject-introspection, libappindicator-gtk3, libindicator-gtk3, polkit, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-polkit";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0kkjv025l1l8352m5ky1g7hmk7isgi3dnfnh7sqg9pyhml97i9dd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
gettext
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libappindicator-gtk3
|
||||
libindicator-gtk3
|
||||
polkit
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrates polkit authentication for MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = [ licenses.gpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
46
pkgs/desktops/mate/mate-power-manager/default.nix
Normal file
46
pkgs/desktops/mate/mate-power-manager/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0ybvwv24g8awxjl2asgvx6l2ghn4limcm48ylha68dkpy3607di6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
libtool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
itstool
|
||||
libxml2
|
||||
libcanberra-gtk3
|
||||
gtk3
|
||||
libsecret
|
||||
libnotify
|
||||
dbus-glib
|
||||
upower
|
||||
polkit
|
||||
mate-panel
|
||||
];
|
||||
|
||||
configureFlags = [ "--enable-applets" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "The MATE Power Manager";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus fdl11Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members ++ (with maintainers; [ chpatrick ]);
|
||||
};
|
||||
}
|
||||
46
pkgs/desktops/mate/mate-screensaver/default.nix
Normal file
46
pkgs/desktops/mate/mate-screensaver/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, dbus-glib, libXScrnSaver, libnotify, libxml2, pam, systemd, mate, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-screensaver";
|
||||
version = "1.26.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "T72yHqSlnqjeM+qb93bYaXU+SSlWBGZMMOIg4JZZuLw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
libxml2 # provides xmllint
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
dbus-glib
|
||||
libXScrnSaver
|
||||
libnotify
|
||||
pam
|
||||
systemd
|
||||
mate.mate-desktop
|
||||
mate.mate-menus
|
||||
mate.mate-panel
|
||||
];
|
||||
|
||||
configureFlags = [ "--without-console-kit" ];
|
||||
|
||||
makeFlags = [ "DBUS_SESSION_SERVICE_DIR=$(out)/etc" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Screen saver and locker for the MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
43
pkgs/desktops/mate/mate-sensors-applet/default.nix
Normal file
43
pkgs/desktops/mate/mate-sensors-applet/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0s19r30fsicqvvcnz57lv158pi35w9zn5i7h5hz59224y0zpqhsc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
# maybe add nvidia-settings later on
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libxml2
|
||||
libxslt
|
||||
libatasmart
|
||||
libnotify
|
||||
lm_sensors
|
||||
mate.mate-panel
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mate-desktop/mate-sensors-applet";
|
||||
description = "MATE panel applet for hardware sensors";
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
60
pkgs/desktops/mate/mate-session-manager/default.nix
Normal file
60
pkgs/desktops/mate/mate-session-manager/default.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
{ 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 {
|
||||
pname = "mate-session-manager";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "05hqi8wlwjr07mp5njhp7h06mgnv98zsxaxkmxc5w3iwb3va45ar";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# allow turning on debugging from environment variable
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mate-desktop/mate-session-manager/commit/3ab6fbfc811d00100d7a2959f8bbb157b536690d.patch";
|
||||
sha256 = "0yjaklq0mp44clymyhy240kxlw95z3azmravh4f5pfm9dys33sg0";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
xtrans
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus-glib
|
||||
systemd
|
||||
libSM
|
||||
libXtst
|
||||
gtk3
|
||||
mate.mate-desktop
|
||||
hicolor-icon-theme
|
||||
libepoxy
|
||||
polkit
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace $out/share/xsessions/mate.desktop \
|
||||
--replace "Exec=mate-session" "Exec=$out/bin/mate-session"
|
||||
'';
|
||||
|
||||
passthru.providedSessions = [ "mate" ];
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE Desktop session manager";
|
||||
homepage = "https://github.com/mate-desktop/mate-session-manager";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
50
pkgs/desktops/mate/mate-settings-daemon/default.nix
Normal file
50
pkgs/desktops/mate/mate-settings-daemon/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0hbdwqagxh1mdpxfdqr1ps3yqvk0v0c5zm0bwk56y6l1zwbs0ymp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus-glib
|
||||
libxklavier
|
||||
libcanberra-gtk3
|
||||
libnotify
|
||||
nss
|
||||
polkit
|
||||
gtk3
|
||||
dconf
|
||||
mate.mate-desktop
|
||||
mate.libmatekbd
|
||||
mate.libmatemixer
|
||||
] ++ lib.optional pulseaudioSupport libpulseaudio;
|
||||
|
||||
configureFlags = lib.optional pulseaudioSupport "--enable-pulse";
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE settings daemon";
|
||||
homepage = "https://github.com/mate-desktop/mate-settings-daemon";
|
||||
license = with licenses; [ gpl2Plus gpl3Plus lgpl2Plus mit ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
22
pkgs/desktops/mate/mate-settings-daemon/wrapped.nix
Normal file
22
pkgs/desktops/mate/mate-settings-daemon/wrapped.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ 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 ];
|
||||
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 \
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
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; };
|
||||
}
|
||||
42
pkgs/desktops/mate/mate-system-monitor/default.nix
Normal file
42
pkgs/desktops/mate/mate-system-monitor/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, gtkmm3, libxml2, libgtop, libwnck, librsvg, polkit, systemd, wrapGAppsHook, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-system-monitor";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "13rkrk7c326ng8164aqfp6i7334n7zrmbg61ncpjprbrvlx2qiw3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtkmm3
|
||||
libxml2
|
||||
libgtop
|
||||
libwnck
|
||||
librsvg
|
||||
polkit
|
||||
systemd
|
||||
];
|
||||
|
||||
configureFlags = [ "--enable-systemd" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "System monitor for the MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = [ licenses.gpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
40
pkgs/desktops/mate/mate-terminal/default.nix
Normal file
40
pkgs/desktops/mate/mate-terminal/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, itstool, libxml2, mate-desktop, dconf, vte, pcre2, wrapGAppsHook, mateUpdateScript, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-terminal";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "08mgxbviik2dwwnbclp0518wlag2fhcr6c2yadgcbhwiq4aff9vp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
itstool
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dconf
|
||||
libxml2
|
||||
mate-desktop
|
||||
pcre2
|
||||
vte
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
passthru.tests.test = nixosTests.terminal-emulators.mate-terminal;
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE desktop terminal emulator";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
39
pkgs/desktops/mate/mate-themes/default.nix
Normal file
39
pkgs/desktops/mate/mate-themes/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ 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";
|
||||
version = "3.22.23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/themes/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1avgzccdmr7y18rnp3xrhwk82alv2dlig3wh7ivgahcqdiiavrb1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext gtk3 ];
|
||||
|
||||
buildInputs = [ mate-icon-theme gtk2 gtk_engines gdk-pixbuf librsvg ];
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
postInstall = ''
|
||||
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript {
|
||||
inherit pname version;
|
||||
url = "https://pub.mate-desktop.org/releases/themes";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A set of themes from MATE";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ lgpl21Plus lgpl3Only gpl3Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
89
pkgs/desktops/mate/mate-tweak/default.nix
Normal file
89
pkgs/desktops/mate/mate-tweak/default.nix
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3Packages
|
||||
, intltool
|
||||
, mate
|
||||
, libnotify
|
||||
, gtk3
|
||||
, gdk-pixbuf
|
||||
, gobject-introspection
|
||||
, wrapGAppsHook
|
||||
, glib
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mate-tweak";
|
||||
version = "22.04.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ubuntu-mate";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "ncBN1wjCcMtuasnXk7WMge+9MK7BMmTu89/R+hiY/Ks=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook
|
||||
intltool
|
||||
python3Packages.distutils_extra
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
gdk-pixbuf
|
||||
libnotify
|
||||
glib
|
||||
mate.mate-applets
|
||||
mate.mate-panel
|
||||
mate.marco
|
||||
mate.libmatekbd
|
||||
mate.mate-session-manager
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
distro
|
||||
pygobject3
|
||||
psutil
|
||||
setproctitle
|
||||
];
|
||||
|
||||
strictDeps = false;
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
postPatch = ''
|
||||
# mate-tweak hardcodes absolute paths everywhere. Nuke from orbit.
|
||||
find . -type f -exec sed -i \
|
||||
-e s,/usr/lib/mate-tweak,$out/lib/mate-tweak,g \
|
||||
{} +
|
||||
|
||||
sed -i 's,{prefix}/,,g' setup.py
|
||||
'';
|
||||
|
||||
# Arguments to be passed to `makeWrapper`, only used by buildPython*
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
for i in bin/.mate-tweak-wrapped lib/mate-tweak/mate-tweak-helper; do
|
||||
sed -i "s,usr,run/current-system/sw,g" $out/$i
|
||||
done
|
||||
'';
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
inherit pname version;
|
||||
attrPath = "mate.${pname}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tweak tool for the MATE Desktop";
|
||||
homepage = "https://github.com/ubuntu-mate/mate-tweak";
|
||||
changelog = "https://github.com/ubuntu-mate/mate-tweak/releases/tag/${version}";
|
||||
license = [ licenses.gpl2Plus ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.mate.members ++ (with maintainers; [ luc65r ]);
|
||||
};
|
||||
}
|
||||
32
pkgs/desktops/mate/mate-user-guide/default.nix
Normal file
32
pkgs/desktops/mate/mate-user-guide/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchurl, gettext, itstool, libxml2, yelp, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mate-user-guide";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1h620ngryqc4m8ybvc92ba8404djnm0l65f34mlw38g9ad8d9085";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ itstool gettext libxml2 ];
|
||||
|
||||
buildInputs = [ yelp ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace mate-user-guide.desktop.in.in \
|
||||
--replace "Exec=yelp" "Exec=${yelp}/bin/yelp"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE User Guide";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus fdl12 ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
57
pkgs/desktops/mate/mate-user-share/default.nix
Normal file
57
pkgs/desktops/mate/mate-user-share/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1wh0b4qw5wzpl7sg44lpwjb9r6xllch3xfz8c2cchl8rcgbh2kph";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
libxml2
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
dbus-glib
|
||||
libnotify
|
||||
libcanberra-gtk3
|
||||
mate.caja
|
||||
hicolor-icon-theme
|
||||
# Should mod_dnssd and apacheHttpd be runtime dependencies?
|
||||
# In gnome-user-share they are not.
|
||||
#mod_dnssd
|
||||
#apacheHttpd
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \
|
||||
-e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \
|
||||
-i data/dav_user_2.4.conf
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-httpd=${apacheHttpd.out}/bin/httpd"
|
||||
"--with-modules-path=${apacheHttpd}/modules"
|
||||
"--with-cajadir=$(out)/lib/caja/extensions-2.0"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "User level public file sharing for the MATE desktop";
|
||||
homepage = "https://github.com/mate-desktop/mate-user-share";
|
||||
license = with licenses; [ gpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
44
pkgs/desktops/mate/mate-utils/default.nix
Normal file
44
pkgs/desktops/mate/mate-utils/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0bkqj8qwwml9xyvb680yy06lv3dzwkv89yrzz5jamvz88ar6m9bw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
itstool
|
||||
inkscape
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libgtop
|
||||
libcanberra-gtk3
|
||||
libxml2
|
||||
udisks2
|
||||
mate.mate-panel
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utilities for the MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
32
pkgs/desktops/mate/mozo/default.nix
Normal file
32
pkgs/desktops/mate/mozo/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, python3, fetchurl, pkg-config, gettext, mate, gtk3, glib, wrapGAppsHook, gobject-introspection, mateUpdateScript }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "mozo";
|
||||
version = "1.26.1";
|
||||
|
||||
format = "other";
|
||||
doCheck = false;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "DyRCmjsDe9BojsTDkdnYeB5Csj7zRfXlCvHnLF7y+jk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config gettext gobject-introspection wrapGAppsHook ];
|
||||
|
||||
propagatedBuildInputs = [ mate.mate-menus python3.pkgs.pygobject3 ];
|
||||
|
||||
buildInputs = [ gtk3 glib ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "MATE Desktop menu editor";
|
||||
homepage = "https://github.com/mate-desktop/mozo";
|
||||
license = with licenses; [ lgpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
43
pkgs/desktops/mate/pluma/default.nix
Normal file
43
pkgs/desktops/mate/pluma/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ 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";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0lway12q2xygiwjgrx7chgka838jbnmlzz98g7agag1rwzd481ii";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
isocodes
|
||||
itstool
|
||||
perl
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
adwaita-icon-theme
|
||||
enchant
|
||||
gtksourceview4
|
||||
libpeas
|
||||
libxml2
|
||||
mate-desktop
|
||||
python3
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Powerful text editor for the MATE desktop";
|
||||
homepage = "https://mate-desktop.org";
|
||||
license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
38
pkgs/desktops/mate/python-caja/default.nix
Normal file
38
pkgs/desktops/mate/python-caja/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, mate, python3Packages, mateUpdateScript }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "python-caja";
|
||||
version = "1.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "181zcs1pi3762chm4xraqs8048jm7jzwnvgwla1v3z2nqzpp3xr1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
gettext
|
||||
python3Packages.wrapPython
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
mate.caja
|
||||
python3Packages.python
|
||||
python3Packages.pygobject3
|
||||
];
|
||||
|
||||
configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python binding for Caja components";
|
||||
homepage = "https://github.com/mate-desktop/python-caja";
|
||||
license = [ licenses.gpl2Plus ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.mate.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue