Files
nixpkgs/pkgs/development/python-modules/modelcif/default.nix
T
Martin Weinelt 62f49c07c2 python3Packages.modelcif: 1.3 -> 1.4
https://github.com/ihmwg/python-modelcif/blob/1.4/ChangeLog.rst

This commit was automatically generated using update-python-libraries.
2025-08-09 19:01:49 +02:00

47 lines
995 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
ihm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "modelcif";
version = "1.4";
pyproject = true;
src = fetchFromGitHub {
owner = "ihmwg";
repo = "python-modelcif";
tag = version;
hash = "sha256-Uj6E25uqFdCo2lGf0Cmhc7rs3Rwj7vkpe2G0uhv53gc=";
};
build-system = [
setuptools
];
dependencies = [ ihm ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# require network access
"test_associated_example"
"test_validate_mmcif_example"
"test_validate_modbase_example"
];
pythonImportsCheck = [ "modelcif" ];
meta = with lib; {
description = "Python package for handling ModelCIF mmCIF and BinaryCIF files";
homepage = "https://github.com/ihmwg/python-modelcif";
changelog = "https://github.com/ihmwg/python-modelcif/blob/${src.tag}/ChangeLog.rst";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
};
}