Merge pull request #202438 from samuela/samuela/ariadne
python3Packages.ariadne: init at 0.16.1
This commit is contained in:
commit
e8fc4ba294
2 changed files with 47 additions and 0 deletions
45
pkgs/development/python-modules/ariadne/default.nix
Normal file
45
pkgs/development/python-modules/ariadne/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -578,6 +578,8 @@ self: super: with self; {
|
|||
|
||||
aria2p = callPackage ../development/python-modules/aria2p { };
|
||||
|
||||
ariadne = callPackage ../development/python-modules/ariadne { };
|
||||
|
||||
arnparse = callPackage ../development/python-modules/arnparse { };
|
||||
|
||||
arrayqueues = callPackage ../development/python-modules/arrayqueues { };
|
||||
|
|
Loading…
Reference in a new issue