2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
numpy,
|
|
|
|
scipy,
|
|
|
|
matplotlib,
|
|
|
|
plotly,
|
|
|
|
pandas,
|
2021-08-05 21:33:18 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "synergy";
|
|
|
|
version = "0.5.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-08-05 21:33:18 +00:00
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
|
|
|
# Pypi does not contain unit tests
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "djwooten";
|
|
|
|
repo = "synergy";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1c60dpvr72g4wjqg6bc601kssl5z55v9bg09xbyh9ahch58bi212";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
matplotlib
|
|
|
|
plotly
|
|
|
|
pandas
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-08-05 21:33:18 +00:00
|
|
|
pythonImportsCheck = [ "synergy" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Python library for calculating, analyzing, and visualizing drug combination synergy";
|
2021-08-05 21:33:18 +00:00
|
|
|
homepage = "https://github.com/djwooten/synergy";
|
2024-07-01 15:47:52 +00:00
|
|
|
maintainers = [ ];
|
2021-08-05 21:33:18 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|