12 buildPythonPackage rec {
15 format = "setuptools";
17 # uses the removed imp module
18 disabled = pythonOlder "3.6" || pythonAtLeast "3.12";
21 inherit pname version;
22 sha256 = "090qwx3vl729zn3a7sksbviyg04kc71gpbm3nd8dalqp673x1npw";
27 cp ${bwa}/lib/*.a ${bwa}/include/*.h bwa/
29 substituteInPlace setup.py \
30 --replace 'setuptools>=49.2.0' 'setuptools'
38 propagatedBuildInputs = [ cffi ];
42 pythonImportsCheck = [ "bwapy" ];
45 homepage = "https://github.com/ACEnglish/bwapy";
46 description = "Python bindings to bwa mem aligner";
47 mainProgram = "bwamempy";
48 license = licenses.mpl20;
49 maintainers = with maintainers; [ ris ];