nixpkgs/pkgs/desktops/mate/mate-themes/default.nix
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00

31 lines
907 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, mate, gtk2, gtk3,
gtk_engines, gtk-engine-murrine, gdk_pixbuf, librsvg }:
stdenv.mkDerivation rec {
name = "mate-themes-${version}";
version = "3.22.18";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/themes/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0538bw8qismp16ymxbjk0ww7yjw1ch5v3f3d4vib3770xvgmmcfm";
};
nativeBuildInputs = [ pkgconfig intltool gtk3 ];
buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gdk_pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
postInstall = ''
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
'';
meta = {
description = "A set of themes from MATE";
homepage = https://mate-desktop.org;
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}