Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / beautifultable / default.nix
blobdef8f207ee808d3b12a519c338ed13d6d70de92f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "beautifultable";
9   version = "1.0.1";
11   src = fetchFromGitHub {
12     owner = "pri22296";
13     repo = pname;
14     rev = "v${version}";
15     sha256 = "12ci6jy8qmbphsvzvj98466nlhclfzs0a0pmbsv3mf5bfcdwvbh7";
16   };
18   checkInputs = [
19     pytestCheckHook
20   ];
22   pytestFlagsArray = [ "test.py" ];
24   pythonImportsCheck = [ "beautifultable" ];
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   };