aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/hyperlink/default.nix
blob: bab7986eda22307cc1b4e13ca0a5ef42dbc761a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, buildPythonPackage, fetchPypi, isPy27, idna, typing }:

buildPythonPackage rec {
  pname = "hyperlink";
  version = "20.0.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "47fcc7cd339c6cb2444463ec3277bdcfe142c8b1daf2160bdd52248deec815af";
  };

  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 ];
  };
}