My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/linkify-it-py/default.nix

34 lines
764 B

{ 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 ];
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 ];
};
}