electron_32: fix log spam when building on aarch64-linux (#378988)
[NixPkgs.git] / pkgs / by-name / gr / graph-cli / package.nix
blobe7f722b59052df51332b45d101920072affd4433
2   lib,
3   python3Packages,
4   fetchPypi,
5   qt5,
6 }:
8 python3Packages.buildPythonApplication rec {
9   pname = "graph-cli";
10   version = "0.1.19";
12   src = fetchPypi {
13     inherit version;
14     pname = "graph_cli";
15     hash = "sha256-AOfUgeVgcTtuf5IuLYy1zFTBCjWZxu0OiZzUVXDIaSc=";
16   };
18   nativeBuildInputs = [ qt5.wrapQtAppsHook ];
20   dontWrapQtApps = true;
22   preFixup = ''
23     makeWrapperArgs+=("''${qtWrapperArgs[@]}")
24   '';
26   propagatedBuildInputs = with python3Packages; [
27     numpy
28     pandas
29     (matplotlib.override { enableQt = true; })
30   ];
32   # does not contain tests despite reference in Makefile
33   doCheck = false;
34   pythonImportsCheck = [ "graph_cli" ];
36   meta = with lib; {
37     description = "CLI to create graphs from CSV files";
38     homepage = "https://github.com/mcastorina/graph-cli/";
39     license = with licenses; [ gpl3Only ];
40     maintainers = with maintainers; [ leungbk ];
41     mainProgram = "graph";
42   };