diff options
author | Aluísio Augusto Silva Gonçalves <aluisio@aasg.name> | 2021-05-04 00:35:58 -0300 |
---|---|---|
committer | Aluísio Augusto Silva Gonçalves <aluisio@aasg.name> | 2021-05-07 17:07:04 -0300 |
commit | 8b94f860442297eafeab81f49df2ac0db6243712 (patch) | |
tree | d38aaca32d1ddb43c4000a570e065e88b00a9d16 /pkgs/development/python-modules/linkify-it-py | |
parent | 8ffb2a668524bf8caad5ad47b6e4f588964114a8 (diff) |
python3Packages.linkify-it-py: init at 1.0.1
Diffstat (limited to 'pkgs/development/python-modules/linkify-it-py')
-rw-r--r-- | pkgs/development/python-modules/linkify-it-py/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/linkify-it-py/default.nix b/pkgs/development/python-modules/linkify-it-py/default.nix new file mode 100644 index 0000000000000..b9511bd5f35b7 --- /dev/null +++ b/pkgs/development/python-modules/linkify-it-py/default.nix @@ -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 ]; + }; +} |