Skip to content

Commit 45c19a4

Browse files
authored
python312Packages.primer3: refactor
1 parent abfc62b commit 45c19a4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pkgs/development/python-modules/primer3/default.nix

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ buildPythonPackage rec {
2525
hash = "sha256-Kp4JH57gEdj7SzY+7XGBzGloWuTSwUQRBK9QbgXQfUE=";
2626
};
2727

28-
nativeBuildInputs = [
29-
cython
30-
setuptools
31-
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gcc ];
28+
build-system = [ setuptools ];
29+
30+
nativeBuildInputs = [ cython ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ gcc ];
3231

3332
nativeCheckInputs = [
3433
click
@@ -49,7 +48,7 @@ buildPythonPackage rec {
4948
description = "Oligo analysis and primer design";
5049
homepage = "https://github.com/libnano/primer3-py";
5150
changelog = "https://github.com/libnano/primer3-py/blob/${src.tag}/CHANGES";
52-
license = with licenses; [ gpl2Only ];
51+
license = licenses.gpl2Only;
5352
maintainers = with maintainers; [ fab ];
5453
};
5554
}

0 commit comments

Comments
 (0)