lyto: init at 0.2.2 (#389520)

This commit is contained in:
Aleksana
2025-04-17 16:15:01 +08:00
committed by GitHub
3 changed files with 84 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "lyto";
version = "0.2.2";
pyproject = true;
src = fetchFromGitHub {
owner = "eeriemyxi";
repo = "lyto";
tag = "v${version}";
hash = "sha256-XCAM7vo4EcbIxFddggeqABru4epE2jW2YpF++I0mpdU=";
};
build-system = [
python3.pkgs.hatchling
];
dependencies = with python3.pkgs; [
qrcode
rich
sixel
zeroconf
];
pythonImportsCheck = [
"lyto"
];
meta = {
description = "Automatic wireless ADB connection using QR codes";
homepage = "https://github.com/eeriemyxi/lyto";
changelog = "https://github.com/eeriemyxi/lyto/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ atemu ];
mainProgram = "lyto";
};
}
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pillow,
}:
buildPythonPackage rec {
pname = "python-sixel";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "lubosz";
repo = "python-sixel";
tag = version;
hash = "sha256-ALNdwuZIMS2oWO42LpjgIpAxcQh4Gk35nCwenINLQ64=";
};
build-system = [
hatchling
];
dependencies = [
pillow
];
pythonImportsCheck = [
"sixel"
];
meta = {
description = "Display images in the terminal";
homepage = "https://github.com/lubosz/python-sixel";
changelog = "https://github.com/lubosz/python-sixel/releases/tag/${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ atemu ];
};
}
+2
View File
@@ -15818,6 +15818,8 @@ self: super: with self; {
six = callPackage ../development/python-modules/six { };
sixel = callPackage ../development/python-modules/sixel { };
sjcl = callPackage ../development/python-modules/sjcl { };
skein = callPackage ../development/python-modules/skein { };