From 5641769ff0eded299799b4ad89da1bd7458aa4ff Mon Sep 17 00:00:00 2001 From: Clemens Manert Date: Fri, 3 Mar 2017 03:52:29 +0100 Subject: [PATCH] mate-desktop: init at 1.17.2 --- pkgs/desktops/mate/default.nix | 1 + pkgs/desktops/mate/mate-desktop/default.nix | 33 +++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/desktops/mate/mate-desktop/default.nix diff --git a/pkgs/desktops/mate/default.nix b/pkgs/desktops/mate/default.nix index c3a49011c1d9..4e6a673d311a 100644 --- a/pkgs/desktops/mate/default.nix +++ b/pkgs/desktops/mate/default.nix @@ -1,6 +1,7 @@ { callPackage, pkgs }: rec { mate-common = callPackage ./mate-common { }; + mate-desktop = callPackage ./mate-desktop { }; mate-icon-theme = callPackage ./mate-icon-theme { }; mate-icon-theme-faenza = callPackage ./mate-icon-theme-faenza { }; mate-themes = callPackage ./mate-themes { }; diff --git a/pkgs/desktops/mate/mate-desktop/default.nix b/pkgs/desktops/mate/mate-desktop/default.nix new file mode 100644 index 000000000000..fcb66c9ad799 --- /dev/null +++ b/pkgs/desktops/mate/mate-desktop/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, pkgs, pkgconfig, wrapGAppsHook }: + +stdenv.mkDerivation rec { + name = "mate-desktop-${version}"; + version = "${major-ver}.${minor-ver}"; + major-ver = "1.17"; + minor-ver = "2"; + + src = fetchurl { + url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz"; + sha256 = "1l7aih9hvmnmddwjwyafhz87drd5vdkmjr41m7f24bn5k7abl90g"; + }; + + propagatedUserEnvPkgs = [ pkgs.gnome3.gnome_themes_standard ]; + + buildInputs = with pkgs; [ + intltool + pkgconfig + + gnome3.dconf + gnome3.gtk + gnome3.defaultIconTheme + ]; + + nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; + + meta = with stdenv.lib; { + description = "Library with common API for various MATE modules"; + homepage = "http://mate-desktop.org"; + license = licenses.gpl2; + platforms = platforms.unix; + }; +}