at master 995 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 ihm, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "modelcif"; 12 version = "1.5"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "ihmwg"; 17 repo = "python-modelcif"; 18 tag = version; 19 hash = "sha256-NVsADYEemnhuFwvM4lMebkU5WrqF+gL/3i6LoZ/Alt8="; 20 }; 21 22 build-system = [ 23 setuptools 24 ]; 25 26 dependencies = [ ihm ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 disabledTests = [ 31 # require network access 32 "test_associated_example" 33 "test_validate_mmcif_example" 34 "test_validate_modbase_example" 35 ]; 36 37 pythonImportsCheck = [ "modelcif" ]; 38 39 meta = with lib; { 40 description = "Python package for handling ModelCIF mmCIF and BinaryCIF files"; 41 homepage = "https://github.com/ihmwg/python-modelcif"; 42 changelog = "https://github.com/ihmwg/python-modelcif/blob/${src.tag}/ChangeLog.rst"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ natsukium ]; 45 }; 46}