Files
2026-09-28 21:22:09 +03:00

38 lines
810 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
websockets,
}:
buildPythonPackage rec {
pname = "graphql-subscription-manager";
version = "0.7.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "PyGraphqlWebsocketManager";
tag = version;
hash = "sha256-6/REvY5QxsAPV41Pvg8vrJPYbDrGUrpOPn0vzIcCu0k=";
};
propagatedBuildInputs = [
setuptools
websockets
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "graphql_subscription_manager" ];
meta = {
description = "Python3 library for graphql subscription manager";
homepage = "https://github.com/Danielhiversen/PyGraphqlWebsocketManager";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ dotlambda ];
};
}