evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / ihm / default.nix
blob1d07533f536a850c8b215cf831217893dc23e658
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   swig,
7   wheel,
8   msgpack,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "ihm";
14   version = "1.7";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "ihmwg";
19     repo = "python-ihm";
20     rev = "refs/tags/${version}";
21     hash = "sha256-jQm8Xl2yyR+y1Leyz8naT1rFJpgK5XdUd7YgnhDuBWo=";
22   };
24   nativeBuildInputs = [
25     setuptools
26     swig
27     wheel
28   ];
30   propagatedBuildInputs = [ msgpack ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   disabledTests = [
35     # requires network access
36     "test_validator_example"
37   ];
39   pythonImportsCheck = [ "ihm" ];
41   meta = with lib; {
42     description = "Python package for handling IHM mmCIF and BinaryCIF files";
43     homepage = "https://github.com/ihmwg/python-ihm";
44     changelog = "https://github.com/ihmwg/python-ihm/blob/${src.rev}/ChangeLog.rst";
45     license = licenses.mit;
46     maintainers = with maintainers; [ natsukium ];
47   };