From 45c19a484ad6d436fefd0e99a04bc2aaddd06d2c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 Mar 2025 08:15:19 +0100 Subject: [PATCH] python312Packages.primer3: refactor --- pkgs/development/python-modules/primer3/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/primer3/default.nix b/pkgs/development/python-modules/primer3/default.nix index b2a18a3e9102..12fe9407cb73 100644 --- a/pkgs/development/python-modules/primer3/default.nix +++ b/pkgs/development/python-modules/primer3/default.nix @@ -25,10 +25,9 @@ buildPythonPackage rec { hash = "sha256-Kp4JH57gEdj7SzY+7XGBzGloWuTSwUQRBK9QbgXQfUE="; }; - nativeBuildInputs = [ - cython - setuptools - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gcc ]; + build-system = [ setuptools ]; + + nativeBuildInputs = [ cython ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gcc ]; nativeCheckInputs = [ click @@ -49,7 +48,7 @@ buildPythonPackage rec { description = "Oligo analysis and primer design"; homepage = "https://github.com/libnano/primer3-py"; changelog = "https://github.com/libnano/primer3-py/blob/${src.tag}/CHANGES"; - license = with licenses; [ gpl2Only ]; + license = licenses.gpl2Only; maintainers = with maintainers; [ fab ]; }; }