mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
sshified: init at 1.2.1
This commit is contained in:
parent
a8aecfa2c3
commit
af9e3bb5ab
36
pkgs/by-name/ss/sshified/package.nix
Normal file
36
pkgs/by-name/ss/sshified/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user