3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/mate/pluma/default.nix
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00

44 lines
1.1 KiB
Nix

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