nixpkgs/pkgs/desktops/mate/pluma/default.nix
2017-08-12 09:23:08 +01:00

40 lines
939 B
Nix

{ 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";
minor-ver = "2";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1z0938yiygxipj2a77n9dv8v4253snrc5gbbnarcnim9xba2j3zz";
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
isocodes
wrapGAppsHook
];
buildInputs = [
enchant
libxml2
python
gnome3.gtksourceview
gnome3.libpeas
gnome3.defaultIconTheme
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 ];
};
}