From fa87d21ae226682c7d049d97034aa4b096d61d72 Mon Sep 17 00:00:00 2001 From: BIOS9 <15035908+BIOS9@users.noreply.github.com> Date: Sun, 4 Jan 2026 18:24:09 +1300 Subject: [PATCH 1/3] maintainers: add BIOS9 --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index cec60edf0855..0f33e7ac79a5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3486,6 +3486,11 @@ githubId = 30630233; name = "Timo Triebensky"; }; + BIOS9 = { + name = "NightFish"; + github = "BIOS9"; + githubId = 15035908; + }; birdee = { name = "birdee"; github = "BirdeeHub"; From bc2a035553b0c018dc08e1bd7c39d01153372ecb Mon Sep 17 00:00:00 2001 From: BIOS9 <15035908+BIOS9@users.noreply.github.com> Date: Sun, 4 Jan 2026 19:16:29 +1300 Subject: [PATCH 2/3] slinktool: init at 4.5.0 --- pkgs/by-name/sl/slinktool/package.nix | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pkgs/by-name/sl/slinktool/package.nix diff --git a/pkgs/by-name/sl/slinktool/package.nix b/pkgs/by-name/sl/slinktool/package.nix new file mode 100644 index 000000000000..b5c3c010bfb5 --- /dev/null +++ b/pkgs/by-name/sl/slinktool/package.nix @@ -0,0 +1,46 @@ +{ + lib, + stdenv, + fetchFromGitHub, + versionCheckHook, + nix-update-script, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "slinktool"; + version = "4.5.0"; + + src = fetchFromGitHub { + owner = "EarthScope"; + repo = "slinktool"; + tag = "v${finalAttrs.version}"; + hash = "sha256-4UUvjlSqtBTiO200pb4FEFXEvUAmA4OlegrgF4wZII4="; + }; + + # slinktool uses K&R-style function pointers in some places; fails with modern GCC + env.NIX_CFLAGS_COMPILE = "-std=gnu89"; + + installPhase = '' + runHook preInstall + + install -D slinktool $out/bin/slinktool + + runHook postInstall + ''; + + versionCheckProgramArg = "-V"; + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "SeedLink client for data stream inspection, data collection and server testing"; + homepage = "https://github.com/EarthScope/slinktool"; + changelog = "https://github.com/EarthScope/slinktool/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.lgpl3Only; + maintainers = with lib.maintainers; [ BIOS9 ]; + platforms = lib.platforms.all; + mainProgram = "slinktool"; + }; +}) From 262fd5ca58e71d62987277ef9d82b8a25c4e64b8 Mon Sep 17 00:00:00 2001 From: Sandro Date: Mon, 6 Apr 2026 17:48:05 +0200 Subject: [PATCH 3/3] slinktool: update meta.changelog --- pkgs/by-name/sl/slinktool/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/sl/slinktool/package.nix b/pkgs/by-name/sl/slinktool/package.nix index b5c3c010bfb5..b48501bd6eb8 100644 --- a/pkgs/by-name/sl/slinktool/package.nix +++ b/pkgs/by-name/sl/slinktool/package.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "SeedLink client for data stream inspection, data collection and server testing"; homepage = "https://github.com/EarthScope/slinktool"; - changelog = "https://github.com/EarthScope/slinktool/releases/tag/v${finalAttrs.version}"; + changelog = "https://github.com/EarthScope/slinktool/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ BIOS9 ]; platforms = lib.platforms.all;