about summary refs log tree commit diff
path: root/pkgs/applications/editors/wxhexeditor/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/wxhexeditor/default.nix')
-rw-r--r--pkgs/applications/editors/wxhexeditor/default.nix36
1 files changed, 30 insertions, 6 deletions
diff --git a/pkgs/applications/editors/wxhexeditor/default.nix b/pkgs/applications/editors/wxhexeditor/default.nix
index efcbe32f78d77..a036e05329773 100644
--- a/pkgs/applications/editors/wxhexeditor/default.nix
+++ b/pkgs/applications/editors/wxhexeditor/default.nix
@@ -1,4 +1,16 @@
-{ lib, stdenv, fetchFromGitHub, fetchpatch, wxGTK, autoconf, automake, libtool, python2, gettext, openmp, Cocoa }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, fetchpatch
+, autoconf
+, automake
+, gettext
+, libtool
+, python3
+, wxGTK
+, openmp
+, Cocoa
+}:
 
 stdenv.mkDerivation rec {
   pname = "wxHexEditor";
@@ -11,10 +23,22 @@ stdenv.mkDerivation rec {
     sha256 = "08xnhaif8syv1fa0k6lc3jm7yg2k50b02lyds8w0jyzh4xi5crqj";
   };
 
-  nativeBuildInputs = [ autoconf automake ];
-  buildInputs = [ wxGTK libtool python2 gettext ]
-    ++ lib.optionals stdenv.cc.isClang [ openmp ]
-    ++ lib.optionals stdenv.isDarwin [ Cocoa ];
+  strictDeps = true;
+
+  nativeBuildInputs = [
+    autoconf
+    automake
+    gettext
+    libtool
+    python3
+    wxGTK
+  ];
+
+  buildInputs = lib.optionals stdenv.cc.isClang [
+    openmp
+  ] ++ lib.optionals stdenv.isDarwin [
+    Cocoa
+  ];
 
   preConfigure = "patchShebangs .";
 
@@ -49,7 +73,7 @@ stdenv.mkDerivation rec {
       wxHexEditor could edit HDD/SDD disk devices or partitions in raw up to exabyte sizes.
     '';
     homepage = "http://www.wxhexeditor.org/";
-    license = lib.licenses.gpl2;
+    license = lib.licenses.gpl2Plus;
     platforms = lib.platforms.unix;
     maintainers = with lib.maintainers; [ wegank ];
   };