2013-02-21 12:16:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, libxfcegui4
|
|
|
|
, gtk, gtksourceview, dbus, dbus_glib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
p_name = "mousepad";
|
|
|
|
ver_maj = "0.3";
|
|
|
|
ver_min = "0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
|
|
sha256 = "0v84zwhjv2xynvisn5vmp7dbxfj4l4258m82ks7hn3adk437bwhh";
|
|
|
|
};
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
|
|
|
|
2013-08-15 16:37:30 +02:00
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig intltool libxfce4util libxfcegui4
|
|
|
|
gtk gtksourceview dbus dbus_glib
|
|
|
|
];
|
|
|
|
|
|
|
|
# Propagate gtksourceview into $XDG_DATA_DIRS to provide syntax
|
|
|
|
# highlighting (in fact Mousepad segfaults without it).
|
|
|
|
propagatedUserEnvPkgs = [ gtksourceview ];
|
2013-02-21 12:16:51 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/;
|
|
|
|
description = "A simple text editor for Xfce";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-02-21 12:16:51 +01:00
|
|
|
};
|
|
|
|
}
|