Files
sophronesis 5a42090885 python313Packages.hyprland-socket: init at 0.12.2
Assisted-by: Claude Code (claude-opus-5)
Assisted-by: Claude Code (claude-fable-5)
2026-08-16 16:58:53 +02:00

36 lines
889 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "hyprland-socket";
version = "0.12.2";
pyproject = true;
src = fetchFromGitHub {
owner = "BlueManCZ";
repo = "hyprland-socket";
tag = "v${finalAttrs.version}";
hash = "sha256-XPVhHnIwq4Plkuk3uf/IUcg9L0OsZT76cr60x7EG1lc=";
};
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hyprland_socket" ];
meta = {
description = "Typed Python library for Hyprland IPC via Unix sockets";
homepage = "https://github.com/BlueManCZ/hyprland-socket";
changelog = "https://github.com/BlueManCZ/hyprland-socket/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ sophronesis ];
};
})