python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / uc-micro-py / default.nix
blob40f6db04b0a0e797ab86b8c0071e0c328be53c0a
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "uc-micro-py";
12   version = "1.0.3";
13   format = "pyproject";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "tsutsu3";
19     repo = "uc.micro-py";
20     tag = "v${version}";
21     hash = "sha256-Z7XHWeV5I/y19EKg4lzcl9pwRexWnSQ7d8CpQu5xdnI=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   pythonImportsCheck = [ "uc_micro" ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   meta = with lib; {
31     description = "Micro subset of unicode data files for linkify-it-py";
32     homepage = "https://github.com/tsutsu3/uc.micro-py";
33     license = licenses.mit;
34     maintainers = [ ];
35   };