1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, setuptools 5, wheel 6, mock 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "polling"; 12 version = "0.3.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "justiniso"; 17 repo = "polling"; 18 rev = "v${version}"; 19 hash = "sha256-Qy2QxCWzAjZMJ6yxZiDT/80I2+rLimoG8/SYxq960Tk="; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools 24 wheel 25 ]; 26 27 pythonImportsCheck = [ 28 "polling" 29 ]; 30 31 nativeCheckInputs = [ 32 mock 33 pytestCheckHook 34 ]; 35 36 meta = with lib; { 37 description = "Powerful polling utility in Python"; 38 homepage = "https://github.com/justiniso/polling"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ ]; 41 }; 42}