biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / linkify-it-py / default.nix
blob81296c611ca121f806297179a917f04754951401
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   uc-micro-py,
8   setuptools,
9 }:
11 buildPythonPackage rec {
12   pname = "linkify-it-py";
13   version = "2.0.3";
14   format = "pyproject";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "tsutsu3";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-BLwIityUZDVdSbvTpLf6QUlZUavWzG/45Nfffn18/vU=";
23   };
25   nativeBuildInputs = [ setuptools ];
27   propagatedBuildInputs = [ uc-micro-py ];
29   pythonImportsCheck = [ "linkify_it" ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   meta = with lib; {
34     description = "Links recognition library with full unicode support";
35     homepage = "https://github.com/tsutsu3/linkify-it-py";
36     license = licenses.mit;
37     maintainers = [ ];
38   };