From dc78a65c671741def8aed9c5feed26d18c849ab7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 27 Apr 2024 19:09:48 +0200 Subject: [PATCH] python312Packages.potentials: refactor --- .../python-modules/potentials/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/potentials/default.nix b/pkgs/development/python-modules/potentials/default.nix index 80b5adffa650..5219c6e97822 100644 --- a/pkgs/development/python-modules/potentials/default.nix +++ b/pkgs/development/python-modules/potentials/default.nix @@ -14,15 +14,16 @@ , pythonOlder , requests , scipy +, setuptools , unidecode , xmltodict , yabadaba }: buildPythonPackage rec { - version = "0.3.8"; pname = "potentials"; - format = "setuptools"; + version = "0.3.8"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -31,7 +32,11 @@ buildPythonPackage rec { hash = "sha256-ZXsqsqsgWntZUOuW1/2KAhsbnienHu6VFctxYkw+GCU="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ bibtexparser cdcs datamodeldict @@ -58,6 +63,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python API database tools for accessing the NIST Interatomic Potentials Repository"; homepage = "https://github.com/usnistgov/potentials"; + changelog = "https://github.com/usnistgov/potentials/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };