mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
Merge pull request #218533 from sir4ur0n/fixGraphCliCrash
graph-cli: fix runtime crash, 0.1.18 -> 0.1.19
This commit is contained in:
commit
f4be7532ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user