mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 21:14:52 +00:00

Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
45 lines
897 B
Nix
45 lines
897 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, numpy
|
|
, scipy
|
|
, matplotlib
|
|
, plotly
|
|
, pandas
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "synergy";
|
|
version = "0.5.1";
|
|
format = "setuptools";
|
|
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
|
|
];
|
|
|
|
nativeCheckInputs = [ 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;
|
|
};
|
|
}
|