f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
33 lines
1,009 B
Nix
33 lines
1,009 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" = "19";
|
|
"3.22" = "10";
|
|
}."${major-ver}";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/themes/${major-ver}/${name}.tar.xz";
|
|
sha256 = {
|
|
"3.20" = "11b8g374dkjhbs7x7khpriabvkip4dmfkma5myzfv6m54qlj3b8g";
|
|
"3.22" = "03ficjfxa4qpx4vcshhk2zxryivckxpw7wcjgbn8xqnjk3lgzjcb";
|
|
}."${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 ];
|
|
};
|
|
}
|