Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.1 kB · 104 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools,
# dependencies anyqt, cachecontrol, commonmark, dictdiffer, docutils, filelock, lockfile, numpy, pip, trubar, qasync, requests-cache, typing-extensions,
# tests qt5, pytest-qt, pytestCheckHook,
stdenv, gitUpdater,}:
buildPythonPackage rec { pname = "orange-canvas-core"; version = "0.2.5"; pyproject = true;
src = fetchFromGitHub { owner = "biolab"; repo = "orange-canvas-core"; tag = version; hash = "sha256-uh9wNqgLYRcnCSOdpeLx6ZTRC0cpq6lG/sqmrYLR+3g="; };
build-system = [ setuptools ];
dependencies = [ anyqt cachecontrol commonmark dictdiffer docutils filelock lockfile numpy pip qasync requests-cache typing-extensions trubar ];
pythonImportsCheck = [ "orangecanvas" ];
preCheck = '' export HOME=$(mktemp -d) export QT_PLUGIN_PATH="${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}" export QT_QPA_PLATFORM_PLUGIN_PATH="${qt5.qtbase.bin}/lib/qt-${qt5.qtbase.version}/plugins"; export QT_QPA_PLATFORM=offscreen '';
nativeCheckInputs = [ pytest-qt pytestCheckHook ];
disabledTests = [ # Failed: CALL ERROR: Exceptions caught in Qt event loop "test_create_new_window" "test_dont_load_swp_on_new_window" "test_editlinksnode" "test_flattened" "test_links_edit" "test_links_edit_widget" "test_new_window" "test_toolbox" "test_tooltree_registry" "test_widgettoolgrid" ];
passthru.updateScript = gitUpdater { };
disabledTestPaths = [ "orangecanvas/canvas/items/tests/test_graphicstextitem.py" ];
meta = { description = "Orange framework for building graphical user interfaces for editing workflows"; homepage = "https://github.com/biolab/orange-canvas-core"; changelog = "https://github.com/biolab/orange-canvas-core/releases/tag/${version}"; license = [ lib.licenses.gpl3 ]; maintainers = [ lib.maintainers.lucasew ]; # Segmentation fault during tests broken = stdenv.hostPlatform.isDarwin; };}