Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / hyperlink / default.nix
blob1b617cf1b7c9e92303eed3cad1291259830a6e6c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy27
5 , idna
6 , typing ? null
7 }:
9 buildPythonPackage rec {
10   pname = "hyperlink";
11   version = "21.0.0";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "0sx50lkivsfjxx9zr4yh7l9gll2l9kvl0v0w8w4wk2x5v9bzjyj2";
17   };
19   propagatedBuildInputs = [ idna ]
20     ++ lib.optionals isPy27 [ typing ];
22   meta = with lib; {
23     description = "A featureful, correct URL for Python";
24     homepage = "https://github.com/python-hyper/hyperlink";
25     license = licenses.mit;
26     platforms = platforms.all;
27     maintainers = with maintainers; [ apeschar ];
28   };