depot/third_party/nixpkgs/pkgs/development/python-modules/potentials/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02: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.7";
pname = "potentials";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-vkrNVRf9ntYSpf8nXmAmGjc+sQ4iFllisYHd9s+uQv0=";
};
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 ];
};
}