nixpkgs/pkgs/desktops/mate/mate-themes/default.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

2016-06-12 20:47:42 +02:00
{ stdenv, fetchurl, pkgconfig, intltool, mate, gnome3, gtk2, gtk_engines,
2016-08-04 13:05:50 +02:00
gtk-engine-murrine, gdk_pixbuf, librsvg }:
2013-08-27 15:02:46 +02:00
2016-05-28 18:28:47 +02:00
stdenv.mkDerivation rec {
name = "mate-themes-${version}";
version = "${major-ver}.${minor-ver}";
2016-06-12 20:47:42 +02:00
major-ver = gnome3.version;
minor-ver = {
"3.18" = "4";
"3.20" = "12";
"3.22" = "3";
2016-06-12 20:47:42 +02:00
}."${major-ver}";
2013-08-27 15:02:46 +02:00
src = fetchurl {
2016-05-28 18:28:47 +02:00
url = "http://pub.mate-desktop.org/releases/themes/${major-ver}/${name}.tar.xz";
2016-06-12 20:47:42 +02:00
sha256 = {
"3.18" = "1h3z705jrg7gng5glf51ksszjz6v81qq83qvmfpv1v69bwn6fy4b";
"3.20" = "15s2xp2cq9x8iikvbywr5gl8l33i57i1xvbv4jc2qipnkn3c4yca";
"3.22" = "0p1rf5q2nr1vsab3pljwycclbrnwylvp88d0dhk8as0d6n6fp85k";
2016-06-12 20:47:42 +02:00
}."${major-ver}";
2013-08-27 15:02:46 +02:00
};
2016-05-28 18:28:47 +02:00
nativeBuildInputs = [ pkgconfig intltool ];
2016-06-12 20:47:42 +02:00
buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gtk-engine-murrine
2016-08-04 13:05:50 +02:00
gdk_pixbuf librsvg ];
2013-08-27 15:02:46 +02:00
meta = {
description = "A set of themes from MATE";
homepage = "http://mate-desktop.org";
license = stdenv.lib.licenses.lgpl21;
2016-05-28 18:28:47 +02:00
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
2013-08-27 15:02:46 +02:00
};
}