1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 anyio, 7 asyncio-rlock, 8 asyncio-throttle, 9 ircstates, 10 async-stagger, 11 async-timeout, 12 unittestCheckHook, 13}: 14 15buildPythonPackage rec { 16 pname = "ircrobots"; 17 version = "0.7.2"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "jesopo"; 22 repo = "ircrobots"; 23 rev = "v${version}"; 24 hash = "sha256-slz4AH2Mi21N3aV+OrnoXoQsseS7arW2NuUZARQJsf0="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 pythonRelaxDeps = true; 30 31 propagatedBuildInputs = [ 32 anyio 33 asyncio-rlock 34 asyncio-throttle 35 ircstates 36 async-stagger 37 async-timeout 38 ]; 39 40 nativeCheckInputs = [ unittestCheckHook ]; 41 42 pythonImportsCheck = [ "ircrobots" ]; 43 44 meta = with lib; { 45 description = "Asynchronous bare-bones IRC bot framework for python3"; 46 license = licenses.mit; 47 homepage = "https://github.com/jesopo/ircrobots"; 48 maintainers = with maintainers; [ hexa ]; 49 }; 50}