python3Packages.symfc: 1.5.4 -> 1.6.0

This commit is contained in:
R. Ryantm
2025-12-03 17:11:33 +00:00
committed by Gaetan Lepage
parent 4c41edb2e6
commit 8ffbfa1a91
@@ -1,24 +1,31 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
numpy,
scipy,
spglib,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "symfc";
version = "1.5.4";
version = "1.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "symfc";
repo = "symfc";
tag = "v${version}";
hash = "sha256-SGFKbOVi5cVw+8trXrSnO0v2obpJBZrj+7yXk7hK+1s=";
hash = "sha256-YDVO1/vt30ZaBOTCaYBtr3fkcuJmPa8Eg72k3XWpacg=";
};
build-system = [
@@ -31,14 +38,17 @@ buildPythonPackage rec {
spglib
];
pythonImportsCheck = [
"symfc"
];
pythonImportsCheck = [ "symfc" ];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
# assert (np.float64(0.5555555555555556) == 1.0 ± 1.0e-06
"test_fc_basis_set_o3"
];
meta = {
description = "Generate symmetrized force constants";
homepage = "https://github.com/symfc/symfc";