{ lib , buildPythonPackage , fetchPypi , pythonOlder , setuptools , numpy }: buildPythonPackage rec { pname = "biopython"; version = "1.83"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-eOa/t43mMDQDev01/nfLbgqeW2Jwa+z3in2SKxbtg/c="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ numpy ]; pythonImportsCheck = [ "Bio" ]; checkPhase = '' runHook preCheck export HOME=$(mktemp -d) cd Tests python run_tests.py --offline runHook postCheck ''; meta = { description = "Python library for bioinformatics"; longDescription = '' Biopython is a set of freely available tools for biological computation written in Python by an international team of developers. It is a distributed collaborative effort to develop Python libraries and applications which address the needs of current and future work in bioinformatics. ''; homepage = "https://biopython.org/wiki/Documentation"; maintainers = with lib.maintainers; [ luispedro ]; license = lib.licenses.bsd3; }; }