Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 46 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ buildPythonPackage, fetchFromGitHub, lib, graphql-core, promise, fetchpatch, pytestCheckHook,}:
buildPythonPackage rec { pname = "graphql-server-core"; version = "2.0.0"; format = "setuptools";
src = fetchFromGitHub { owner = "graphql-python"; repo = "graphql-server-core"; rev = "v${version}"; sha256 = "1w3biv2za2m1brwjy0z049c2m94gm1zfwxzgc6lwrsci724jv9fr"; };
patches = [ (fetchpatch { url = "https://github.com/graphql-python/graphql-server-core/commit/865ee9d5602f352c958f6f7e15adbe9abe216784.patch"; sha256 = "03p44p4j8rys7mgamh2h9ibbnac2cqwvp5f5hrl2avj2hh0l6j46"; }) ];
propagatedBuildInputs = [ graphql-core promise ];
# fail with: cannot import name 'format_error' from 'graphql' doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Core package for using GraphQL in a custom server easily"; homepage = "https://github.com/graphql-python/graphql-server-core"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ kamadorueda ]; };}