python3Packages.github-webhook: modernize and migrate to pyproject

This commit is contained in:
SandaruKasa
2026-05-22 17:59:29 +03:00
parent cc53fdd4f6
commit deae2ad487
@@ -4,19 +4,21 @@
fetchPypi,
flask,
six,
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "github-webhook";
version = "1.0.4";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
sha256 = "b2444dbfd03deda35792bd00ebd1692597c2605c61445da79da6322afaca7a8d";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
flask
six
];
@@ -29,4 +31,4 @@ buildPythonPackage rec {
homepage = "https://github.com/bloomberg/python-github-webhook";
license = lib.licenses.mit;
};
}
})