blob: e12d71836f18028d904457ea564ae198875177f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ buildPythonPackage
, fetchFromGitHub
, lib
, black
, graphql-core
, promise
}:
buildPythonPackage rec {
pname = "graphql-server-core";
version = "1.2.0";
src = fetchFromGitHub {
owner = "graphql-python";
repo = pname;
rev = "v${version}";
sha256 = "123q3xziv0s22h10v3f5slirf4b6nxj0hnmarwx9vws6x21bgrgh";
};
propagatedBuildInputs = [
graphql-core
promise
];
checkPhase = "black --check graphql_server tests";
checkInputs = [
black
];
meta = with lib; {
description = "Core package for using GraphQL in a custom server easily";
homepage = "https://github.com/graphql-python/graphql-server-core";
license = licenses.mit;
maintainers = with maintainers; [
kamadorueda
];
};
}
|