summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/github-webhook/default.nix
blob: db273c082ab5b681c558c70d84427b220268342e (plain)
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,
  flask,
  six,
}:

buildPythonPackage rec {
  pname = "github-webhook";
  version = "1.0.4";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b2444dbfd03deda35792bd00ebd1692597c2605c61445da79da6322afaca7a8d";
  };

  propagatedBuildInputs = [
    flask
    six
  ];

  # touches network
  doCheck = false;

  meta = {
    description = "Framework for writing webhooks for GitHub";
    homepage = "https://github.com/bloomberg/python-github-webhook";
    license = lib.licenses.mit;
  };
}