Files
nixpkgs/pkgs/by-name/hy/hyprwire/package.nix
2026-07-20 10:59:13 +01:00

46 lines
831 B
Nix

{
lib,
gcc16Stdenv,
fetchFromGitHub,
cmake,
pkg-config,
hyprutils,
libffi,
pugixml,
}:
gcc16Stdenv.mkDerivation (finalAttrs: {
pname = "hyprwire";
version = "0.3.1";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprwire";
tag = "v${finalAttrs.version}";
hash = "sha256-AKPaKeLDy0QXRBk/XzR7RktX7CV63ejYsTUgsPdXKvg=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
hyprutils
libffi
pugixml
];
cmakeBuildType = "RelWithDebInfo";
separateDebugInfo = true;
meta = {
inherit (finalAttrs.src.meta) homepage;
description = "A fast and consistent wire protocol for IPC ";
license = lib.licenses.bsd3;
teams = [ lib.teams.hyprland ];
platforms = with lib.platforms; linux ++ freebsd;
mainProgram = "hyprwire";
};
})