{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, gtk3, mate, hicolor-icon-theme, wrapGAppsHook }: stdenv.mkDerivation rec { pname = "engrampa"; version = "1.22.2"; src = fetchurl { url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; sha256 = "0ph7ngk32nnzc3psqjs5zy52zbjilk30spr2r4sixqxvmz7d28gd"; }; nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook ]; buildInputs = [ libxml2 gtk3 mate.caja hicolor-icon-theme mate.mate-desktop ]; configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ]; meta = { description = "Archive Manager for MATE"; homepage = https://mate-desktop.org; license = stdenv.lib.licenses.gpl2; platforms = stdenv.lib.platforms.unix; maintainers = [ stdenv.lib.maintainers.romildo ]; }; }