diff options
| author | natsukium <tomoya.otabi@gmail.com> | 2023-05-08 22:37:26 +0900 |
|---|---|---|
| committer | natsukium <tomoya.otabi@gmail.com> | 2023-05-20 10:24:39 +0900 |
| commit | afdcccd135ed693cd053484db87f8bb1ed3f554e (patch) | |
| tree | 307a090b18c05f1a0e736cfc7b221f58d4cc92ad /pkgs/development/python-modules | |
| parent | 512ce5ee013527a4c4956f1edc56c710b9bd5f8b (diff) | |
python3Packages.mmcif-pdbx: init at 2.0.1
Diffstat (limited to 'pkgs/development/python-modules')
| -rw-r--r-- | pkgs/development/python-modules/mmcif-pdbx/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mmcif-pdbx/default.nix b/pkgs/development/python-modules/mmcif-pdbx/default.nix new file mode 100644 index 000000000000..05d43d54f25d --- /dev/null +++ b/pkgs/development/python-modules/mmcif-pdbx/default.nix @@ -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 ]; + }; +} |
