Unverified Commit ee98c16f authored by Anna Aurora's avatar Anna Aurora
Browse files

gofaxip: init at 1.4-2

parent e78e6086
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{
  buildGoModule,
  fetchFromGitHub,
  lib,
}:

buildGoModule (finalAttrs: {
  pname = "gofaxip";
  version = "1.4-2";

  src = fetchFromGitHub {
    owner = "gonicus";
    repo = "gofaxip";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Fo/sNXE/GdTImg0Kd3QxWDlpJgN2OJNxX2YjL50kzW0=";
  };

  vendorHash = null;

  ldflags = [
    "-s"
    "-w"
    "-X main.version=${finalAttrs.version}"
  ];

  env.CI = "1";

  meta = {
    description = "T.38 backend for HylaFAX using FreeSWITCH";
    homepage = "https://github.com/gonicus/gofaxip";
    changelog = "https://github.com/gonicus/gofaxip/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ annaaurora ];
  };
})