blob: cdd1e82a6635acd8561281fa45e7df3c5390c583 (
about) (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
wcwidth,
# tests
coverage,
pytest-cov-stub,
pytest-lazy-fixtures,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "prettytable";
version = "3.16.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jazzband";
repo = "prettytable";
tag = version;
hash = "sha256-2x7Q1HiCACJfbgWkczy3dS+dkE1fUqJK4LtqB9f3CzY=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [ wcwidth ];
nativeCheckInputs = [
coverage
pytest-cov-stub
pytest-lazy-fixtures
pytestCheckHook
];
pythonImportsCheck = [ "prettytable" ];
meta = {
description = "Display tabular data in a visually appealing ASCII table format";
homepage = "https://github.com/jazzband/prettytable";
changelog = "https://github.com/jazzband/prettytable/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
|