Merge pull request #171755 from r-ryantm/auto-update/python3.10-spglib

python310Packages.spglib: 1.16.3 -> 1.16.5
This commit is contained in:
Mario Rodas 2022-05-07 13:31:01 -05:00 committed by GitHub
commit 534a3f3807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,31 @@
{ lib, buildPythonPackage, fetchPypi, numpy, nose, pyyaml }: { lib, buildPythonPackage, fetchPypi, numpy, pytest, pyyaml }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "spglib"; pname = "spglib";
version = "1.16.3"; version = "1.16.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "ff1420967d64c2d4f0d747886116a6836d9b473454cdd73d560dbfe973a8a038"; sha256 = "sha256-Lqzv1TzGRLqakMRoH9bJNLa92BjBE9fzGZBOB41dq5M=";
}; };
propagatedBuildInputs = [ numpy ]; propagatedBuildInputs = [ numpy ];
checkInputs = [ nose pyyaml ]; checkInputs = [ pytest pyyaml ];
# pytestCheckHook doesn't work
# ImportError: cannot import name '_spglib' from partially initialized module 'spglib'
checkPhase = ''
pytest
'';
pythonImportsCheck = [ "spglib" ];
meta = with lib; { meta = with lib; {
description = "Python bindings for C library for finding and handling crystal symmetries"; description = "Python bindings for C library for finding and handling crystal symmetries";
homepage = "https://atztogo.github.io/spglib"; homepage = "https://spglib.github.io/spglib/";
changelog = "https://github.com/spglib/spglib/raw/v${version}/ChangeLog";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ psyanticy ]; maintainers = with maintainers; [ psyanticy ];
}; };
} }