depot/third_party/nixpkgs/pkgs/development/python-modules/linkify-it-py/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

34 lines
770 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, uc-micro-py
}:
buildPythonPackage rec {
pname = "linkify-it-py";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tsutsu3";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-3bgkhIC6tHl5zieiyllvqFCKwLms55m8MGt1xGhQ4Dk=";
};
propagatedBuildInputs = [ uc-micro-py ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "linkify_it" ];
meta = with lib; {
description = "Links recognition library with full unicode support";
homepage = "https://github.com/tsutsu3/linkify-it-py";
license = licenses.mit;
maintainers = with maintainers; [ AluisioASG ];
};
}