python3Packages.mmcif-pdbx: init at 2.0.1

This commit is contained in:
natsukium
2023-05-08 22:37:26 +09:00
parent 512ce5ee01
commit afdcccd135
2 changed files with 44 additions and 0 deletions
@@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "mmcif-pdbx";
version = "2.0.1";
format = "pyproject";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "Electrostatics";
repo = "mmcif_pdbx";
rev = "refs/tags/v${version}";
hash = "sha256-ymMQ/q4IMoq+B8RvIdL0aqolKxyE/4rnVfd4bUV5OUY=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pdbx"
];
meta = with lib; {
description = "Yet another version of PDBx/mmCIF Python implementation";
homepage = "https://github.com/Electrostatics/mmcif_pdbx";
changelog = "https://github.com/Electrostatics/mmcif_pdbx/releases/tag/v${version}";
license = licenses.cc0;
maintainers = with maintainers; [ natsukium ];
};
}
+2
View File
@@ -6215,6 +6215,8 @@ self: super: with self; {
enablePython = true;
});
mmcif-pdbx = callPackage ../development/python-modules/mmcif-pdbx { };
mmcv = callPackage ../development/python-modules/mmcv { };
mmh3 = callPackage ../development/python-modules/mmh3 { };