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