about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/hyperlink/default.nix
blob: ad56de86782b4861176831f0a41c17f9ad8a86d0 (plain) (blame)
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 ? 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 ];
  };
}