tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
doclifter: avoid 2to3
Sizhe Zhao
7 months ago
b6444424
58e6bb17
+4
-2
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
do
doclifter
package.nix
+4
-2
pkgs/by-name/do/doclifter/package.nix
···
18
18
19
19
postPatch = ''
20
20
substituteInPlace manlifter \
21
21
-
--replace-fail '/usr/bin/env python2' '/usr/bin/env python3'
22
22
-
2to3 -w manlifter
21
21
+
--replace-fail '/usr/bin/env python2' '/usr/bin/env python3' \
22
22
+
--replace-fail 'import thread, threading, Queue' 'import _thread, threading, queue' \
23
23
+
--replace-fail 'thread.get_ident' '_thread.get_ident' \
24
24
+
--replace-fail 'Queue.Queue' 'queue.Queue'
23
25
'';
24
26
25
27
nativeBuildInputs = [