From f152e6f861baf093bc27b48ca924b7b95b1e9fcf Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 9 Jul 2023 19:34:38 -0300 Subject: [PATCH] sakura: 3.8.5 -> 3.8.7 --- .../terminal-emulators/sakura/default.nix | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/terminal-emulators/sakura/default.nix b/pkgs/applications/terminal-emulators/sakura/default.nix index 18e91361943..4d1ab91f83a 100644 --- a/pkgs/applications/terminal-emulators/sakura/default.nix +++ b/pkgs/applications/terminal-emulators/sakura/default.nix @@ -4,6 +4,8 @@ , cmake , glib , gtk3 +, gettext +, pango , makeWrapper , pcre2 , perl @@ -12,19 +14,20 @@ , nixosTests }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "sakura"; - version = "3.8.5"; + version = "3.8.7"; src = fetchFromGitHub { owner = "dabisu"; - repo = pname; - rev = "SAKURA_${lib.replaceStrings [ "." ] [ "_" ] version}"; - hash = "sha256-eMGhPkfhpPHMg69J+XgK/ssJjwRSFgd/a64lAYi7hd0="; + repo = "sakura"; + rev = "SAKURA_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; + hash = "sha256-mDYwqRPezHEgLyZlJQ6taTQiP9HDWmN09mapfp7/TPs="; }; nativeBuildInputs = [ cmake + gettext makeWrapper perl pkg-config @@ -33,10 +36,13 @@ stdenv.mkDerivation rec { buildInputs = [ glib gtk3 + pango pcre2 vte ]; + strictDeps = true; + # Set path to gsettings-schemata so sakura knows where to find colorchooser, # fontchooser etc. postFixup = '' @@ -46,7 +52,7 @@ stdenv.mkDerivation rec { passthru.tests.test = nixosTests.terminal-emulators.sakura; - meta = with lib; { + meta = { homepage = "https://www.pleyades.net/david/projects/sakura"; description = "A terminal emulator based on GTK and VTE"; longDescription = '' @@ -59,8 +65,8 @@ stdenv.mkDerivation rec { terminals in one window and adds a contextual menu with some basic options. No more no less. ''; - license = licenses.gpl2Only; - maintainers = with maintainers; [ astsmtl codyopel AndersonTorres ]; - platforms = platforms.linux; + license = lib.licenses.gpl2Only; + maintainers = with lib.maintainers; [ astsmtl codyopel AndersonTorres ]; + platforms = lib.platforms.linux; }; -} +})