Files
sophronesis 1348c08ce3 python313Packages.hyprland-state: init at 0.4.4
Assisted-by: Claude Code (claude-opus-5)
Assisted-by: Claude Code (claude-fable-5)
2026-08-16 16:58:53 +02:00

47 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hyprland-config,
hyprland-monitors,
hyprland-schema,
hyprland-socket,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "hyprland-state";
version = "0.4.4";
pyproject = true;
src = fetchFromGitHub {
owner = "BlueManCZ";
repo = "hyprland-state";
tag = "v${finalAttrs.version}";
hash = "sha256-Vb6LIH3DC/6/mbh3Bji/qpil5r0Xp+WiELQ+rL+S6UU=";
};
build-system = [ hatchling ];
dependencies = [
hyprland-config
hyprland-monitors
hyprland-schema
hyprland-socket
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hyprland_state" ];
meta = {
description = "Live state interface for Hyprland - options, animations, monitors, binds, and devices";
homepage = "https://github.com/BlueManCZ/hyprland-state";
changelog = "https://github.com/BlueManCZ/hyprland-state/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ sophronesis ];
};
})