1{ lib
2, buildPythonPackage
3, fetchPypi
4, ipywidgets
5, cdcs
6, bibtexparser
7, habanero
8, pandas
9, requests
10, numpy
11, matplotlib
12, unidecode
13, datamodeldict
14, xmltodict
15, pytestCheckHook
16, pythonOlder
17}:
18
19buildPythonPackage rec {
20 version = "0.3.1";
21 pname = "potentials";
22 format = "setuptools";
23
24 disabled = pythonOlder "3.7";
25
26 src = fetchPypi {
27 inherit pname version;
28 sha256 = "02l1rav5jdfsb00byxbswyhqdnjljp9y7g4ddn4mivzi7x39qa52";
29 };
30
31 propagatedBuildInputs = [
32 ipywidgets
33 cdcs
34 bibtexparser
35 habanero
36 pandas
37 requests
38 numpy
39 matplotlib
40 unidecode
41 datamodeldict
42 xmltodict
43 ];
44
45 # Project has no tests
46 doCheck = false;
47
48 pythonImportsCheck = [
49 "potentials"
50 ];
51
52 meta = with lib; {
53 description = "Python API database tools for accessing the NIST Interatomic Potentials Repository";
54 homepage = "https://github.com/usnistgov/potentials";
55 license = licenses.mit;
56 maintainers = with maintainers; [ fab ];
57 };
58}