depot/third_party/nixpkgs/pkgs/development/python-modules/polling/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

41 lines
705 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 = [ ];
};
}