depot/third_party/nixpkgs/pkgs/by-name/ss/sshified/package.nix
Default email 657f08b14c Project import generated by Copybara.
GitOrigin-RevId: 807e9154dcb16384b1b765ebe9cd2bba2ac287fd
2024-10-29 11:11:06 +00:00

36 lines
735 B
Nix

{
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";
};
}