mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
pat: nixfmt
This commit is contained in:
parent
e207c5df2f
commit
9e2630d338
@ -1,9 +1,10 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, libax25
|
||||
, installShellFiles
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
libax25,
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -19,12 +20,13 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-m5yb6+TfRApw0ZROx9ZA3RPiKV+1DHo/73CNQpIfMlU=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
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.
|
||||
@ -39,7 +41,10 @@ buildGoModule rec {
|
||||
description = "Pat is a cross platform Winlink client written in Go";
|
||||
homepage = "https://getpat.io/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotemup sarcasticadmin ];
|
||||
maintainers = with maintainers; [
|
||||
dotemup
|
||||
sarcasticadmin
|
||||
];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "pat";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user