python3Packages.linkify-it-py: init at 1.0.1

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2021-05-04 00:35:58 -03:00
parent 8ffb2a6685
commit 8b94f86044
No known key found for this signature in database
GPG key ID: DA6EA2FACDB1CBD2
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, uc-micro-py
}:
buildPythonPackage rec {
pname = "linkify-it-py";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tsutsu3";
repo = pname;
rev = "v${version}";
hash = "sha256-gd51no6VqvIiW9fbCdp30zHG/us6by7FLHV2ul/XJAM=";
};
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 ];
};
}

View file

@ -3888,6 +3888,8 @@ in {
line_profiler = callPackage ../development/python-modules/line_profiler { };
linkify-it-py = callPackage ../development/python-modules/linkify-it-py { };
linode-api = callPackage ../development/python-modules/linode-api { };
linode = callPackage ../development/python-modules/linode { };