Files
nixpkgs/pkgs/development/python-modules/hyprland-monitors/default.nix
2026-11-18 06:59:38 +00:00

39 lines
943 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hyprland-socket,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "hyprland-monitors";
version = "0.9.2";
pyproject = true;
src = fetchFromGitHub {
owner = "BlueManCZ";
repo = "hyprland-monitors";
tag = "v${finalAttrs.version}";
hash = "sha256-V6v3Sgn10A4dVqFLDXDgCye71Dd7YVGvg7oKr8/g6/w=";
};
build-system = [ hatchling ];
dependencies = [ hyprland-socket ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hyprland_monitors" ];
meta = {
description = "Monitor management utilities for Hyprland";
homepage = "https://github.com/BlueManCZ/hyprland-monitors";
changelog = "https://github.com/BlueManCZ/hyprland-monitors/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ sophronesis ];
};
})