Files
nixpkgs/pkgs/development/python-modules/polling/default.nix
T
Martin Weinelt 3bfa033e57 python311Packages.polling: init at 0.3.0
Packaged for linode-api.
2023-09-27 15:34:47 +02:00

43 lines
719 B
Nix

{ 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; [ ];
};
}