nixpkgs-suyu/pkgs/desktops/mate/pluma/default.nix
2021-01-16 23:49:59 -08:00

40 lines
956 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gettext, perl, itstool, isocodes, enchant, libxml2, python3, gnome3, gtksourceview3, libpeas, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "pluma";
version = "1.24.1";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1sgc5f480icr2ans6gd3akvcax58mr4jp3zjk3xn7bx1mw9i299f";
};
nativeBuildInputs = [
pkg-config
gettext
perl
itstool
isocodes
wrapGAppsHook
];
buildInputs = [
enchant
libxml2
python3
gtksourceview3
libpeas
gnome3.adwaita-icon-theme
mate.mate-desktop
];
enableParallelBuilding = true;
meta = {
description = "Powerful text editor for the MATE desktop";
homepage = "https://mate-desktop.org";
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
};
}