about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/graphql-core/default.nix
blob: 5c29a1135a9be15429a9f284363cba95c30c5697 (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
, pythonOlder

, coveralls
, promise
, pytestCheckHook
, pytest-benchmark
, pytest-mock
, rx
, six
}:

buildPythonPackage rec {
  pname = "graphql-core";
  version = "3.1.3";
  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "graphql-python";
    repo = pname;
    rev = "v${version}";
    sha256 = "0qy1i6vffwad74ymdsh1qjf5b6ph4z0vyxzkkc6yppwczhzmi1ps";
  };

  checkInputs = [
    pytest-benchmark
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Port of graphql-js to Python";
    homepage = "https://github.com/graphql-python/graphql-core";
    license = licenses.mit;
    maintainers = with maintainers; [
      kamadorueda
    ];
  };
}