nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 51 lines 978 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 hatch-vcs, 8 hatchling, 9 10 # dependencies 11 wcwidth, 12 13 # tests 14 pytest-lazy-fixtures, 15 pytestCheckHook, 16}: 17 18buildPythonPackage rec { 19 pname = "prettytable"; 20 version = "3.17.0"; 21 pyproject = true; 22 23 src = fetchFromGitHub { 24 owner = "jazzband"; 25 repo = "prettytable"; 26 tag = version; 27 hash = "sha256-MvKa6M2kfD3rUl+kxsD87ieBzmDtahoMQJUNWsofCBc="; 28 }; 29 30 build-system = [ 31 hatch-vcs 32 hatchling 33 ]; 34 35 dependencies = [ wcwidth ]; 36 37 nativeCheckInputs = [ 38 pytest-lazy-fixtures 39 pytestCheckHook 40 ]; 41 42 pythonImportsCheck = [ "prettytable" ]; 43 44 meta = { 45 description = "Display tabular data in a visually appealing ASCII table format"; 46 homepage = "https://github.com/jazzband/prettytable"; 47 changelog = "https://github.com/jazzband/prettytable/releases/tag/${version}"; 48 license = lib.licenses.bsd3; 49 maintainers = with lib.maintainers; [ GaetanLepage ]; 50 }; 51}