Files

43 lines
893 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pkg-resources-backport,
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=";
};
nativeBuildInputs = [
pkg-resources-backport
setuptools
];
propagatedBuildInputs = [
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 ];
};
}