Files
nixpkgs/pkgs/development/python-modules/graphql-core/default.nix
Martin Weinelt a14042fed2 python3Packages.graphql-core: 3.2.5 -> 3.2.6
https://github.com/graphql-python/graphql-core/releases/tag/v3.2.6

This commit was automatically generated using update-python-libraries.
2025-08-09 18:59:42 +02:00

50 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-benchmark,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "graphql-core";
version = "3.2.6";
pyproject = true;
src = fetchFromGitHub {
owner = "graphql-python";
repo = "graphql-core";
tag = "v${version}";
hash = "sha256-RkVyoTSVmtKhs42IK+oOrOL4uBs3As3N5KY0Sz1VaDQ=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail ', "setuptools>=59,<76"' ""
'';
build-system = [
poetry-core
];
nativeCheckInputs = [
pytest-asyncio
pytest-benchmark
pytestCheckHook
];
pytestFlags = [ "--benchmark-disable" ];
pythonImportsCheck = [ "graphql" ];
meta = with lib; {
changelog = "https://github.com/graphql-python/graphql-core/releases/tag/${src.tag}";
description = "Port of graphql-js to Python";
homepage = "https://github.com/graphql-python/graphql-core";
license = licenses.mit;
maintainers = with maintainers; [ kamadorueda ];
};
}