about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hyperlink/default.nix
blob: 579cfb065fa6c3834225badfc98d31474eb19723 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  buildPythonPackage,
  fetchPypi,
  isPy27,
  idna,
  typing ? null,
}:

buildPythonPackage rec {
  pname = "hyperlink";
  version = "21.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0sx50lkivsfjxx9zr4yh7l9gll2l9kvl0v0w8w4wk2x5v9bzjyj2";
  };

  propagatedBuildInputs = [ idna ] ++ lib.optionals isPy27 [ typing ];

  meta = with lib; {
    description = "Featureful, correct URL for Python";
    homepage = "https://github.com/python-hyper/hyperlink";
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = with maintainers; [ apeschar ];
  };
}