depot/third_party/nixpkgs/pkgs/development/python-modules/github-webhook/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
578 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flask,
six,
}:
buildPythonPackage rec {
pname = "github-webhook";
version = "1.0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b2444dbfd03deda35792bd00ebd1692597c2605c61445da79da6322afaca7a8d";
};
propagatedBuildInputs = [
flask
six
];
# touches network
doCheck = false;
meta = with lib; {
description = "Framework for writing webhooks for GitHub";
homepage = "https://github.com/bloomberg/python-github-webhook";
license = licenses.mit;
};
}