depot/third_party/nixpkgs/pkgs/development/python-modules/propka/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

42 lines
924 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "propka";
version = "3.5.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jensengroup";
repo = "propka";
rev = "refs/tags/v${version}";
hash = "sha256-EJQqCe4WPOpqsSxxfbTjF0qETpSPYqpixpylweTCjko=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"propka"
];
meta = with lib; {
description = "A predictor of the pKa values of ionizable groups in proteins and protein-ligand complexes based in the 3D structure";
homepage = "https://github.com/jensengroup/propka";
changelog = "https://github.com/jensengroup/propka/releases/tag/v${version}";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ natsukium ];
};
}