mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 17:23:57 +00:00
Diff: https://github.com/mirumee/ariadne/compare/0.29.0...1.0.1 Changelog: https://github.com/mirumee/ariadne/blob/1.0.1/CHANGELOG.md
68 lines
1.3 KiB
Nix
68 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
freezegun,
|
|
graphql-core,
|
|
hatchling,
|
|
httpx,
|
|
opentelemetry-api,
|
|
pytest-asyncio,
|
|
pytest-mock,
|
|
pytestCheckHook,
|
|
python-multipart,
|
|
starlette,
|
|
syrupy,
|
|
typing-extensions,
|
|
werkzeug,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "ariadne";
|
|
version = "1.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mirumee";
|
|
repo = "ariadne";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-V5/4kLdb3Apnnq91HQ3eApl1R2+pqeWhWi5Y0ULqJrI=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
graphql-core
|
|
starlette
|
|
typing-extensions
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
freezegun
|
|
httpx
|
|
opentelemetry-api
|
|
pytest-asyncio
|
|
pytest-mock
|
|
pytestCheckHook
|
|
python-multipart
|
|
syrupy
|
|
werkzeug
|
|
];
|
|
|
|
pythonImportsCheck = [ "ariadne" ];
|
|
|
|
disabledTestPaths = [
|
|
# missing graphql-sync-dataloader test dep
|
|
"tests/test_dataloaders.py"
|
|
"tests/wsgi/test_configuration.py"
|
|
];
|
|
|
|
meta = {
|
|
description = "Python library for implementing GraphQL servers using schema-first approach";
|
|
homepage = "https://ariadnegraphql.org";
|
|
changelog = "https://github.com/mirumee/ariadne/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ samuela ];
|
|
};
|
|
})
|