mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
46 lines
831 B
Nix
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";
|
|
};
|
|
})
|