1{
2 lib,
3 bibtexparser,
4 buildPythonPackage,
5 cdcs,
6 datamodeldict,
7 fetchPypi,
8 habanero,
9 ipywidgets,
10 lxml,
11 matplotlib,
12 numpy,
13 pandas,
14 pythonOlder,
15 requests,
16 scipy,
17 setuptools,
18 unidecode,
19 xmltodict,
20 yabadaba,
21}:
22
23buildPythonPackage rec {
24 pname = "potentials";
25 version = "0.3.8";
26 pyproject = true;
27
28 disabled = pythonOlder "3.7";
29
30 src = fetchPypi {
31 inherit pname version;
32 hash = "sha256-ZXsqsqsgWntZUOuW1/2KAhsbnienHu6VFctxYkw+GCU=";
33 };
34
35 build-system = [ setuptools ];
36
37 dependencies = [
38 bibtexparser
39 cdcs
40 datamodeldict
41 habanero
42 ipywidgets
43 lxml
44 matplotlib
45 numpy
46 pandas
47 requests
48 scipy
49 unidecode
50 xmltodict
51 yabadaba
52 ];
53
54 # Project has no tests
55 doCheck = false;
56
57 pythonImportsCheck = [ "potentials" ];
58
59 meta = with lib; {
60 description = "Python API database tools for accessing the NIST Interatomic Potentials Repository";
61 homepage = "https://github.com/usnistgov/potentials";
62 changelog = "https://github.com/usnistgov/potentials/releases/tag/v${version}";
63 license = licenses.mit;
64 maintainers = with maintainers; [ fab ];
65 };
66}