@@ -1,28 +1,25 @@
1−{ stdenv
2−, buildPythonPackage
3−, fetchgit
1+{ lib, buildPythonPackage, fetchPypi
42, flask
3+, six
54}:
65
76buildPythonPackage rec {
87 pname = "github-webhook";
9− version = "unstable-2016-03-11";
8+ version = "1.0.2";
109
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";
10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "04jdf595gv97s4br0ym8izca3i6d1nfwcrpi4s26hkvn3czz84sv";
1613 };
1714
18− propagatedBuildInputs = [ flask ];
19− # No tests
15+ propagatedBuildInputs = [ flask six ];
16+
17+ # touches network
2018 doCheck = false;
2119
22− meta = with stdenv.lib; {
20+ meta = with lib; {
2321 description = "A framework for writing webhooks for GitHub";
22+ homepage = "https://github.com/bloomberg/python-github-webhook";
2423 license = licenses.mit;
25− homepage = https://github.com/bloomberg/python-github-webhook;
2624 };
27−
2825}