Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / linkify-it-py / default.nix
blobf539303a5933265fdeea43a46af634f99c626f43
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , pytestCheckHook
6 , uc-micro-py
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "linkify-it-py";
12   version = "2.0.3";
13   format = "pyproject";
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "tsutsu3";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-BLwIityUZDVdSbvTpLf6QUlZUavWzG/45Nfffn18/vU=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   propagatedBuildInputs = [
29     uc-micro-py
30   ];
32   pythonImportsCheck = [
33     "linkify_it"
34   ];
36   nativeCheckInputs = [
37     pytestCheckHook
38   ];
40   meta = with lib; {
41     description = "Links recognition library with full unicode support";
42     homepage = "https://github.com/tsutsu3/linkify-it-py";
43     license = licenses.mit;
44     maintainers = with maintainers; [ AluisioASG ];
45   };