mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
25 lines
923 B
Nix
25 lines
923 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, numpy, pydispatcher, sympy, requests, monty, ruamel_yaml, six, scipy, tabulate, enum34, matplotlib, palettable, spglib, pandas, networkx }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pymatgen";
|
|
version = "2018.9.30";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "08c8da84beec153c0ad7acc47e67245e2d6598169e9803b82bd53131a67293be";
|
|
};
|
|
|
|
nativeBuildInputs = [ glibcLocales ];
|
|
propagatedBuildInputs = [ numpy pydispatcher sympy requests monty ruamel_yaml six scipy tabulate enum34 matplotlib palettable spglib pandas networkx ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|