attyx: init at 0.2.47

This commit is contained in:
sophronesis
2026-03-23 14:04:20 +01:00
parent d047ec7b82
commit 9feb2a0ed0
2 changed files with 80 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# generated by zon2nix (https://github.com/nix-community/zon2nix)
{
linkFarm,
fetchzip,
fetchgit,
}:
linkFarm "zig-packages" [
{
name = "toml-0.3.2-YDcxkrdYAQB8b9k1q_sp51jt2ymgGLmOX_BD4kQi53Eo";
path = fetchgit {
url = "https://github.com/lepton9/zig-toml";
rev = "8a9b79dde56ac1fc38960ed9c482efb9ff88a6a8";
hash = "sha256-LAE/l049Bvh3VKT7XrTYEdj+Ekg3JWO2op37ec58sFU=";
};
}
]
+62
View File
@@ -0,0 +1,62 @@
{
lib,
stdenv,
fetchFromGitHub,
callPackage,
pkg-config,
zig,
fontconfig,
freetype,
glfw,
libGL,
libx11,
libxcursor,
libxi,
libxrandr,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "attyx";
version = "0.2.47";
src = fetchFromGitHub {
owner = "semos-labs";
repo = "attyx";
tag = "v${finalAttrs.version}";
hash = "sha256-fREiPiBTzzJtFEPWOISiZ/BI5lZmPyn80oAXohEEGig=";
};
deps = callPackage ./build.zig.zon.nix { };
nativeBuildInputs = [
pkg-config
zig
];
buildInputs = [
fontconfig
freetype
glfw
libGL
libx11
libxcursor
libxi
libxrandr
];
zigBuildFlags = [
"--system"
"${finalAttrs.deps}"
];
meta = {
description = "Fast GPU-accelerated terminal emulator built with Zig";
homepage = "https://github.com/semos-labs/attyx";
changelog = "https://github.com/semos-labs/attyx/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sophronesis ];
mainProgram = "attyx";
platforms = lib.platforms.linux;
};
})