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:
parent
f032eb0633
commit
7dc64e9b5a
2 changed files with 46 additions and 0 deletions
44
pkgs/development/python-modules/mmtf-python/default.nix
Normal file
44
pkgs/development/python-modules/mmtf-python/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue