blob: ebddd548bed0e7591f5f040a1ae401b52a49d8f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{ lib
, python3Packages
, fetchPypi
, qt5
}:
python3Packages.buildPythonApplication rec {
pname = "graph-cli";
version = "0.1.19";
src = fetchPypi {
inherit version;
pname = "graph_cli";
hash = "sha256-AOfUgeVgcTtuf5IuLYy1zFTBCjWZxu0OiZzUVXDIaSc=";
};
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
dontWrapQtApps = true;
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
propagatedBuildInputs = with python3Packages; [
numpy
pandas
(matplotlib.override { enableQt = true; })
];
# does not contain tests despite reference in Makefile
doCheck = false;
pythonImportsCheck = [ "graph_cli" ];
meta = with lib; {
description = "CLI to create graphs from CSV files";
homepage = "https://github.com/mcastorina/graph-cli/";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ leungbk ];
mainProgram = "graph";
};
}
|