python3Packages.mmcif-pdbx: init at 2.0.1

+44
+42
pkgs/development/python-modules/mmcif-pdbx/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pythonOlder 5 + , setuptools 6 + , pytestCheckHook 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "mmcif-pdbx"; 11 + version = "2.0.1"; 12 + format = "pyproject"; 13 + 14 + disabled = pythonOlder "3.5"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "Electrostatics"; 18 + repo = "mmcif_pdbx"; 19 + rev = "refs/tags/v${version}"; 20 + hash = "sha256-ymMQ/q4IMoq+B8RvIdL0aqolKxyE/4rnVfd4bUV5OUY="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + setuptools 25 + ]; 26 + 27 + nativeCheckInputs = [ 28 + pytestCheckHook 29 + ]; 30 + 31 + pythonImportsCheck = [ 32 + "pdbx" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Yet another version of PDBx/mmCIF Python implementation"; 37 + homepage = "https://github.com/Electrostatics/mmcif_pdbx"; 38 + changelog = "https://github.com/Electrostatics/mmcif_pdbx/releases/tag/v${version}"; 39 + license = licenses.cc0; 40 + maintainers = with maintainers; [ natsukium ]; 41 + }; 42 + }
+2
pkgs/top-level/python-packages.nix
··· 6215 6215 enablePython = true; 6216 6216 }); 6217 6217 6218 + mmcif-pdbx = callPackage ../development/python-modules/mmcif-pdbx { }; 6219 + 6218 6220 mmcv = callPackage ../development/python-modules/mmcv { }; 6219 6221 6220 6222 mmh3 = callPackage ../development/python-modules/mmh3 { };