pat: nixfmt
This commit is contained in:
parent
e207c5df2f
commit
9e2630d338
@ -1,9 +1,10 @@
|
|||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, buildGoModule
|
stdenv,
|
||||||
, fetchFromGitHub
|
buildGoModule,
|
||||||
, libax25
|
fetchFromGitHub,
|
||||||
, installShellFiles
|
libax25,
|
||||||
|
installShellFiles,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -19,12 +20,13 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorHash = "sha256-m5yb6+TfRApw0ZROx9ZA3RPiKV+1DHo/73CNQpIfMlU=";
|
vendorHash = "sha256-m5yb6+TfRApw0ZROx9ZA3RPiKV+1DHo/73CNQpIfMlU=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [
|
||||||
|
"-s"
|
||||||
nativeBuildInputs = [
|
"-w"
|
||||||
installShellFiles
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.hostPlatform.isLinux [ libax25 ];
|
buildInputs = lib.optional stdenv.hostPlatform.isLinux [ libax25 ];
|
||||||
|
|
||||||
# Needed by wl2k-go go module for libax25 to include support for Linux' AX.25 stack by linking against libax25.
|
# Needed by wl2k-go go module for libax25 to include support for Linux' AX.25 stack by linking against libax25.
|
||||||
@ -39,7 +41,10 @@ buildGoModule rec {
|
|||||||
description = "Pat is a cross platform Winlink client written in Go";
|
description = "Pat is a cross platform Winlink client written in Go";
|
||||||
homepage = "https://getpat.io/";
|
homepage = "https://getpat.io/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dotemup sarcasticadmin ];
|
maintainers = with maintainers; [
|
||||||
|
dotemup
|
||||||
|
sarcasticadmin
|
||||||
|
];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
mainProgram = "pat";
|
mainProgram = "pat";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user