mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 04:13:01 +00:00
python310Packages.uvicorn: 0.20.0 -> 0.23.1
This commit is contained in:
parent
39f9cc8ded
commit
802e5ab6f1
@ -17,8 +17,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uvicorn";
|
||||
version = "0.20.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
version = "0.23.1";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "encode";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-yca6JI3/aqdZF7SxFeYr84GOeQnLBmbm1dIXjngX9Ng=";
|
||||
hash = "sha256-X/G6K0X4G1EsMIBpvqy62zZ++8paTHNqgYLi+B7YK+0=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@ -39,7 +39,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
h11
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
|
@ -1,12 +1,10 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, asgiref
|
||||
, a2wsgi
|
||||
, uvicorn
|
||||
, httpx
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pytest-mock
|
||||
, requests
|
||||
, trustme
|
||||
, watchgod
|
||||
, wsproto
|
||||
@ -23,16 +21,14 @@ buildPythonPackage {
|
||||
dontInstall = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
asgiref
|
||||
uvicorn
|
||||
httpx
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
requests
|
||||
trustme
|
||||
|
||||
# strictly optional dependencies
|
||||
a2wsgi
|
||||
watchgod
|
||||
wsproto
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user