Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv
2, buildPythonPackage
3, fetchgit
4, flask
5}:
6
7buildPythonPackage rec {
8 pname = "github-webhook";
9 version = "unstable-2016-03-11";
10
11 # There is a PyPI package but an older one.
12 src = fetchgit {
13 url = "https://github.com/bloomberg/python-github-webhook.git";
14 rev = "ca1855479ee59c4373da5425dbdce08567605d49";
15 sha256 = "0mqwig9281iyzbphp1d21a4pqdrf98vs9k8lqpqx6spzgqaczx5f";
16 };
17
18 propagatedBuildInputs = [ flask ];
19 # No tests
20 doCheck = false;
21
22 meta = with stdenv.lib; {
23 description = "A framework for writing webhooks for GitHub";
24 license = licenses.mit;
25 homepage = https://github.com/bloomberg/python-github-webhook;
26 };
27
28}