about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/uc-micro-py/default.nix
blob: 9b20e2251165c4ed0e8dccd2aba1187bc2f64c53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 ];
  };
}