1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytest-asyncio, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9 setuptools-scm, 10}: 11 12buildPythonPackage rec { 13 pname = "aioapcaccess"; 14 version = "1.0.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchFromGitHub { 20 owner = "yuxincs"; 21 repo = "aioapcaccess"; 22 tag = "v${version}"; 23 hash = "sha256-gCi0vo4w3jr4w5neQS9v821rdfE+SqnUkrOrEQUET7E="; 24 }; 25 26 build-system = [ 27 setuptools 28 setuptools-scm 29 ]; 30 31 nativeCheckInputs = [ 32 pytest-asyncio 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "aioapcaccess" ]; 37 38 meta = with lib; { 39 description = "Module for working with apcaccess"; 40 homepage = "https://github.com/yuxincs/aioapcaccess"; 41 changelog = "https://github.com/yuxincs/aioapcaccess/releases/tag/${src.tag}"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}