nixpkgs/pkgs/development/python-modules/autopage/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
582 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools }:
buildPythonPackage rec {
pname = "autopage";
version = "0.5.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "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;
};
}