1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6, numpy 7, scipy 8, matplotlib 9, plotly 10, pandas 11}: 12 13buildPythonPackage rec { 14 pname = "synergy"; 15 version = "0.5.1"; 16 disabled = pythonOlder "3.5"; 17 18 # Pypi does not contain unit tests 19 src = fetchFromGitHub { 20 owner = "djwooten"; 21 repo = "synergy"; 22 rev = "v${version}"; 23 sha256 = "1c60dpvr72g4wjqg6bc601kssl5z55v9bg09xbyh9ahch58bi212"; 24 }; 25 26 propagatedBuildInputs = [ 27 numpy 28 scipy 29 matplotlib 30 plotly 31 pandas 32 ]; 33 34 checkInputs = [ pytestCheckHook ]; 35 pythonImportsCheck = [ "synergy" ]; 36 37 meta = with lib; { 38 description = "A Python library for calculating, analyzing, and visualizing drug combination synergy"; 39 homepage = "https://github.com/djwooten/synergy"; 40 maintainers = [ maintainers.ivar ]; 41 license = licenses.gpl3Plus; 42 }; 43}