mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
36 lines
889 B
Nix
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 ];
|
|
};
|
|
})
|