mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
python311Packages.polling: init at 0.3.0
Packaged for linode-api.
This commit is contained in:
parent
1b22e5902a
commit
3bfa033e57
42
pkgs/development/python-modules/polling/default.nix
Normal file
42
pkgs/development/python-modules/polling/default.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user