depot/third_party/nixpkgs/pkgs/development/python-modules/polling/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
723 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 = "https://github.com/justiniso/polling";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}