summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/github-webhook
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-16 16:39:10 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-18 11:02:23 +0200
commit060ba731b68f45231147a81e99e69cffb7d0cc38 (patch)
tree5a58dfc9c7ebf3f17dca38108fb3746314af2ece /pkgs/development/python-modules/github-webhook
parentpythonPackages.github3_py: refactor move to python-modules (diff)
downloadnixpkgs-060ba731b68f45231147a81e99e69cffb7d0cc38.tar.gz
pythonPackages.github-webhook: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/github-webhook')
-rw-r--r--pkgs/development/python-modules/github-webhook/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/github-webhook/default.nix b/pkgs/development/python-modules/github-webhook/default.nix
new file mode 100644
index 000000000000..99af2830167f
--- /dev/null
+++ b/pkgs/development/python-modules/github-webhook/default.nix
@@ -0,0 +1,28 @@
+{ stdenv
+, buildPythonPackage
+, fetchgit
+, flask
+}:
+
+buildPythonPackage rec {
+ pname = "github-webhook";
+ version = "unstable-2016-03-11";
+
+ # There is a PyPI package but an older one.
+ src = fetchgit {
+ url = "https://github.com/bloomberg/python-github-webhook.git";
+ rev = "ca1855479ee59c4373da5425dbdce08567605d49";
+ sha256 = "0mqwig9281iyzbphp1d21a4pqdrf98vs9k8lqpqx6spzgqaczx5f";
+ };
+
+ propagatedBuildInputs = [ flask ];
+ # No tests
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ description = "A framework for writing webhooks for GitHub";
+ license = licenses.mit;
+ homepage = https://github.com/bloomberg/python-github-webhook;
+ };
+
+}