2022-07-12 12:56:56 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, gettext
|
|
|
|
, perl
|
|
|
|
, itstool
|
|
|
|
, isocodes
|
|
|
|
, enchant
|
|
|
|
, libxml2
|
|
|
|
, python3
|
|
|
|
, adwaita-icon-theme
|
|
|
|
, gtksourceview4
|
|
|
|
, libpeas
|
|
|
|
, mate-desktop
|
|
|
|
, wrapGAppsHook
|
|
|
|
, mateUpdateScript
|
|
|
|
}:
|
2017-08-06 16:40:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pluma";
|
2021-08-06 20:08:20 +01:00
|
|
|
version = "1.26.0";
|
2017-08-06 16:40:13 +01: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";
|
2021-08-06 20:08:20 +01:00
|
|
|
sha256 = "0lway12q2xygiwjgrx7chgka838jbnmlzz98g7agag1rwzd481ii";
|
2017-08-06 16:40:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-02-14 14:09:49 +00:00
|
|
|
gettext
|
2017-08-06 16:40:13 +01:00
|
|
|
isocodes
|
2021-08-06 20:08:20 +01:00
|
|
|
itstool
|
|
|
|
perl
|
|
|
|
pkg-config
|
2017-08-06 16:40:13 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-08-06 20:08:20 +01:00
|
|
|
adwaita-icon-theme
|
2017-08-06 16:40:13 +01:00
|
|
|
enchant
|
2021-08-06 20:08:20 +01:00
|
|
|
gtksourceview4
|
|
|
|
libpeas
|
2017-08-06 16:40:13 +01:00
|
|
|
libxml2
|
2021-08-06 20:08:20 +01:00
|
|
|
mate-desktop
|
2019-04-21 13:02:49 +01:00
|
|
|
python3
|
2017-08-06 16:40:13 +01:00
|
|
|
];
|
|
|
|
|
2020-02-14 21:52:51 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2022-09-27 22:39:18 +01:00
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname; };
|
2021-04-02 20:58:16 +01:00
|
|
|
|
2021-04-22 14:23:43 +01:00
|
|
|
meta = with lib; {
|
2017-08-06 16:40:13 +01:00
|
|
|
description = "Powerful text editor for the MATE desktop";
|
2020-02-12 17:51:24 +00:00
|
|
|
homepage = "https://mate-desktop.org";
|
2021-04-22 14:23:43 +01:00
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
|
|
|
|
platforms = platforms.unix;
|
2021-09-21 20:45:29 +01:00
|
|
|
maintainers = teams.mate.members;
|
2017-08-06 16:40:13 +01:00
|
|
|
};
|
|
|
|
}
|