summary refs log tree commit diff
path: root/pkgs/development/python-modules/circuit-webhook/default.nix
blob: 895c6803142e0cd12efd3b6dbbaa687adf43f554 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
  pname = "circuit-webhook";
  version = "1.0.1";
  format = "setuptools";

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-NhePKBfzdkw7iVHmVrOxf8ZcQrb1Sq2xMIfu4P9+Ppw=";
  };

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
    "circuit_webhook"
  ];

  meta = with lib; {
    description = "Module for Unify Circuit API webhooks";
    homepage = "https://github.com/braam/unify/tree/master/circuit-webhook-python";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}