about summary refs log tree commit diff
path: root/pkgs/applications/editors/rehex
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-25 20:16:03 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2022-10-25 20:16:03 +0200
commit0e8152a5bf83689fc1b4d3f2f8cabdb1b1ede34c (patch)
treea484fb06f2d0c4056c70f6ba7f8a3e52f6494b77 /pkgs/applications/editors/rehex
parentbc4ce318bf6aa52031ad891675c573ce31308c8d (diff)
rehex: 0.5.3 -> 0.5.4
Diffstat (limited to 'pkgs/applications/editors/rehex')
-rw-r--r--pkgs/applications/editors/rehex/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/editors/rehex/default.nix b/pkgs/applications/editors/rehex/default.nix
index 6a67d6df743ca..ef1ae88902cfc 100644
--- a/pkgs/applications/editors/rehex/default.nix
+++ b/pkgs/applications/editors/rehex/default.nix
@@ -8,9 +8,10 @@
 , capstone
 , jansson
 , libunistring
-, wxGTK31
+, wxGTK32
 , lua53Packages
 , perlPackages
+, gtk3
 , Carbon
 , Cocoa
 , IOKit
@@ -18,21 +19,22 @@
 
 stdenv.mkDerivation rec {
   pname = "rehex";
-  version = "0.5.3";
+  version = "0.5.4";
 
   src = fetchFromGitHub {
     owner = "solemnwarning";
     repo = pname;
     rev = version;
-    hash = "sha256-VBHNrOVIz7UM9tY1V7Ykwt4Cv0fY++8gXc2og4sLDk8=";
+    hash = "sha256-UgwCfy2ssaPuSWeN2SXHBDXv/uLdrDoGr/Q9wXiuCnc=";
   };
 
   nativeBuildInputs = [ pkg-config which zip ]
     ++ lib.optionals stdenv.isDarwin [ libicns ];
 
-  buildInputs = [ capstone jansson libunistring wxGTK31 ]
+  buildInputs = [ capstone jansson libunistring wxGTK32 ]
     ++ (with lua53Packages; [ lua busted ])
     ++ (with perlPackages; [ perl TemplateToolkit ])
+    ++ lib.optionals stdenv.isLinux [ gtk3 ]
     ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa IOKit ];
 
   makeFlags = [ "prefix=${placeholder "out"}" ]