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

38 lines
915 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, libgtop, libcanberra_gtk3, mate-panel, hicolor_icon_theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "mate-utils-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "3";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1nw8rcq3x67v73cmy44zz6r2ikz46wsx834qzkbq4i2ac96kdkfz";
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];
buildInputs = [
gtk3
libgtop
libcanberra_gtk3
libxml2
mate-panel
hicolor_icon_theme
];
meta = with stdenv.lib; {
description = "Utilities for the MATE desktop";
homepage = http://mate-desktop.org;
license = with licenses; [ gpl2Plus lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}