Unverified Commit f4be7532 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge pull request #218533 from sir4ur0n/fixGraphCliCrash

graph-cli: fix runtime crash, 0.1.18 -> 0.1.19
parents 1216874b e5f20af1
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
{ lib
, python3Packages
, fetchPypi
, qt5
}:

python3Packages.buildPythonApplication rec {
  pname = "graph-cli";
  version = "0.1.18";
  version = "0.1.19";

  src = fetchPypi {
    inherit version;
    pname = "graph_cli";
    sha256 = "sha256-0mxOc8RJ3GNgSbppLylIViqfYf6zwJ49pltnsyQUpSA=";
    hash = "sha256-AOfUgeVgcTtuf5IuLYy1zFTBCjWZxu0OiZzUVXDIaSc=";
  };

  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