depot/third_party/nixpkgs/pkgs/development/python-modules/uc-micro-py/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

31 lines
705 B
Nix

{ 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=";
};
nativeCheckInputs = [ 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 ];
};
}