Unverified Commit 2f6fc5a1 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

sshified: init at 1.2.1 (#351532)

parents 5dca7a3c af9e3bb5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -10515,6 +10515,13 @@
    githubId = 168684553;
    name = "João Marques";
  };
  joinemm = {
    email = "joonas@rautiola.co";
    github = "joinemm";
    githubId = 26210439;
    name = "Joonas Rautiola";
    keys = [ { fingerprint = "87EC DD30 6614 E510 5299  F0D4 090E B48A 4669 AA54"; } ];
  };
  jojosch = {
    name = "Johannes Schleifenbaum";
    email = "johannes@js-webcoding.de";
+36 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule rec {
  pname = "sshified";
  version = "1.2.1";

  src = fetchFromGitHub {
    owner = "hoffie";
    repo = "sshified";
    rev = "refs/tags/v${version}";
    hash = "sha256-oCeuQ4Do+Lyqsf8hBH9qvLxWbWQlqol481VrbnAW2ic=";
  };

  vendorHash = null;

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

  subPackages = [ "." ];

  meta = {
    description = "Proxy HTTP requests through SSH";
    homepage = "https://github.com/hoffie/sshified";
    changelog = "https://github.com/hoffie/sshified/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ joinemm ];
    mainProgram = "sshified";
  };
}