diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 90d5bc9c18e5..2ce0ea992d7c 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -23687,6 +23687,12 @@ githubId = 158321; name = "Stewart Mackenzie"; }; + skaphi = { + name = "Oskar Philipsson"; + email = "oskar.philipsson@gmail.com"; + github = "skaphi"; + githubId = 41991455; + }; skeuchel = { name = "Steven Keuchel"; email = "steven.keuchel@gmail.com"; diff --git a/pkgs/by-name/rt/rtklib-ex/package.nix b/pkgs/by-name/rt/rtklib-ex/package.nix new file mode 100644 index 000000000000..f996f266b3ea --- /dev/null +++ b/pkgs/by-name/rt/rtklib-ex/package.nix @@ -0,0 +1,54 @@ +{ + 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; + }; +}