blob: 82b9bd67d84a05e2818d5c4cb56f4b1d8f1c94bb (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
wcwidth,
# tests
pytest-lazy-fixtures,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "prettytable";
version = "3.17.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jazzband";
repo = "prettytable";
tag = version;
hash = "sha256-MvKa6M2kfD3rUl+kxsD87ieBzmDtahoMQJUNWsofCBc=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [ wcwidth ];
nativeCheckInputs = [
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 ];
};
}
|