summary refs log tree commit diff
path: root/pkgs/development/python-modules/drawilleplot/default.nix
blob: 1ed452c1d1090201dbd52e60ea0d35b2d3f9bfc3 (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
{ lib
, buildPythonPackage
, fetchPypi
, drawille
, matplotlib
}:

buildPythonPackage rec {
  pname = "drawilleplot";
  version = "0.1.0";

  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ZEDroo7KkI2VxdESb2QDX+dPY4UahuuK9L0EddrxJjQ=";
  };

  doCheck = false; # does not have any tests at all

  propagatedBuildInputs = [
    drawille
    matplotlib
  ];

  pythonImportsCheck = [
    "drawilleplot"
  ];

  meta = with lib; {
    description = "matplotlib backend for graph output in unicode terminals using drawille";
    homepage = "https://github.com/gooofy/drawilleplot";
    license = licenses.asl20;
    maintainers = with maintainers; [ nobbz ];
    platforms = platforms.all;
  };
}