python311Packages.biopython: refactor

This commit is contained in:
seth 2024-05-09 15:14:10 -04:00
parent 2e6953fd06
commit e2fab2bf9c
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

@ -1,9 +1,10 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, numpy
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
numpy,
}:
buildPythonPackage rec {
@ -24,16 +25,11 @@ buildPythonPackage rec {
./close_parser_on_time.patch
];
build-system = [ setuptools ];
nativeBuildInputs = [
setuptools
];
dependencies = [ numpy ];
propagatedBuildInputs = [ numpy ];
pythonImportsCheck = [
"Bio"
];
pythonImportsCheck = [ "Bio" ];
checkPhase = ''
runHook preCheck