Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 65 lines 1.2 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 gettext, 7 mate-icon-theme, 8 gtk2, 9 gtk3, 10 gtk_engines, 11 gtk-engine-murrine, 12 gdk-pixbuf, 13 librsvg, 14 mateUpdateScript, 15}: 16 17stdenv.mkDerivation rec { 18 pname = "mate-themes"; 19 version = "3.22.26"; 20 21 src = fetchurl { 22 url = "https://pub.mate-desktop.org/releases/themes/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 23 sha256 = "Ik6J02TrO3Pxz3VtBUlKmEIak8v1Q0miyF/GB+t1Xtc="; 24 }; 25 26 nativeBuildInputs = [ 27 pkg-config 28 gettext 29 gtk3 30 ]; 31 32 buildInputs = [ 33 mate-icon-theme 34 gtk2 35 gtk_engines 36 gdk-pixbuf 37 librsvg 38 ]; 39 40 propagatedUserEnvPkgs = [ 41 gtk-engine-murrine 42 ]; 43 44 dontDropIconThemeCache = true; 45 46 postInstall = '' 47 gtk-update-icon-cache "$out"/share/icons/ContrastHigh 48 ''; 49 50 enableParallelBuilding = true; 51 52 passthru.updateScript = mateUpdateScript { inherit pname; }; 53 54 meta = with lib; { 55 description = "Set of themes from MATE"; 56 homepage = "https://mate-desktop.org"; 57 license = with licenses; [ 58 lgpl21Plus 59 lgpl3Only 60 gpl3Plus 61 ]; 62 platforms = platforms.unix; 63 teams = [ teams.mate ]; 64 }; 65}