nixpkgs-suyu/pkgs/desktops/mate/pluma/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, gettext, perl, itstool, isocodes, enchant, libxml2, python3
2021-08-06 21:08:20 +02:00
, adwaita-icon-theme, gtksourceview4, libpeas, mate-desktop, wrapGAppsHook, mateUpdateScript }:
2017-08-06 17:40:13 +02:00
stdenv.mkDerivation rec {
pname = "pluma";
2021-08-06 21:08:20 +02:00
version = "1.26.0";
2017-08-06 17:40:13 +02:00
src = fetchurl {
2021-01-15 14:21:58 +01:00
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-08-06 21:08:20 +02:00
sha256 = "0lway12q2xygiwjgrx7chgka838jbnmlzz98g7agag1rwzd481ii";
2017-08-06 17:40:13 +02:00
};
nativeBuildInputs = [
gettext
2017-08-06 17:40:13 +02:00
isocodes
2021-08-06 21:08:20 +02:00
itstool
perl
pkg-config
2017-08-06 17:40:13 +02:00
wrapGAppsHook
];
buildInputs = [
2021-08-06 21:08:20 +02:00
adwaita-icon-theme
2017-08-06 17:40:13 +02:00
enchant
2021-08-06 21:08:20 +02:00
gtksourceview4
libpeas
2017-08-06 17:40:13 +02:00
libxml2
2021-08-06 21:08:20 +02:00
mate-desktop
2019-04-21 14:02:49 +02:00
python3
2017-08-06 17:40:13 +02:00
];
2020-02-14 22:52:51 +01:00
enableParallelBuilding = true;
2021-04-02 21:58:16 +02:00
passthru.updateScript = mateUpdateScript { inherit pname version; };
2021-04-22 15:23:43 +02:00
meta = with lib; {
2017-08-06 17:40:13 +02:00
description = "Powerful text editor for the MATE desktop";
2020-02-12 18:51:24 +01:00
homepage = "https://mate-desktop.org";
2021-04-22 15:23:43 +02:00
license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
2017-08-06 17:40:13 +02:00
};
}