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

40 lines
939 B
Nix
Raw Normal View History

2017-08-06 16:40:13 +01:00
{ stdenv, fetchurl, pkgconfig, intltool, itstool, isocodes, enchant, libxml2, python, gnome3, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "pluma-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
2017-12-24 02:04:33 +00:00
minor-ver = "3";
2017-08-06 16:40:13 +01:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
2017-12-24 02:04:33 +00:00
sha256 = "1bz2jvjfz761hcvhcbkz8sc4xf0iyixh5w0k7bx69qkwwdc0gxi0";
2017-08-06 16:40:13 +01:00
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
isocodes
wrapGAppsHook
];
buildInputs = [
enchant
libxml2
python
gnome3.gtksourceview
gnome3.libpeas
2017-08-12 09:23:08 +01:00
gnome3.defaultIconTheme
2017-08-06 16:40:13 +01:00
mate.mate-desktop
];
meta = {
description = "Powerful text editor for the MATE desktop";
homepage = http://mate-desktop.org;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}