python312Packages.potentials: refactor

This commit is contained in:
Fabian Affolter 2024-04-27 19:09:48 +02:00
parent 963b3eff92
commit dc78a65c67

View file

@ -14,15 +14,16 @@
, pythonOlder , pythonOlder
, requests , requests
, scipy , scipy
, setuptools
, unidecode , unidecode
, xmltodict , xmltodict
, yabadaba , yabadaba
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.3.8";
pname = "potentials"; pname = "potentials";
format = "setuptools"; version = "0.3.8";
pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -31,7 +32,11 @@ buildPythonPackage rec {
hash = "sha256-ZXsqsqsgWntZUOuW1/2KAhsbnienHu6VFctxYkw+GCU="; hash = "sha256-ZXsqsqsgWntZUOuW1/2KAhsbnienHu6VFctxYkw+GCU=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
bibtexparser bibtexparser
cdcs cdcs
datamodeldict datamodeldict
@ -58,6 +63,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Python API database tools for accessing the NIST Interatomic Potentials Repository"; description = "Python API database tools for accessing the NIST Interatomic Potentials Repository";
homepage = "https://github.com/usnistgov/potentials"; homepage = "https://github.com/usnistgov/potentials";
changelog = "https://github.com/usnistgov/potentials/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };