My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/synergy/default.nix

43 lines
866 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, numpy
, scipy
, matplotlib
, plotly
, pandas
}:
buildPythonPackage rec {
pname = "synergy";
version = "0.5.1";
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
];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "synergy" ];
meta = with lib; {
description = "A Python library for calculating, analyzing, and visualizing drug combination synergy";
homepage = "https://github.com/djwooten/synergy";
maintainers = [ maintainers.ivar ];
license = licenses.gpl3Plus;
};
}