lol
1{ stdenv, fetchurl, cmake, pkgconfig, gtk3, perl, vte, pcre, glib , makeWrapper }:
2
3stdenv.mkDerivation rec {
4 name = "sakura-${version}";
5 version = "3.4.0";
6
7 src = fetchurl {
8 url = "http://launchpad.net/sakura/trunk/${version}/+download/${name}.tar.bz2";
9 sha256 = "1vj07xnkalb8q6ippf4bmv5cf4266p1j9m80sxb6hncx0h8paj04";
10 };
11
12 nativeBuildInputs = [ cmake perl pkgconfig ];
13
14 buildInputs = [ makeWrapper gtk3 vte pcre glib ];
15
16 # Wrapper sets path to gsettings-schemata so sakura knows where to find colorchooser, fontchooser ...
17 postInstall = "wrapProgram $out/bin/sakura --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/";
18
19 meta = with stdenv.lib; {
20 description = "A terminal emulator based on GTK and VTE";
21 homepage = http://www.pleyades.net/david/projects/sakura;
22 license = licenses.gpl2;
23 maintainers = with maintainers; [ astsmtl codyopel ];
24 platforms = platforms.linux;
25 longDescription = ''
26 sakura is a terminal emulator based on GTK and VTE. It's a terminal
27 emulator with few dependencies, so you don't need a full GNOME desktop
28 installed to have a decent terminal emulator. Current terminal emulators
29 based on VTE are gnome-terminal, XFCE Terminal, TermIt and a small
30 sample program included in the vte sources. The differences between
31 sakura and the last one are that it uses a notebook to provide several
32 terminals in one window and adds a contextual menu with some basic
33 options. No more no less.
34 '';
35 };
36}