python3Packages.black: add missing aiohttp-cors dependency (#58942)

The blackd daemon that's shipped with black needs aiohttp-cors and is thus currently broken.
This commit is contained in:
Philipp Middendorf 2019-04-03 18:09:04 +02:00 committed by Robert Schütz
parent f0a6725bdc
commit 0f8bfede94

View file

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder { stdenv, buildPythonPackage, fetchPypi, pythonOlder
, attrs, click, toml, appdirs, aiohttp , attrs, click, toml, appdirs, aiohttp, aiohttp-cors
, glibcLocales, pytest }: , glibcLocales, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
@ -23,7 +23,7 @@ buildPythonPackage rec {
--deselect tests/test_black.py::BlackTestCase::test_failed_formatting_does_not_get_cached --deselect tests/test_black.py::BlackTestCase::test_failed_formatting_does_not_get_cached
''; '';
propagatedBuildInputs = [ attrs appdirs click toml aiohttp ]; propagatedBuildInputs = [ attrs appdirs click toml aiohttp aiohttp-cors ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "The uncompromising Python code formatter"; description = "The uncompromising Python code formatter";