Commit ab731f61 authored by cedev-1's avatar cedev-1 Committed by cedev
Browse files

sshm: init at 1.10.0

parent 596e4935
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "sshm";
  version = "1.10.0";

  src = fetchFromGitHub {
    owner = "Gu1llaum-3";
    repo = "sshm";
    tag = "v${version}";
    hash = "sha256-tDaRRZXj0XJ8XpCxs2b6Bm3qvfcE8t9CfR3mxuOrPDM=";
  };

  vendorHash = "sha256-aU/+bxcETs/Jq5FVAdiioyuc1AufvWeiqFQ7uo1cK1k=";

  subPackages = [ "." ];
  ldflags = [
    "-s"
    "-w"
    "-X=github.com/Gu1llaum-3/sshm/cmd.AppVersion=${version}"
  ];

  meta = {
    description = "Terminal UI to manage and connect to SSH hosts";
    mainProgram = "sshm";
    homepage = "https://github.com/Gu1llaum-3/sshm";
    changelog = "https://github.com/Gu1llaum-3/sshm/releases/tag/${version}";
    license = lib.licenses.mit;
    platforms = lib.platforms.unix;
    maintainers = with lib.maintainers; [ cedev-1 ];
  };
}