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