python3Packages.yarl: fix build
This commit is contained in:
parent
71f1ac28d4
commit
ab4f2ad832
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user