From e2fab2bf9c5a8e7446699280de967934961aab22 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 9 May 2024 15:14:10 -0400 Subject: [PATCH] python311Packages.biopython: refactor --- .../python-modules/biopython/default.nix | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/biopython/default.nix b/pkgs/development/python-modules/biopython/default.nix index 2baa052011d5..051f66845dec 100644 --- a/pkgs/development/python-modules/biopython/default.nix +++ b/pkgs/development/python-modules/biopython/default.nix @@ -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