2017-12-25 01:14:37 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, xtrans, dbus_glib, systemd,
|
2017-12-25 14:33:48 +00:00
|
|
|
libSM, libXtst, gtk3, mate-desktop, hicolor_icon_theme,
|
|
|
|
wrapGAppsHook
|
2017-12-25 01:14:37 +00:00
|
|
|
}:
|
2017-08-31 04:10:20 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-session-manager-${version}";
|
|
|
|
version = "${major-ver}.${minor-ver}";
|
|
|
|
major-ver = "1.18";
|
2017-12-24 02:02:35 +00:00
|
|
|
minor-ver = "2";
|
2017-08-31 04:10:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
|
2017-12-24 02:02:35 +00:00
|
|
|
sha256 = "11ii7azl8rn9mfymcmcbpysyd12vrxp4s8l3l6yk4mwlr3gvzxj0";
|
2017-08-31 04:10:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
2017-12-25 01:14:37 +00:00
|
|
|
xtrans
|
2017-08-31 04:10:20 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dbus_glib
|
|
|
|
systemd
|
2017-12-25 01:14:37 +00:00
|
|
|
libSM
|
|
|
|
libXtst
|
|
|
|
gtk3
|
|
|
|
mate-desktop
|
2017-09-01 21:27:24 +01:00
|
|
|
hicolor_icon_theme
|
2017-08-31 04:10:20 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "MATE Desktop session manager";
|
|
|
|
homepage = https://github.com/mate-desktop/mate-session-manager;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|