nixpkgs-suyu/pkgs/desktops/mate/pluma/default.nix
2020-09-18 14:20:30 -03:00

40 lines
977 B
Nix

{ stdenv, fetchurl, pkgconfig, 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/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1sgc5f480icr2ans6gd3akvcax58mr4jp3zjk3xn7bx1mw9i299f";
};
nativeBuildInputs = [
pkgconfig
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 = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}