Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / linkify-it-py / default.nix
blob660e3cd2d9b96d7de579b3e37a9c2d0693a60276
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.2";
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-e3k2RblqvzWSSIrJL6ib2dxFw7T5vXlN8DrCV1qEr6w=";
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   };