diff options
| author | natsukium <tomoya.otabi@gmail.com> | 2023-06-14 21:42:00 +0900 |
|---|---|---|
| committer | natsukium <tomoya.otabi@gmail.com> | 2023-06-14 21:42:00 +0900 |
| commit | 7dc64e9b5afa8ae800e1b45a2a656f73bc2d9bec (patch) | |
| tree | 54644a0d4873912de865ee293f56c309ce2ffa00 /pkgs/development/python-modules/mmtf-python | |
| parent | f032eb063386573636571674b0a8e0375af98c86 (diff) | |
python3Packages.mmtf-python: init at 1.1.3
Diffstat (limited to 'pkgs/development/python-modules/mmtf-python')
| -rw-r--r-- | pkgs/development/python-modules/mmtf-python/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/mmtf-python/default.nix b/pkgs/development/python-modules/mmtf-python/default.nix new file mode 100644 index 000000000000..197d0cf3e65b --- /dev/null +++ b/pkgs/development/python-modules/mmtf-python/default.nix @@ -0,0 +1,44 @@ +{ lib +, buildPythonPackage +, fetchPypi +, msgpack +, numpy +, unittestCheckHook +}: + +buildPythonPackage rec { + pname = "mmtf-python"; + version = "1.1.3"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-EqAv4bcTHworjORbRvHgzdKLmBj+RJlVTCaISYfqDDI="; + }; + + propagatedBuildInputs = [ + msgpack + numpy + ]; + + nativeCheckInputs = [ + unittestCheckHook + ]; + + unittestFlagsArray = [ + "-s mmtf/tests" + "-p \"*_tests.py\"" + ]; + + pythonImportsCheck = [ + "mmtf" + ]; + + meta = { + description = "The python implementation of the MMTF API, decoder and encoder"; + homepage = "https://github.com/rcsb/mmtf-python"; + changelog = "https://github.com/rcsb/mmtf-python/releases/tag/v${version}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ natsukium ]; + }; +} |
