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

View file

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