3
0
Fork 0
forked from mirrors/nixpkgs

sakura: 3.7.0 -> 3.7.1

This commit is contained in:
AndersonTorres 2020-10-23 15:01:07 -03:00
parent 6bc2bf412c
commit af299d2891

View file

@ -1,27 +1,38 @@
{ stdenv, fetchurl, cmake, pkgconfig, gtk3, perl, vte, pcre2, glib , makeWrapper }: { stdenv
, fetchurl
, cmake
, pkgconfig
, gtk3
, perl
, vte
, pcre2
, glib
, makeWrapper
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sakura"; pname = "sakura";
version = "3.7.0"; version = "3.7.1";
src = fetchurl { src = fetchurl {
url = "https://launchpad.net/sakura/trunk/${version}/+download/${pname}-${version}.tar.gz"; url = "https://launchpad.net/${pname}/trunk/${version}/+download/${pname}-${version}.tar.bz2";
sha256 = "15gskj5yv5qs3cj4ps43735kfx2nzjlhq4dk9ghirl8lvhhxsm5m"; sha256 = "sha256-cppODnUKQpS9kFkkOqxU3yqAElAVn8VQtQsP4Carkos=";
}; };
nativeBuildInputs = [ cmake perl pkgconfig ]; nativeBuildInputs = [ cmake perl pkgconfig makeWrapper ];
buildInputs = [ makeWrapper gtk3 vte pcre2 glib ]; buildInputs = [ gtk3 vte pcre2 glib ];
# Wrapper sets path to gsettings-schemata so sakura knows where to find colorchooser, fontchooser ... # Set path to gsettings-schemata so sakura knows
postInstall = "wrapProgram $out/bin/sakura --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/"; # where to find colorchooser, fontchooser etc.
postInstall = ''
wrapProgram $out/bin/sakura \
--suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A terminal emulator based on GTK and VTE";
homepage = "https://www.pleyades.net/david/projects/sakura"; homepage = "https://www.pleyades.net/david/projects/sakura";
license = licenses.gpl2; description = "A terminal emulator based on GTK and VTE";
maintainers = with maintainers; [ astsmtl codyopel ];
platforms = platforms.linux;
longDescription = '' longDescription = ''
sakura is a terminal emulator based on GTK and VTE. It's a terminal 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 emulator with few dependencies, so you don't need a full GNOME desktop
@ -32,5 +43,8 @@ stdenv.mkDerivation rec {
terminals in one window and adds a contextual menu with some basic terminals in one window and adds a contextual menu with some basic
options. No more no less. options. No more no less.
''; '';
license = licenses.gpl2Only;
maintainers = with maintainers; [ astsmtl codyopel AndersonTorres ];
platforms = platforms.linux;
}; };
} }