about summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators/sakura
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-07-09 19:34:38 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-07-10 22:34:58 -0300
commitf152e6f861baf093bc27b48ca924b7b95b1e9fcf (patch)
tree2dda397255d52345f1265cc917495e6a524fbc10 /pkgs/applications/terminal-emulators/sakura
parent02242f5eba49519161ee9d964c56c9a9bbb5f072 (diff)
sakura: 3.8.5 -> 3.8.7
Diffstat (limited to 'pkgs/applications/terminal-emulators/sakura')
-rw-r--r--pkgs/applications/terminal-emulators/sakura/default.nix26
1 files changed, 16 insertions, 10 deletions
diff --git a/pkgs/applications/terminal-emulators/sakura/default.nix b/pkgs/applications/terminal-emulators/sakura/default.nix
index 18e9136194352..4d1ab91f83afd 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;
  };
-}
+})