1{
2 lib,
3 stdenvNoCC,
4 fetchurl,
5 meson,
6 ninja,
7 gettext,
8 mateUpdateScript,
9}:
10
11stdenvNoCC.mkDerivation rec {
12 pname = "mate-backgrounds";
13 version = "1.28.0";
14
15 src = fetchurl {
16 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
17 sha256 = "UNGv0CSGvQesIqWmtu+jAxFI8NSKguSI2QmtVwA6aUM=";
18 };
19
20 nativeBuildInputs = [
21 gettext
22 meson
23 ninja
24 ];
25
26 passthru.updateScript = mateUpdateScript { inherit pname; };
27
28 meta = with lib; {
29 description = "Background images and data for MATE";
30 homepage = "https://mate-desktop.org";
31 license = with licenses; [
32 gpl2Plus
33 cc-by-sa-40
34 ];
35 platforms = platforms.unix;
36 teams = [ teams.mate ];
37 };
38}