pythonPackages.graphql-server-core: init at 1.2.0
This commit is contained in:
parent
58dac999c2
commit
c6f75c74df
@ -0,0 +1,40 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
|
||||
, black
|
||||
, graphql-core
|
||||
, promise
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "graphql-server-core";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "graphql-python";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "123q3xziv0s22h10v3f5slirf4b6nxj0hnmarwx9vws6x21bgrgh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
graphql-core
|
||||
promise
|
||||
];
|
||||
|
||||
checkPhase = "black --check graphql_server tests";
|
||||
|
||||
checkInputs = [
|
||||
black
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Core package for using GraphQL in a custom server easily";
|
||||
homepage = "https://github.com/graphql-python/graphql-server-core";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
kamadorueda
|
||||
];
|
||||
};
|
||||
}
|
@ -3819,6 +3819,8 @@ in {
|
||||
|
||||
graphql-core = callPackage ../development/python-modules/graphql-core { };
|
||||
|
||||
graphql-server-core = callPackage ../development/python-modules/graphql-server-core { };
|
||||
|
||||
grammalecte = callPackage ../development/python-modules/grammalecte { };
|
||||
|
||||
greenlet = callPackage ../development/python-modules/greenlet { };
|
||||
|
Loading…
Reference in New Issue
Block a user