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