master ← BIOS9:master
opened 07:51AM - 04 Jan 26 UTC
https://github.com/EarthScope/slinktool
slinktool is a small command line utili…ty to connect to and receive data from a [SeedLink ](https://docs.fdsn.org/projects/seedlink/en/latest/protocol.html) server.
## Things done
- Built on platform:
- [X] x86_64-linux
- [x] aarch64-linux
- [X] x86_64-darwin
- [x] aarch64-darwin
- Tested, as applicable:
- [ ] [NixOS tests] in [nixos/tests].
- [X] [Package tests] at `passthru.tests`.
- [ ] Tests in [lib/tests] or [pkgs/test] for functions and "core" functionality.
- [X] Ran `nixpkgs-review` on this PR. See [nixpkgs-review usage].
- [X] Tested basic functionality of all binary files, usually in `./result/bin/`.
- Nixpkgs Release Notes
- [ ] Package update: when the change is major or breaking.
- NixOS Release Notes
- [ ] Module addition: when adding a new NixOS module.
- [ ] Module update: when the change is significant.
- [X] Fits [CONTRIBUTING.md], [pkgs/README.md], [maintainers/README.md] and other READMEs.
[NixOS tests]: https://nixos.org/manual/nixos/unstable/index.html#sec-nixos-tests
[Package tests]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md#package-tests
[nixpkgs-review usage]: https://github.com/Mic92/nixpkgs-review#usage
[CONTRIBUTING.md]: https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md
[lib/tests]: https://github.com/NixOS/nixpkgs/blob/master/lib/tests
[maintainers/README.md]: https://github.com/NixOS/nixpkgs/blob/master/maintainers/README.md
[nixos/tests]: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests
[pkgs/README.md]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md
[pkgs/test]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/test
---
Add a :+1: [reaction] to [pull requests you find important].
[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[pull requests you find important]: https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc
## Manual Testing
You can test the tool by connecting to a public SeedLink server such as `rtserve.iris.washington.edu`
Example:
```shell
slinktool -Q rtserve.iris.washington.edu
```
You should see a list of data streams like the following:
```plain
YN SGBS3 VM1 D 2026-01-04 07:09:20 - 2026-01-04 08:09:09
YN SGBS3 VM4 D 2026-01-04 07:09:20 - 2026-01-04 08:09:09
YN SGBS3 VM5 D 2026-01-04 07:09:20 - 2026-01-04 08:09:09
YX UNM2 HHE D 2026-01-04 07:42:41 - 2026-01-04 08:27:54
YX UNM5 HHE D 2026-01-04 07:42:14 - 2026-01-04 08:28:35
...
```