python3Packages.yarl: fix build

This commit is contained in:
Jonathan Ringer
2020-08-16 15:38:52 -07:00
parent 71f1ac28d4
commit ab4f2ad832

View File

@@ -1,9 +1,12 @@
{ stdenv
, lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, multidict
, pytestrunner
, pytest
, typing-extensions
, idna
}:
@@ -17,7 +20,10 @@ buildPythonPackage rec {
};
checkInputs = [ pytest pytestrunner ];
propagatedBuildInputs = [ multidict idna ];
propagatedBuildInputs = [ multidict idna ]
++ lib.optionals (pythonOlder "3.8") [
typing-extensions
];
meta = with stdenv.lib; {
description = "Yet another URL library";