summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/plotext/default.nix
blob: a7bc9449c64be36af59aa760ff26ff5e9aaf8243 (plain)
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
{
  buildPythonPackage,
  fetchFromGitHub,
  lib,
}:

buildPythonPackage rec {
  pname = "plotext";
  version = "5.3.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "piccolomo";
    repo = "plotext";
    tag = version;
    hash = "sha256-4cuStXnZFTlOoBp9w+LrTZavCWEaQdZMY4apGNKvBXE=";
  };

  # Package does not have a conventional test suite that can be run with either
  # `pytestCheckHook` or the standard setuptools testing situation.
  doCheck = false;

  pythonImportsCheck = [ "plotext" ];

  meta = {
    description = "Plotting directly in the terminal";
    mainProgram = "plotext";
    homepage = "https://github.com/piccolomo/plotext";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ samuela ];
  };
}