Loading pkgs/development/python-modules/synergy/default.nix +29 −6 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, numpy, scipy, matplotlib, plotly, pandas, hypothesis, pytestCheckHook, }: buildPythonPackage rec { pname = "synergy"; version = "1.0.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.5"; # Pypi does not contain unit tests src = fetchFromGitHub { owner = "djwooten"; repo = "synergy"; tag = "v${version}"; sha256 = "sha256-df5CBEcRx55/rSMc6ygMVrHbbEcnU1ISJheO+WoBSCI="; hash = "sha256-df5CBEcRx55/rSMc6ygMVrHbbEcnU1ISJheO+WoBSCI="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ numpy scipy matplotlib Loading @@ -33,7 +38,25 @@ buildPythonPackage rec { pandas ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ hypothesis pytestCheckHook ]; disabledTests = [ # flaky: hypothesis.errors.FailedHealthCheck "test_asymptotic_limits" "test_inverse" # AssertionError: synthetic_BRAID_reference_1.csv # E3=0 not in (0.10639582639915163, 1.6900177333904622) "test_BRAID_fit_bootstrap" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # AssertionError: np.False_ is not true "test_fit_loewe_antagonism" ]; pythonImportsCheck = [ "synergy" ]; meta = with lib; { Loading Loading
pkgs/development/python-modules/synergy/default.nix +29 −6 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools, numpy, scipy, matplotlib, plotly, pandas, hypothesis, pytestCheckHook, }: buildPythonPackage rec { pname = "synergy"; version = "1.0.0"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.5"; # Pypi does not contain unit tests src = fetchFromGitHub { owner = "djwooten"; repo = "synergy"; tag = "v${version}"; sha256 = "sha256-df5CBEcRx55/rSMc6ygMVrHbbEcnU1ISJheO+WoBSCI="; hash = "sha256-df5CBEcRx55/rSMc6ygMVrHbbEcnU1ISJheO+WoBSCI="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ numpy scipy matplotlib Loading @@ -33,7 +38,25 @@ buildPythonPackage rec { pandas ]; nativeCheckInputs = [ pytestCheckHook ]; nativeCheckInputs = [ hypothesis pytestCheckHook ]; disabledTests = [ # flaky: hypothesis.errors.FailedHealthCheck "test_asymptotic_limits" "test_inverse" # AssertionError: synthetic_BRAID_reference_1.csv # E3=0 not in (0.10639582639915163, 1.6900177333904622) "test_BRAID_fit_bootstrap" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # AssertionError: np.False_ is not true "test_fit_loewe_antagonism" ]; pythonImportsCheck = [ "synergy" ]; meta = with lib; { Loading