Commit 8b8ecfa4 authored by sir4ur0n's avatar sir4ur0n Committed by Julien Debon
Browse files

graph-cli: fix runtime crash

parent 1f8b5a27
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
{ lib
, python3Packages
, fetchPypi
, qt5
}:

python3Packages.buildPythonApplication rec {
@@ -13,10 +14,18 @@ python3Packages.buildPythonApplication rec {
    sha256 = "sha256-0mxOc8RJ3GNgSbppLylIViqfYf6zwJ49pltnsyQUpSA=";
  };

  nativeBuildInputs = [ qt5.wrapQtAppsHook ];

  dontWrapQtApps = true;

  preFixup = ''
    makeWrapperArgs+=("''${qtWrapperArgs[@]}")
  '';

  propagatedBuildInputs = with python3Packages; [
    numpy
    pandas
    matplotlib
    (matplotlib.override { enableQt = true; })
  ];

  # does not contain tests despite reference in Makefile