pythonPackages.starlette: 0.13.8 -> 0.14.1
This commit is contained in:
parent
bf117cc44a
commit
02611868a4
@ -2,33 +2,34 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, isPy27
|
||||||
, aiofiles
|
, aiofiles
|
||||||
, graphene
|
, graphene
|
||||||
, itsdangerous
|
, itsdangerous
|
||||||
, jinja2
|
, jinja2
|
||||||
|
, python-multipart
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, requests
|
, requests
|
||||||
, ujson
|
|
||||||
, python-multipart
|
|
||||||
, pytest
|
|
||||||
, uvicorn
|
|
||||||
, isPy27
|
|
||||||
, darwin
|
|
||||||
, databases
|
|
||||||
, aiosqlite
|
, aiosqlite
|
||||||
|
, databases
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-asyncio
|
||||||
|
, pytestcov
|
||||||
|
, typing-extensions
|
||||||
|
, ApplicationServices
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "starlette";
|
pname = "starlette";
|
||||||
|
|
||||||
version = "0.13.8";
|
version = "0.14.1";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "encode";
|
owner = "encode";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "11i0yd8cqwscixajl734g11vf8pghki11c81chzfh8ifmj6mf9jk";
|
sha256 = "0s0zl0ylxc5d9666zkvbwqfhngvjd79al1y69k674i0pkq2zg50j";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -36,22 +37,21 @@ buildPythonPackage rec {
|
|||||||
graphene
|
graphene
|
||||||
itsdangerous
|
itsdangerous
|
||||||
jinja2
|
jinja2
|
||||||
|
python-multipart
|
||||||
pyyaml
|
pyyaml
|
||||||
requests
|
requests
|
||||||
ujson
|
] ++ lib.optional stdenv.isDarwin [ ApplicationServices ];
|
||||||
uvicorn
|
|
||||||
python-multipart
|
|
||||||
databases
|
|
||||||
] ++ stdenv.lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.ApplicationServices ];
|
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
|
||||||
aiosqlite
|
aiosqlite
|
||||||
|
databases
|
||||||
|
graphene
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
pytestcov
|
||||||
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
pytest --ignore=tests/test_graphql.py
|
|
||||||
'';
|
|
||||||
pythonImportsCheck = [ "starlette" ];
|
pythonImportsCheck = [ "starlette" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user