Skip to content

Commit

Permalink
sshified: init at 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Oct 26, 2024
1 parent a8aecfa commit 8ec6711
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/by-name/ss/sshified/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:

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

src = fetchFromGitHub {
owner = "hoffie";
repo = pname;
rev = "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";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ joinemm ];
mainProgram = "sshified";
};
}

0 comments on commit 8ec6711

Please sign in to comment.