Merge pull request #328092 from r-ryantm/auto-update/python312Packages.django-debug-toolbar

python312Packages.django-debug-toolbar: 4.4.2 -> 4.4.6
This commit is contained in:
Sandro 2024-08-01 00:13:32 +02:00 committed by GitHub
commit e5d6012030
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 5 deletions

View File

@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "django-debug-toolbar";
version = "4.4.2";
version = "4.4.6";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "jazzband";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-ZfGDXyrHwlFpeGK1QTD4nlGWdbEK7+hurOVkAAp/LyA=";
hash = "sha256-eLC3GnhYuEunKkKXNMtaFCqjyf8rn5cTkjL7Ep4Qp3c=";
};
nativeBuildInputs = [ hatchling ];

View File

@ -3,6 +3,7 @@
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
fetchpatch,
# build-system
poetry-core,
@ -20,7 +21,7 @@
buildPythonPackage rec {
pname = "django-graphiql-debug-toolbar";
version = "0.2.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
@ -30,9 +31,18 @@ buildPythonPackage rec {
sha256 = "0fikr7xl786jqfkjdifymqpqnxy4qj8g3nlkgfm24wwq0za719dw";
};
nativeBuildInputs = [ poetry-core ];
patches = [
# Add compatibility for py-django-debug-toolbar >= 4.4.6
# https://github.com/flavors/django-graphiql-debug-toolbar/pull/27
(fetchpatch {
url = "https://github.com/flavors/django-graphiql-debug-toolbar/commit/2b42fdb1bc40109d9bb0ae1fb4d2163d13904724.patch";
hash = "sha256-ywTLqXlAxA2DCacrJOqmB7jSzfpeuGTX2ETu0fKmhq4=";
})
];
propagatedBuildInputs = [
build-system = [ poetry-core ];
dependencies = [
django
django-debug-toolbar
graphene-django