nixpkgs/pkgs/development/python-modules/pymatgen/default.nix
2021-04-03 17:49:08 +02:00

64 lines
1.1 KiB
Nix

{ lib, 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 = "2022.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "69c370ebd2ff9aceb15bb6efd364473609ffb23d2b2f02a3eb64fd537df69de0";
};
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;
pythonImportsCheck = [ "pymatgen" ];
meta = with 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 ];
};
}