depot/third_party/nixpkgs/pkgs/development/python-modules/hyperlink/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

29 lines
624 B
Nix

{ 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 = "A featureful, correct URL for Python";
homepage = "https://github.com/python-hyper/hyperlink";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ apeschar ];
};
}