Files
2025-01-14 17:52:37 +09:00

44 lines
825 B
Nix

{
buildPythonPackage,
lib,
fetchPypi,
numpy,
scipy,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "rmsd";
version = "1.6.4";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-dhLsFGts45PitSVZxXw5FND3EOeHHWYrH8PZJEYoq+M=";
};
build-system = [ setuptools ];
dependencies = [
numpy
scipy
];
pythonImportsCheck = [ "rmsd" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Calculate root-mean-square deviation (RMSD) between two sets of cartesian coordinates";
mainProgram = "calculate_rmsd";
homepage = "https://github.com/charnley/rmsd";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [
sheepforce
markuskowa
];
};
}