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