2018-09-06 04:04:28 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, numpy, pydispatcher, sympy, requests, monty, ruamel_yaml, six, scipy, tabulate, enum34, matplotlib, palettable, spglib, pandas, networkx }:
|
2018-07-11 17:26:31 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymatgen";
|
2019-04-16 17:15:39 +00:00
|
|
|
version = "2019.2.28";
|
2018-07-11 17:26:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 17:15:39 +00:00
|
|
|
sha256 = "fe4c9b8b16d618fa531a09073d69db6ab02c0c379e672862a41163e39ac91e85";
|
2018-07-11 17:26:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ glibcLocales ];
|
2018-09-06 04:04:28 +00:00
|
|
|
propagatedBuildInputs = [ numpy pydispatcher sympy requests monty ruamel_yaml six scipy tabulate enum34 matplotlib palettable spglib pandas networkx ];
|
|
|
|
|
2018-07-11 17:26:31 +00: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";
|
|
|
|
homepage = http://pymatgen.org/;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
}
|