Files
nixpkgs/pkgs/development/python-modules/meeko/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
956 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
gemmi,
numpy,
pytestCheckHook,
pythonOlder,
rdkit,
scipy,
}:
buildPythonPackage rec {
pname = "meeko";
version = "0.6.1";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "forlilab";
repo = "Meeko";
tag = "v${version}";
hash = "sha256-ViIBiczwxTwraYn8UnFAZFCFT28v3WEYm04W2YpU/4g=";
};
propagatedBuildInputs = [
# setup.py only requires numpy but others are needed at runtime
gemmi
numpy
rdkit
scipy
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "meeko" ];
meta = {
description = "Python package for preparing small molecule for docking";
homepage = "https://github.com/forlilab/Meeko";
changelog = "https://github.com/forlilab/Meeko/releases/tag/${src.tag}";
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [ natsukium ];
};
}