Revert "python311Packages.gql: 3.4.1 -> 3.6.0b0"
This commit is contained in:
parent
ec9f051a48
commit
6d06165273
@ -1,13 +1,11 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, aiofiles
|
, aiofiles
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, anyio
|
|
||||||
, backoff
|
, backoff
|
||||||
, botocore
|
, botocore
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, graphql-core
|
, graphql-core
|
||||||
, httpx
|
|
||||||
, mock
|
, mock
|
||||||
, parse
|
, parse
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
@ -16,7 +14,6 @@
|
|||||||
, pythonOlder
|
, pythonOlder
|
||||||
, requests
|
, requests
|
||||||
, requests-toolbelt
|
, requests-toolbelt
|
||||||
, setuptools
|
|
||||||
, urllib3
|
, urllib3
|
||||||
, vcrpy
|
, vcrpy
|
||||||
, websockets
|
, websockets
|
||||||
@ -25,26 +22,25 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gql";
|
pname = "gql";
|
||||||
version = "3.6.0b0";
|
version = "3.4.1";
|
||||||
pyproject = true;
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "graphql-python";
|
owner = "graphql-python";
|
||||||
repo = "gql";
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-yX6NbtGxBa3lL/bS3j2ouTPku6a4obqNGx1xRzx+Skk=";
|
hash = "sha256-/uPaRju2AJCjMCfA29IKQ4Hu71RBu/Yz8jHwk9EE1Eg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace \
|
||||||
nativeBuildInputs = [
|
"websockets>=10,<11;python_version>'3.6'" \
|
||||||
setuptools
|
"websockets>=10,<12;python_version>'3.6'"
|
||||||
];
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
anyio
|
|
||||||
backoff
|
backoff
|
||||||
graphql-core
|
graphql-core
|
||||||
yarl
|
yarl
|
||||||
@ -64,7 +60,6 @@ buildPythonPackage rec {
|
|||||||
all = [
|
all = [
|
||||||
aiohttp
|
aiohttp
|
||||||
botocore
|
botocore
|
||||||
httpx
|
|
||||||
requests
|
requests
|
||||||
requests-toolbelt
|
requests-toolbelt
|
||||||
urllib3
|
urllib3
|
||||||
@ -73,9 +68,6 @@ buildPythonPackage rec {
|
|||||||
aiohttp = [
|
aiohttp = [
|
||||||
aiohttp
|
aiohttp
|
||||||
];
|
];
|
||||||
httpx = [
|
|
||||||
httpx
|
|
||||||
];
|
|
||||||
requests = [
|
requests = [
|
||||||
requests
|
requests
|
||||||
requests-toolbelt
|
requests-toolbelt
|
||||||
|
Loading…
Reference in New Issue
Block a user