3cbfd2b52c
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
34 lines
754 B
Nix
34 lines
754 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
, uc-micro-py
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "linkify-it-py";
|
|
version = "1.0.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tsutsu3";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-i48B5qNufuhGp9a/46rWRgPawYkMA0ryRSyR+JhUmmw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ uc-micro-py ];
|
|
|
|
checkInputs = [ 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 ];
|
|
};
|
|
}
|