wxhexeditor: python2 -> python3

+30 -6
+30 -6
pkgs/applications/editors/wxhexeditor/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, fetchpatch, wxGTK, autoconf, automake, libtool, python2, gettext, openmp, Cocoa }: 2 3 stdenv.mkDerivation rec { 4 pname = "wxHexEditor"; ··· 11 sha256 = "08xnhaif8syv1fa0k6lc3jm7yg2k50b02lyds8w0jyzh4xi5crqj"; 12 }; 13 14 - nativeBuildInputs = [ autoconf automake ]; 15 - buildInputs = [ wxGTK libtool python2 gettext ] 16 - ++ lib.optionals stdenv.cc.isClang [ openmp ] 17 - ++ lib.optionals stdenv.isDarwin [ Cocoa ]; 18 19 preConfigure = "patchShebangs ."; 20 ··· 49 wxHexEditor could edit HDD/SDD disk devices or partitions in raw up to exabyte sizes. 50 ''; 51 homepage = "http://www.wxhexeditor.org/"; 52 - license = lib.licenses.gpl2; 53 platforms = lib.platforms.unix; 54 maintainers = with lib.maintainers; [ wegank ]; 55 };
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , autoconf 6 + , automake 7 + , gettext 8 + , libtool 9 + , python3 10 + , wxGTK 11 + , openmp 12 + , Cocoa 13 + }: 14 15 stdenv.mkDerivation rec { 16 pname = "wxHexEditor"; ··· 23 sha256 = "08xnhaif8syv1fa0k6lc3jm7yg2k50b02lyds8w0jyzh4xi5crqj"; 24 }; 25 26 + strictDeps = true; 27 + 28 + nativeBuildInputs = [ 29 + autoconf 30 + automake 31 + gettext 32 + libtool 33 + python3 34 + wxGTK 35 + ]; 36 + 37 + buildInputs = lib.optionals stdenv.cc.isClang [ 38 + openmp 39 + ] ++ lib.optionals stdenv.isDarwin [ 40 + Cocoa 41 + ]; 42 43 preConfigure = "patchShebangs ."; 44 ··· 73 wxHexEditor could edit HDD/SDD disk devices or partitions in raw up to exabyte sizes. 74 ''; 75 homepage = "http://www.wxhexeditor.org/"; 76 + license = lib.licenses.gpl2Plus; 77 platforms = lib.platforms.unix; 78 maintainers = with lib.maintainers; [ wegank ]; 79 };