python3Packages.uc-micro-py: init at 1.0.1

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

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "uc-micro-py";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "tsutsu3";
repo = "uc.micro-py";
rev = "v${version}";
hash = "sha256-23mKwoRGjtxpCOC26V8bAN5QEHLDOoSqPeTlUuIrxZ0=";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "uc_micro" ];
meta = with lib; {
description = "Micro subset of unicode data files for linkify-it-py";
homepage = "https://github.com/tsutsu3/uc.micro-py";
license = licenses.mit;
maintainers = with maintainers; [ AluisioASG ];
};
}

View file

@ -8302,6 +8302,8 @@ in {
uarray = callPackage ../development/python-modules/uarray { };
uc-micro-py = callPackage ../development/python-modules/uc-micro-py { };
ueberzug = callPackage ../development/python-modules/ueberzug {
inherit (pkgs.xorg) libX11 libXext;
};