python311Packages.pomegranate: update propagated dependencies

Checking runtime dependencies for pomegranate-1.0.0-py3-none-any.whl
  - scikit-learn not installed
  - torch not installed
  - apricot-select not installed
This commit is contained in:
Martin Weinelt
2023-12-20 20:10:34 +01:00
parent ac154f6003
commit 65738f8959
@@ -2,14 +2,20 @@
, lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, cython
# build-system
, setuptools
# dependencies
, apricot-select
, networkx
, joblib
, pandas
, nose
, pyyaml
, numpy
, scikit-learn
, scipy
, torch
# tests
, pytestCheckHook
}:
@@ -26,9 +32,22 @@ buildPythonPackage rec {
sha256 = "sha256-EnxKlRRfsOIDLAhYOq7bUSbI/NvPoSyYCZ9D5VCXFGQ=";
};
propagatedBuildInputs = [ numpy scipy cython networkx joblib pyyaml ];
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [ pandas nose ]; # as of 0.13.5, it depends explicitly on nose, rather than pytest.
propagatedBuildInputs = [
apricot-select
networkx
numpy
scikit-learn
scipy
torch
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
broken = stdenv.isDarwin;