mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
pythonPackages.graphql-relay: init at 3.0.0
This commit is contained in:
parent
74440de5ca
commit
27d9cca2be
24
pkgs/development/python-modules/graphql-relay/default.nix
Normal file
24
pkgs/development/python-modules/graphql-relay/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, graphql-core, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "graphql-relay";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mjmpf4abrxfyln0ykxq4xa6lp7xwgqr8631qp011hv0nfl6jgxd";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ graphql-core ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "graphql_relay" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library to help construct a graphql-py server supporting react-relay";
|
||||
homepage = "https://github.com/graphql-python/graphql-relay-py/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
|
@ -2673,6 +2673,8 @@ in {
|
|||
|
||||
graphql-core = callPackage ../development/python-modules/graphql-core { };
|
||||
|
||||
graphql-relay = callPackage ../development/python-modules/graphql-relay { };
|
||||
|
||||
graphql-server-core = callPackage ../development/python-modules/graphql-server-core { };
|
||||
|
||||
graph-tool = callPackage ../development/python-modules/graph-tool/2.x.x.nix { inherit (pkgs) pkg-config; };
|
||||
|
|
Loading…
Reference in a new issue