2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, gtk3
|
|
|
|
, file
|
|
|
|
, mate
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, wrapGAppsHook
|
|
|
|
, mateUpdateScript
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "engrampa";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.26.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "8CJBB6ek6epjCcnniqX6rIAsTPcqSawoOqnnrh6KbEo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxml2
|
|
|
|
gtk3
|
2020-10-07 09:15:18 +00:00
|
|
|
file #libmagic
|
2020-04-24 23:36:52 +00:00
|
|
|
mate.caja
|
|
|
|
hicolor-icon-theme
|
|
|
|
mate.mate-desktop
|
|
|
|
];
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-cajadir=$$out/lib/caja/extensions-2.0"
|
|
|
|
"--enable-magic"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname; };
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Archive Manager for MATE";
|
|
|
|
homepage = "https://mate-desktop.org";
|
2021-04-25 03:57:28 +00:00
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
|
|
|
|
platforms = platforms.unix;
|
2021-09-23 15:35:13 +00:00
|
|
|
maintainers = teams.mate.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|