mate.mate-backgrounds: 1.26.0 -> 1.28.0

https://github.com/mate-desktop/mate-backgrounds/compare/v1.26.0...v1.28.0

Also uses stdenvNoCC.
This commit is contained in:
Bobby Rong 2024-02-14 11:47:34 +00:00
parent b4657dc75c
commit 28a4433b00
No known key found for this signature in database

View file

@ -1,31 +1,21 @@
{ lib
, stdenv
, stdenvNoCC
, fetchurl
, fetchpatch
, meson
, ninja
, gettext
, mateUpdateScript
}:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "mate-backgrounds";
version = "1.26.0";
version = "1.28.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0379hngy3ap1r5kmqvmzs9r710k2c9nal2ps3hq765df4ir15j8d";
sha256 = "UNGv0CSGvQesIqWmtu+jAxFI8NSKguSI2QmtVwA6aUM=";
};
patches = [
# Fix build with meson 0.61, can be removed on next update.
# https://github.com/mate-desktop/mate-backgrounds/pull/39
(fetchpatch {
url = "https://github.com/mate-desktop/mate-backgrounds/commit/0096e237d420e6247a75a1c6940a818e309ac2a7.patch";
sha256 = "HEF8VWunFO+NCG18fZA7lbE2l8pc6Z3jcD+rSZ1Jsqg=";
})
];
nativeBuildInputs = [
gettext
meson