sakura: 3.8.5 -> 3.8.7

This commit is contained in:
Anderson Torres 2023-07-09 19:34:38 -03:00
parent 02242f5eba
commit f152e6f861

View file

@ -4,6 +4,8 @@
, cmake , cmake
, glib , glib
, gtk3 , gtk3
, gettext
, pango
, makeWrapper , makeWrapper
, pcre2 , pcre2
, perl , perl
@ -12,19 +14,20 @@
, nixosTests , nixosTests
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "sakura"; pname = "sakura";
version = "3.8.5"; version = "3.8.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dabisu"; owner = "dabisu";
repo = pname; repo = "sakura";
rev = "SAKURA_${lib.replaceStrings [ "." ] [ "_" ] version}"; rev = "SAKURA_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
hash = "sha256-eMGhPkfhpPHMg69J+XgK/ssJjwRSFgd/a64lAYi7hd0="; hash = "sha256-mDYwqRPezHEgLyZlJQ6taTQiP9HDWmN09mapfp7/TPs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
gettext
makeWrapper makeWrapper
perl perl
pkg-config pkg-config
@ -33,10 +36,13 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
glib glib
gtk3 gtk3
pango
pcre2 pcre2
vte vte
]; ];
strictDeps = true;
# Set path to gsettings-schemata so sakura knows where to find colorchooser, # Set path to gsettings-schemata so sakura knows where to find colorchooser,
# fontchooser etc. # fontchooser etc.
postFixup = '' postFixup = ''
@ -46,7 +52,7 @@ stdenv.mkDerivation rec {
passthru.tests.test = nixosTests.terminal-emulators.sakura; passthru.tests.test = nixosTests.terminal-emulators.sakura;
meta = with lib; { meta = {
homepage = "https://www.pleyades.net/david/projects/sakura"; homepage = "https://www.pleyades.net/david/projects/sakura";
description = "A terminal emulator based on GTK and VTE"; description = "A terminal emulator based on GTK and VTE";
longDescription = '' longDescription = ''
@ -59,8 +65,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; license = lib.licenses.gpl2Only;
maintainers = with maintainers; [ astsmtl codyopel AndersonTorres ]; maintainers = with lib.maintainers; [ astsmtl codyopel AndersonTorres ];
platforms = platforms.linux; platforms = lib.platforms.linux;
}; };
} })