mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
42 lines
839 B
Nix
42 lines
839 B
Nix
{
|
|
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 = "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 ];
|
|
};
|
|
}
|