applications/misc/sakura: New nixpkg.

svn path=/nixpkgs/trunk/; revision=20152
This commit is contained in:
Alexander Tsamutali 2010-02-21 11:36:49 +00:00
parent ea7c7d1932
commit 8c82537f9a
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl, cmake, pkgconfig, gtk, vte, pixman, gettext }:
stdenv.mkDerivation rec {
name = "sakura-2.3.6";
src = fetchurl {
url = "http://www.pleyades.net/david/projects/sakura/${name}.tar.bz2";
sha256 = "0g6v1filixy4zcz1fabjz0zpdicgzxkc8rh06jxfch5pk9dq4x5j";
};
# FIXME
patchPhase = ''
sed -i "s:INSTALL (FILES sakura.1:#INSTALL (FILES sakura.1:" CMakeLists.txt
'';
buildInputs = [ cmake pkgconfig gtk vte pixman gettext ];
meta = {
homepage = "http://www.pleyades.net/david/sakura.php";
description = "A terminal emulator based on GTK and VTE";
longDescription = ''
sakura is a terminal emulator based on GTK and VTE. It's a terminal
emulator with few dependencies, so you don't need a full GNOME desktop
installed to have a decent terminal emulator. Current terminal emulators
based on VTE are gnome-terminal, XFCE Terminal, TermIt and a small
sample program included in the vte sources. The differences between
sakura and the last one are that it uses a notebook to provide several
terminals in one window and adds a contextual menu with some basic
options. No more no less.
'';
license = "GPLv2";
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@ -7907,6 +7907,13 @@ let
perlSupport = false;
};
sakura = import ../applications/misc/sakura {
inherit stdenv fetchurl cmake pkgconfig gettext;
inherit (gtkLibs) gtk;
inherit (gnome) vte;
inherit (xlibs) pixman;
};
sbagen = import ../applications/misc/sbagen {
inherit fetchurl stdenv;
};