0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python3Packages.mmtf-python: init at 1.1.3

This commit is contained in:
natsukium 2023-06-14 21:42:00 +09:00
parent f032eb0633
commit 7dc64e9b5a
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53
2 changed files with 46 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -6345,6 +6345,8 @@ self: super: with self; {
mmpython = callPackage ../development/python-modules/mmpython { };
mmtf-python = callPackage ../development/python-modules/mmtf-python { };
mnemonic = callPackage ../development/python-modules/mnemonic { };
mne-python = callPackage ../development/python-modules/mne-python { };