1{ lib, buildPythonPackage, fetchPypi, setuptools }:
2
3buildPythonPackage rec {
4 pname = "autopage";
5 version = "0.5.1";
6
7 format = "pyproject";
8
9 src = fetchPypi {
10 inherit pname version;
11 hash = "sha256-Ab4+5hu3FOkJD8xcEPTPVGw5YzHGIMauUKIyGyjtMZk=";
12 };
13
14 nativeBuildInputs = [
15 setuptools
16 ];
17
18 pythonImportsCheck = [ "autopage" ];
19
20 meta = with lib; {
21 description = "A library to provide automatic paging for console output";
22 homepage = "https://github.com/zaneb/autopage";
23 license = licenses.asl20;
24 maintainers = teams.openstack.members;
25 };
26}