1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchFromGitHub,
6 setuptools,
7 websockets,
8}:
9
10buildPythonPackage rec {
11 pname = "graphql-subscription-manager";
12 version = "0.7.1";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchFromGitHub {
18 owner = "Danielhiversen";
19 repo = "PyGraphqlWebsocketManager";
20 tag = version;
21 hash = "sha256-6/REvY5QxsAPV41Pvg8vrJPYbDrGUrpOPn0vzIcCu0k=";
22 };
23
24 propagatedBuildInputs = [
25 setuptools
26 websockets
27 ];
28
29 # no tests implemented
30 doCheck = false;
31
32 pythonImportsCheck = [ "graphql_subscription_manager" ];
33
34 meta = with lib; {
35 description = "Python3 library for graphql subscription manager";
36 homepage = "https://github.com/Danielhiversen/PyGraphqlWebsocketManager";
37 license = licenses.mit;
38 maintainers = with maintainers; [ dotlambda ];
39 };
40}