13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.5";
20 src = fetchFromGitHub {
23 rev = "refs/tags/v${version}";
24 hash = "sha256-I/kAO0a6DbDqmzjS36ETuoH/Z1gR2eNpyE3herHDKMs=";
28 # https://github.com/forlilab/Meeko/issues/60
30 name = "fix-unknown-sidechains.patch";
31 url = "https://github.com/forlilab/Meeko/commit/28c9fbfe3b778aa1bd5e8d7e4f3e6edf44633a0c.patch";
32 hash = "sha256-EJbLnbKTTOsTxKtLiU7Af07yjfY63ungGUHbGvrm0AU=";
35 name = "add-test-data.patch";
36 url = "https://github.com/forlilab/Meeko/commit/57b52e3afffb82685cdd1ef1bf6820d55924b97a.patch";
37 hash = "sha256-nLnyIjT68iaY3lAEbH9EJ5jZflhxABBwDqw8kaRKf3k=";
41 propagatedBuildInputs = [
42 # setup.py only requires numpy but others are needed at runtime
48 nativeCheckInputs = [ pytestCheckHook ];
50 pythonImportsCheck = [ "meeko" ];
53 description = "Python package for preparing small molecule for docking";
54 homepage = "https://github.com/forlilab/Meeko";
55 changelog = "https://github.com/forlilab/Meeko/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
56 license = lib.licenses.lgpl21Only;
57 maintainers = with lib.maintainers; [ natsukium ];