3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.strawberry-graphql: use poetry-core

This commit is contained in:
Robert Schütz 2022-11-28 21:34:17 -08:00 committed by Robert Schütz
parent 4af24f80e9
commit 24eab6bae7

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, poetry, pythonOlder
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, poetry-core, pythonOlder
, click, backports-cached-property, graphql-core, pygments, python-dateutil, python-multipart, typing-extensions
, aiohttp, asgiref, chalice, django, fastapi, flask, pydantic, sanic, starlette, uvicorn
}:
@ -17,8 +17,16 @@ buildPythonPackage rec {
sha256 = "sha256-8ERmG10qNiYg9Zr8oUZk/Uz68sCE+oWrqmJ5kUMqbRo=";
};
patches = [
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/strawberry-graphql/strawberry/commit/710bb96f47c244e78fc54c921802bcdb48f5f421.patch";
hash = "sha256-ekUZ2hDPCqwXp9n0YjBikwSkhCmVKUzQk7LrPECcD7Y=";
})
];
nativeBuildInputs = [
poetry
poetry-core
];
propagatedBuildInputs = [