Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / beautifultable / default.nix
blob97b13414f36b61d90460cc426b708140a299ed39
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , wcwidth
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "beautifultable";
11   version = "1.1.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "pri22296";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-/SReCEvSwiNjBoz/3tGJ9zUNBAag4mLsHlUXwm47zCw=";
21   };
23   propagatedBuildInputs = [
24     wcwidth
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pytestFlagsArray = [
32     "test.py"
33   ];
35   pythonImportsCheck = [
36     "beautifultable"
37   ];
39   meta = with lib; {
40     description = "Python package for printing visually appealing tables";
41     homepage = "https://github.com/pri22296/beautifultable";
42     license = with licenses; [ mit ];
43     maintainers = with maintainers; [ fab ];
44   };