Merge pull request #140581 from fabaff/mole

mole: init at 2.0.0
This commit is contained in:
figsoda 2021-10-05 13:32:56 -04:00 committed by GitHub
commit 2e1e1f0f81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "mole";
version = "2.0.0";
src = fetchFromGitHub {
owner = "davrodpin";
repo = pname;
rev = "v${version}";
sha256 = "11q48wfsr35xf2gmvh4biq4hlpba3fh6lrm3p9wni0rl1nxy40i7";
};
vendorSha256 = "1qm328ldkaifj1vsrz025vsa2wqzii9rky00b6wh8jf31f4ljbzv";
ldflags = [
"-s"
"-w"
"-X=github.com/davrodpin/mole/cmd.version=${version}"
];
meta = with lib; {
description = "CLI application to create SSH tunnels";
homepage = "https://github.com/davrodpin/mole";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7423,6 +7423,8 @@ with pkgs;
docbook-xsl = docbook_xsl;
};
mole = callPackage ../tools/networking/mole { };
mosh = callPackage ../tools/networking/mosh { };
mpage = callPackage ../tools/text/mpage { };