2018-09-06 06:04:28 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, numpy, pydispatcher, sympy, requests, monty, ruamel_yaml, six, scipy, tabulate, enum34, matplotlib, palettable, spglib, pandas, networkx }:
|
2018-07-11 19:26:31 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pymatgen";
|
2019-12-29 10:28:08 +01:00
|
|
|
version = "2019.12.22";
|
2018-07-11 19:26:31 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-29 10:28:08 +01:00
|
|
|
sha256 = "0ffc6efcc2ba15bff22cca29c07b93b01fac400f649c41d5dd01bfff7915f80b";
|
2018-07-11 19:26:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ glibcLocales ];
|
2018-09-06 06:04:28 +02:00
|
|
|
propagatedBuildInputs = [ numpy pydispatcher sympy requests monty ruamel_yaml six scipy tabulate enum34 matplotlib palettable spglib pandas networkx ];
|
|
|
|
|
2018-07-11 19:26:31 +02: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-01-22 11:26:22 +01:00
|
|
|
homepage = https://pymatgen.org/;
|
2018-07-11 19:26:31 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
}
|