Loading pkgs/development/python-modules/guidata/default.nix +19 −3 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading @@ -7,9 +8,10 @@ setuptools, # dependencies distutils, h5py, numpy, qtpy, h5py, requests, tomli, Loading Loading @@ -43,9 +45,10 @@ buildPythonPackage rec { ]; dependencies = [ distutils h5py numpy qtpy h5py requests tomli ]; Loading @@ -62,6 +65,19 @@ buildPythonPackage rec { export QT_QPA_PLATFORM=offscreen ''; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Segmentation fault # guidata/dataset/qtitemwidgets.py", line 633 in __init__ "test_all_items" "test_loadsave_hdf5" "test_loadsave_json" # guidata/dataset/qtitemwidgets.py", line 581 in __init__ "test_editgroupbox" "test_item_order" # guidata/qthelpers.py", line 710 in exec_dialog "test_arrayeditor" ]; pythonImportsCheck = [ "guidata" ]; passthru = { Loading Loading @@ -89,7 +105,7 @@ buildPythonPackage rec { meta = { description = "Python library generating graphical user interfaces for easy dataset editing and display"; homepage = "https://github.com/PlotPyStack/guidata"; changelog = "https://github.com/PlotPyStack/guidata/blob/${src.rev}/CHANGELOG.md"; changelog = "https://github.com/PlotPyStack/guidata/blob/v${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ doronbehar ]; }; Loading pkgs/development/python-modules/plotpy/default.nix +9 −7 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -45,12 +46,6 @@ buildPythonPackage rec { cython setuptools ]; # Both numpy versions are supported, see: # https://github.com/PlotPyStack/PlotPy/blob/v2.6.2/pyproject.toml#L8-L9 postConfigure = '' substituteInPlace pyproject.toml \ --replace-fail 'numpy >= 2.0.0' numpy ''; dependencies = [ guidata Loading @@ -76,6 +71,13 @@ buildPythonPackage rec { cd $out ''; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Segmentation fault # in plotpy/widgets/resizedialog.py", line 99 in __init__ "test_resize_dialog" "test_tool" ]; pythonImportsCheck = [ "plotpy" "plotpy.tests" Loading Loading @@ -110,7 +112,7 @@ buildPythonPackage rec { meta = { description = "Curve and image plotting tools for Python/Qt applications"; homepage = "https://github.com/PlotPyStack/PlotPy"; changelog = "https://github.com/PlotPyStack/PlotPy/blob/${src.tag}/CHANGELOG.md"; changelog = "https://github.com/PlotPyStack/PlotPy/blob/v${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ doronbehar ]; }; Loading Loading
pkgs/development/python-modules/guidata/default.nix +19 −3 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading @@ -7,9 +8,10 @@ setuptools, # dependencies distutils, h5py, numpy, qtpy, h5py, requests, tomli, Loading Loading @@ -43,9 +45,10 @@ buildPythonPackage rec { ]; dependencies = [ distutils h5py numpy qtpy h5py requests tomli ]; Loading @@ -62,6 +65,19 @@ buildPythonPackage rec { export QT_QPA_PLATFORM=offscreen ''; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Segmentation fault # guidata/dataset/qtitemwidgets.py", line 633 in __init__ "test_all_items" "test_loadsave_hdf5" "test_loadsave_json" # guidata/dataset/qtitemwidgets.py", line 581 in __init__ "test_editgroupbox" "test_item_order" # guidata/qthelpers.py", line 710 in exec_dialog "test_arrayeditor" ]; pythonImportsCheck = [ "guidata" ]; passthru = { Loading Loading @@ -89,7 +105,7 @@ buildPythonPackage rec { meta = { description = "Python library generating graphical user interfaces for easy dataset editing and display"; homepage = "https://github.com/PlotPyStack/guidata"; changelog = "https://github.com/PlotPyStack/guidata/blob/${src.rev}/CHANGELOG.md"; changelog = "https://github.com/PlotPyStack/guidata/blob/v${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ doronbehar ]; }; Loading
pkgs/development/python-modules/plotpy/default.nix +9 −7 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, Loading Loading @@ -45,12 +46,6 @@ buildPythonPackage rec { cython setuptools ]; # Both numpy versions are supported, see: # https://github.com/PlotPyStack/PlotPy/blob/v2.6.2/pyproject.toml#L8-L9 postConfigure = '' substituteInPlace pyproject.toml \ --replace-fail 'numpy >= 2.0.0' numpy ''; dependencies = [ guidata Loading @@ -76,6 +71,13 @@ buildPythonPackage rec { cd $out ''; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Segmentation fault # in plotpy/widgets/resizedialog.py", line 99 in __init__ "test_resize_dialog" "test_tool" ]; pythonImportsCheck = [ "plotpy" "plotpy.tests" Loading Loading @@ -110,7 +112,7 @@ buildPythonPackage rec { meta = { description = "Curve and image plotting tools for Python/Qt applications"; homepage = "https://github.com/PlotPyStack/PlotPy"; changelog = "https://github.com/PlotPyStack/PlotPy/blob/${src.tag}/CHANGELOG.md"; changelog = "https://github.com/PlotPyStack/PlotPy/blob/v${version}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ doronbehar ]; }; Loading