Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 76 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ lib, buildPythonPackage, fetchFromGitHub, cython, glibcLocales, matplotlib, monty, networkx, numpy, palettable, pandas, plotly, pybtex, pydispatcher, pythonOlder, requests, ruamel-yaml, scipy, spglib, sympy, tabulate, uncertainties}:
buildPythonPackage rec { pname = "pymatgen"; version = "2022.3.29"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "materialsproject"; repo = "pymatgen"; rev= "v${version}"; hash = "sha256-B2piRWx9TfKlGTPOAAGsq2GxyfHIRBVFpk6dxES0WF0="; };
nativeBuildInputs = [ cython glibcLocales ];
propagatedBuildInputs = [ matplotlib monty networkx numpy palettable pandas plotly pybtex pydispatcher requests ruamel-yaml scipy spglib sympy tabulate uncertainties ];
# Tests are not detected by pytest 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 ]; };}