python3Packages.yarl: fix build

This commit is contained in:
Jonathan Ringer 2020-08-16 15:38:52 -07:00
parent 71f1ac28d4
commit ab4f2ad832
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

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