mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
70 lines
1.1 KiB
Nix
70 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
gcc16Stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
pkg-config,
|
|
hyprwayland-scanner,
|
|
wayland-scanner,
|
|
aquamarine,
|
|
cairo,
|
|
gtest,
|
|
hyprgraphics,
|
|
hyprlang,
|
|
hyprutils,
|
|
iniparser,
|
|
libdrm,
|
|
libgbm,
|
|
libGL,
|
|
libxkbcommon,
|
|
pango,
|
|
pixman,
|
|
wayland,
|
|
wayland-protocols,
|
|
}:
|
|
|
|
gcc16Stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hyprtoolkit";
|
|
version = "0.5.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hyprwm";
|
|
repo = "hyprtoolkit";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-gJSBj4Pd4e9nERAKo/qiHqDMpS2hBfyOI0uGCbbiML4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
hyprwayland-scanner
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
aquamarine
|
|
cairo
|
|
gtest
|
|
hyprgraphics
|
|
hyprlang
|
|
hyprutils
|
|
iniparser
|
|
libdrm
|
|
libgbm
|
|
libGL
|
|
libxkbcommon
|
|
pango
|
|
pixman
|
|
wayland
|
|
wayland-protocols
|
|
];
|
|
|
|
meta = {
|
|
inherit (finalAttrs.src.meta) homepage;
|
|
description = "A modern C++ Wayland-native GUI toolkit";
|
|
license = lib.licenses.bsd3;
|
|
teams = [ lib.teams.hyprland ];
|
|
platforms = with lib.platforms; linux ++ freebsd;
|
|
};
|
|
})
|