mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
21b93fa0cc
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
44 lines
1 KiB
Nix
44 lines
1 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, gettext, perl, itstool, isocodes, enchant, libxml2, python3
|
|
, gnome3, 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
|
|
gnome3.adwaita-icon-theme
|
|
mate.mate-desktop
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
|
|
|
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 ];
|
|
};
|
|
}
|