diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-01 22:37:18 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-01 22:37:18 +0200 |
commit | e07896c6c47c9d5126155e06a2489a7cfa1c2110 (patch) | |
tree | be006cd5c0d8974b03a5b45ecbaa6986dff95eb7 /pkgs/development | |
parent | 0d4b3dc12d4ef25b329cf2dc1a82161852bcbe9f (diff) | |
download | nixlib-e07896c6c47c9d5126155e06a2489a7cfa1c2110.tar nixlib-e07896c6c47c9d5126155e06a2489a7cfa1c2110.tar.gz nixlib-e07896c6c47c9d5126155e06a2489a7cfa1c2110.tar.bz2 nixlib-e07896c6c47c9d5126155e06a2489a7cfa1c2110.tar.lz nixlib-e07896c6c47c9d5126155e06a2489a7cfa1c2110.tar.xz nixlib-e07896c6c47c9d5126155e06a2489a7cfa1c2110.tar.zst nixlib-e07896c6c47c9d5126155e06a2489a7cfa1c2110.zip |
python3Packages.pymatgen: 2022.2.7 -> 2022.3.29
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/pymatgen/default.nix | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/pymatgen/default.nix b/pkgs/development/python-modules/pymatgen/default.nix index be13f77490ad..545310ec0ade 100644 --- a/pkgs/development/python-modules/pymatgen/default.nix +++ b/pkgs/development/python-modules/pymatgen/default.nix @@ -1,6 +1,7 @@ -{ lib, buildPythonPackage, fetchFromGitHub +{ lib +, buildPythonPackage +, fetchFromGitHub , cython -, enum34 , glibcLocales , matplotlib , monty @@ -11,10 +12,10 @@ , plotly , pybtex , pydispatcher +, pythonOlder , requests , ruamel-yaml , scipy -, six , spglib , sympy , tabulate @@ -23,14 +24,16 @@ buildPythonPackage rec { pname = "pymatgen"; - version = "2022.2.7"; + version = "2022.3.29"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; - # sdist doesn't include c files src = fetchFromGitHub { owner = "materialsproject"; repo = "pymatgen"; rev= "v${version}"; - sha256 = "sha256-92Dxmo1Z9LR2caSOftIf1I6jeZmqDe3SqhhoCofWraw="; + hash = "sha256-B2piRWx9TfKlGTPOAAGsq2GxyfHIRBVFpk6dxES0WF0="; }; nativeBuildInputs = [ @@ -39,7 +42,6 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - enum34 matplotlib monty networkx @@ -52,16 +54,18 @@ buildPythonPackage rec { requests ruamel-yaml scipy - six spglib sympy tabulate uncertainties ]; - # No tests in pypi tarball. + # Tests are not detected by pytest doCheck = false; - pythonImportsCheck = [ "pymatgen" ]; + + pythonImportsCheck = [ + "pymatgen" + ]; meta = with lib; { description = "A robust materials analysis code that defines core object representations for structures and molecules"; |