2019-07-09 02:38:15 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2018-10-16 20:39:10 +00:00
|
|
|
, flask
|
2019-07-09 02:38:15 +00:00
|
|
|
, six
|
2018-10-16 20:39:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "github-webhook";
|
2019-07-09 02:38:15 +00:00
|
|
|
version = "1.0.2";
|
2018-10-16 20:39:10 +00:00
|
|
|
|
2019-07-09 02:38:15 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "04jdf595gv97s4br0ym8izca3i6d1nfwcrpi4s26hkvn3czz84sv";
|
2018-10-16 20:39:10 +00:00
|
|
|
};
|
|
|
|
|
2019-07-09 02:38:15 +00:00
|
|
|
propagatedBuildInputs = [ flask six ];
|
|
|
|
|
|
|
|
# touches network
|
2018-10-16 20:39:10 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-07-09 02:38:15 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 20:39:10 +00:00
|
|
|
description = "A framework for writing webhooks for GitHub";
|
2019-07-09 02:38:15 +00:00
|
|
|
homepage = "https://github.com/bloomberg/python-github-webhook";
|
2018-10-16 20:39:10 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|