python3Packages.strawberry-graphql: init at 0.125.0

This commit is contained in:
Izorkin
2022-08-16 15:12:13 +03:00
parent 73ee1a3b1c
commit dd9fe97770
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{ lib, buildPythonPackage, fetchFromGitHub, poetry, pythonOlder
, click, backports-cached-property, graphql-core, pygments, python-dateutil, python-multipart, typing-extensions
, aiohttp, asgiref, chalice, django, fastapi, flask, pydantic, sanic, starlette, uvicorn
}:
buildPythonPackage rec {
pname = "strawberry-graphql";
version = "0.125.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "strawberry-graphql";
repo = "strawberry";
rev = version;
sha256 = "sha256-8ERmG10qNiYg9Zr8oUZk/Uz68sCE+oWrqmJ5kUMqbRo=";
};
nativeBuildInputs = [
poetry
];
propagatedBuildInputs = [
click backports-cached-property graphql-core pygments python-dateutil python-multipart typing-extensions
aiohttp asgiref chalice django fastapi flask pydantic sanic starlette uvicorn
];
pythonImportsCheck = [
"strawberry"
];
meta = with lib; {
description = "A GraphQL library for Python that leverages type annotations";
homepage = "https://strawberry.rocks";
license = with licenses; [ mit ];
maintainers = with maintainers; [ izorkin ];
};
}
+2
View File
@@ -10399,6 +10399,8 @@ in {
stravalib = callPackage ../development/python-modules/stravalib { };
strawberry-graphql = callPackage ../development/python-modules/strawberry-graphql { };
streamdeck = callPackage ../development/python-modules/streamdeck { };
streaming-form-data = callPackage ../development/python-modules/streaming-form-data { };