Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 24 lines 923 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, glibcLocales, numpy, pydispatcher, sympy, requests, monty, ruamel_yaml, six, scipy, tabulate, enum34, matplotlib, palettable, spglib, pandas, networkx }: 2 3buildPythonPackage rec { 4 pname = "pymatgen"; 5 version = "2019.2.28"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "fe4c9b8b16d618fa531a09073d69db6ab02c0c379e672862a41163e39ac91e85"; 10 }; 11 12 nativeBuildInputs = [ glibcLocales ]; 13 propagatedBuildInputs = [ numpy pydispatcher sympy requests monty ruamel_yaml six scipy tabulate enum34 matplotlib palettable spglib pandas networkx ]; 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}