Merge pull request #202438 from samuela/samuela/ariadne

python3Packages.ariadne: init at 0.16.1
This commit is contained in:
Samuel Ainsworth 2022-11-24 11:07:19 -08:00 committed by GitHub
commit e8fc4ba294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ buildPythonPackage
, fetchFromGitHub
, freezegun
, graphql-core
, lib
, opentracing
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, snapshottest
, starlette
, typing-extensions
, werkzeug
}:
buildPythonPackage rec {
pname = "ariadne";
version = "0.16.1";
src = fetchFromGitHub {
owner = "mirumee";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-HiIg+80vaMzQdqF2JKzP7oZzfpqSTrumXmUHGLT/wF8=";
};
propagatedBuildInputs = [ graphql-core starlette typing-extensions ];
checkInputs = [
freezegun
opentracing
pytest-asyncio
pytest-mock
pytestCheckHook
snapshottest
werkzeug
];
meta = with lib; {
description = "Python library for implementing GraphQL servers using schema-first approach";
homepage = "https://ariadnegraphql.org";
license = licenses.bsd3;
maintainers = with maintainers; [ samuela ];
};
}

View file

@ -578,6 +578,8 @@ self: super: with self; {
aria2p = callPackage ../development/python-modules/aria2p { }; aria2p = callPackage ../development/python-modules/aria2p { };
ariadne = callPackage ../development/python-modules/ariadne { };
arnparse = callPackage ../development/python-modules/arnparse { }; arnparse = callPackage ../development/python-modules/arnparse { };
arrayqueues = callPackage ../development/python-modules/arrayqueues { }; arrayqueues = callPackage ../development/python-modules/arrayqueues { };