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