@@ -1,27 +1,38 @@
1−{ stdenv, fetchurl, cmake, pkgconfig, gtk3, perl, vte, pcre2, glib , makeWrapper }:
1+{ stdenv
2+, fetchurl
3+, cmake
4+, pkgconfig
5+, gtk3
6+, perl
7+, vte
8+, pcre2
9+, glib
10+, makeWrapper
11+}:
212
313stdenv.mkDerivation rec {
414 pname = "sakura";
5− version = "3.7.0";
15+ version = "3.7.1";
616
717 src = fetchurl {
8− url = "https://launchpad.net/sakura/trunk/${version}/+download/${pname}-${version}.tar.gz";
9− sha256 = "15gskj5yv5qs3cj4ps43735kfx2nzjlhq4dk9ghirl8lvhhxsm5m";
18+ url = "https://launchpad.net/${pname}/trunk/${version}/+download/${pname}-${version}.tar.bz2";
19+ sha256 = "sha256-cppODnUKQpS9kFkkOqxU3yqAElAVn8VQtQsP4Carkos=";
1020 };
1121
12− nativeBuildInputs = [ cmake perl pkgconfig ];
22+ nativeBuildInputs = [ cmake perl pkgconfig makeWrapper ];
1323
14− buildInputs = [ makeWrapper gtk3 vte pcre2 glib ];
24+ buildInputs = [ gtk3 vte pcre2 glib ];
1525
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}/";
26+ # Set path to gsettings-schemata so sakura knows
27+ # where to find colorchooser, fontchooser etc.
28+ postInstall = ''
29+ wrapProgram $out/bin/sakura \
30+ --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/
31+ '';
1832
1933 meta = with stdenv.lib; {
34+ homepage = "https://www.pleyades.net/david/projects/sakura";
2035 description = "A terminal emulator based on GTK and VTE";
21− homepage = "https://www.pleyades.net/david/projects/sakura";
22− license = licenses.gpl2;
23− maintainers = with maintainers; [ astsmtl codyopel ];
24− platforms = platforms.linux;
2536 longDescription = ''
2637 sakura is a terminal emulator based on GTK and VTE. It's a terminal
2738 emulator with few dependencies, so you don't need a full GNOME desktop
@@ -32,5 +43,8 @@ stdenv.mkDerivation rec {
3243 terminals in one window and adds a contextual menu with some basic
3344 options. No more no less.
3445 '';
35− };
46+ license = licenses.gpl2Only;
47+ maintainers = with maintainers; [ astsmtl codyopel AndersonTorres ];
48+ platforms = platforms.linux;
49+ };
3650}