aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/yarl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/yarl/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/yarl/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/yarl/default.nix b/nixpkgs/pkgs/development/python-modules/yarl/default.nix
index bfb09f9c1c5..3ab7fb49c43 100644
--- a/nixpkgs/pkgs/development/python-modules/yarl/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/yarl/default.nix
@@ -1,23 +1,29 @@
{ stdenv
+, lib
, fetchPypi
, buildPythonPackage
+, pythonOlder
, multidict
, pytestrunner
, pytest
+, typing-extensions
, idna
}:
buildPythonPackage rec {
pname = "yarl";
- version = "1.4.2";
+ version = "1.5.1";
src = fetchPypi {
inherit pname version;
- sha256 = "58cd9c469eced558cd81aa3f484b2924e8897049e06889e8ff2510435b7ef74b";
+ sha256 = "c22c75b5f394f3d47105045ea551e08a3e804dc7e01b37800ca35b58f856c3d6";
};
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";