1{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, numpy, pydispatcher, sympy, requests, monty, ruamel_yaml, six, scipy, tabulate, enum34, matplotlib, palettable, spglib, pandas }:
2
3buildPythonPackage rec {
4 pname = "pymatgen";
5 version = "2018.8.10";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "9bb3b170ca8654c956fa2efdd31107570c0610f7585d90e4a541eb99cee41603";
10 };
11
12 nativeBuildInputs = [ glibcLocales ];
13 propagatedBuildInputs = [ numpy pydispatcher sympy requests monty ruamel_yaml six scipy tabulate enum34 matplotlib palettable spglib pandas ];
14
15 # No tests in pypi tarball.
16 doCheck = false;
17
18 meta = with stdenv.lib; {
19 description = "A robust materials analysis code that defines core object representations for structures and molecules";
20 homepage = http://pymatgen.org/;
21 license = licenses.mit;
22 maintainers = with maintainers; [ psyanticy ];
23 };
24}
25