depot/third_party/nixpkgs/pkgs/development/python-modules/potentials/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

64 lines
1 KiB
Nix

{ lib
, bibtexparser
, buildPythonPackage
, cdcs
, datamodeldict
, fetchPypi
, habanero
, ipywidgets
, lxml
, matplotlib
, numpy
, pandas
, pytestCheckHook
, pythonOlder
, requests
, scipy
, unidecode
, xmltodict
, yabadaba
}:
buildPythonPackage rec {
version = "0.3.4";
pname = "potentials";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-yBqU1FN2KlWE2Stg9OMdBLUfIQdbUGWCH4GU6r6HkDI=";
};
propagatedBuildInputs = [
bibtexparser
cdcs
datamodeldict
habanero
ipywidgets
lxml
matplotlib
numpy
pandas
requests
scipy
unidecode
xmltodict
yabadaba
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"potentials"
];
meta = with lib; {
description = "Python API database tools for accessing the NIST Interatomic Potentials Repository";
homepage = "https://github.com/usnistgov/potentials";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}