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

36 lines
882 B
Nix
Raw Normal View History

2021-04-02 19:58:16 +00:00
{ lib, stdenv, fetchurl, pkg-config, gettext, isocodes, gnome3, gtk3, dconf, wrapGAppsHook, mateUpdateScript }:
2017-03-03 02:52:29 +00:00
stdenv.mkDerivation rec {
pname = "mate-desktop";
2020-09-18 15:15:20 +00:00
version = "1.24.1";
2017-03-03 02:52:29 +00:00
src = fetchurl {
2021-01-15 13:21:58 +00:00
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-09-18 15:15:20 +00:00
sha256 = "1nd1dn8mm1z6x4r68a25q4vzys1a6fmbzc94ss1z1n1872pczs6i";
2017-03-03 02:52:29 +00:00
};
2017-08-31 02:49:46 +00:00
nativeBuildInputs = [
2021-01-17 02:21:50 +00:00
pkg-config
gettext
2017-08-31 02:49:46 +00:00
wrapGAppsHook
2017-03-28 02:25:49 +00:00
];
2017-03-03 02:52:29 +00:00
2017-03-28 02:25:49 +00:00
buildInputs = [
2019-11-30 23:11:47 +00:00
dconf
gtk3
2019-04-21 12:02:46 +00:00
isocodes
2017-03-28 02:25:49 +00:00
];
2017-03-03 02:52:29 +00:00
2020-02-14 21:52:51 +00:00
enableParallelBuilding = true;
2021-04-02 19:58:16 +00:00
passthru.updateScript = mateUpdateScript { inherit pname version; };
meta = with lib; {
2017-03-03 02:52:29 +00:00
description = "Library with common API for various MATE modules";
2020-02-12 17:51:20 +00:00
homepage = "https://mate-desktop.org";
2021-04-22 13:23:43 +00:00
license = licenses.gpl2Plus;
platforms = platforms.linux;
2017-08-31 02:49:46 +00:00
maintainers = [ maintainers.romildo ];
2017-03-03 02:52:29 +00:00
};
}