78efc47b99
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
62 lines
1 KiB
Nix
62 lines
1 KiB
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, enum34
|
|
, glibcLocales
|
|
, matplotlib
|
|
, monty
|
|
, networkx
|
|
, numpy
|
|
, palettable
|
|
, pandas
|
|
, plotly
|
|
, pydispatcher
|
|
, requests
|
|
, ruamel_yaml
|
|
, scipy
|
|
, six
|
|
, spglib
|
|
, sympy
|
|
, tabulate
|
|
, uncertainties
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymatgen";
|
|
version = "2020.11.11";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "2c51c2c8862ea0d59346114f43be9e65ea134ed5b2bbd8dae766c4f6b02f5e3c";
|
|
};
|
|
|
|
nativeBuildInputs = [ glibcLocales ];
|
|
|
|
propagatedBuildInputs = [
|
|
enum34
|
|
matplotlib
|
|
monty
|
|
networkx
|
|
numpy
|
|
palettable
|
|
pandas
|
|
plotly
|
|
pydispatcher
|
|
requests
|
|
ruamel_yaml
|
|
scipy
|
|
six
|
|
spglib
|
|
sympy
|
|
tabulate
|
|
uncertainties
|
|
];
|
|
|
|
# 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 = "https://pymatgen.org/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
};
|
|
}
|