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

28 lines
747 B
Nix
Raw Normal View History

2021-04-02 21:58:16 +02:00
{ lib, stdenv, fetchurl, meson, ninja, gettext, mateUpdateScript }:
2017-12-31 11:54:32 +01:00
stdenv.mkDerivation rec {
pname = "mate-backgrounds";
version = "1.24.2";
2017-12-31 11:54:32 +01:00
src = fetchurl {
2021-01-15 14:21:58 +01:00
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1ixb2vlm3dr52ibp4ggrbkf38m3q6i5lxjg4ix82gxbb6h6a3gp5";
2017-12-31 11:54:32 +01:00
};
nativeBuildInputs = [
gettext
meson
ninja
];
2020-02-14 22:52:51 +01:00
2021-04-02 21:58:16 +02:00
passthru.updateScript = mateUpdateScript { inherit pname version; };
meta = with lib; {
2017-12-31 11:54:32 +01:00
description = "Background images and data for MATE";
homepage = "https://mate-desktop.org";
2021-04-22 15:23:43 +02:00
license = with licenses; [ gpl2Plus cc-by-sa-40 ];
2017-12-31 11:54:32 +01:00
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}