From c6207abe9cc2f984402d31244c34bcaeef97c366 Mon Sep 17 00:00:00 2001 From: romildo Date: Sun, 6 Aug 2017 12:40:13 -0300 Subject: [PATCH 1/2] pluma: init at 1.18.2 --- pkgs/desktops/mate/default.nix | 1 + pkgs/desktops/mate/pluma/default.nix | 38 ++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/desktops/mate/pluma/default.nix diff --git a/pkgs/desktops/mate/default.nix b/pkgs/desktops/mate/default.nix index 528f792a600d..014afc5fbb5b 100644 --- a/pkgs/desktops/mate/default.nix +++ b/pkgs/desktops/mate/default.nix @@ -2,6 +2,7 @@ rec { atril = callPackage ./atril { }; caja = callPackage ./caja { }; + pluma = callPackage ./pluma { }; mate-common = callPackage ./mate-common { }; mate-desktop = callPackage ./mate-desktop { }; mate-icon-theme = callPackage ./mate-icon-theme { }; diff --git a/pkgs/desktops/mate/pluma/default.nix b/pkgs/desktops/mate/pluma/default.nix new file mode 100644 index 000000000000..29df4fc475a7 --- /dev/null +++ b/pkgs/desktops/mate/pluma/default.nix @@ -0,0 +1,38 @@ +{ 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 + 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 ]; + }; +} From 025222ec799a460bb4aa29d82ab63703e6a960a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 12 Aug 2017 09:23:08 +0100 Subject: [PATCH 2/2] pluma: also add default icon theme --- pkgs/desktops/mate/pluma/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/desktops/mate/pluma/default.nix b/pkgs/desktops/mate/pluma/default.nix index 29df4fc475a7..a290c404469c 100644 --- a/pkgs/desktops/mate/pluma/default.nix +++ b/pkgs/desktops/mate/pluma/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { python gnome3.gtksourceview gnome3.libpeas + gnome3.defaultIconTheme mate.mate-desktop ];