nixpkgs/pkgs/development/python-modules/columnize/default.nix
Martin Weinelt 4e45a027fd python3Packages.columnize: 0.3.11 -> 3.11
https://github.com/rocky/pycolumnize/blob/3.11/ChangeLog

This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:32 +01:00

41 lines
936 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "columnize";
version = "3.11";
pyproject = true;
# 3.11 is the git tag for the 0.3.11 version
# r-ryantm keeps trying to change the version to 3.11
# nixpkgs-update: no auto update
src = fetchFromGitHub {
owner = "rocky";
repo = "pycolumnize";
tag = version;
hash = "sha256-YJEIujoRpLvUM4H4CB1nEJaYStFOSVKIGzchnptlt7M=";
};
build-system = [
setuptools
];
pythonImportsCheck = [ "columnize" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Python module to align a simple (not nested) list in columns";
homepage = "https://github.com/rocky/pycolumnize";
changelog = "https://github.com/rocky/pycolumnize/blob/${src.tag}/ChangeLog";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}