at 23.11-beta 971 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, setuptools 5, swig 6, wheel 7, msgpack 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "ihm"; 13 version = "0.41"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "ihmwg"; 18 repo = "python-ihm"; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-weeOizVWFcOxD45QsvEaoknTofZjglCvidyvXpyRKwc="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 swig 26 wheel 27 ]; 28 29 propagatedBuildInputs = [ 30 msgpack 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 ]; 36 37 disabledTests = [ 38 # requires network access 39 "test_validator_example" 40 ]; 41 42 pythonImportsCheck = [ "ihm" ]; 43 44 meta = with lib; { 45 description = "Python package for handling IHM mmCIF and BinaryCIF files"; 46 homepage = "https://github.com/ihmwg/python-ihm"; 47 changelog = "https://github.com/ihmwg/python-ihm/blob/${src.rev}/ChangeLog.rst"; 48 license = licenses.mit; 49 maintainers = with maintainers; [ natsukium ]; 50 }; 51}