aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/hyperlink/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/hyperlink/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/hyperlink/default.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/hyperlink/default.nix b/nixpkgs/pkgs/development/python-modules/hyperlink/default.nix
index 1fc49017821..bab7986eda2 100644
--- a/nixpkgs/pkgs/development/python-modules/hyperlink/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/hyperlink/default.nix
@@ -1,17 +1,18 @@
-{ stdenv, buildPythonPackage, fetchPypi, idna }:
+{ lib, buildPythonPackage, fetchPypi, isPy27, idna, typing }:
buildPythonPackage rec {
pname = "hyperlink";
- version = "19.0.0";
+ version = "20.0.1";
src = fetchPypi {
inherit pname version;
- sha256 = "4288e34705da077fada1111a24a0aa08bb1e76699c9ce49876af722441845654";
+ sha256 = "47fcc7cd339c6cb2444463ec3277bdcfe142c8b1daf2160bdd52248deec815af";
};
- propagatedBuildInputs = [ idna ];
+ propagatedBuildInputs = [ idna ]
+ ++ lib.optionals isPy27 [ typing ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "A featureful, correct URL for Python";
license = licenses.mit;
platforms = platforms.all;