1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00
nixpkgs/pkgs/desktops/mate/mate-themes/default.nix
2017-03-27 23:25:11 -03:00

34 lines
1,010 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, mate, gnome3, gtk2, gtk_engines,
gtk-engine-murrine, gdk_pixbuf, librsvg }:
stdenv.mkDerivation rec {
name = "mate-themes-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = gnome3.version;
minor-ver = {
"3.20" = "16";
"3.22" = "7";
}."${major-ver}";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/themes/${major-ver}/${name}.tar.xz";
sha256 = {
"3.20" = "1dvzljpq6cscr82gnsqagf23inb039q84fnawraj0nhfjif11r7v";
"3.22" = "1kjchqkds0zj32x7cjfcq96zakcmhva1yg0nxfd6369a5nwkp5k0";
}."${major-ver}";
};
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gtk-engine-murrine
gdk_pixbuf librsvg ];
meta = {
description = "A set of themes from MATE";
homepage = "http://mate-desktop.org";
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}