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
46 lines
840 B
Nix
46 lines
840 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
libspnav,
|
|
qt6,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "spnavcfg";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FreeSpacenav";
|
|
repo = "spnavcfg";
|
|
tag = "v${finalAttrs.version}";
|
|
fetchLFS = true;
|
|
hash = "sha256-HYBb1/SgjayJjdA0N8UHPde3y4SugYiWIPP+3Eu3CEI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
qt6.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qt6.qtbase
|
|
libspnav
|
|
];
|
|
|
|
configureFlags = [
|
|
"--qt6"
|
|
"--qt-tooldir=${qt6.qtbase}/libexec"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://spacenav.sourceforge.net/";
|
|
description = "Interactive configuration GUI for space navigator input devices";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = [ ];
|
|
mainProgram = "spnavcfg";
|
|
};
|
|
})
|