13 src = fetchFromGitHub {
17 hash = "sha256-wNWqqGc4mf3z0ejMpU+jWhqCbjNJ2b6+pbBjDYKwKK8=";
20 vendorHash = "sha256-m5yb6+TfRApw0ZROx9ZA3RPiKV+1DHo/73CNQpIfMlU=";
22 ldflags = [ "-s" "-w" ];
28 buildInputs = lib.optional stdenv.hostPlatform.isLinux [ libax25 ];
30 # Needed by wl2k-go go module for libax25 to include support for Linux' AX.25 stack by linking against libax25.
31 # ref: https://github.com/la5nta/wl2k-go/blob/abe3ae5bf6a2eec670a21672d461d1c3e1d4c2f3/transport/ax25/ax25.go#L11-L17
32 tags = lib.optionals stdenv.hostPlatform.isLinux [ "libax25" ];
35 installManPage man/pat-configure.1 man/pat.1
39 description = "Pat is a cross platform Winlink client written in Go";
40 homepage = "https://getpat.io/";
41 license = licenses.mit;
42 maintainers = with maintainers; [ dotemup sarcasticadmin ];
43 platforms = platforms.unix;