Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
qt6,
pkg-config,
hyprutils,
pciutils,
hyprland-qt-support,
}:
let
inherit (lib.strings) makeBinPath;
in
stdenv.mkDerivation (finalAttrs: {
pname = "hyprsysteminfo";
version = "0.1.3";
src = fetchFromGitHub {
owner = "hyprwm";
repo = "hyprsysteminfo";
tag = "v${finalAttrs.version}";
hash = "sha256-KDxT9B+1SATWiZdUBAQvZu17vk3xmyXcw2Zy56bdWbY=";
};
nativeBuildInputs = [
cmake
pkg-config
qt6.wrapQtAppsHook
];
buildInputs = [
qt6.qtbase
qt6.qtdeclarative
qt6.qtsvg
qt6.qtwayland
hyprutils
hyprland-qt-support
];
preFixup = ''
qtWrapperArgs+=(--prefix PATH : "${makeBinPath [ pciutils ]}")
'';
meta = {
description = "Tiny qt6/qml application to display information about the running system";
homepage = "https://github.com/hyprwm/hyprsysteminfo";
license = lib.licenses.bsd3;
teams = [ lib.teams.hyprland ];
mainProgram = "hyprsysteminfo";
platforms = lib.platforms.linux;
};
})