nixpkgs-suyu/pkgs/desktops/mate/mate-desktop/default.nix

36 lines
876 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, gettext, isocodes, gnome, gtk3, dconf, wrapGAppsHook, mateUpdateScript }:
2017-03-03 03:52:29 +01:00
stdenv.mkDerivation rec {
pname = "mate-desktop";
2021-08-06 21:08:18 +02:00
version = "1.26.0";
2017-03-03 03:52:29 +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";
2021-08-06 21:08:18 +02:00
sha256 = "18sj8smf0b998m5qvki37hxg0agcx7wmgz9z7cwv6v48i2dnnz2z";
2017-03-03 03:52:29 +01:00
};
2017-08-31 04:49:46 +02:00
nativeBuildInputs = [
2021-01-17 03:21:50 +01:00
pkg-config
gettext
2017-08-31 04:49:46 +02:00
wrapGAppsHook
2017-03-28 04:25:49 +02:00
];
2017-03-03 03:52:29 +01:00
2017-03-28 04:25:49 +02:00
buildInputs = [
2019-12-01 00:11:47 +01:00
dconf
gtk3
2019-04-21 14:02:46 +02:00
isocodes
2017-03-28 04:25:49 +02:00
];
2017-03-03 03:52:29 +01:00
2020-02-14 22:52:51 +01:00
enableParallelBuilding = true;
2021-04-02 21:58:16 +02:00
passthru.updateScript = mateUpdateScript { inherit pname version; };
meta = with lib; {
2017-03-03 03:52:29 +01:00
description = "Library with common API for various MATE modules";
2020-02-12 18:51:20 +01:00
homepage = "https://mate-desktop.org";
2021-04-22 15:23:43 +02:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = teams.mate.members;
2017-03-03 03:52:29 +01:00
};
}