3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/mate/mate-themes/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

2021-01-17 02:21:50 +00:00
{ lib, stdenv, fetchurl, pkg-config, gettext, mate-icon-theme, gtk2, gtk3,
2021-04-02 20:58:16 +01:00
gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg, mateUpdateScript }:
2013-08-27 14:02:46 +01:00
2016-05-28 17:28:47 +01:00
stdenv.mkDerivation rec {
pname = "mate-themes";
2021-11-02 22:49:39 +00:00
version = "3.22.23";
2013-08-27 14:02:46 +01: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";
2021-11-02 22:49:39 +00:00
sha256 = "1avgzccdmr7y18rnp3xrhwk82alv2dlig3wh7ivgahcqdiiavrb1";
2013-08-27 14:02:46 +01:00
};
2021-01-17 02:21:50 +00:00
nativeBuildInputs = [ pkg-config gettext gtk3 ];
2016-05-28 17:28:47 +01: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 14:02:46 +01:00
dontDropIconThemeCache = true;
2018-10-02 22:46:21 +01:00
postInstall = ''
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
'';
2020-02-14 21:52:51 +00:00
enableParallelBuilding = true;
2021-04-02 20:58:16 +01:00
passthru.updateScript = mateUpdateScript {
inherit pname version;
url = "https://pub.mate-desktop.org/releases/themes";
};
2021-04-22 14:23:43 +01:00
meta = with lib; {
2013-08-27 14:02:46 +01:00
description = "A set of themes from MATE";
2020-02-12 17:53:06 +00:00
homepage = "https://mate-desktop.org";
2021-04-22 14:23:43 +01:00
license = with licenses; [ lgpl21Plus lgpl3Only gpl3Plus ];
platforms = platforms.unix;
maintainers = teams.mate.members;
2013-08-27 14:02:46 +01:00
};
}