mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-07 14:00:59 +03:00
aiohttp-cors: 0.6.0 -> 0.7.0
Upstream removed support for Python 3.4 [0][1] (and the build fails). [0]: https://github.com/aio-libs/aiohttp-cors/releases/tag/v0.7.0 [1]: https://github.com/aio-libs/aiohttp/releases/tag/v3.0.1
This commit is contained in:
parent
25473a61ae
commit
fa051cdd0a
@ -1,20 +1,24 @@
|
|||||||
{lib, stdenv, buildPythonPackage, fetchPypi, pythonOlder, typing, aiohttp }:
|
{ lib, stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
||||||
|
, typing, aiohttp
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiohttp-cors";
|
pname = "aiohttp-cors";
|
||||||
version = "0.6.0";
|
version = "0.7.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1r0mb4dw0dc1lpi54dk5vxqs06nyhvagp76lyrvk7rd94z5mjkd4";
|
sha256 = "0pczn54bqd32v8zhfbjfybiza6xh1szwxy6as577dn8g23bwcfad";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Requires network access
|
disabled = pythonOlder "3.5";
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ aiohttp ]
|
propagatedBuildInputs = [ aiohttp ]
|
||||||
++ lib.optional (pythonOlder "3.5") typing;
|
++ lib.optional (pythonOlder "3.5") typing;
|
||||||
|
|
||||||
|
# Requires network access
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CORS support for aiohttp";
|
description = "CORS support for aiohttp";
|
||||||
homepage = "https://github.com/aio-libs/aiohttp-cors";
|
homepage = "https://github.com/aio-libs/aiohttp-cors";
|
||||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "7aee5c0750584946fde40da70f0b28fe769f85182f1171acef18a35fd8ecd221";
|
sha256 = "7aee5c0750584946fde40da70f0b28fe769f85182f1171acef18a35fd8ecd221";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = pythonOlder "3.4";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
checkInputs = [ pytest gunicorn pytest-mock ];
|
checkInputs = [ pytest gunicorn pytest-mock ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user