nixpkgs-suyu/pkgs/desktops/mate/mate-desktop/default.nix

37 lines
818 B
Nix
Raw Normal View History

2017-03-28 04:25:49 +02:00
{ stdenv, fetchurl, pkgconfig, intltool, gnome3, wrapGAppsHook }:
2017-03-03 03:52:29 +01:00
stdenv.mkDerivation rec {
2017-03-28 04:25:49 +02:00
name = "mate-desktop-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "0";
2017-03-03 03:52:29 +01:00
src = fetchurl {
2017-03-28 04:25:49 +02:00
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "12iv2y4dan962fs7vkkxbjkp77pbvjnwfa43ggr0zkdsc3ydjbbg";
2017-03-03 03:52:29 +01:00
};
2017-03-28 04:25:49 +02:00
propagatedUserEnvPkgs = [
gnome3.gnome_themes_standard
];
2017-03-03 03:52:29 +01:00
2017-03-28 04:25:49 +02:00
buildInputs = [
gnome3.dconf
gnome3.gtk
gnome3.defaultIconTheme
2017-03-03 03:52:29 +01:00
];
2017-03-28 04:25:49 +02:00
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
2017-03-03 03:52:29 +01:00
meta = with stdenv.lib; {
description = "Library with common API for various MATE modules";
2017-03-28 04:25:49 +02:00
homepage = "http://mate-desktop.org";
license = licenses.gpl2;
platforms = platforms.unix;
2017-03-03 03:52:29 +01:00
};
}