diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-07-08 19:38:15 -0700 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-07-13 12:49:37 -0400 |
commit | f1a20e372a5d0313f6f0044253d3ce1013e74429 (patch) | |
tree | 7ed867bc899338f1025f2b95af3cd589c5fe3744 /pkgs/development/python-modules/github-webhook | |
parent | 38c7c5d3229c67a7aaff984eb92e1f0912351ef9 (diff) |
pythonPackages.github-webhook: unstable-2016-03-11 -> 1.0.2
Diffstat (limited to 'pkgs/development/python-modules/github-webhook')
-rw-r--r-- | pkgs/development/python-modules/github-webhook/default.nix | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/github-webhook/default.nix b/pkgs/development/python-modules/github-webhook/default.nix index 99af2830167ff..c9814b94d8244 100644 --- a/pkgs/development/python-modules/github-webhook/default.nix +++ b/pkgs/development/python-modules/github-webhook/default.nix @@ -1,28 +1,25 @@ -{ stdenv -, buildPythonPackage -, fetchgit +{ lib, buildPythonPackage, fetchPypi , flask +, six }: buildPythonPackage rec { pname = "github-webhook"; - version = "unstable-2016-03-11"; + version = "1.0.2"; - # There is a PyPI package but an older one. - src = fetchgit { - url = "https://github.com/bloomberg/python-github-webhook.git"; - rev = "ca1855479ee59c4373da5425dbdce08567605d49"; - sha256 = "0mqwig9281iyzbphp1d21a4pqdrf98vs9k8lqpqx6spzgqaczx5f"; + src = fetchPypi { + inherit pname version; + sha256 = "04jdf595gv97s4br0ym8izca3i6d1nfwcrpi4s26hkvn3czz84sv"; }; - propagatedBuildInputs = [ flask ]; - # No tests + propagatedBuildInputs = [ flask six ]; + + # touches network doCheck = false; - meta = with stdenv.lib; { + meta = with lib; { description = "A framework for writing webhooks for GitHub"; + homepage = "https://github.com/bloomberg/python-github-webhook"; license = licenses.mit; - homepage = https://github.com/bloomberg/python-github-webhook; }; - } |