diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2024-01-11 18:21:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-11 18:21:58 +0100 |
commit | f4be7532ab941203a8295ec993d7e6d54856738a (patch) | |
tree | ed58da3111e2f0d4ceeb4749f5355b6b7319ad23 /pkgs/tools/graphics/graph-cli | |
parent | 1216874bcc7c76dd85e980108359ae1cc81324ac (diff) | |
parent | e5f20af132e27f28fadff93d5535034d5e5348ed (diff) |
Merge pull request #218533 from sir4ur0n/fixGraphCliCrash
graph-cli: fix runtime crash, 0.1.18 -> 0.1.19
Diffstat (limited to 'pkgs/tools/graphics/graph-cli')
-rw-r--r-- | pkgs/tools/graphics/graph-cli/default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/tools/graphics/graph-cli/default.nix b/pkgs/tools/graphics/graph-cli/default.nix index be6769d85e9ad..ebddd548bed0e 100644 --- a/pkgs/tools/graphics/graph-cli/default.nix +++ b/pkgs/tools/graphics/graph-cli/default.nix @@ -1,22 +1,31 @@ { 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 |