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

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

  src = fetchPypi {
    inherit version;
    pname = "graph_cli";
    sha256 = "sha256-0mxOc8RJ3GNgSbppLylIViqfYf6zwJ49pltnsyQUpSA=";
  };

  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 ];
    mainProgram = "graph";
  };
}