Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 47 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, setuptools, wheel, ihm, pytestCheckHook,}:
buildPythonPackage rec { pname = "modelcif"; version = "1.0"; pyproject = true;
src = fetchFromGitHub { owner = "ihmwg"; repo = "python-modelcif"; rev = "refs/tags/${version}"; hash = "sha256-zJLwBdyUyWnH1hBx9Kejl5NfY7zJUxeGb//swBT02Dw="; };
nativeBuildInputs = [ setuptools wheel ];
propagatedBuildInputs = [ ihm ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # require network access "test_validate_mmcif_example" "test_validate_modbase_example" ];
pythonImportsCheck = [ "modelcif" ];
meta = with lib; { description = "Python package for handling ModelCIF mmCIF and BinaryCIF files"; homepage = "https://github.com/ihmwg/python-modelcif"; changelog = "https://github.com/ihmwg/python-modelcif/blob/${src.rev}/ChangeLog.rst"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; };}