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