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