1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "beautifultable";
9 version = "1.0.1";
10
11 src = fetchFromGitHub {
12 owner = "pri22296";
13 repo = pname;
14 rev = "v${version}";
15 sha256 = "12ci6jy8qmbphsvzvj98466nlhclfzs0a0pmbsv3mf5bfcdwvbh7";
16 };
17
18 checkInputs = [
19 pytestCheckHook
20 ];
21
22 pytestFlagsArray = [ "test.py" ];
23
24 pythonImportsCheck = [ "beautifultable" ];
25
26 meta = with lib; {
27 description = "Python package for printing visually appealing tables";
28 homepage = "https://github.com/CERT-Polska/mwdblib";
29 license = with licenses; [ mit ];
30 maintainers = with maintainers; [ fab ];
31 };
32}