1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "circuit-webhook"; 9 version = "1.0.1"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.8"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-NhePKBfzdkw7iVHmVrOxf8ZcQrb1Sq2xMIfu4P9+Ppw="; 17 }; 18 19 # Module has no tests 20 doCheck = false; 21 22 pythonImportsCheck = [ 23 "circuit_webhook" 24 ]; 25 26 meta = with lib; { 27 description = "Module for Unify Circuit API webhooks"; 28 homepage = "https://github.com/braam/unify/tree/master/circuit-webhook-python"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}