hyprsysteminfo: init at 0.1.3
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
{
|
||||
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 = "A tiny qt6/qml application to display information about the running system";
|
||||
homepage = "https://github.com/hyprwm/hyprsysteminfo";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = lib.teams.hyprland.members;
|
||||
mainProgram = "hyprsysteminfo";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user