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
55 lines
1016 B
Nix
55 lines
1016 B
Nix
{
|
|
stdenv,
|
|
cmake,
|
|
nix-update-script,
|
|
blas,
|
|
lapack,
|
|
lib,
|
|
fetchFromGitHub,
|
|
qt6,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rtklib-ex";
|
|
version = "2.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rtklibexplorer";
|
|
repo = "RTKLIB";
|
|
tag = "v${version}";
|
|
hash = "sha256-j00VEQvxOiAc3EQX3x2b3RxYkbtvCZ17ugnW6b6ChWU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
blas
|
|
lapack
|
|
qt6.wrapQtAppsHook
|
|
qt6.qttools
|
|
];
|
|
|
|
buildInputs = [
|
|
qt6.qtbase
|
|
qt6.qtserialport
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeFeature "CMAKE_INSTALL_DATAROOTDIR" "${placeholder "out"}/share")
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "Open Source Program Package for GNSS Positioning";
|
|
homepage = "https://rtkexplorer.com";
|
|
changelog = "https://github.com/rtklibexplorer/RTKLIB/releases/tag/${src.tag}";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ lib.maintainers.skaphi ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|