diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-12-03 18:15:52 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-12-03 18:15:52 +0100 |
commit | 68c880d26dbc45015bc06763fffb5319ac80e86b (patch) | |
tree | c3f4251cb64360954a893ebf82837e7de3cb8a42 /pkgs/applications/editors/wxhexeditor | |
parent | cee75d23a9825985cad20b0deaac752766f6725c (diff) |
wxhexeditor: python2 -> python3
Diffstat (limited to 'pkgs/applications/editors/wxhexeditor')
-rw-r--r-- | pkgs/applications/editors/wxhexeditor/default.nix | 36 |
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 ]; }; |