Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pat: 0.15.1 -> 0.16.0 #351515

Merged
merged 4 commits into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,30 +1,42 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, libax25
, installShellFiles
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
libax25,
installShellFiles,
fetchpatch,
}:

buildGoModule rec {
pname = "pat";
version = "0.15.1";
version = "0.16.0";

src = fetchFromGitHub {
owner = "la5nta";
repo = "pat";
rev = "v${version}";
hash = "sha256-wNWqqGc4mf3z0ejMpU+jWhqCbjNJ2b6+pbBjDYKwKK8=";
hash = "sha256-JlqYdsAXs3pS5i59tiel+gxQsTrn5mUs0qLzjHxGZU0=";
};

vendorHash = "sha256-m5yb6+TfRApw0ZROx9ZA3RPiKV+1DHo/73CNQpIfMlU=";
# Remove upon next release since upstream is fixed
# https://github.com/la5nta/pat/pull/449
patches = [
(fetchpatch {
url = "https://github.com/la5nta/pat/commit/5604eac8853216d96d49d7d9947bdc514e195538.patch";
sha256 = "sha256-Z9uoZLlhdCslULUxGkc4ao4ptC4ImWzSrfabSA5S/PE=";
})
];

ldflags = [ "-s" "-w" ];
vendorHash = "sha256-Z6p0wiOY5l++nch64BJWGXleBgUNecTDm+yVCnmXvtU=";

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.
Expand All @@ -39,7 +51,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";
};
Expand Down
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29872,8 +29872,6 @@ with pkgs;

passky-desktop = callPackage ../applications/misc/passky-desktop { };

pat = callPackage ../applications/radio/pat { };

pinboard = with python3Packages; toPythonApplication pinboard;

pinboard-notes-backup = haskell.lib.compose.justStaticExecutables haskellPackages.pinboard-notes-backup;
Expand Down