15 # can be defaulted to true once switch to meson
16 , withMagic ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, file
19 stdenv.mkDerivation rec {
24 url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
25 sha256 = "nFxMm8+LCO6qjydVONJLTJVQidWK7AMx6JwCuE2FOGo=";
42 ] ++ lib.optionals withMagic [
47 "--with-cajadir=$$out/lib/caja/extensions-2.0"
48 ] ++ lib.optionals withMagic [
52 enableParallelBuilding = true;
54 passthru.updateScript = mateUpdateScript { inherit pname; };
57 description = "Archive Manager for MATE";
58 mainProgram = "engrampa";
59 homepage = "https://mate-desktop.org";
60 license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
61 platforms = platforms.unix;
62 maintainers = teams.mate.members;