nixpkgs/pkgs/development/python-modules/autopage/default.nix
2022-09-16 10:34:22 +02:00

27 lines
584 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools }:
buildPythonPackage rec {
pname = "autopage";
version = "0.5.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Ab4+5hu3FOkJD8xcEPTPVGw5YzHGIMauUKIyGyjtMZk=";
};
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [ "autopage" ];
meta = with lib; {
description = "A library to provide automatic paging for console output";
homepage = "https://github.com/zaneb/autopage";
license = licenses.asl20;
maintainers = teams.openstack.members;
};
}