python311Packages.polling: init at 0.3.0

Packaged for linode-api.
This commit is contained in:
Martin Weinelt 2023-09-23 03:57:12 +02:00
parent 1b22e5902a
commit 3bfa033e57
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, wheel
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "polling";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "justiniso";
repo = "polling";
rev = "v${version}";
hash = "sha256-Qy2QxCWzAjZMJ6yxZiDT/80I2+rLimoG8/SYxq960Tk=";
};
nativeBuildInputs = [
setuptools
wheel
];
pythonImportsCheck = [
"polling"
];
nativeCheckInputs = [
mock
pytestCheckHook
];
meta = with lib; {
description = "Powerful polling utility in Python";
homepage = "http://github.com/justiniso/polling";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}

View File

@ -8573,6 +8573,8 @@ self: super: with self; {
polarizationsolver = callPackage ../development/python-modules/polarizationsolver { };
polling = callPackage ../development/python-modules/polling { };
polib = callPackage ../development/python-modules/polib { };
policy-sentry = callPackage ../development/python-modules/policy-sentry { };