about summary refs log tree commit diff
path: root/pkgs/tools/graphics/graph-cli/default.nix
blob: 4da4f50cef82d6543c732ea90c3a79abbaba4439 (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
{ lib
, python3Packages
}:

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

  src = python3Packages.fetchPypi {
    inherit version;
    pname = "graph_cli";
    sha256 = "sha256-/v9COgAjuunJ06HHl55J0moV1p4uO+N+w2QwE8tgebQ=";
  };

  propagatedBuildInputs = with python3Packages; [
    numpy
    pandas
    matplotlib
  ];

  # 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 ];
  };
}