aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/graphql-relay/default.nix
blob: fa6a9ec60a733c1ac3bc33edcc8c2f3bec90fff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi, graphql-core, pytestCheckHook }:

buildPythonPackage rec {
  pname = "graphql-relay";
  version = "3.0.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0mjmpf4abrxfyln0ykxq4xa6lp7xwgqr8631qp011hv0nfl6jgxd";
  };

  propagatedBuildInputs = [ graphql-core ];

  checkInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "graphql_relay" ];

  meta = with lib; {
    description = "A library to help construct a graphql-py server supporting react-relay";
    homepage = "https://github.com/graphql-python/graphql-relay-py/";
    license = licenses.mit;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}