Skip to content

Commit

Permalink
python3Packages.orange3: tweakings
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <[email protected]>
  • Loading branch information
lucasew committed Dec 30, 2024
1 parent a1ad26e commit ad54023
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/development/python-modules/orange3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ let
hash = "sha256-3PybiHXH6oIYJb78/a7LnQA6cYUicDx4Mf65QhIhT4w=";
};

build-system = [
oldest-supported-numpy
setuptools
];

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'cython>=3.0' 'cython'
Expand All @@ -74,20 +79,17 @@ let

nativeBuildInputs = [
copyDesktopItems
oldest-supported-numpy
cython
qt5.wrapQtAppsHook
recommonmark
setuptools
sphinx
wheel
];

enableParallelBuilding = true;

pythonRelaxDeps = [ "scikit-learn" ];

propagatedBuildInputs = [
dependencies = [
numpy
scipy
chardet
Expand Down

0 comments on commit ad54023

Please sign in to comment.