2015-02-23 17:21:19 +00:00
|
|
|
{ stdenv, lib, fetchgit, makeWrapper
|
2014-04-26 21:56:58 +01:00
|
|
|
, pkgconfig, cmake, libxml2, vala, intltool, libmx, gnome3, gtk3, gtk_doc
|
|
|
|
, keybinder3, clutter_gtk, libnotify
|
|
|
|
, libxkbcommon, xlibs, udev
|
|
|
|
, bashInteractive
|
|
|
|
}:
|
|
|
|
|
2015-02-23 17:21:19 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "finalterm-git-2014-11-15";
|
2014-04-26 21:56:58 +01:00
|
|
|
|
2015-02-23 17:21:19 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/p-e-w/finalterm.git";
|
|
|
|
rev = "39b078b2a96a5c3c9e74f92b1929f383d220ca8b";
|
|
|
|
sha256 = "c3ec9b36692b66a3aaa3125b2947c83beda4705b6d6f4a10b9bde9d8db8367c5";
|
2014-04-26 21:56:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
pkgconfig cmake vala intltool gtk3 gnome3.gnome_common gnome3.libgee
|
|
|
|
gtk_doc clutter_gtk libmx keybinder3 libxml2 libnotify makeWrapper
|
|
|
|
xlibs.libpthreadstubs xlibs.libXdmcp xlibs.libxshmfence
|
|
|
|
libxkbcommon
|
|
|
|
] ++ lib.optionals stdenv.isLinux [
|
|
|
|
udev
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace data/org.gnome.finalterm.gschema.xml \
|
|
|
|
--replace "/bin/bash" "${bashInteractive}/bin/bash"
|
|
|
|
|
|
|
|
cmakeFlagsArray=(
|
|
|
|
-DMINIMAL_FLAGS=ON
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
|
2015-03-01 11:51:41 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/gsettings-schemas/$name
|
|
|
|
mv $out/share/glib-2.0 $out/share/gsettings-schemas/$name/
|
|
|
|
'';
|
|
|
|
|
2014-04-26 21:56:58 +01:00
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/finalterm" \
|
|
|
|
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
|
|
|
|
--prefix GIO_EXTRA_MODULES : "${gnome3.dconf}/lib/gio/modules" \
|
2015-05-19 13:40:04 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share:${gnome3.gtk}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
|
2014-04-26 21:56:58 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://finalterm.org";
|
|
|
|
description = "A new breed of terminal emulator";
|
|
|
|
longDescription = ''
|
|
|
|
Final Term is a new breed of terminal emulator.
|
|
|
|
|
|
|
|
It goes beyond mere emulation and understands what is happening inside the shell it is hosting. This allows it to offer features no other terminal can, including:
|
|
|
|
|
|
|
|
- Semantic text menus
|
|
|
|
- Smart command completion
|
|
|
|
- GUI terminal controls
|
|
|
|
'';
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
|
|
|
}
|