3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.graphql-subscription-manager: init at 0.4.0

This commit is contained in:
Robert Schütz 2021-06-15 14:59:00 +02:00
parent 14a592b54b
commit 6deaecd116
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, websockets
}:
buildPythonPackage rec {
pname = "graphql-subscription-manager";
version = "0.4.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "PyGraphqlWebsocketManager";
rev = version;
sha256 = "1176xzr9fa7gl5cm0pcv5lb45d2ms5awi601rjcr3a0a14a1i8fz";
};
propagatedBuildInputs = [
setuptools
websockets
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "graphql_subscription_manager" ];
meta = with lib; {
description = "Python3 library for graphql subscription manager";
homepage = "https://github.com/Danielhiversen/PyGraphqlWebsocketManager";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -3015,6 +3015,8 @@ in {
graphql-server-core = callPackage ../development/python-modules/graphql-server-core { };
graphql-subscription-manager = callPackage ../development/python-modules/graphql-subscription-manager { };
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { };
graphtage = callPackage ../development/python-modules/graphtage { };