signalbackup-tools: 20241220 -> 20250106 (#371523)
[NixPkgs.git] / pkgs / development / python-modules / modelcif / default.nix
blob21573c1c65a195114d420762365d062d3695cc1b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   ihm,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "modelcif";
12   version = "1.2";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "ihmwg";
17     repo = "python-modelcif";
18     tag = version;
19     hash = "sha256-sduhRLtuJ/0BNsqmrhCr0lSrLMaOfE+TCWN4zj62aCQ=";
20   };
22   build-system = [
23     setuptools
24   ];
26   dependencies = [ ihm ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   disabledTests = [
31     # require network access
32     "test_associated_example"
33     "test_validate_mmcif_example"
34     "test_validate_modbase_example"
35   ];
37   pythonImportsCheck = [ "modelcif" ];
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.rev}/ChangeLog.rst";
43     license = licenses.mit;
44     maintainers = with maintainers; [ natsukium ];
45   };