Commit 24eab6ba authored by Robert Schütz's avatar Robert Schütz Committed by Robert Schütz
Browse files

python310Packages.strawberry-graphql: use poetry-core

parent 4af24f80
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
{ 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 = [