nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 820 B view raw
1{ 2 lib, 3 python3, 4 fetchFromGitHub, 5}: 6 7python3.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}