python3Packages.graphql-relay: 3.0.0 -> 3.1.0

This commit is contained in:
Fabian Affolter 2021-02-27 12:46:38 +01:00 committed by Jonathan Ringer
parent d60f67d486
commit afc28939f7

View file

@ -1,17 +1,32 @@
{ lib, buildPythonPackage, fetchPypi, graphql-core, pytestCheckHook }:
{ lib
, buildPythonPackage
, fetchPypi
, graphql-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "graphql-relay";
version = "3.0.0";
version = "3.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0mjmpf4abrxfyln0ykxq4xa6lp7xwgqr8631qp011hv0nfl6jgxd";
sha256 = "sha256-cNWn7lmV6nwqmjflEidmOxpGTx9A6Y/d6VC+VBXf4LQ=";
};
propagatedBuildInputs = [ graphql-core ];
propagatedBuildInputs = [
graphql-core
] ++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "graphql_relay" ];