10 buildPythonPackage rec {
12 version = lib.getVersion capstone;
15 sourceRoot = "${capstone.name}/bindings/python";
18 ln -s ${capstone}/lib/libcapstone${stdenv.targetPlatform.extensions.sharedLibrary} prebuilt/
19 ln -s ${capstone}/lib/libcapstone.a prebuilt/
20 substituteInPlace setup.py --replace manylinux1 manylinux2014
23 propagatedBuildInputs = [ setuptools ];
26 mv capstone capstone.hidden
32 homepage = "http://www.capstone-engine.org/";
33 license = licenses.bsdOriginal;
34 description = "Python bindings for Capstone disassembly engine";
35 maintainers = with maintainers; [ bennofs ris ];