python3Packages.autopage: 0.5.2 -> 0.6.0 (#486312)

This commit is contained in:
Martin Weinelt
2026-02-03 12:17:14 +00:00
committed by GitHub
@@ -1,29 +1,41 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools,
fixtures,
less,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "autopage";
version = "0.5.2";
version = "0.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-gmmW10xaqfS2kWGVVHMSrGOEusOBC4UXBj8pMkgle3I=";
src = fetchFromGitHub {
owner = "zaneb";
repo = "autopage";
tag = "v${finalAttrs.version}";
hash = "sha256-oBZoGVvgUhrfcEUvmhIN7Wnsv+SvkC553LAhHGCVIBQ=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ setuptools ];
nativeCheckInputs = [
fixtures
less
pytestCheckHook
]
++ fixtures.optional-dependencies.streams;
pythonImportsCheck = [ "autopage" ];
meta = {
changelog = "https://github.com/zaneb/autopage/releases/tag/${finalAttrs.src.tag}";
description = "Library to provide automatic paging for console output";
homepage = "https://github.com/zaneb/autopage";
license = lib.licenses.asl20;
teams = [ lib.teams.openstack ];
};
}
})