9405df4a82
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
21 lines
546 B
Nix
21 lines
546 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27, idna, typing ? null }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hyperlink";
|
|
version = "21.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b";
|
|
};
|
|
|
|
propagatedBuildInputs = [ idna ]
|
|
++ lib.optionals isPy27 [ typing ];
|
|
|
|
meta = with lib; {
|
|
description = "A featureful, correct URL for Python";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ apeschar ];
|
|
};
|
|
}
|