blob: c78f95c6da7ef20772be0acb29ad8ab79f053d39 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wcwidth,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "beautifultable";
version = "1.1.0";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "pri22296";
repo = "beautifultable";
tag = "v${finalAttrs.version}";
hash = "sha256-/SReCEvSwiNjBoz/3tGJ9zUNBAag4mLsHlUXwm47zCw=";
};
build-system = [ setuptools ];
dependencies = [ wcwidth ];
nativeCheckInputs = [ pytestCheckHook ];
enabledTestPaths = [ "test.py" ];
pythonImportsCheck = [ "beautifultable" ];
meta = {
description = "Python package for printing visually appealing tables";
homepage = "https://github.com/pri22296/beautifultable";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|