1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 python-dateutil, 7 attrs, 8 anyio, 9}: 10 11buildPythonPackage rec { 12 pname = "semaphore-bot"; 13 version = "0.17.0"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit version pname; 18 hash = "sha256-3zb6+HdOB6+YrVRcmIHsokFKUOlFmKCoVNllvM+aOXQ="; 19 }; 20 21 pythonRelaxDeps = [ 22 "anyio" 23 "attrs" 24 "python_dateutil" 25 ]; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 anyio 31 attrs 32 python-dateutil 33 ]; 34 35 # Upstream has no tests 36 doCheck = false; 37 38 pythonImportsCheck = [ "semaphore" ]; 39 40 meta = with lib; { 41 description = "Simple rule-based bot library for Signal Private Messenger"; 42 homepage = "https://github.com/lwesterhof/semaphore"; 43 license = with licenses; [ agpl3Plus ]; 44 maintainers = with maintainers; [ onny ]; 45 }; 46}