python3Packages.strawberry-django: 0.47.1 -> 0.55.0

https://github.com/strawberry-graphql/strawberry-django/blob/v0.55.0/CHANGELOG.md
This commit is contained in:
Martin Weinelt
2025-01-27 10:57:32 +01:00
parent 3da4f090d0
commit 59bbf4df6f
@@ -2,11 +2,18 @@
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
setuptools,
# dependencies
asgiref,
django,
django-tree-queries,
strawberry-graphql,
# optional-dependencies
django-debug-toolbar,
django-choices-field,
@@ -26,14 +33,14 @@
buildPythonPackage rec {
pname = "strawberry-django";
version = "0.47.1";
version = "0.55.0";
pyproject = true;
src = fetchFromGitHub {
owner = "strawberry-graphql";
repo = "strawberry-django";
rev = "v${version}";
hash = "sha256-N7/EJ1AQ2xUJCEX6/xtyH1o/CuDzlvrUtpoDLq+H1WU=";
tag = "v${version}";
hash = "sha256-Em6GEYSdVEFkoVa+qI+xN369FOLH9hpEXeMKn9xUCac=";
};
build-system = [
@@ -44,9 +51,16 @@ buildPythonPackage rec {
dependencies = [
asgiref
django
django-tree-queries
strawberry-graphql
];
optional-dependencies = {
debug-toolbar = [ django-debug-toolbar ];
enum = [ django-choices-field ];
};
nativeCheckInputs = [
pytestCheckHook
@@ -64,15 +78,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "strawberry_django" ];
optional-dependencies = {
debug-toolbar = [ django-debug-toolbar ];
enum = [ django-choices-field ];
};
meta = {
description = "Strawberry GraphQL Django extension";
homepage = "https://github.com/strawberry-graphql/strawberry-django";
changelog = "https://github.com/strawberry-graphql/strawberry-django/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/strawberry-graphql/strawberry-django/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ minijackson ];
};