lyto: init at 0.2.2

Practically unmodified from nix-init

Atemu 7fb1fdd4 854860f7

+42
+42
pkgs/by-name/ly/lyto/package.nix
··· 1 + { 2 + lib, 3 + python3, 4 + fetchFromGitHub, 5 + }: 6 + 7 + python3.pkgs.buildPythonApplication rec { 8 + pname = "lyto"; 9 + version = "0.2.2"; 10 + pyproject = true; 11 + 12 + src = fetchFromGitHub { 13 + owner = "eeriemyxi"; 14 + repo = "lyto"; 15 + tag = "v${version}"; 16 + hash = "sha256-XCAM7vo4EcbIxFddggeqABru4epE2jW2YpF++I0mpdU="; 17 + }; 18 + 19 + build-system = [ 20 + python3.pkgs.hatchling 21 + ]; 22 + 23 + dependencies = with python3.pkgs; [ 24 + qrcode 25 + rich 26 + sixel 27 + zeroconf 28 + ]; 29 + 30 + pythonImportsCheck = [ 31 + "lyto" 32 + ]; 33 + 34 + meta = { 35 + description = "Automatic wireless ADB connection using QR codes"; 36 + homepage = "https://github.com/eeriemyxi/lyto"; 37 + changelog = "https://github.com/eeriemyxi/lyto/releases/tag/v${version}"; 38 + license = lib.licenses.mit; 39 + maintainers = with lib.maintainers; [ atemu ]; 40 + mainProgram = "lyto"; 41 + }; 42 + }