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

35 lines
978 B
Nix
Raw Normal View History

2021-01-17 02:21:50 +00:00
{ lib, stdenv, fetchurl, pkg-config, gettext, mate-icon-theme, gtk2, gtk3,
2019-05-22 11:03:39 +00:00
gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg }:
2013-08-27 13:02:46 +00:00
2016-05-28 16:28:47 +00:00
stdenv.mkDerivation rec {
pname = "mate-themes";
2020-02-24 00:55:49 +00:00
version = "3.22.21";
2013-08-27 13:02:46 +00:00
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "https://pub.mate-desktop.org/releases/themes/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-02-24 00:55:49 +00:00
sha256 = "051g2vq817g84yrqzf7hjcqr4xrghnw1rprjd6jf5mhhzmwcas6n";
2013-08-27 13:02:46 +00:00
};
2021-01-17 02:21:50 +00:00
nativeBuildInputs = [ pkg-config gettext gtk3 ];
2016-05-28 16:28:47 +00:00
2020-02-24 00:55:49 +00:00
buildInputs = [ mate-icon-theme gtk2 gtk_engines gdk-pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
2013-08-27 13:02:46 +00:00
dontDropIconThemeCache = true;
2018-10-02 21:46:21 +00:00
postInstall = ''
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
'';
2020-02-14 21:52:51 +00:00
enableParallelBuilding = true;
2013-08-27 13:02:46 +00:00
meta = {
description = "A set of themes from MATE";
2020-02-12 17:53:06 +00:00
homepage = "https://mate-desktop.org";
2021-01-15 13:21:58 +00:00
license = lib.licenses.lgpl21;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
2013-08-27 13:02:46 +00:00
};
}