wxhexeditor: python2 -> python3
This commit is contained in:
parent
cee75d23a9
commit
68c880d26d
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wxHexEditor";
|
pname = "wxHexEditor";
|
||||||
@ -11,10 +23,22 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "08xnhaif8syv1fa0k6lc3jm7yg2k50b02lyds8w0jyzh4xi5crqj";
|
sha256 = "08xnhaif8syv1fa0k6lc3jm7yg2k50b02lyds8w0jyzh4xi5crqj";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake ];
|
strictDeps = true;
|
||||||
buildInputs = [ wxGTK libtool python2 gettext ]
|
|
||||||
++ lib.optionals stdenv.cc.isClang [ openmp ]
|
nativeBuildInputs = [
|
||||||
++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
autoconf
|
||||||
|
automake
|
||||||
|
gettext
|
||||||
|
libtool
|
||||||
|
python3
|
||||||
|
wxGTK
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.cc.isClang [
|
||||||
|
openmp
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
Cocoa
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = "patchShebangs .";
|
preConfigure = "patchShebangs .";
|
||||||
|
|
||||||
@ -49,7 +73,7 @@ stdenv.mkDerivation rec {
|
|||||||
wxHexEditor could edit HDD/SDD disk devices or partitions in raw up to exabyte sizes.
|
wxHexEditor could edit HDD/SDD disk devices or partitions in raw up to exabyte sizes.
|
||||||
'';
|
'';
|
||||||
homepage = "http://www.wxhexeditor.org/";
|
homepage = "http://www.wxhexeditor.org/";
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2Plus;
|
||||||
platforms = lib.platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
maintainers = with lib.maintainers; [ wegank ];
|
maintainers = with lib.maintainers; [ wegank ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user