nixpkgs/pkgs/desktops/mate/mate-session-manager/default.nix
2018-01-09 02:40:04 +02:00

42 lines
953 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, xtrans, dbus_glib, systemd,
libSM, libXtst, gtk3, mate-desktop, hicolor_icon_theme,
wrapGAppsHook
}:
stdenv.mkDerivation rec {
name = "mate-session-manager-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "2";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "11ii7azl8rn9mfymcmcbpysyd12vrxp4s8l3l6yk4mwlr3gvzxj0";
};
nativeBuildInputs = [
pkgconfig
intltool
xtrans
wrapGAppsHook
];
buildInputs = [
dbus_glib
systemd
libSM
libXtst
gtk3
mate-desktop
hicolor_icon_theme
];
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 ];
};
}