@@ -1,15 +1,24 @@
1−{ stdenv, fetchurl, cmake, pkgconfig, gtk, vte, pixman, gettext, perl }:
1+{ stdenv, fetchurl, cmake, pkgconfig, gtk3, perl, vte }:
2+
23stdenv.mkDerivation rec {
34 name = "sakura-${version}";
4− version = "2.4.2";
5+ version = "3.2.0";
6+
57 src = fetchurl {
68 url = "http://launchpad.net/sakura/trunk/${version}/+download/${name}.tar.bz2";
7− sha256 = "1mpsjsk7dgz56h7yagd9aq0d92vj59yrz4ri6za3mfmglhn29rn5";
9+ sha256 = "1pfvc35kckrzik5wx8ywhkhclr52rfp2syg46ix2nsdm72q6dl90";
810 };
9− buildInputs = [ cmake pkgconfig gtk vte pixman gettext perl ];
10− meta = {
11− homepage = "http://www.pleyades.net/david/sakura.php";
11+
12+ nativeBuildInputs = [ cmake perl pkgconfig ];
13+
14+ buildInputs = [ gtk3 vte ];
15+
16+ meta = with stdenv.lib; {
1217 description = "A terminal emulator based on GTK and VTE";
18+ homepage = http://www.pleyades.net/david/projects/sakura;
19+ license = licenses.gpl2;
20+ maintainers = with maintainers; [ astsmtl codyopel ];
21+ platforms = platforms.linux;
1322 longDescription = ''
1423 sakura is a terminal emulator based on GTK and VTE. It's a terminal
1524 emulator with few dependencies, so you don't need a full GNOME desktop
@@ -20,8 +29,5 @@ stdenv.mkDerivation rec {
2029 terminals in one window and adds a contextual menu with some basic
2130 options. No more no less.
2231 '';
23− license = stdenv.lib.licenses.gpl2;
24− maintainers = with stdenv.lib.maintainers; [ astsmtl ];
25− platforms = with stdenv.lib.platforms; linux;
2632 };
2733}