Merge: matrix-synapse: 1.122.0 -> 1.123.0 (#378018)
[NixPkgs.git] / pkgs / development / python-modules / prettytable / default.nix
blob32257b5ffa9a1ca9d0d1ccd835e5060262784b4e
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   hatch-vcs,
8   hatchling,
10   # dependencies
11   wcwidth,
13   # tests
14   coverage,
15   pytest-cov-stub,
16   pytest-lazy-fixtures,
17   pytestCheckHook,
20 buildPythonPackage rec {
21   pname = "prettytable";
22   version = "3.12.0";
23   pyproject = true;
25   src = fetchFromGitHub {
26     owner = "jazzband";
27     repo = "prettytable";
28     tag = version;
29     hash = "sha256-RoBPmnuAOtTET898Gdm1zzPIst26GdCY5nU1PyJ+Nro=";
30   };
32   build-system = [
33     hatch-vcs
34     hatchling
35   ];
37   dependencies = [ wcwidth ];
39   nativeCheckInputs = [
40     coverage
41     pytest-cov-stub
42     pytest-lazy-fixtures
43     pytestCheckHook
44   ];
46   pythonImportsCheck = [ "prettytable" ];
48   meta = {
49     description = "Display tabular data in a visually appealing ASCII table format";
50     homepage = "https://github.com/jazzband/prettytable";
51     changelog = "https://github.com/jazzband/prettytable/releases/tag/${version}";
52     license = lib.licenses.bsd3;
53     maintainers = with lib.maintainers; [ GaetanLepage ];
54   };