2020-08-17 03:12:51 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27, idna, typing }:
|
2017-11-09 11:26:09 +00:00
|
|
|
|
2017-08-15 08:44:28 +01:00
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "hyperlink";
|
2020-08-16 18:31:03 +01:00
|
|
|
version = "20.0.1";
|
2017-08-15 08:44:28 +01:00
|
|
|
|
2018-02-26 20:00:28 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-16 18:31:03 +01:00
|
|
|
sha256 = "47fcc7cd339c6cb2444463ec3277bdcfe142c8b1daf2160bdd52248deec815af";
|
2017-08-15 08:44:28 +01:00
|
|
|
};
|
|
|
|
|
2020-08-17 03:12:51 +01:00
|
|
|
propagatedBuildInputs = [ idna ]
|
|
|
|
++ lib.optionals isPy27 [ typing ];
|
2018-02-26 19:59:21 +00:00
|
|
|
|
2020-08-17 03:12:51 +01:00
|
|
|
meta = with lib; {
|
2017-08-15 08:44:28 +01:00
|
|
|
description = "A featureful, correct URL for Python";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ apeschar ];
|
|
|
|
};
|
|
|
|
}
|