1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/desktops/mate/mate-desktop/default.nix
2021-08-21 11:09:29 -03:00

36 lines
881 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gettext, isocodes, gnome, gtk3, dconf, wrapGAppsHook, mateUpdateScript }:
stdenv.mkDerivation rec {
pname = "mate-desktop";
version = "1.26.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "18sj8smf0b998m5qvki37hxg0agcx7wmgz9z7cwv6v48i2dnnz2z";
};
nativeBuildInputs = [
pkg-config
gettext
wrapGAppsHook
];
buildInputs = [
dconf
gtk3
isocodes
];
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname version; };
meta = with lib; {
description = "Library with common API for various MATE modules";
homepage = "https://mate-desktop.org";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}