aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/black/default.nix
diff options
context:
space:
mode:
authorPhilipp Middendorf <pmidden+github@secure.mailbox.org>2019-04-03 18:09:04 +0200
committerRobert Schütz <rschuetz17@gmail.com>2019-04-03 18:09:04 +0200
commit0f8bfede94aa8caae26e80b26ab25ac315617f5c (patch)
tree9c5b962e547f397befe19c564c3b5569718a984b /pkgs/development/python-modules/black/default.nix
parentf0a6725bdce10d9fee239b182885b95958bf5a46 (diff)
python3Packages.black: add missing aiohttp-cors dependency (#58942)
The blackd daemon that's shipped with black needs aiohttp-cors and is thus currently broken.
Diffstat (limited to 'pkgs/development/python-modules/black/default.nix')
-rw-r--r--pkgs/development/python-modules/black/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/black/default.nix b/pkgs/development/python-modules/black/default.nix
index 7abc18d383e7..fc729dd399d2 100644
--- a/pkgs/development/python-modules/black/default.nix
+++ b/pkgs/development/python-modules/black/default.nix
@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
-, attrs, click, toml, appdirs, aiohttp
+, attrs, click, toml, appdirs, aiohttp, aiohttp-cors
, glibcLocales, pytest }:
buildPythonPackage rec {
@@ -23,7 +23,7 @@ buildPythonPackage rec {
--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; {
description = "The uncompromising Python code formatter";