20 buildPythonPackage rec {
21 pname = "graphql-relay";
26 inherit pname version;
27 hash = "sha256-H/HFEpg1bkgaC+AJzN/ySYMs5T8wVZwTOPIqDg0XJQw=";
30 # This project doesn't seem to actually need setuptools. To find out why it
31 # specifies it, follow up in:
33 # https://github.com/graphql-python/graphql-relay-py/issues/49
36 substituteInPlace pyproject.toml \
37 --replace ', "setuptools>=59,<70"' ""
44 propagatedBuildInputs = [
46 ] ++ lib.optionals (pythonOlder "3.8") [
56 pythonImportsCheck = [ "graphql_relay" ];
59 description = "A library to help construct a graphql-py server supporting react-relay";
60 homepage = "https://github.com/graphql-python/graphql-relay-py/";
61 license = licenses.mit;
62 maintainers = with maintainers; [ ];