Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, stdenv, buildPythonPackage, fetchFromGitHub, setuptools, fixtures, less, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "autopage"; version = "0.6.0"; pyproject = true;
src = fetchFromGitHub { owner = "zaneb"; repo = "autopage"; tag = "v${finalAttrs.version}"; hash = "sha256-oBZoGVvgUhrfcEUvmhIN7Wnsv+SvkC553LAhHGCVIBQ="; };
build-system = [ setuptools ];
nativeCheckInputs = [ fixtures less pytestCheckHook ] ++ fixtures.optional-dependencies.streams;
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # https://github.com/zaneb/autopage/issues/7 "test_end_to_end" ];
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 ]; };})