python3Packages.lexid: disable lib3to6 usage to fix build
This commit is contained in:
parent
83d16774f2
commit
87a72a58b7
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,12 @@ buildPythonPackage rec {
|
|||
sha256 = "509a3a4cc926d3dbf22b203b18a4c66c25e6473fb7c0e0d30374533ac28bafe5";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
# Disable lib3to6, since we're only building this on 3.6+ anyway.
|
||||
substituteInPlace setup.py \
|
||||
--replace 'if any(arg.startswith("bdist") for arg in sys.argv):' 'if False:'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ click ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
|
Loading…
Reference in a new issue