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