2013-02-21 11:16:51 +00: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 14:37:30 +00: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 11:16:51 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/;
|
|
|
|
description = "A simple text editor for Xfce";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
}
|