mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
python311Packages.orange3: adjust nativeBuildInputs
This commit is contained in:
parent
c0a742d35a
commit
710f09dc96
@ -1,21 +1,21 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, copyDesktopItems
|
||||
, fetchurl
|
||||
, makeDesktopItem
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
, python
|
||||
, baycomp
|
||||
, bottleneck
|
||||
, buildPythonPackage
|
||||
, chardet
|
||||
, copyDesktopItems
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, httpx
|
||||
, joblib
|
||||
, keyring
|
||||
, keyrings-alt
|
||||
, makeDesktopItem
|
||||
, matplotlib
|
||||
, nix-update-script
|
||||
, numpy
|
||||
, oldest-supported-numpy
|
||||
, openpyxl
|
||||
, opentsne
|
||||
, orange-canvas-core
|
||||
@ -23,15 +23,20 @@
|
||||
, pandas
|
||||
, pyqtgraph
|
||||
, pyqtwebengine
|
||||
, python
|
||||
, python-louvain
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, qt5
|
||||
, qtconsole
|
||||
, recommonmark
|
||||
, requests
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, sphinx
|
||||
, serverfiles
|
||||
, setuptools
|
||||
, sphinx
|
||||
, wheel
|
||||
, xlrd
|
||||
, xlsxwriter
|
||||
}:
|
||||
@ -42,6 +47,8 @@ let
|
||||
version = "3.35.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "biolab";
|
||||
repo = "orange3";
|
||||
@ -50,6 +57,8 @@ let
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "setuptools>=41.0.0,<50.0" "setuptools"
|
||||
sed -i 's;\(scikit-learn\)[^$]*;\1;g' requirements-core.txt
|
||||
sed -i 's;pyqtgraph[^$]*;;g' requirements-gui.txt # TODO: remove after bump with a version greater than 0.13.1
|
||||
'';
|
||||
@ -57,8 +66,12 @@ let
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
cython
|
||||
oldest-supported-numpy
|
||||
qt5.wrapQtAppsHook
|
||||
recommonmark
|
||||
setuptools
|
||||
sphinx
|
||||
wheel
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user