2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2020-12-07 07:45:13 +00:00
|
|
|
, enum34
|
|
|
|
, glibcLocales
|
|
|
|
, matplotlib
|
|
|
|
, monty
|
|
|
|
, networkx
|
|
|
|
, numpy
|
|
|
|
, palettable
|
|
|
|
, pandas
|
|
|
|
, plotly
|
|
|
|
, pydispatcher
|
|
|
|
, requests
|
|
|
|
, ruamel_yaml
|
|
|
|
, scipy
|
|
|
|
, six
|
|
|
|
, spglib
|
|
|
|
, sympy
|
|
|
|
, tabulate
|
|
|
|
, uncertainties
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymatgen";
|
2020-12-09 12:39:15 +00:00
|
|
|
version = "2020.12.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-09 12:39:15 +00:00
|
|
|
sha256 = "a7ae7aba87e88965c3e1490f5b9742c95e06150f2fc73da69647a9366dd88018";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ glibcLocales ];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
enum34
|
|
|
|
matplotlib
|
|
|
|
monty
|
|
|
|
networkx
|
|
|
|
numpy
|
|
|
|
palettable
|
|
|
|
pandas
|
|
|
|
plotly
|
|
|
|
pydispatcher
|
|
|
|
requests
|
|
|
|
ruamel_yaml
|
|
|
|
scipy
|
|
|
|
six
|
|
|
|
spglib
|
|
|
|
sympy
|
|
|
|
tabulate
|
2020-12-07 07:45:13 +00:00
|
|
|
uncertainties
|
2020-07-18 16:06:22 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# No tests in pypi tarball.
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A robust materials analysis code that defines core object representations for structures and molecules";
|
|
|
|
homepage = "https://pymatgen.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
}
|