python3Packages.pymatgen: 2022.1.9 -> 2022.2.7, fix build

This commit is contained in:
Jonathan Ringer 2022-02-09 22:32:07 -08:00
parent d723d2d7bf
commit 889dfed13c
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -1,4 +1,5 @@
{ lib, buildPythonPackage, fetchPypi { lib, buildPythonPackage, fetchFromGitHub
, cython
, enum34 , enum34
, glibcLocales , glibcLocales
, matplotlib , matplotlib
@ -8,6 +9,7 @@
, palettable , palettable
, pandas , pandas
, plotly , plotly
, pybtex
, pydispatcher , pydispatcher
, requests , requests
, ruamel-yaml , ruamel-yaml
@ -21,14 +23,20 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pymatgen"; pname = "pymatgen";
version = "2022.1.9"; version = "2022.2.7";
src = fetchPypi { # sdist doesn't include c files
inherit pname version; src = fetchFromGitHub {
sha256 = "89774c0d87a38dc2f5d4d0148091f6aa240b3633121745826de66867e8d8ecc8"; owner = "materialsproject";
repo = "pymatgen";
rev= "v${version}";
sha256 = "sha256-92Dxmo1Z9LR2caSOftIf1I6jeZmqDe3SqhhoCofWraw=";
}; };
nativeBuildInputs = [ glibcLocales ]; nativeBuildInputs = [
cython
glibcLocales
];
propagatedBuildInputs = [ propagatedBuildInputs = [
enum34 enum34
@ -39,6 +47,7 @@ buildPythonPackage rec {
palettable palettable
pandas pandas
plotly plotly
pybtex
pydispatcher pydispatcher
requests requests
ruamel-yaml ruamel-yaml