11 inherit (autodock-vina) pname version src meta;
15 sourceRoot = "${autodock-vina.src.name}/build/python";
18 # wildcards are not allowed
19 # https://github.com/ccsb-scripps/AutoDock-Vina/issues/176
20 substituteInPlace setup.py \
21 --replace "python_requires='>=3.5.*'" "python_requires='>=3.5'"
23 # setupPyBuildFlags are not applied with `format = "pyproject"`
24 substituteInPlace setup.py \
25 --replace "= locate_boost()" "= '${lib.getDev boost}/include', '${boost}/lib'"
27 # this line attempts to delete the source code
28 substituteInPlace setup.py \
29 --replace "shutil.rmtree('src')" "..."
31 # np.int is deprecated
32 # https://github.com/ccsb-scripps/AutoDock-Vina/pull/167 and so on
33 substituteInPlace vina/vina.py \
34 --replace "np.int" "int"
46 propagatedBuildInputs = [
50 # upstrem has no tests
53 pythonImportsCheck = [