My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/graphql-subscription-manager/default.nix

41 lines
868 B

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, websockets
}:
buildPythonPackage rec {
pname = "graphql-subscription-manager";
version = "0.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "PyGraphqlWebsocketManager";
rev = "refs/tags/${version}";
hash = "sha256-5+KHPm/JuazObvuC2ip6hwQxvjJH/lDgukJMH49cuwg=";
};
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 ];
};
}